1 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8 (_dl_mcount): Use rtld_hidden_proto.
9 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11 * elf/rtld.c (_rtld_global_ro): Likewise.
14 * elf/dl-init.c (_dl_init): Don't use INTDEF.
15 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31 * sysdeps/tile/dl-start.S (_start): Likewise.
32 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38 (rtld_progname): Make macro definition unconditional.
39 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41 (dlmopen_doit): Do not use INTUSE with _dl_argv.
43 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45 instead of _dl_argv_internal.
46 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47 __GI__dl_argv instead of INTUSE(_dl_argv).
48 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
49 __GI__dl_argv instead of _dl_argv_internal.
51 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
52 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
54 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
55 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
57 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
58 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
60 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
61 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
63 2014-11-04 Andreas Schwab <schwab@suse.de>
65 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
67 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
70 mtvsrd instruction in binary form.
72 2014-11-03 Andreas Schwab <schwab@suse.de>
75 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
76 for less than MB_LEN_MAX use a local buffer of that size.
77 * libio/tst-fputws.c: New file.
78 * libio/Makefile (tests): Add tst-fputws.
80 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
82 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
83 the size of the fpu_fr.fpu_dregs[] array.
85 2014-11-01 Joseph Myers <joseph@codesourcery.com>
87 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
88 (__nanosleep): Do not define as alias.
89 (nanosleep): Define as alias of __nanosleep.
90 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
91 __libc_nanosleep name.
93 2014-10-31 Joseph Myers <joseph@codesourcery.com>
95 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
96 install.texi in comment.
98 2014-10-31 Torvald Riegel <triegel@redhat.com>
100 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
101 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
102 ... add here and use lwsync or sync ...
103 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
104 ... and add here using lwsync.
106 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
108 * elf/dl-machine-reject-phdr.h: New file.
109 * elf/dl-load.c: #include that.
110 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
111 if that returned true.
113 2014-10-31 Roland McGrath <roland@hack.frob.com>
116 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
117 gen-as-const-headers chunk. Add a big scare comment after the last
118 safe place to touch before-compile.
120 2014-10-31 Joseph Myers <joseph@codesourcery.com>
122 * manual/install.texi (Tools for Compilation): Update autoconf
123 version requirements.
124 * INSTALL: Regenerated.
126 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
127 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
128 (__libc_pselect): Likewise.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
136 2014-10-31 Torvald Riegel <triegel@redhat.com>
138 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
139 correct barrier instruction.
140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
142 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
145 2014-10-30 Roland McGrath <roland@hack.frob.com>
147 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
148 after defining inlines. Instead, just use parens to defeat macro
149 expansion of __isctype in its declaration.
151 2014-10-30 Joseph Myers <joseph@codesourcery.com>
153 * include/sys/uio.h (__libc_readv): Remove declaration.
154 (__libc_writev): Likewise.
155 * misc/readv.c (__libc_readv): Rename to __readv.
156 (__readv): Do not define as alias.
157 (readv): Define as alias of __readv.
158 * misc/writev.c (__libc_writev): Rename to __writev.
159 (__writev): Do not define as alias.
160 (writev): Define as alias of __writev.
161 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
162 (__readv): Do not define as alias.
163 (readv): Define unconditionally as alias of __readv.
164 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
165 (__writev): Do not define as alias.
166 (writev): Define unconditionally as alias of __writev.
167 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
169 (writev): Do not define __libc_writev name.
171 2014-10-30 Roland McGrath <roland@hack.frob.com>
173 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
174 (convert_charseq): New function, broken out of ...
175 (use_from_charmap): ... here. Call it.
176 (use_to_charmap): Use convert_charseq and free instead of duplicating
177 its code with a variable-length stack struct.
179 2014-10-30 Joseph Myers <joseph@codesourcery.com>
181 * include/fcntl.h (__libc_creat): Remove declaration.
182 * io/creat.c (__libc_creat): Rename to creat.
183 (creat): Do not define as alias.
184 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
185 of creat instead of __libc_creat.
186 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
188 (creat): Do not define as alias.
189 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
191 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
193 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
196 2014-10-29 Carlos O'Donell <carlos@redhat.com>
198 * manual/llio.texi: Add comments discussing why write() may be
199 considered MT-unsafe on Linux.
201 2014-10-28 Carlos O'Donell <carlos@redhat.com>
203 * dl-load.c (local_strdup): Remove.
204 (expand_dynamic_string_token): Use __strdup.
205 (decompose_rpath): Likewise.
206 (_dl_map_object): Likewise.
208 2014-10-28 Joseph Myers <joseph@codesourcery.com>
211 * sysdeps/generic/unwind-dw2-fde.c
212 (__register_frame_info_bases_internal): Do not declare.
213 (__register_frame_info_table_bases_internal): Likewise.
214 (__deregister_frame_info_bases_internal): Likewise.
215 (__register_frame_info_bases): Declare and use hidden_proto before
216 definition. Use hidden_def instead of INTDEF.
217 (__register_frame_info_table_bases): Likewise.
218 (__deregister_frame_info_bases): Likewise.
219 (__register_frame_info): Do not use INTUSE.
220 (__register_frame): Likewise.
221 (__register_frame_info_table): Likewise.
222 (__register_frame_table): Likewise.
223 (__deregister_frame_info): Likewise.
224 (__deregister_frame): Likewise.
226 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
228 * sysdeps/unix/sysv/linux/arm/kernel-features.h
229 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
231 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
233 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
236 2014-10-27 Joseph Myers <joseph@codesourcery.com>
239 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
240 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
241 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
242 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
243 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
244 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
245 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
246 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
247 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
248 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
249 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
250 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
251 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
253 (setfsuid): Likewise.
254 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
255 (setfsuid): Likewise.
256 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
257 (setfsuid): Likewise.
258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
260 (setfsuid): Likewise.
261 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
262 (setfsuid): Likewise.
263 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
265 (setfsuid): Likewise.
267 2014-10-27 Andreas Schwab <schwab@suse.de>
270 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
271 check for Slow_SSE4_2 feature bit.
272 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
273 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
274 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
275 Likewise. Fix check for Fast_Unaligned_Load feature bit.
277 2014-10-24 Roland McGrath <roland@hack.frob.com>
279 * configure.ac: Validate compiler version with a empirical test of
280 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
282 * configure: Regenerated.
284 * inet/htons.c (htons): Prototypify.
285 * inet/htonl.c (htonl): Likewise.
287 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
289 * string/strncat.c (strncat): Improve performance by using strlen.
291 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
293 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
295 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
297 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
298 Call libc_fetestexcept_aarch64.
300 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
302 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
303 Call libc_feholdexcept_aarch64.
305 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
307 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
308 Call get_rounding_mode.
310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
312 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
315 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
317 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
320 2014-10-24 Joseph Myers <joseph@codesourcery.com>
323 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
324 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
325 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
326 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
327 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
328 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
329 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
330 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
331 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
332 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
333 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
335 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
336 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
337 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
338 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
339 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
340 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
341 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
342 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
343 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
344 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
346 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
347 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
348 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
349 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
350 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
351 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
352 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
353 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
354 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
355 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
356 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
357 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
358 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
359 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
361 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
362 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
363 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
368 (getresgid): Likewise.
369 (getresuid): Likewise.
370 (getgroups): Likewise.
371 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
375 (getresgid): Likewise.
376 (getresuid): Likewise.
377 (getgroups): Likewise.
378 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
382 (getresgid): Likewise.
383 (getresuid): Likewise.
384 (getgroups): Likewise.
385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
390 (getresgid): Likewise.
391 (getresuid): Likewise.
392 (getgroups): Likewise.
393 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
397 (getresgid): Likewise.
398 (getresuid): Likewise.
399 (getgroups): Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
405 (getgroups): Likewise.
408 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
409 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
410 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
412 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
413 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
414 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
415 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
416 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
417 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
420 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
422 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
429 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
432 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
437 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
439 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
442 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
444 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
447 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
449 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
450 Remove unused include.
452 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
454 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
455 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
456 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
457 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
459 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
460 Helge Deller <deller@gmx.de>
463 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
464 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
465 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
467 2014-10-23 Joseph Myers <joseph@codesourcery.com>
470 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
471 Remove macro definition.
472 (__ashrdi3_v_glibc20): Likewise.
473 (__lshrdi3_v_glibc20): Likewise.
474 (__cmpdi2_v_glibc20): Likewise.
475 (__ucmpdi2_v_glibc20): Likewise.
476 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
477 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
478 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
479 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
480 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
481 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
483 2014-10-22 Roland McGrath <roland@hack.frob.com>
485 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
486 old GNU extension [0] syntax.
487 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
488 alloca rather than an array member with variable length.
489 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
490 * nscd/nscd.c (invalidate_db): New function, broken out of ...
491 (parse_opt): ... here. Likewise use alloca there.
492 Validate the -i argument before checking for rootness.
493 (send_shutdown): New function, broken out of ...
494 (parse_opt): ... here.
496 2014-10-22 Roland McGrath <roland@hack.frob.com>
498 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
499 macro to get at the _rt_local_ro field.
500 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
501 ([PIC] case) or _dl_hwcap ([!PIC] case).
502 * sysdeps/arm/setjmp.S: Likewise.
504 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
505 * sysdeps/arm/configure.ac: New check to define it.
506 * sysdeps/arm/configure: Regenerated.
507 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
508 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
509 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
510 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
511 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
512 Use move/movt pair instead of a load.
513 (LDST_GLOBAL): Macro removed.
514 (LDR_GLOBAL): New macro replaces it.
515 (LDR_HIDDEN): New macro.
516 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
517 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
519 * setjmp/tst-setjmp-static.c: New file.
520 * setjmp/Makefile (tests): Add it.
521 (tests-static): New variable.
523 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
526 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
528 2014-10-21 Joseph Myers <joseph@codesourcery.com>
531 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
533 2014-10-21 Roland McGrath <roland@hack.frob.com>
535 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
537 2014-10-20 Roland McGrath <roland@hack.frob.com>
539 * io/fts.c (dirent_not_directory): New function.
540 (fts_build): Call it.
542 2014-10-20 Roland McGrath <roland@hack.frob.com>
544 * nptl/version.c (__nptl_main): Use normal __write rather than
546 (banner): Update copyright years.
548 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
550 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
551 * nptl/pthread_cond_timedwait.c: Likewise.
552 * nptl/pthread_mutex_timedlock.c: Likewise.
553 * nptl/sem_timedwait.c: Likewise.
555 * sysdeps/nptl/bits/libc-lock.h
556 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
557 (__libc_lock_init_recursive): Return void, not 0.
558 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
559 (__libc_rwlock_init): Likewise.
560 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
562 2014-10-20 Torvald Riegel <triegel@redhat.com>
565 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
566 (__pthread_once_slow): ... here.
567 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
568 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
570 2014-10-20 Torvald Riegel <triegel@redhat.com>
573 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
574 __PTHREAD_ONCE_FORK_GEN_INCR): New.
575 * sysdeps/nptl/fork.c (__libc_fork): Use them.
576 * nptl/pthread_once.c (__pthread_once): Likewise.
579 2014-10-20 Joseph Myers <joseph@codesourcery.com>
582 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
584 (writev): Use __libc_writev as strong name.
585 * sysdeps/unix/sysv/linux/readv.c: Remove file.
586 * sysdeps/unix/sysv/linux/writev.c: Likewise.
588 2014-10-17 Roland McGrath <roland@hack.frob.com>
590 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
592 * sysdeps/i386/nptl/tls.h
593 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
594 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
596 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
597 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
598 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
599 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
600 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
601 Call CHECK_THREAD_SYSINFO instead of doing an assert.
603 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
604 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
606 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
608 (__pthread_mutex_init): ... here. Call it.
609 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
610 Conditionalize PI cases on [__NR_futex].
611 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
612 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
613 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
615 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
616 conditional on [SIGSETXID].
617 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
618 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
619 is defined. Likewise for SIGSETXID.
620 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
621 Conditionalize definitions on [SIGSETXID].
622 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
623 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
624 unblocking on [SIGCANCEL].
626 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
627 [__NR_set_robust_list].
629 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
631 * string/strcoll_l.c (get_next_seq): Fix up formatting.
632 (do_compare): Likewise.
634 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
637 * string/strcoll_l.c: Don't include stdio.h.
638 (coll_seq): Remove members idxarr and rulearr.
639 (get_next_seq_cached): Remove function.
640 (get_next_seq): Likewise.
641 (get_next_seq_nocache): Rename to get_next_seq.
642 (do_compare): Remove function.
643 (do_compare_nocache): Rename to do_compare.
644 (STRCOLL): Remove weight and rules cache.
646 2014-10-16 Roland McGrath <roland@hack.frob.com>
648 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
649 * sysdeps/arm/sfp-machine.h: ... to here.
650 * sysdeps/arm/Implies: Remove arm/soft-fp.
652 2014-10-14 Joseph Myers <joseph@codesourcery.com>
654 * conform/data/sys/utsname.h-data (*_t): Allow.
655 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
656 [POSIX] (WEXITED): Do not expect constant.
657 [POSIX] (WSTOPPED): Likewise.
658 [POSIX] (WNOHANG): Likewise.
659 [POSIX] (WNOWAIT): Likewise.
660 [POSIX] (siginfo_t): Do not expect type or elements.
661 [POSIX] (pid_t): Do not expect type.
662 [POSIX] (signal.h): Do not allow header.
663 [POSIX] (sys/resource.h): Likewise.
664 [POSIX] (si_*): Do not allow pattern.
665 [POSIX] (W*): Likewise.
666 [POSIX] (P_*): Likewise.
667 [POSIX] (BUS_*): Likewise.
668 [POSIX] (CLD_*): Likewise.
669 [POSIX] (FPE_*): Likewise.
670 [POSIX] (ILL_*): Likewise.
671 [POSIX] (POLL_*): Likewise.
672 [POSIX] (SEGV_*): Likewise.
673 [POSIX] (SI_*): Likewise.
674 [POSIX] (TRAP_*): Likewise.
675 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
678 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
682 infinite loop when __recvmsg returns 0.
684 2014-10-10 Joseph Myers <joseph@codesourcery.com>
686 * CANCEL-FCT-WAIVE: Remove file.
687 * CANCEL-FILE-WAIVE: Likewise.
690 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
691 instead of INTVARDEF.
692 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
693 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
694 rtld_hidden_data_def instead of INTVARDEF.
695 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
696 * elf/dl-deps.c (expand_dst): Likewise.
697 * elf/dl-load.c (_dl_dst_count): Likewise.
698 (_dl_dst_substitute): Likewise.
699 (decompose_rpath): Likewise.
700 (_dl_init_paths): Likewise.
701 (open_path): Likewise.
702 (_dl_map_object): Likewise.
703 * elf/rtld.c (dl_main): Likewise.
704 (process_dl_audit): Likewise.
705 (process_envvars): Likewise.
706 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
708 (__libc_enable_secure): Use rtld_hidden_proto.
710 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
713 (add_path): New function broken out of _dl_rtld_di_serinfo.
714 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
716 2014-10-09 Joseph Myers <joseph@codesourcery.com>
718 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
719 parentheses around macro arguments.
720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
724 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
726 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
728 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
729 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
730 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
731 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
732 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
733 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
734 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
735 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
736 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
739 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
740 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
744 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
747 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
748 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
749 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
750 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
751 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
752 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
753 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
754 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
755 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
764 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
768 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
769 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
778 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
779 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
780 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
782 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
783 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
784 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
785 (_FP_FRAC_SRS_1): Likewise.
786 (_FP_FRAC_CLZ_1): Likewise.
787 (_FP_MUL_MEAT_1_imm): Likewise.
788 (_FP_MUL_MEAT_1_wide): Likewise.
789 (_FP_MUL_MEAT_1_hard): Likewise.
790 (_FP_SQRT_MEAT_1): Likewise.
791 (_FP_FRAC_ASSEMBLE_1): Likewise.
792 (_FP_FRAC_DISASSEMBLE_1): Likewise.
793 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
794 (__FP_CLZ_2): Likewise.
795 (_FP_MUL_MEAT_2_wide): Likewise.
796 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
797 (_FP_MUL_MEAT_2_gmp): Likewise.
798 (_FP_MUL_MEAT_2_120_240_double): Likewise.
799 (_FP_SQRT_MEAT_2): Likewise.
800 (_FP_FRAC_ASSEMBLE_2): Likewise.
801 (_FP_FRAC_DISASSEMBLE_2): Likewise.
802 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
803 (_FP_FRAC_CLZ_4): Likewise.
804 (_FP_MUL_MEAT_4_wide): Likewise.
805 (_FP_MUL_MEAT_4_gmp): Likewise.
806 (_FP_SQRT_MEAT_4): Likewise.
807 (_FP_FRAC_ASSEMBLE_4): Likewise.
808 (_FP_FRAC_DISASSEMBLE_4): Likewise.
809 * soft-fp/op-common.h (_FP_CMP): Likewise.
810 (_FP_CMP_EQ): Likewise.
811 (_FP_CMP_UNORD): Likewise.
812 (_FP_TO_INT): Likewise.
813 (_FP_FROM_INT): Likewise.
814 [!__FP_CLZ] (__FP_CLZ): Likewise.
815 (_FP_DIV_HELP_imm): Likewise.
816 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
821 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
822 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
824 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
826 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
827 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
828 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
829 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
830 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
831 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
832 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
833 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
834 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
847 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
848 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
849 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
851 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
852 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
853 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
854 (FP_UNPACK_RAW_SP): Likewise.
855 (FP_PACK_RAW_S): Likewise.
856 (FP_PACK_RAW_SP): Likewise.
857 (FP_UNPACK_S): Likewise.
858 (FP_UNPACK_SP): Likewise.
859 (FP_UNPACK_SEMIRAW_S): Likewise.
860 (FP_UNPACK_SEMIRAW_SP): Likewise.
861 (FP_PACK_S): Likewise.
862 (FP_PACK_SP): Likewise.
863 (FP_PACK_SEMIRAW_S): Likewise.
864 (FP_PACK_SEMIRAW_SP): Likewise.
865 (_FP_SQRT_MEAT_S): Likewise.
866 (FP_CMP_S): Likewise.
867 (FP_CMP_EQ_S): Likewise.
868 (FP_CMP_UNORD_S): Likewise.
869 (FP_TO_INT_S): Likewise.
870 (FP_FROM_INT_S): Likewise.
872 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
874 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
875 (FP_EX_INVALID_IMZ): Likewise.
876 (FP_EX_INVALID_IMZ_FMA): Likewise.
877 (FP_EX_INVALID_ISI): Likewise.
878 (FP_EX_INVALID_ZDZ): Likewise.
879 (FP_EX_INVALID_IDI): Likewise.
880 (FP_EX_INVALID_SQRT): Likewise.
881 (FP_EX_INVALID_CVI): Likewise.
882 (FP_EX_INVALID_VC): Likewise.
883 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
884 "invalid" exceptions.
885 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
886 (_FP_ADD_INTERNAL): Likewise.
890 (_FP_CMP_CHECK_NAN): Likewise.
891 (_FP_SQRT): Likewise.
892 (_FP_TO_INT): Likewise.
893 (FP_EXTEND): Likewise.
895 2014-10-09 Allan McRae <allan@archlinux.org>
897 * po/fr.po: Update French translation from translation project.
899 2014-10-09 Joseph Myers <joseph@codesourcery.com>
902 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
904 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
905 (__cxa_atexit): Use libc_hidden_proto.
906 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
909 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
911 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
912 [!_ISOMAC] (__iswspace_l_internal): Likewise.
913 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
914 [!_ISOMAC] (__iswctype_internal): Likewise.
915 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
916 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
918 (fcntl): Remove __fcntl_internal alias.
919 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
920 __connect_internal alias.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
924 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
925 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
927 (_FP_CHECK_FLUSH_ZERO): New macro.
928 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
930 (_FP_CMP_EQ): Likewise.
931 (_FP_TO_INT): Do not set inexact for subnormal arguments if
933 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
934 (FP_TRUNC): Likewise.
936 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
937 treated as invalid conversion, not as normal exponent.
939 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
940 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
941 (_FP_CMP_EQ): Likewise.
942 (_FP_CMP_UNORD): Likewise.
943 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
944 (FP_CMP_EQ_D): Likewise.
945 (FP_CMP_UNORD_D): Likewise.
946 * soft-fp/extended.h (FP_CMP_E): Likewise.
947 (FP_CMP_EQ_E): Likewise.
948 (FP_CMP_UNORD_E): Likewise.
949 * soft-fp/quad.h (FP_CMP_Q): Likewise.
950 (FP_CMP_EQ_Q): Likewise.
951 (FP_CMP_UNORD_Q): Likewise.
952 * soft-fp/single.h (FP_CMP_S): Likewise.
953 (FP_CMP_EQ_S): Likewise.
954 (FP_CMP_UNORD_S): Likewise.
955 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
956 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
957 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
958 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
959 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
960 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
961 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
962 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
963 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
964 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
965 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
966 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
967 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
969 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
971 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
972 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
974 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
976 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
977 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
978 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
979 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
981 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
983 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
984 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
986 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
988 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
989 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
990 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
991 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
994 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
995 a subnormal result, set the underflow exception if trapping on
996 underflow is enabled.
997 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
998 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
999 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1001 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1002 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1003 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1004 * soft-fp/extendxftf2.c (__extendxftf2): Use
1005 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1007 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1008 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1009 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1010 FP_HANDLE_EXCEPTIONS.
1011 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1012 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1013 FP_HANDLE_EXCEPTIONS.
1014 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1015 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1016 FP_HANDLE_EXCEPTIONS.
1017 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1018 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1019 FP_HANDLE_EXCEPTIONS.
1021 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1025 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1027 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1028 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1030 (__adjtimex): Define using libc_hidden_ver.
1031 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1033 (ntp_gettime): Call __adjtimex directly.
1034 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1036 (ntp_gettimex): Call __adjtimex directly.
1037 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1038 __adjtimex_internal alias.
1040 2014-10-08 Roland McGrath <roland@hack.frob.com>
1043 * nscd/nscd.c (more_help): Rewrite list of tables collection
1044 using xstrdup and asprintf.
1046 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1048 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1049 Roland McGrath <roland@hack.frob.com>
1051 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1052 (do_lookup_unique): ... local function 'enter' here; update callers.
1054 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1056 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1057 compat_symbol calls on [SHARED].
1058 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1059 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1061 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1062 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1063 (oldsetrlimit): Remove.
1064 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1066 (lchown): New syscall entry.
1067 (oldsetrlimit): Remove.
1068 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1070 (oldsetrlimit): Remove.
1071 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1074 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1075 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1076 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1077 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1078 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1079 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1081 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1086 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1089 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1090 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1091 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1092 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1094 (__old_sem_post): Likewise.
1096 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1098 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1099 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1100 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1101 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1102 Use INLINE_VSYSCALL macro.
1103 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1104 __vdso_clock_gettime.
1105 * sysdeps/unix/sysv/linux/tile/init-first.c
1106 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1107 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1108 __vdso_clock_gettime.
1110 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1111 to set up frame more cleanly.
1113 * sysdeps/tile/memcmp.c: New file.
1115 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1117 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1118 * sysdeps/tile/tilegx/strcasestr.c: New file.
1119 * sysdeps/tile/tilegx/strnlen.c: New file.
1120 * sysdeps/tile/tilegx/strstr.c: New file.
1122 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1124 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1126 * nptl/tst-setuid3.c: Write errors to stdout.
1128 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1131 (preload): New functions broken out of _dl_map_object_deps.
1132 (_dl_map_object_deps): Remove a nested function. Update call sites.
1134 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1137 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1138 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1140 2014-10-01 Steve Ellcey <sellcey@mips.com>
1142 * sysdeps/mips/strcmp.S: New.
1144 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1147 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1149 (mkdirat): Likewise.
1150 (readlinkat): Likewise.
1151 (renameat): Likewise.
1152 (symlinkat): Likewise.
1153 (unlinkat): Likewise.
1154 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1155 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1156 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1157 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1158 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1159 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1160 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1162 2014-09-30 Will Newton <will.newton@linaro.org>
1164 * math/math.h: Define long double math functions if
1165 _LIBC_TEST is defined.
1166 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1168 * localedata/Makefile: Move assignment to tests-special
1169 into an ifdef testing run-built-tests.
1170 * timezone/Makefile: Likewise.
1172 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1174 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1175 with $(BASH) not $(SHELL).
1177 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1178 Matthew LeGendre <legendre1@llnl.gov>
1181 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1184 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1186 * stdio-common/printf_fp.c
1187 (hack_digit): New function, broken out of ...
1188 (__printf_fp): ... local function here. Update call sites.
1189 hack_digit now takes an additional parameter that is a pointer
1190 to a struct of the referenced locals. Those locals moved inside
1191 the struct and references updated.
1193 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1195 * aclocal.m4: Require autoconf 2.69.
1196 * configure: Regenerated.
1197 * sysdeps/aarch64/configure: Likewise.
1198 * sysdeps/alpha/configure: Likewise.
1199 * sysdeps/arm/armv7/configure: Likewise.
1200 * sysdeps/arm/configure: Likewise.
1201 * sysdeps/ia64/configure: Likewise.
1202 * sysdeps/mach/configure: Likewise.
1203 * sysdeps/mips/configure: Likewise.
1204 * sysdeps/s390/configure: Likewise.
1205 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1208 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1210 * sysdeps/ia64/configure.ac: Likewise.
1212 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1215 specify symbol version for ld.so. Do not include entry for
1217 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1218 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1222 * Makeconfig [$(build-shared) = yes]
1223 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1225 [$(build-shared) = yes && $(soversions.mk-done) = t]
1226 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1227 [$(build-shared) = yes && $(soversions.mk-done) = t]
1228 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1230 [$(build-shared) = yes && $(soversions.mk-done) = t]
1231 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1233 [$(build-shared) = yes && $(soversions.mk-done) = t]
1234 (common-generated): Don't append gnu/lib-names.h and
1235 gnu/lib-names.stmp here.
1236 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1237 (lib-names-h-abi): New variable.
1238 [$(build-shared) = yes && $(soversions.mk-done) = t]
1239 (lib-names-stmp-abi): Likewise.
1240 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1241 abi-variants] (before-compile): Append
1242 $(common-objpfx)$(lib-names-h-abi).
1243 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1244 abi-variants] (common-generated): Append gnu/lib-names.h.
1245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1246 abi-variants] (install-others-nosubdir): Depend on
1247 $(inst_includedir)/$(lib-names-h-abi).
1248 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1249 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1250 [$(build-shared) = yes && $(soversions.mk-done) = t]
1251 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1252 [$(build-shared) = yes && $(soversions.mk-done) = t]
1253 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1254 [$(build-shared) = yes && $(soversions.mk-done) = t]
1255 (common-generated): Append $(lib-names-h-abi) and
1256 $(lib-names-stmp-abi).
1257 * scripts/lib-names.awk: Do not handle multi being set.
1258 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1260 (abi-lp64_be-ld-soname): Likewise.
1261 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1263 (abi-hard-ld-soname): Likewise.
1264 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1265 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1267 (abi-o32_hard-ld-soname): Likewise.
1268 (abi-o32_soft_2008-ld-soname): Likewise.
1269 (abi-o32_hard_2008-ld-soname): Likewise.
1270 (abi-n32_soft-ld-soname): Likewise.
1271 (abi-n32_hard-ld-soname): Likewise.
1272 (abi-n32_soft_2008-ld-soname): Likewise.
1273 (abi-n32_hard_2008-ld-soname): Likewise.
1274 (abi-n64_soft-ld-soname): Likewise.
1275 (abi-n64_hard-ld-soname): Likewise.
1276 (abi-n64_soft_2008-ld-soname): Likewise.
1277 (abi-n64_hard_2008-ld-soname): Likewise.
1278 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1280 (abi-64-v2-ld-soname): Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1283 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1285 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1287 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1289 (abi-64-ld-soname): Likewise.
1290 (abi-x32-ld-soname): Likewise.
1291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1293 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1295 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1298 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1299 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1300 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1301 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1302 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1303 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1304 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1305 syscall entry for GLIBC_2.2 symbol version.
1306 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1309 (setrlimit): Likewise.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1313 2014-09-23 Will Newton <will.newton@linaro.org>
1315 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1316 _LINUX_ARM_SYSDEP_H include guard too.
1317 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1320 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1322 * sysdeps/unix/sysv/linux/eventfd.c:
1323 Make first argument unsigned.
1324 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1325 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1327 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1329 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1330 * socket/sys/socket.h: Likewise
1331 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1333 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1335 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1337 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1339 * time/tst-ftime.c: New test.
1340 * time/Makefile (tests): Add tst-ftime.
1342 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1344 * soft-fp/extended.h: Fix comment formatting.
1345 * soft-fp/op-1.h: Likewise.
1346 * soft-fp/op-2.h: Likewise.
1347 * soft-fp/op-4.h: Likewise.
1348 * soft-fp/op-8.h: Likewise.
1349 * soft-fp/op-common.h: Likewise.
1350 * soft-fp/soft-fp.h: Likewise.
1352 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1354 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1357 * Makeconfig (soversions-default-setname): Remove variable.
1358 ($(common-objpfx)soversions.i): Don't pass default_setname to
1360 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1361 oldest_abi to abi-versions.awk.
1362 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1363 * config.make.in (oldest-abi): Remove variable.
1364 * configure.ac (--enable-oldest-abi): Remove configure option.
1365 * configure: Regenerated.
1366 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1368 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1369 * scripts/soversions.awk: Do not handle default_setname variable.
1370 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1372 * sysdeps/mach/hurd/configure: Regenerated.
1373 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1375 * sysdeps/unix/sysv/linux/configure: Regenerated.
1377 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1379 * elf/Makefile (CFLAGS-interp.c): Remove.
1380 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1382 * elf/interp.c: Include generated runtime-linker.h
1384 * Makerules (lib%.so): Don't include $(+interp) in
1386 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1387 * dlfcn/eval.c: Remove file.
1389 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1393 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1397 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1399 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1400 Jakub Jelinek <jakub@redhat.com>
1403 * libio/stdio.h: Check definition of __fortify_function
1404 instead of __extern_always_inline to include bits/stdio2.h.
1405 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1406 check if __extern_always_inline is defined.
1407 [__USE_MISC || __USE_XOPEN]: Likewise.
1408 [__USE_ISOC99] Likewise.
1409 * misc/sys/cdefs.h (__fortify_function): Define only if
1410 __extern_always_inline is defined.
1411 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1412 __extern_always_inline and __extern_inline only for g++-4.3
1413 and newer or a compatible gcc.
1415 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1418 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1419 last change to handle zero prefix length.
1421 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1423 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1426 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1429 2014-09-13 Allan McRae <allan@archlinux.org>
1431 * po/ru.po: Update Russian translation from translation project.
1433 2014-09-12 Roland McGrath <roland@hack.frob.com>
1435 * locale/programs/locale.c (show_locale_vars): Inline local function
1436 into its sole call site. Clean up some style nits.
1437 (print_item): New function, broken out of ...
1438 (show_info): ... local function here. Clean up style nits.
1440 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1442 (set_class_defaults): ... local function set_default here.
1443 Define set_default as a macro locally to pass constant parameters.
1444 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1445 rather than a shared local.
1447 * stdlib/rpmatch.c (try): New function, broken out of ...
1448 (rpmatch): ... local function here. Also, prototypify definition.
1450 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1452 * scripts/soversions.awk: Do not handle configuration names.
1453 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1454 vendor and os variables to soversions.awk.
1455 * configure.ac: Do not modify gnu-* host_os.
1456 * configure: Regenerated
1457 * shlib-versions: Remove first column with configuration names.
1458 * nptl/shlib-versions: Likewise.
1459 * nptl_db/shlib-versions: Likewise.
1460 * sysdeps/hppa/shlib-versions: Likewise.
1461 * sysdeps/m68k/shlib-versions: Likewise.
1462 * sysdeps/mach/hurd/shlib-versions: Likewise.
1463 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1464 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1465 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1466 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1467 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1468 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1469 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1470 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1473 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1474 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1475 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1478 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1483 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1486 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1488 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1490 * shlib-versions: Remove OS-specific entries. Moved to files in
1492 * sysdeps/mach/hurd/shlib-versions: New file.
1493 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1495 * nptl/shlib-versions: Remove architecture-specific entries.
1496 Moved to files in sysdeps.
1497 * shlib-versions: Likewise.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1500 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1501 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1505 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1506 (UDP_NO_CHECK6_RX): Likewise.
1508 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1510 * sysdeps/posix/sysconf.c (__sysconf): Spell
1511 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1513 2014-08-12 Florian Weimer <fweimer@redhat.com>
1515 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1517 * iconv/Versions (__gconv_transliterate): Export for use from
1519 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1520 (struct __gconv_trans_data, __gconv_trans_fct,
1521 __gconv_trans_context_fct, __gconv_trans_query_fct,
1522 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1524 (struct __gconv_step_data): Remove __trans member.
1525 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1526 longer hidden. Remove unused trans_data argument.
1527 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1528 (__gconv_translit_find): Remove declaration.
1529 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1531 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1532 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1533 trans_data argument. Add hidden definition.
1534 (__gconv_translit_find): Remove.
1535 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1536 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1537 * iconv/skeleton.c: Remove transliteration initialization.
1538 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1539 __gconv_step_data initialization.
1540 * libio/iofwide.c (__libio_translit_): Remove.
1541 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1542 * wcsmbs/btowc.c (__btowc): Likewise.
1543 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1544 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1545 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1546 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1547 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1548 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1549 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1550 * wcsmbs/wctob.c (wctob): Likewise.
1552 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1555 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1556 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1558 * sysdeps/x86/Makefile: Adjust.
1560 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1561 Roland McGrath <roland@hack.frob.com>
1563 * locale/weight.h: Add include guard.
1564 (findidx): Make static rather than auto; take new parameters
1565 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1566 * locale/weightwc.h: Likewise.
1567 * posix/fnmatch_loop.c
1568 (FCT): Change type of EXTRA from int32_t to wint_t.
1569 Don't include either header inside the function.
1570 Call FINDIDX rather than findidx, and pass new arguments.
1571 #undef FINDIDX at the end of the file.
1572 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1573 FINDIDX before including fnmatch_loop.c for the non-wide version.
1574 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1575 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1576 for the wide version.
1577 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1578 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1579 Pass new arguments to findidx.
1580 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1581 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1582 Don't #include it inside the function. Pass new arguments to findidx.
1583 * posix/regex_internal.h
1584 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1585 (re_string_elem_size_at): Don't #include it inside the function.
1586 Pass new arguments to findidx.
1587 * string/strcoll_l.c: #include WEIGHT_H at top level.
1588 (get_next_seq): Don't #include it inside the function.
1589 Pass new arguments to findidx.
1590 (get_next_seq_nocache): Likewise.
1591 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1592 (STRXFRM): Don't #include it inside the function.
1593 Pass new arguments to findidx.
1595 2014-09-11 Florian Weimer <fweimer@redhat.com>
1598 * malloc/malloc.c (unlink): Turn asserts into a call to
1601 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1604 * libio/wfileops (do_ftell_wide): Free OUT.
1606 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1608 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1610 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1613 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1614 group if the current group is empty.
1616 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618 * benchtests/bench-memset.c (test_main): Add more test from size
1619 from 32 to 512 bytes.
1620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1621 Add POWER8 memset object.
1622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1623 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1626 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1628 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1629 multiarch POWER8 memset optimization.
1630 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1631 POWER8 memset optimization.
1633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1634 Remove bzero multiarch objects.
1635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1637 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1638 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1640 [__bzero]: Redefine to specific name.
1641 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1642 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1643 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1646 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1648 2014-09-10 Florian Weimer <fweimer@redhat.com>
1650 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1651 warnings into errors.
1653 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1654 __cxa_thread_atexit_impl prototype.
1656 2014-09-09 Steve Ellcey <sellcey@mips.com>
1658 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1659 Fix capitalization of error message.
1661 2014-09-09 Steve Ellcey <sellcey@mips.com>
1663 * sysdeps/mips/preconfigure: Modify ABI tests.
1665 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1667 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1669 2014-09-07 Roland McGrath <roland@hack.frob.com>
1670 Carlos O'Donell <carlos@systemhalted.org>
1672 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1673 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1674 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1675 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1676 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1678 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1679 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1680 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1689 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1690 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1691 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1692 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1693 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1694 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1696 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1697 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1698 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1699 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1700 Deconditionalize the code that was previously under [RESET_PID].
1701 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1702 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1703 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1704 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1707 2014-09-08 Allan McRae <allan@archlinux.org>
1709 * version.h (RELEASE): Set to "development".
1710 (VERSION): Set to "2.20.90"
1712 2014-09-07 Allan McRae <allan@archlinux.org
1714 * version.h (RELEASE): Set to "stable".
1715 (VERSION): Set to "2.20"
1716 * include/features.h (__GLIBC_MINOR__): Set to 20.
1718 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1721 * po/ko.po: Update Korean translation from translation project.
1723 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1726 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1727 macro for handling signed relocations.
1729 2014-09-03 Florian Weimer <fweimer@redhat.com>
1732 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1733 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1735 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1736 * iconvdata/ibm935.c (BODY): Likewise.
1737 * iconvdata/ibm937.c (BODY): Likewise.
1738 * iconvdata/ibm939.c (BODY): Likewise.
1739 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1741 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1743 * iconvdata/run-iconv-test.sh: New test loop for checking for
1746 2014-09-02 Khem Raj <raj.khem@gmail.com>
1748 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1751 2014-09-01 Allan McRae <allan@archlinux.org>
1753 * po/eo.po: Update Esperanto translation from translation project.
1755 * po/ca.po: Update Catalan translation from translation project.
1757 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1759 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1762 2014-08-27 Mark Wielaard <mjw@redhat.com>
1765 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1766 to call set_thread_area instead of hand written asm.
1767 (__NR_set_thread_area): Removed define.
1768 (TLS_FLAG_WRITABLE): Likewise.
1769 (__ASSUME_SET_THREAD_AREA): Remove check.
1770 (TLS_EBX_ARG): Remove define.
1771 (TLS_LOAD_EBX): Likewise.
1773 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1775 Simplify atomicity of socket creation in bind.
1777 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1778 looking up the name after linking the file.
1780 2014-08-27 Allan McRae <allan@archlinux.org>
1782 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1784 2014-08-26 Florian Weimer <fweimer@redhat.com>
1787 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1788 trans_compare, open_translit, __gconv_translit_find):
1789 Remove module loading code.
1791 2014-08-26 Allan McRae <allan@archlinux.org>
1793 * po/vi.po: Update Vietnamese translation from translation project.
1795 * po/uk.po: Update Ukrainian translation from translation project.
1797 * po/fr.po: Update French translation from translation project.
1799 * po/ru.po: Update Russian translation from translation project.
1801 * po/pl.po: Update Polish translation from translation project.
1803 * po/cs.po: Update Czech translation from translation project.
1805 * po/de.po: Update German translation from translation project.
1807 * po/bg.po: Update Bulgarian translation from translation project.
1809 * po/sv.po: Update Sweedish translation from translation project.
1811 * po/nl.po: Update Dutch translation from translation project.
1813 * po/es.po: Update Spanish translation from translation project.
1815 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1817 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1819 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1820 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1821 (CPPFLAGS-iconvconfig): Likewise.
1822 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1824 * include/libc-symbols.h: Remove unnecessary check for
1826 * nptl/pthreadP.h: Likewise.
1827 * sysdeps/aarch64/setjmp.S: Likewise.
1828 * sysdeps/alpha/setjmp.S: Likewise.
1829 * sysdeps/arm/sysdep.h: Likewise.
1830 * sysdeps/i386/setjmp.S: Likewise.
1831 * sysdeps/m68k/setjmp.c: Likewise.
1832 * sysdeps/posix/getcwd.c: Likewise.
1833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1834 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1835 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1836 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1837 * sysdeps/sh/sh3/setjmp.S: Likewise.
1838 * sysdeps/sh/sh4/setjmp.S: Likewise.
1839 * sysdeps/unix/alpha/sysdep.h: Likewise.
1840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1842 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1843 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1848 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1851 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1853 * sysdeps/x86_64/setjmp.S: Likewise.
1855 2014-08-13 Joseph Myers <joseph@codesourcery.com>
1858 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1860 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1861 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1863 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1865 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1868 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1869 and __x86_64__ when disabling x87 inline functions.
1871 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1874 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1875 asm statement with __cpuid_count.
1877 2014-08-12 Mike Frysinger <vapier@gentoo.org>
1879 * configure.ac: Change __ehdr_start code to dereference the struct.
1880 Run readelf on the output to look for relocations.
1881 * configure: Regenerated.
1883 2014-08-12 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1888 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1890 2014-08-12 Roland McGrath <roland@hack.frob.com>
1892 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1894 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1897 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1898 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1900 2014-08-12 Sean Anderson <seanga2@gmail.com>
1902 * malloc/malloc.c: Fix typo in comment.
1904 2014-08-09 Allan McRae <allan@archlinux.org>
1906 * Regenerate libc.po.
1908 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1910 * intl/tst-gettext2.sh: Check every lang file for creation.
1912 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1914 * sysdeps/aarch64/fpu/math_private.h
1915 (libc_feholdsetround_noex_aarch64_ctx): New function.
1917 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1919 * sysdeps/arm/armv6/strcpy.S (strcpy):
1920 Fix performance issue in misaligned cases.
1922 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1924 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1925 Move definition from termios.h.
1926 (struct termio): Likewise.
1927 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1928 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1929 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1930 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1933 Move definition to ioctl-types.h
1934 (struct termio): Likewise.
1935 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1936 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1937 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1938 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1941 2014-08-05 Richard Henderson <rth@redhat.com>
1943 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1945 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1947 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1948 Use __feraiseexcept.
1949 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1950 Protect libm symbols with IS_IN_libm.
1952 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1954 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1956 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1958 2014-08-04 Will Newton <will.newton@linaro.org>
1960 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1963 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1965 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1966 variants for each function.
1968 2014-08-04 Roland McGrath <roland@hack.frob.com>
1970 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1972 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1973 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1975 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1976 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1977 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1978 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1979 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1980 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1981 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1982 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1983 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1984 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2011 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2012 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2013 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2014 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2015 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2017 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2019 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2021 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2022 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2023 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2025 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2026 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2027 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2029 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2030 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2032 2014-08-04 Roland McGrath <roland@hack.frob.com>
2034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2035 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2036 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2037 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2038 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2039 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2041 2014-08-04 Roland McGrath <roland@hack.frob.com>
2043 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2044 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2045 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2046 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2048 2014-08-04 Roland McGrath <roland@hack.frob.com>
2050 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2051 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2052 (__libc_vfork): Define function under this name.
2053 (__vfork): Define as an alias.
2054 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2055 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2057 2014-08-04 Roland McGrath <roland@hack.frob.com>
2059 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2060 that was previously under [RESET_PID].
2061 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2063 2014-08-04 Andreas Schwab <schwab@suse.de>
2065 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2067 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2069 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2072 2014-08-01 Roland McGrath <roland@hack.frob.com>
2074 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2076 2014-08-01 Richard Henderon <rth@redhat.com>
2078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2079 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2080 typo in exact zero test.
2081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2085 2014-08-01 Roland McGrath <roland@hack.frob.com>
2087 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2088 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2089 * sysdeps/arm/sysdep.h: ... here.
2090 [!__ASSEMBLER__]: Include <stdint.h>.
2092 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2094 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2095 (HAVE_WCTYPE_H): Likewise.
2096 (HAVE_ISWCTYPE): Likewise.
2097 (ENABLE_NLS): Likewise.
2098 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2099 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2101 * posix/regex_internal.c: Check if DEBUG is defined and is
2104 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2105 (HAVE_MBSRTOWCS): Likewise.
2106 * posix/fnmatch.c: Include string.h unconditionally.
2108 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2110 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2113 2014-07-31 Roland McGrath <roland@hack.frob.com>
2115 * sysdeps/generic/safe-fatal.h: New file.
2116 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2117 * nptl/forward.c: Include it.
2118 (__pthread_unwind): Use __safe_fatal as default action, rather
2119 than a bogus use of INTERNAL_SYSCALL that could never work.
2121 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2122 * configure.ac (libc_cv_builtin_trap): New test.
2123 * configure: Regenerated.
2124 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2125 (ABORT_INSTRUCTION): Define using __builtin_trap.
2127 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2128 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2129 * sysdeps/nptl/nptl-signals.h: New file.
2130 * nptl/pthreadP.h: Include <nptl-signals.h>.
2132 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2134 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2135 (ONE_DIRECTION): Define.
2136 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2137 (ONE_DIRECTION): Define.
2138 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2139 (ONE_DIRECTION): Define.
2141 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2143 * sysdeps/s390/Makefile: Delete file.
2144 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2145 * sysdeps/s390/__longjmp.c: Delete file.
2146 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2147 Remove fields __flags and __reserved.
2148 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2150 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2151 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2152 * sysdeps/s390/rtld-setjmp.S: Likewise.
2153 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2154 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2155 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2156 * sysdeps/s390/s390-32/setjmp.S: ... here.
2158 (__sigsetjmp): Remove setting __flags field.
2159 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2160 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2161 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2162 * sysdeps/s390/s390-64/setjmp.S: ... here.
2164 (__sigsetjmp): Remove setting __flags field.
2165 * sysdeps/s390/setjmp.S: Delete file.
2166 * sysdeps/s390/sigjmp.c: Likewise.
2167 * sysdeps/s390/v1-longjmp.c: Likewise.
2168 * sysdeps/s390/v1-setjmp.h: Likewise.
2169 * sysdeps/s390/v1-sigjmp.c: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2171 Remove v1-longjmp_chk.
2172 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2173 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2174 Include debug/longjmp_chk.c and add versioning.
2175 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2176 Include nptl/pt-longjmp.c and add versioning.
2177 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2179 Include __longjmp.c.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2183 (__getcontext): Remove setting __flags field.
2185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2186 Don't restore upper high grps.
2187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2189 (__swapcontext): Remove setting uc_flags field.
2190 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2192 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2193 Include __longjmp.c.
2194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2197 (__getcontext): Remove setting __flags field.
2199 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2200 (__swapcontext): Remove setting uc_flags field.
2201 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2203 Remove fields uc_high_gprs and __reserved.
2204 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2205 New file with reverted content.
2206 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2212 2014-07-31 Andreas Schwab <schwab@suse.de>
2214 * config.h.in (HAVE_IFUNC): Define to 0.
2215 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2218 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2221 memmove-avx-unaligned, memcpy-avx-unaligned and
2222 mempcpy-avx-unaligned.
2223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2224 Add tests for AVX memcpy functions.
2225 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2226 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2228 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2229 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2231 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2232 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2234 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2235 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2236 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2238 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2241 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2244 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2247 * manual/llio.texi: Add section about open file description locks.
2248 * manual/examples/ofdlocks.c: Example of open file description
2250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2251 F_OFD_SETLK, and F_OFD_SETLKW.
2253 2014-07-23 Allan McRae <allan@archlinux.org>
2255 * po/es.po: Update Spanish translation from translation project.
2257 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2259 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2261 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2264 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2265 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2266 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2268 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2271 * math/fesetenv.c (__fesetenv)
2272 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2273 * math/feupdateenv.c (__feupdateenv)
2274 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2276 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2277 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2278 (__ASSUME_SOCKETCALL): Do not define.
2280 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2281 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2282 (__ASSUME_SOCKETCALL): Do not define.
2283 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2284 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2285 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2286 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2287 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2288 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2289 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2290 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2293 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2294 (__ASSUME_SOCKETCALL): Do not define.
2295 (__ASSUME_IPC64): Define unconditionally.
2296 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2297 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2298 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2299 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2300 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2301 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2302 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2305 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2306 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2307 (__ASSUME_SOCKETCALL): Do not define.
2308 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2309 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2310 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2311 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2312 (__ASSUME_REQUEUE_PI): Define unconditionally.
2313 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2314 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2315 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2316 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2317 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2318 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2320 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2321 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2322 (__ASSUME_SOCKETCALL): Do not define.
2323 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2324 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2325 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2326 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2327 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2328 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2330 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2331 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2333 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2334 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2335 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2336 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2337 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2338 (__ASSUME_GETCPU_SYSCALL): Likewise.
2340 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2341 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2342 cases for individual architectures.
2343 * sysdeps/gnu/configure: Regenerated.
2344 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2345 LIBC_SLIBDIR_RTLDDIR.
2346 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2347 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2348 LIBC_SLIBDIR_RTLDDIR.
2349 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2351 LIBC_SLIBDIR_RTLDDIR.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2354 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2360 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2361 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2362 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2363 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2365 * sysdeps/aarch64/shlib-versions: Move to ...
2366 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2367 * sysdeps/alpha/shlib-versions: Move to ...
2368 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2369 * sysdeps/arm/shlib-versions: Move to ...
2370 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2371 * sysdeps/hppa/shlib-versions: Move all contents except for
2372 libgcc_s entry to ...
2373 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2375 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2376 * sysdeps/ia64/shlib-versions: Move to ...
2377 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2379 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2380 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2381 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2382 * sysdeps/microblaze/shlib-versions: Move to ...
2383 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2384 * sysdeps/mips/shlib-versions: Move to ...
2385 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2387 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2388 * sysdeps/tile/shlib-versions: Move to ...
2389 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2392 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2395 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2397 2014-07-17 Will Newton <will.newton@linaro.org>
2399 * sysdeps/arm/bits/atomic.h
2400 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2401 (__arch_compare_and_exchange_bool_16_int): Likewise.
2402 (__arch_compare_and_exchange_bool_64_int): Likewise.
2404 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2405 into an #else block.
2407 2014-07-16 Roland McGrath <roland@hack.frob.com>
2409 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2410 just Linux configurations. Test empirically that the compiler sets
2411 __ARM_EABI__, rather than using the tuple to decide.
2412 * sysdeps/arm/preconfigure: Regenerated.
2413 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2414 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2415 contents appended ...
2416 * sysdeps/arm/configure.ac: ... here.
2417 * sysdeps/arm/configure: Regenerated.
2419 2014-07-15 Roland McGrath <roland@hack.frob.com>
2421 * nptl/pthread_kill.c: New file.
2422 * nptl/pthread_sigmask.c: New file.
2423 * nptl/pthread_sigqueue.c: New file.
2425 * sysdeps/nptl/lowlevellock.h: New file.
2426 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2427 * sysdeps/nptl/lowlevellock-futex.h: New file.
2429 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2430 Remove dead declarations.
2432 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2434 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2435 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2437 * sysdeps/x86_64/configure.ac: Likewise.
2438 * sysdeps/i386/configure: Regenerated.
2439 * sysdeps/x86_64/configure: Likewise.
2440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2441 memset-avx2 only if config-cflags-avx2 is yes.
2442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2443 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2445 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2446 only if HAVE_AVX2_SUPPORT is defined.
2447 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2449 2014-07-14 Alan Modra <amodra@gmail.com>
2452 * elf/elf.h (DT_PPC64_NUM): Correct value.
2453 * NEWS: Add to fixed bug list.
2455 2014-07-13 Jim Meyering <meyering@fb.com>
2458 regex: don't deref NULL upon heap allocation failure
2459 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2460 failure in one more place.
2461 To trigger the segfault, configure grep -with-included-regex,
2462 build it, and run these commands:
2463 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2465 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2467 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2469 2014-07-11 Richard Henderson <rth@redhat.com>
2471 * sysdeps/aarch64/libm-test-ulps: Update.
2473 2014-07-10 Florian Weimer <fweimer@redhat.com>
2476 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2477 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2478 (__nptl_setxid): Initialize error member. Call
2479 __nptl_setxid_error.
2480 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2481 * nptl/descr.h (struct xid_command): Add error member.
2482 * nptl/tst-setuid3.c: New file.
2483 * nptl/Makefile (tests): Add it.
2485 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2489 (__lll_trylock): Use __lll_base_trylock.
2490 (__lll_cond_trylock): Likewise.
2492 2014-07-10 Roland McGrath <roland@hack.frob.com>
2494 * nptl/pthread_create.c (start_thread): Use atomic_or and
2495 lll_futex_wake directly rather than lll_robust_dead.
2496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2497 (lll_robust_dead): Macro removed.
2498 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2499 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2500 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2501 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2502 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2503 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2504 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2505 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2506 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2508 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2509 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2510 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2511 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2514 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2515 Use atomic_compare_and_exchange_val_acq directly rather than
2517 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2518 (__lll_robust_trylock, lll_robust_trylock): Removed.
2519 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2520 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2521 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2522 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2523 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2524 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2525 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2526 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2531 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2534 2014-07-02 Florian Weimer <fweimer@redhat.com>
2536 * manual/locale.texi (Locale Names): New section documenting
2537 locale name syntax. Adjust menu and node chaining accordingly.
2538 (Choosing Locale): Reference Locale Names, Locale Categories.
2539 Mention setting LC_ALL=C. Reflect that name syntax is now
2541 (Locale Categories): New section title. Reference Locale Names.
2542 LC_ALL is an environment variable, but not a category.
2543 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2544 description, now in Locale Name. Reference that section. Locale
2545 name syntax is now documented.
2547 2014-07-02 Florian Weimer <fweimer@redhat.com>
2550 * locale/findlocale.c (name_present, valid_locale_name): New
2552 (_nl_find_locale): Use the loc_name variable to store name
2553 candidates. Call name_present and valid_locale_name to check and
2554 validate locale names. Return an error if the locale is invalid.
2556 2014-07-02 Florian Weimer <fweimer@redhat.com>
2558 * locale/setlocale.c (setlocale): Use strdup for allocating
2559 composite name copy.
2561 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 Sync up with gnulib.
2564 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2565 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2566 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2567 and _GL_ARG_NONNULL.
2568 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2569 [!_LIBC]: Include code for Windows and Cygwin.
2570 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2571 Include prototype for int strerror_r.
2572 [!_LIBC] (is_open): New function.
2573 (flush_stdout): New function.
2574 (print_errno_message): Use it.
2576 (error_at_line): Likewise.
2577 (error_tail) Add function attribute macros. Use
2580 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2582 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2584 * io/ftw.c: Include sys/param.h unconditionally.
2586 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2589 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2591 (freecache): New function to free CACHE on exit.
2593 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2596 2014-07-09 David S. Miller <davem@davemloft.net>
2598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2600 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2601 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2602 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2603 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2604 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2605 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2606 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2607 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2608 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2609 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2610 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2611 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2612 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2614 2014-07-09 Andreas Schwab <schwab@suse.de>
2616 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2618 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2619 (do_test): Likewise.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2623 2014-07-09 Will Newton <will.newton@linaro.org>
2625 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2626 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2627 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2628 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2629 * sysdeps/hppa/start.S (_start): Likewise.
2631 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2633 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2635 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2638 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2640 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2641 after checking that it is non-NULL.
2643 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2645 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2647 * sysdeps/powerpc/memmove.c: Remove file.
2648 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2651 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2652 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2653 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2654 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2655 string memmove instead of removed powerpc one.
2657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2658 [weak_alias]: Fix compiler warning due trailing data.
2659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2660 [weak_alias]: Likewise.
2661 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2662 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2665 (__libc_ifunc_impl_list): Add memmove functions.
2667 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2669 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2671 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2673 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2675 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2677 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2679 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2681 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2683 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2685 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2687 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2689 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2691 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2693 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2695 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2697 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2699 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2701 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2704 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2707 to avoid alignment traps in non-cacheable memory.
2708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2713 file: multiarch power7 memmove.
2714 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2715 multiarch default memmove.
2716 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2717 multiarch memove for powerpc32/power4.
2719 * string/bcopy.c: Use full path to include memmove.c.
2720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2722 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2723 bcopy for powerpc64.
2724 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2725 bcopy for powerpc64.
2726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2727 and memmove implementations.
2728 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2729 optimized multiarch memmove for POWER7/powerpc64.
2730 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2731 default multiarch memmove for powerpc64.
2732 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2733 multiarch for powerpc64.
2734 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2735 for POWER7/powerpc64.
2736 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2737 memmove for POWER7/powerpc64.
2739 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2742 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2743 __ELF_NATIVE_CLASS equal to 64.
2745 2014-07-07 Roland McGrath <roland@hack.frob.com>
2747 * sysdeps/nptl/lowlevellock.h: File removed.
2749 * NEWS: NPTL is no longer an add-on!
2750 * nptl/internaltypes.h: Moved ...
2751 * sysdeps/nptl/internaltypes.h: ... here.
2752 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2753 * sysdeps/nptl/fork.c: Likewise.
2754 * sysdeps/nptl/gai_misc.h: Likewise.
2755 * sysdeps/nptl/librt-cancellation.c: Likewise.
2756 * sysdeps/nptl/jmp-unwind.c: Likewise.
2757 * sysdeps/nptl/setxid.h: Likewise.
2758 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2759 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2760 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2761 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2762 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2763 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2764 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2765 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2766 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2767 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2768 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2769 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2770 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2771 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2772 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2773 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2774 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2775 * nptl/Makeconfig: Moved ...
2776 * sysdeps/nptl/Makeconfig: ... here.
2777 * nptl/configure: File removed.
2778 * nptl/ANNOUNCE: File removed.
2779 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2780 * sysdeps/unix/sysv/linux/configure: Regenerated.
2782 * nptl/Makefile (routines): Add libc_pthread_init,
2783 libc_multiple_threads, register-atfork and unregister-atfork.
2784 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2785 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2786 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2787 pthread-pi-defines.sym, structsem.sym.
2788 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2789 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2790 [$(subdir) = nptl] (tests): Add tst-setgetname.
2791 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2792 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2793 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2794 [!LIBC_SIGACTION]: Remove aliases.
2795 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2796 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2797 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2798 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2799 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2800 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2803 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2804 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2805 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2806 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2807 __libc_allocate_rtsig_private.
2808 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2809 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2810 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2811 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2812 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2813 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2814 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2815 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2816 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2817 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2818 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2819 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2820 * nptl/internaltypes.h: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2822 * sysdeps/nptl/jmp-unwind.c: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2824 * nptl/libc-lowlevellock.c: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2826 * nptl/libc_multiple_threads.c: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2828 * nptl/libc_pthread_init.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2830 * nptl/lowlevelbarrier.sym: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2832 * nptl/lowlevelcond.sym: ... here.
2833 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2834 * nptl/lowlevellock.c: ... here.
2835 * nptl/lowlevellock.h: Moved ...
2836 * sysdeps/nptl/lowlevellock.h: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2838 * nptl/lowlevelrobustlock.c: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2840 * nptl/lowlevelrobustlock.sym: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2842 * nptl/lowlevelrwlock.sym: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2844 * nptl/pt-fork.c: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2846 * nptl/pthread-pi-defines.sym: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2848 * nptl/pthread_attr_getaffinity.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2850 * nptl/pthread_attr_setaffinity.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2852 * nptl/pthread_mutex_cond_lock.c: ... here.
2853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2855 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2856 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2857 * nptl/pthread_once.c: ... here, replacing old file.
2858 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2859 * nptl/pthread_yield.c: ... here.
2860 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2861 * nptl/register-atfork.c: ... here.
2862 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2863 * nptl/sem_post.c: ... here.
2864 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2865 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2866 * nptl/sem_timedwait.c: ... here.
2867 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2868 * nptl/sem_trywait.c: ... here.
2869 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2870 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2871 * nptl/sem_wait.c: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2873 * nptl/structsem.sym: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2875 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2876 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2877 * nptl/unregister-atfork.c: ... here.
2878 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2879 * nptl/unwindbuf.sym: ... here.
2880 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2881 * sysdeps/nptl/fork.c: ... here.
2882 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2883 * sysdeps/nptl/fork.h: ... here.
2884 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2885 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2886 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2887 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2888 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2890 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2892 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2893 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2894 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2895 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2896 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2898 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2900 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2902 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2904 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2906 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2907 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2908 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2909 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2910 * sysdeps/unix/sysv/linux/raise.c: ... here.
2911 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2912 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2914 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2915 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2916 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2918 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2920 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2921 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2922 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2923 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2924 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2925 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2927 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2929 * sysdeps/generic/memcopy.h: Add comment for
2930 MEMCPY_OK_FOR_FWD_MEMMOVE.
2932 2014-07-04 Will Newton <will.newton@linaro.org>
2934 * string/memchr.c: Merge from gnulib.
2935 [_LIBC]: Remove conditionals.
2936 (__ptr_t): Remove define.
2937 (LONG_MAX_32_BITS): Likewise.
2938 (LONG_MAX): Likewise.
2939 (MEMCHR): Use ANSI prototype and optimize algorithm.
2941 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2943 2014-07-03 Roland McGrath <roland@hack.frob.com>
2945 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2946 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2948 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2949 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2950 in a bare environment with no <stdlib.h> installed.
2951 * sysdeps/nptl/configure: Regenerated.
2953 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2955 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2956 AC_EGREP_CPP for kernel header checks, so they only succeed if
2957 including <linux/version.h> actually works right.
2958 * sysdeps/unix/sysv/linux/configure: Regenerated.
2960 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2961 value so it's not diagnosed as unused.
2963 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2964 thing) with "ifeq ($(subdir),rt)".
2966 2014-07-03 Richard Henderson <rth@redhat.com>
2968 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2969 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2970 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2972 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2973 (math_force_eval): New.
2975 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2976 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2978 * sysdeps/alpha/fpu/s_round.c: Remove file.
2979 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2981 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2982 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2983 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2984 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2985 (_dl_start, print_statistics): Likewise.
2986 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2987 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2989 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2990 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2991 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2992 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2994 (HP_SMALL_TIMING_AVAIL): Define.
2995 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2996 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2997 (HP_SMALL_TIMING_AVAIL): Define.
2998 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2999 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3001 * sysdeps/aarch64/hp-timing.h: New file.
3003 * sysdeps/generic/hp-timing.h: Remove dead comment.
3004 * sysdeps/generic/hp-timing-common.h: New file.
3005 * sysdeps/alpha/hp-timing.h: Include it.
3006 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3007 * sysdeps/i386/i686/hp-timing.h: Likewise.
3008 * sysdeps/ia64/hp-timing.h: Likewise.
3009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3011 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3012 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3013 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3014 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3017 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3018 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3019 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3020 * elf/rtld.c (_dl_start_final): Likewise.
3021 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3022 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3023 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3024 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3025 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3027 (HP_TIMING_DIFF_INIT): Remove.
3028 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3030 (HP_TIMING_DIFF_INIT): Remove.
3031 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3032 * sysdeps/i386/i686/hp-timing.c: Remove file.
3033 * sysdeps/x86_64/hp-timing.c: Remove file.
3034 * sysdeps/ia64/hp-timing.c: Remove file.
3035 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3036 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3038 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3040 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3041 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3042 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3043 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3045 (HP_TIMING_ACCUM): Remove.
3046 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3048 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3050 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3051 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3052 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3053 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3054 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3055 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3056 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3057 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3059 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3061 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3063 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3065 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3067 Sync up with gettext.
3068 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3069 [_MSC_VER]: Include malloc.h
3070 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3071 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3072 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3073 TEMP_FAILURE_RETRY. Cast return of alloca.
3074 [!_LIBC] Call gl_rwlock_init.
3075 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3077 2014-07-02 Roland McGrath <roland@hack.frob.com>
3079 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3080 before checking its value.
3082 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3084 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3086 * debug/memcpy_chk.c: Don't include pagecopy.h.
3087 * debug/mempcpy_chk.c: Likewise.
3088 * string/memcpy.c: Likewise.
3089 * string/memmove.c: Likewise.
3090 * sysdeps/powerpc/memmove.c: Likewise.
3091 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3092 definition of PAGE_COPY_FWD_MAYBE here...
3093 * sysdeps/generic/pagecopy.h: ... from here.
3094 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3096 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3097 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3099 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3103 (__libc_ifunc_impl_list): Likewise.
3104 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3105 multiarch strcat for PPC64.
3106 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3107 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3109 2014-07-02 Roland McGrath <roland@hack.frob.com>
3111 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3113 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3115 * intl/loadmsgcat.c: Remove declaration of
3116 get_sysdep_segment_value.
3117 (get_sysdep_segment_value): Use ISO C style.
3118 (_nl_load_domain): Use ISO C style. Get rid of redundant
3119 semicolon. Fix typo and formatting in comment.
3120 (_nl_unload_domain): Use ISO C style.
3122 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3124 2014-07-02 Will Newton <will.newton@linaro.org>
3126 * malloc/obstack.c: Merge from gnulib master.
3127 [HAVE_CONFIG_H]: Remove conditional code.
3128 [!_LIBC]: Include config.h.
3129 [!ELIDE_CODE]: Don't include inttypes.h, include
3130 stdint.h unconditionally.
3131 (print_and_abort): Mark as _Noreturn.
3132 (_obstack_allocated_p): Mark as __attribute_pure__.
3133 (obstack_free): Rename to __obstack_free.
3134 [!__attribute__]: Remove conditional code.
3135 * malloc/obstack.h: Merge from gnulib master.
3136 [__cplusplus]: Move conditional down.
3137 [!__attribute_pure__]: Define __attribute_pure__ here
3138 if it is not already defined.
3139 (_obstack_memory_used): Mark as __attribute_pure__.
3140 [!__obstack_free]: Define as obstack_free.
3141 [__GNUC__]: Remove check for ancient NeXT gcc.
3143 2014-07-02 Will Newton <will.newton@linaro.org>
3144 Paul Eggert <eggert@cs.ucla.edu>
3146 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3148 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3150 * resolv/gethnamaddr.c: Add comment warning that the file is
3153 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3155 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3158 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3159 entry for aio_cancel and aio_cancel64.
3160 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3161 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3162 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3163 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3164 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3165 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3166 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3167 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3168 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3169 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3170 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3171 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3172 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3174 2014-07-01 Roland McGrath <roland@hack.frob.com>
3176 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3177 * nptl/pthread_mutex_lock.c: Likewise.
3178 * nptl/pthread_mutex_timedlock.c: Likewise.
3179 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3181 2014-07-01 Richard henderson <rth@redhat.com>
3183 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3184 (__isnan, __isnanl): Remove.
3185 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3187 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3189 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3193 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3195 * resolv/nss_dns/dns-host.c (getanswer_r)
3196 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3198 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3201 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3203 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3204 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3206 2014-07-01 Roland McGrath <roland@hack.frob.com>
3208 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3209 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3211 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3212 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3214 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3215 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3217 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3218 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3220 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3221 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3222 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3223 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3225 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3226 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3227 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3228 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3229 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3231 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3233 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3234 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3236 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3237 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3238 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3240 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3246 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3248 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3254 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3257 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3258 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3259 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3260 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3261 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3263 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3265 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3266 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3267 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3270 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3274 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3276 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3277 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3281 * sysdeps/arm/libm-test-ulps: Regenerated.
3283 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3284 Roland McGrath <roland@hack.frob.com>
3286 * test-skeleton.c (signal_handler): Kill the whole process group
3287 before killing the child individually.
3288 (main): Report any failure on `setpgid'.
3290 2014-06-30 Roland McGrath <roland@hack.frob.com>
3292 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3293 from _TLS_H to _ARM_NPTL_TLS_H.
3294 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3295 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3297 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3301 (__expm1l): Return argument unchanged when small but not
3304 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3306 (_FP_UNPACK_RAW_1_P): Likewise.
3307 (_FP_PACK_RAW_1): Likewise.
3308 (_FP_PACK_RAW_1_P): Likewise.
3309 (_FP_MUL_MEAT_1_wide): Likewise.
3310 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3311 (_FP_MUL_MEAT_1_hard): Likewise.
3312 (_FP_DIV_MEAT_1_imm): Likewise.
3313 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3314 (_FP_DIV_MEAT_1_udiv): Likewise.
3315 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3316 (_FP_UNPACK_RAW_2): Likewise.
3317 (_FP_UNPACK_RAW_2_P): Likewise.
3318 (_FP_PACK_RAW_2): Likewise.
3319 (_FP_PACK_RAW_2_P): Likewise.
3320 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3321 (_FP_MUL_MEAT_2_wide): Likewise.
3322 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3323 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3324 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3325 (_FP_MUL_MEAT_2_gmp): Likewise.
3326 (_FP_DIV_MEAT_2_udiv): Likewise.
3327 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3328 (_FP_FRAC_SRL_4): Likewise.
3329 (_FP_FRAC_SRST_4): Likewise.
3330 (_FP_FRAC_SRS_4): Likewise.
3331 (_FP_UNPACK_RAW_4): Likewise.
3332 (_FP_UNPACK_RAW_4_P): Likewise.
3333 (_FP_PACK_RAW_4): Likewise.
3334 (_FP_PACK_RAW_4_P): Likewise.
3335 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3336 (_FP_MUL_MEAT_4_wide): Likewise.
3337 (_FP_MUL_MEAT_4_gmp): Likewise.
3338 (umul_ppppmnnn): Likewise.
3339 (_FP_DIV_MEAT_4_udiv): Likewise.
3340 (__FP_FRAC_ADD_4): Likewise.
3341 (__FP_FRAC_SUB_3): Likewise.
3342 (__FP_FRAC_SUB_4): Likewise.
3343 (__FP_FRAC_DEC_3): Likewise.
3344 (__FP_FRAC_DEC_4): Likewise.
3345 (__FP_FRAC_ADDI_4): Likewise.
3346 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3347 (_FP_FRAC_SRL_8): Likewise.
3348 (_FP_FRAC_SRS_8): Likewise.
3350 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3352 (FP_UNPACK_RAW_EP): Likewise.
3353 (FP_PACK_RAW_E): Likewise.
3354 (FP_PACK_RAW_EP): Likewise.
3355 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3356 (_FP_ISSIGNAN): Likewise.
3357 (_FP_ADD_INTERNAL): Likewise.
3358 (_FP_FMA): Likewise.
3359 (_FP_CMP): Likewise.
3360 (_FP_SQRT): Likewise.
3361 (_FP_TO_INT): Likewise.
3362 (_FP_FROM_INT): Likewise.
3363 (FP_EXTEND): Likewise.
3364 (_FP_DIV_MEAT_N_loop): Likewise.
3366 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3368 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3371 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3374 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3375 result with correct sign in case of exponents that produce
3376 overflow except for X very close to 1.
3378 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3380 mktime: merge #if/#ifdef usage from glibc
3381 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3382 as that works with both Glibc's and Gnulib's style.
3383 See thread starting at Siddhesh Poyarekar's bug report at:
3384 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3386 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3388 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3389 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3390 * sysdeps/tile/tilegx/memmove.c: Remove file.
3392 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3394 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3395 abi-name definition.
3396 * scripts/soversions.awk: Do not handle or generate ABI lines.
3397 * shlib-versions: Remove ABI entries.
3398 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3399 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3401 2014-06-27 Roland McGrath <roland@hack.frob.com>
3403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3404 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3405 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3406 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3411 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3414 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3416 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3422 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3423 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3424 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3437 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3444 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3446 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3451 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3456 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3459 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3464 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3466 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3467 Identical file removed.
3468 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3470 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3472 Identical file removed.
3473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3477 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3479 Identical file removed.
3480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3481 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3482 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3483 Identical file removed.
3484 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3487 Identical file removed.
3488 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3489 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3491 Identical file removed.
3492 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3494 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3496 Identical file removed.
3497 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3499 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3501 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3503 Identical file removed.
3504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3506 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3509 Identical file removed.
3510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3512 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3514 Identical file removed.
3515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3517 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3519 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3526 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3528 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3529 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3530 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3531 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3532 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3534 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3537 * nscd/nscd.c (monitor_child): Return exit status of child
3538 instead of return value from wait syscall.
3540 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3542 * configure.ac (libc_commonpagesize): Remove variable.
3543 (libc_relro_required): Likewise.
3544 (libc_cv_z_relro): Remove configure test.
3545 * configure: Regenerated.
3546 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3548 (libc_relro_required): Likewise.
3549 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3550 (libc_relro_required): Likewise.
3551 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3552 (libc_relro_required): Likewise.
3553 * sysdeps/arm/preconfigure: Regenerated.
3554 * sysdeps/ia64/preconfigure: Remove file.
3555 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3557 (libc_relro_required): Likewise.
3561 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3562 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3563 recompute overflowing results in original rounding mode.
3564 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3565 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3566 recompute overflowing results in original rounding mode.
3567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3568 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3569 recompute overflowing results in original rounding mode.
3570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3571 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3572 recompute overflowing results in original rounding mode.
3573 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3574 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3575 recompute overflowing results in original rounding mode.
3576 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3577 (libc_feholdsetround_ctx): New macro.
3578 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3580 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3582 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3584 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3585 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3586 corresponding .cpsetup call.
3588 2014-06-26 Roland McGrath <roland@hack.frob.com>
3590 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3591 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3592 * sysdeps/arm/Makefile [$(subdir) = csu]
3593 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3594 (static-only-routines): Add aeabi_read_tp here.
3595 (shared-only-routines): Add libc-aeabi_read_tp here.
3596 (CFLAGS-libc-start.c): Add -fexceptions here.
3597 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3598 (sysdep_routines, static-only-routines, shared-only-routines):
3599 Don't add to these here.
3600 (CFLAGS-libc-start.c): Likewise.
3602 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3603 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3604 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3605 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3606 * sysdeps/arm/Makefile [$(subdir) = rt]
3607 (librt-sysdep_routines, librt-shared-only-routines):
3608 Append rt-aeabi_unwind_cpp_pr1 here.
3609 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3610 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3611 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3612 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3613 Append nptl-aeabi_unwind_cpp_pr1 here.
3614 (tests): Filter out tst-cleanupx4 here.
3615 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3616 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3617 Don't do those here.
3619 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3621 * scripts/list-sources.sh: Do not handle ports specially.
3623 2014-06-26 Roland McGrath <roland@hack.frob.com>
3625 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3626 * sysdeps/arm/feupdateenv.c: Likewise.
3628 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3630 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3632 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3633 trailing whitespace removed.
3634 * scripts/config.guess: Update to version 2014-03-23.
3635 * scripts/config.sub: Update to version 2014-05-01
3636 * scripts/install-sh: Update to version 2013-12-25.23.
3637 * scripts/move-if-change: Update from gnulib.
3639 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3641 * debug/memmove_chk.c: Remove pagecopy.h include.
3643 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3645 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3646 identical to gnulib mktime.
3648 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3650 * configure.ac: Do not test for machine being rs6000. Do not test
3652 * configure: Regenerated.
3654 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3656 * configure: Regenerated.
3657 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3658 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3659 Remove configure test.
3660 * sysdeps/arm/configure: Regenerated.
3661 * sysdeps/nptl/configure.ac: Do not check
3662 libc_cv_asm_cfi_directives.
3663 * sysdeps/nptl/configure: Regenerated.
3664 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3665 * sysdeps/x86_64/nptl/configure: Remove generated file.
3666 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3668 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3670 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3672 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3673 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3674 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3677 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3678 instead of whether it is defined.
3679 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3680 * sysdeps/hppa/dl-machine.h: Likewise.
3681 * sysdeps/ia64/dl-machine.h: Likewise.
3682 * sysdeps/m68k/dl-machine.h: Likewise.
3683 * sysdeps/microblaze/dl-machine.h: Likewise.
3684 * sysdeps/mips/dl-machine.: Likewise.
3685 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3686 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3687 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3688 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3689 * sysdeps/sh/dl-machine.h: Likewise.
3690 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3691 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3692 * sysdeps/tile/dl-machine.h: Likewise.
3693 * sysdeps/x86_64/dl-machine.h: Likewise.
3695 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3697 (verify_persistent_db): Likewise.
3699 2014-06-26 Roland McGrath <roland@hack.frob.com>
3701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3702 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3704 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3707 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3710 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3712 Identical file removed.
3713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3714 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3718 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3720 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3722 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3725 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3729 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3732 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3736 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3738 Identical file removed.
3739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3740 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3745 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3750 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3759 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3762 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3764 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3767 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3773 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3774 * sysdeps/unix/sysv/linux/s390/Versions
3775 (libpthread: GLIBC_2.19): New version set.
3776 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3777 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3778 (librt: GLIBC_2.3.3): New version set.
3779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3780 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3781 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3783 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3785 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3787 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3789 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3791 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3793 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3795 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3797 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3799 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3803 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3805 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3807 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3809 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3815 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3817 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3819 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3821 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3823 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3826 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3827 (__libc_vfork): Define the function under this name.
3828 [!NOT_IN_libc] (__vfork): Make this an alias.
3829 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3831 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3832 (__libc_vfork): Define the function under this name.
3833 [!NOT_IN_libc] (__vfork): Make this an alias.
3834 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3835 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3836 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3838 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3839 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3841 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3842 code that was previously under [RESET_PID].
3843 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3844 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3848 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3849 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3850 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3851 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3852 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3853 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3854 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3855 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3856 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3859 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3879 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3883 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3884 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3885 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3886 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3887 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3889 2014-06-25 Roland McGrath <roland@hack.frob.com>
3891 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3892 that was previously under [RESET_PID].
3893 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3895 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3897 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3898 not undefine and redefine.
3899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3900 [O_CLOEXEC]: Make code unconditional.
3901 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3902 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3903 <kernel-features.h>.
3904 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3905 conditional variable definition.
3906 (shm_open) [O_CLOEXEC]: Make code unconditional.
3907 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3910 * configure.ac (USE_REGPARMS): Don't define here.
3911 * configure: Regenerated.
3912 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3913 * sysdeps/i386/configure: Regenerated.
3915 * nptl/createthread.c: Don't include kernel-features.h.
3916 * nptl/pthread_cancel.c: Likewise.
3917 * nptl/pthread_condattr_setclock.c: Likewise.
3918 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3919 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3920 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3921 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3922 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3923 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3924 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3927 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3928 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3929 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3930 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3931 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3932 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3933 * nscd/gai.c: Likewise.
3934 * nss/nss_db/db-open.c: Likewise.
3935 * sysdeps/generic/ldsodefs.h: Likewise.
3936 * sysdeps/sh/nptl/tls.h: Likewise.
3937 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3938 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3939 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3940 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3941 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3942 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3943 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3944 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3945 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3946 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3947 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3948 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3949 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3950 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3951 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3952 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3953 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3954 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3955 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3956 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3959 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3960 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3961 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3962 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3964 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3965 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3966 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3967 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3968 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3969 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3970 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3972 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3973 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3974 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3975 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3976 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3977 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3978 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3979 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3980 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3981 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3982 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3983 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3984 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3985 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3986 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3987 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3988 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3989 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3990 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3991 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3992 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3994 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4017 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4018 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4019 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4020 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4021 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4022 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4024 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4025 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4026 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4027 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4028 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4029 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4030 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4031 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4032 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4033 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4034 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4035 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4036 * sysdeps/unix/sysv/linux/system.c: Likewise.
4037 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4038 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4039 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4040 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4041 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4043 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4045 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4046 * configure: Regenerated.
4047 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4049 * configure.ac (base_machine): Do not set specially for particular
4051 * configure: Regenerated.
4052 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4053 settings from configure.ac.
4054 * sysdeps/i386/preconfigure: New file.
4055 * sysdeps/s390/preconfigure: Likewise.
4056 * sysdeps/sh/preconfigure: Likewise.
4057 * sysdeps/sparc/preconfigure: Likewise.
4059 2014-06-25 Roland McGrath <roland@hack.frob.com>
4061 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4062 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4063 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4064 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4065 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4066 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4067 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4068 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4069 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4070 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4071 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4072 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4073 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4074 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4075 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4076 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4077 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4078 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4079 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4081 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4082 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4083 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4084 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4085 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4086 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4087 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4088 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4089 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4090 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4091 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4092 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4093 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4094 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4095 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4096 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4097 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4098 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4099 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4100 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4102 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4105 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4108 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4109 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4112 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4113 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4114 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4115 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4116 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4117 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4118 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4121 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4126 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4131 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4143 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4148 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4151 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4157 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4172 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4176 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4182 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4184 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4187 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4191 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4193 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4195 * timezone/checktab.awk: Update from tzcode 2014e.
4196 * timezone/private.h: Likewise.
4197 * timezone/tzfile.h: Likewise.
4198 * timezone/zdump.c: Likewise.
4199 * timezone/zic.c: Likewise.
4201 * sysdeps/unix/sysv/linux/kernel-features.h
4202 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4204 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4205 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4206 Remove conditional code.
4208 2014-06-25 Will Newton <will.newton@linaro.org>
4210 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4211 (_dl_arm_cap_flags): Add HWCAP2 values.
4212 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4213 (_DL_HWCAP_COUNT): Increase to 37.
4214 (_DL_HWCAP_LAST): New define.
4215 (_DL_HWCAP2_LAST): New define.
4216 (_dl_procinfo): Add support for printing
4218 (_dl_string_hwcap): Use _dl_hwcap_string.
4220 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4224 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4226 * README: Do not mention ports directory.
4228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4230 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4231 <kernel-features.h>.
4232 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4233 conditional variable definition.
4234 (__futimes): Update comment.
4235 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4236 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4239 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4240 arguments close to 0.
4241 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4243 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4245 * math/auto-libm-test-in: Add more tests of exp10.
4246 * math/auto-libm-test-out: Regenerated.
4247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4249 * sysdeps/unix/sysv/linux/kernel-features.h
4250 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4251 * sysdeps/unix/sysv/linux/readv.c: Do not include
4252 <kernel-features.h>.
4253 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4254 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4255 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4257 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4259 * sysdeps/unix/sysv/linux/writev.c: Do not include
4260 <kernel-features.h>.
4261 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4262 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4263 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4265 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4268 2014-06-25 Will Newton <will.newton@linaro.org>
4270 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4271 comment changes throughout the file. Remove checks
4272 for HAVE_*_H definitions that are not required.
4273 (__gen_tempname): Call abort if an unknown kind value is
4276 2014-06-25 Andreas Schwab <schwab@suse.de>
4279 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4280 scalbln, scalblnf, scalblnl in libc.
4282 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4285 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4286 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4287 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4289 2014-06-24 Roland McGrath <roland@hack.frob.com>
4291 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4292 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4293 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4294 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4296 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4297 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4299 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4301 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4302 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4303 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4304 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4305 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4306 * sysdeps/x86/bits/semaphore.h: ... here.
4307 * sysdeps/x86/nptl/elide.h: Moved ...
4308 * sysdeps/x86/elide.h: ... here.
4309 * sysdeps/x86_64/nptl/Implies: File removed.
4310 * sysdeps/i386/nptl/Implies: File removed.
4312 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4315 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4316 return the argument for normal arguments with exponent below -64.
4317 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4319 * math/auto-libm-test-in: Add another test of expm1.
4320 * math/auto-libm-test-out: Regenerated.
4323 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4324 calling __erfcl for arguments at least 16.
4325 * math/auto-libm-test-in: Add more tests of erf.
4326 * math/auto-libm-test-out: Regenerated.
4328 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4329 individual architectures.
4330 * sysdeps/unix/sysv/linux/configure: Regenerated.
4331 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4332 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4333 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4334 (ldd_rewrite_script): Define variable.
4335 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4340 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4341 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4342 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4343 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4344 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4345 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4346 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4347 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4349 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4352 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4353 Rename member __data.d to __data.__elision_data.
4355 2014-06-24 Wilco <wdijkstr@arm.com>
4357 * NEWS: Add 16918 to fixed bug list.
4359 2014-06-24 Wilco <wdijkstr@arm.com>
4361 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4363 2014-06-24 Wilco <wdijkstr@arm.com>
4365 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4366 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4367 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4368 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4369 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4370 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4371 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4374 2014-06-24 Wilco <wdijkstr@arm.com>
4376 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4378 2014-06-24 Wilco <wdijkstr@arm.com>
4380 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4381 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4382 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4383 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4385 2014-06-24 Wilco <wdijkstr@arm.com>
4388 * sysdeps/arm/feupdateenv.c (feupdateenv):
4389 Rewrite to reduce FPSCR accesses and fix return value.
4391 2014-06-24 Wilco <wdijkstr@arm.com>
4393 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4394 Optimize to avoid unnecessary FPSCR writes.
4395 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4396 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4397 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4398 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4400 2014-06-24 Wilco <wdijkstr@arm.com>
4402 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4403 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4404 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4405 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4406 Call libc_fetestexcept_vfp.
4407 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4408 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4409 __SOFTFP__ ifdef so that they can be built for softfp.
4411 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4413 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4414 argument type signed char.
4416 * Makerules (check-abi): Dump diff of symlist if the test
4419 2014-06-23 Roland McGrath <roland@hack.frob.com>
4421 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4424 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4425 Remove unused variable ST.
4427 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4431 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4432 small arguments before calling __expm1.
4433 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4434 small arguments before calling __expm1f.
4435 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4436 small arguments before calling __expm1l.
4437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4439 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4440 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4441 spurious underflow for some cosh tests.
4442 * math/auto-libm-test-out: Regenerated.
4443 * sysdeps/i386/fpu/libm-test-ulps: Update.
4446 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4447 (__ieee754_y1): Set errno if return value overflows.
4448 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4449 (__ieee754_y1f): Set errno if return value overflows.
4450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4451 (__ieee754_y1l): Set errno if return value overflows.
4452 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4453 (__ieee754_y1l): Set errno if return value overflows.
4454 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4455 * math/auto-libm-test-out: Regenerated.
4457 * math/gen-auto-libm-tests.c: Document use of
4458 ignore-zero-inf-sign.
4459 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4460 (input_flags): Add ignore-zero-inf-sign.
4461 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4462 * math/gen-libm-test.pl (generate_testfile): Handle
4463 ignore-zero-inf-sign.
4464 * math/auto-libm-test-in: Mark some cpow tests with
4465 ignore-zero-inf-sign and some with xfail-rounding.
4466 * math/auto-libm-test-out: Regenerated.
4467 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4468 * sysdeps/i386/fpu/libm-test-ulps: Update.
4469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4473 overflowing or underflowing operations take place with sign of
4475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4476 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4477 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4478 (__ieee754_pow): Recompute overflowing and underflowing results in
4479 original rounding mode.
4480 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4481 (__powl_helper): Allow negative argument X and scale negated value
4482 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4484 overflowing or underflowing operations take place with sign of
4486 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4488 * math/auto-libm-test-in: Add more tests of pow.
4489 * math/auto-libm-test-out: Regenerated.
4490 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4491 (pow_tonearest_test_data): Remove.
4492 (pow_test_tonearest): Likewise.
4493 (pow_towardzero_test_data): Likewise.
4494 (pow_test_towardzero): Likewise.
4495 (pow_downward_test_data): Likewise.
4496 (pow_test_downward): Likewise.
4497 (pow_upward_test_data): Likewise.
4498 (pow_test_upward): Likewise.
4499 (main): Don't call removed functions.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4503 2014-06-23 Roland McGrath <roland@hack.frob.com>
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4679 2014-06-23 Will Newton <will.newton@linaro.org>
4680 Wilco <wdijkstr@arm.com>
4682 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4683 implementation. Include get-rounding-mode.h.
4684 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4685 [!libc_feholdsetround_noex_ctx]: Define
4686 libc_feholdsetround_noex_ctx.
4687 [!libc_feholdsetround_noexf_ctx]: Define
4688 libc_feholdsetround_noexf_ctx.
4689 [!libc_feholdsetround_noexl_ctx]: Define
4690 libc_feholdsetround_noexl_ctx.
4691 (libc_feholdsetround_ctx): New function.
4692 (libc_feresetround_ctx): New function.
4693 (libc_feholdsetround_noex_ctx): New function.
4694 (libc_feresetround_noex_ctx): New function.
4696 2014-06-23 Roland McGrath <roland@hack.frob.com>
4698 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4699 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4700 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4701 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4702 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4703 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4705 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4706 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4707 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4708 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4709 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4710 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4712 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4713 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4717 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4725 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4734 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4737 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4742 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4746 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4747 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4748 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4750 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4753 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4756 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4758 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4759 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4760 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4762 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4764 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4766 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4769 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4771 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4772 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4773 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4776 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4779 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4780 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4782 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4783 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4784 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4787 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4791 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4792 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4793 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4794 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4795 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4796 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4797 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4799 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4801 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4803 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4804 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4805 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4806 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4807 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4809 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4811 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4814 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4815 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4816 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4817 (IPV6_PMTUDISC_INTERFACE): Likewise.
4818 (IPV6_PMTUDISC_OMIT): Likewise.
4820 2014-06-23 Andreas Schwab <schwab@suse.de>
4822 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4823 Remove unused errout label.
4825 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4827 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4828 macro: hardware supports Vector Crypto instructions.
4830 2014-06-23 Will Newton <will.newton@linaro.org>
4832 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4833 rather than __builtin_expect.
4835 * elf/dl-lookup.c (undefined_msg): Remove variable.
4836 (_dl_lookup_symbol_x): Replace undefined_msg with string
4839 * elf/dl-lookup.c (do_lookup_unique): New function.
4840 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4841 to a separate function.
4843 2014-06-23 Andreas Schwab <schwab@suse.de>
4846 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4847 before reading the next line.
4849 2014-06-23 Will Newton <will.newton@linaro.org>
4851 * test-skeleton.c (signal_handler): Use printf and %m
4852 rather than perror. Use printf rather than fprintf to
4853 stderr. Use puts rather than fputs to stderr.
4856 2014-06-22 Ludovic Courtès <ludo@gnu.org>
4858 * nscd/nscd.c (thread_info_t): Remove typedef.
4859 (thread_info): Remove variable.
4861 2014-06-21 Allan McRae <allan@archlinux.org>
4863 * NEWS: Mention CVE-2014-4043.
4865 2014-06-20 Roland McGrath <roland@hack.frob.com>
4867 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4868 * nptl/smp.h: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4872 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4873 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4874 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4875 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4877 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4878 * nptl/stack-aliasing.h: New file.
4879 * sysdeps/i386/i686/stack-aliasing.h: New file.
4880 * sysdeps/i386/i686/nptl/Makefile: File removed.
4881 * sysdeps/x86_64/stack-aliasing.h: New file.
4882 * sysdeps/x86_64/nptl/Makefile
4883 (CFLAGS-pthread_create.c): Variable removed.
4885 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4886 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4888 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4889 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4892 2014-06-21 Joseph Myers <joseph@codesourcery.com>
4894 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4895 (__ASSUME_SIGFRAME_V2): Remove macro.
4896 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4897 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4898 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4899 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4900 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4901 Declare as function. Remove conditional macro definitions.
4902 (__default_rt_sa_restorer): Likewise.
4903 (__default_sa_restorer_v1): Remove declaration.
4904 (__default_sa_restorer_v2): Likewise.
4905 (__default_rt_sa_restorer_v1): Likewise.
4906 (__default_rt_sa_restorer_v2): Likewise.
4907 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4908 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4909 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4911 2014-06-20 Roland McGrath <roland@hack.frob.com>
4913 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4914 (libpthread-routines): Add sysdep.
4915 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4916 * sysdeps/unix/sysv/linux/sparc/Versions
4917 (libpthread: GLIBC_2.3.3): New version set.
4918 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4919 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4920 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4922 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4923 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4925 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4927 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4929 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4931 * sysdeps/sparc/nptl/sem_init.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4933 * sysdeps/sparc/nptl/sem_post.c: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4935 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4937 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4938 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4939 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4940 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4941 (libpthread-routines): Add cpu_relax.
4942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4944 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4945 (librt: GLIBC_2.3.3): New version set.
4946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4947 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4948 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4949 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4952 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4955 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4957 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4959 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4961 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4963 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4966 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4970 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4978 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4982 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4986 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4989 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4995 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4997 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5002 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5006 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5008 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5009 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5010 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5011 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5012 * nscd/nscd.c: Likewise.
5013 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5014 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5015 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5016 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5018 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5019 <kernel-features.h>.
5020 (init_mq_netlink): Remove conditional have_sock_cloexec
5021 definitions. Remove code conditional on have_sock_cloexec < 0.
5022 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5023 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5024 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5025 <kernel-features.h>.
5026 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5027 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5029 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5032 Add tests for memset_chk and memset.
5034 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5037 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5040 * elf/tst-dl-iter-static.c: New file.
5041 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5043 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5046 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5048 * sysdeps/unix/sysv/linux/kernel-features.h
5049 (__ASSUME_F_GETOWN_EX): Remove macro.
5050 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5051 <kernel-features.h>.
5052 (miss_F_GETOWN_EX): Remove variable or macro.
5053 (do_fcntl): Do not check miss_F_GETOWN_EX.
5054 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5059 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5060 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5062 * sysdeps/unix/sysv/linux/kernel-features.h
5063 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5064 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5065 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5066 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5068 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5071 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5072 Fix calculation of the symbol's value.
5073 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5074 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5075 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5076 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5077 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5078 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5079 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5080 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5081 (modules-names): Add `tst-armtlsdescmod',
5082 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5083 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5084 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5085 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5086 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5087 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5088 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5089 ($(objpfx)tst-armtlsdescloc): New dependency.
5090 ($(objpfx)tst-armtlsdescextnow): Likewise.
5091 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5092 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5094 * sysdeps/arm/configure: Regenerate.
5096 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5098 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5099 (__atfct_seterrno_2): Likewise.
5100 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5101 <kernel-features.h>.
5102 (__ASSUME_ATFCTS): Do not undefine and redefine.
5103 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5104 (__have_atfcts): Remove conditional definition.
5105 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5106 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5107 unreachable if [__ASSUME_ATFCTS].
5108 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5109 not undefine and redefine.
5110 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5111 <kernel-features.h>.
5112 (faccessat) [__NR_faccessat]: Make code unconditional.
5113 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5114 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5115 <kernel-features.h>.
5116 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5117 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5118 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5119 <kernel-features.h>.
5120 (fchownat) [__NR_fchownat]: Make code unconditional.
5121 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5122 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5123 <kernel-features.h>.
5124 (futimesat) [__NR_futimesat]: Make code unconditional.
5125 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5126 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5127 <kernel-features.h>.
5128 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5129 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5130 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5131 <kernel-features.h>.
5132 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5133 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5134 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5135 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5136 <kernel-features.h>.
5137 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5138 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5139 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5140 <kernel-features.h>.
5141 (linkat) [__NR_linkat]: Make code unconditional.
5142 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5143 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5144 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5145 <kernel-features.h>.
5146 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5147 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5148 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5149 <kernel-features.h>.
5150 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5151 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5152 * sysdeps/unix/sysv/linux/openat.c: Do not include
5153 <kernel-features.h>.
5154 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5155 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5156 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5157 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5158 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5159 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5160 <kernel-features.h>.
5161 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5162 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5163 result of INLINE_SYSCALL directly, not via int variable.
5164 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5165 <kernel-features.h>.
5166 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5167 (renameat) [__NR_renameat]: Make code unconditional.
5168 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5170 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5171 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5173 (__ASSUME_ATFCTS): Do not undefine and redefine.
5174 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5175 <kernel-features.h>.
5176 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5177 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5178 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5179 <kernel-features.h>.
5180 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5181 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5183 (__ASSUME_ATFCTS): Do not undefine and redefine.
5184 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5185 <kernel-features.h>.
5186 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5187 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5188 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5189 <kernel-features.h>.
5190 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5191 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5193 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5195 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5197 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5200 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5201 constructed tree before returning error.
5202 * posix/bug-regexp36.c: Expand test case.
5204 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5207 * math/libm-test.inc (scalbln_test_date):
5208 Add errno expectations.
5209 * math/w_scalblnf.c: New File.
5210 Add wrapper which checks for setting errno to ERANGE.
5211 Add weak_alias for corresponding scalbln function.
5212 * math/w_scalbln.c: Likewise.
5213 * math/w_scalblnl.c: Likewise.
5214 * math/Makefile (libm-calls): Add w_scalbln.
5215 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5216 Remove weak_alias for corresponding scalbln function.
5217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5221 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5222 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5223 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5224 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5225 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5226 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5227 Remove long_double_symbol for scalblnl function in libm, libc.
5228 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5229 Add wrapper which checks for setting errno to ERANGE.
5230 Add long_double_symbol for scalblnl function in libm, libc.
5231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5232 Remove long_double_symbol for scalblnl in libm.
5233 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5234 Add wrapper which checks for setting errno to ERANGE.
5235 Add long_double_symbol for scalblnl function in libm.
5236 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5237 Do not use wrapper because of own implementation.
5239 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5241 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5242 3 bytes for __pad1 for x32.
5243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5245 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5246 H.J. Lu <hongjiu.lu@intel.com>
5248 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5249 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5250 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5251 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5252 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5254 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5257 * posix/regcomp.c (parse_expression): Deallocate partially
5258 constructed tree before returning error.
5259 * posix/Makefile.c (tests): Add bug-regex36.
5260 (generated): Add bug-regex36.mtrace.
5261 (tests-special): Add $(objpfx)bug-regex36-mem.out
5262 (bug-regex36-ENV): New variable.
5263 ($(objpfx)bug-regex36-mem.out): New rule.
5264 * posix/bug-regex36.c: New file.
5266 2014-06-19 Will Newton <will.newton@linaro.org>
5268 * malloc/malloc.c (systrim): If extra is zero then return
5271 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5273 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5275 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5277 * sysdeps/aarch64/strchr.S: New file.
5279 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5283 from arguments -2 or below.
5284 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5285 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5287 2014-06-18 Andreas Schwab <schwab@suse.de>
5290 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5291 of a bracket expr not to run off the end of the string.
5292 * posix/Makefile (tests): Add tst-fnmatch3.
5293 * posix/tst-fnmatch3.c: New file.
5295 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5297 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5298 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5299 [$(cross-compiling) = no]: Likewise.
5300 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5301 [$(cross-compiling) = no]: Likewise.
5303 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5307 double, adjusted for any remainder from the high double.
5308 * math/libm-test.inc (nearbyint): Add tests.
5311 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5313 * nptl/sysdeps/powerpc/Makefile: Moved ...
5314 * sysdeps/powerpc/nptl/Makefile: ... here.
5315 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5316 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5317 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5318 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5319 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5320 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5321 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5322 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5323 * nptl/sysdeps/powerpc/tls.h: Moved ...
5324 * sysdeps/powerpc/nptl/tls.h: ... here.
5326 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5329 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5330 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5331 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5332 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5333 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5334 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5335 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5336 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5337 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5339 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5341 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5343 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5345 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5348 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5351 2014-06-16 Florian Weimer <fweimer@redhat.com>
5354 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5355 non-executed part of the test.
5357 2014-06-16 Andreas Schwab <schwab@suse.de>
5359 * string/bits/string2.h (strdup, strndup): Update feature guard.
5361 2014-06-14 David S. Miller <davem@davemloft.net>
5363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5365 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5367 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5368 that was previously under [RESET_PID].
5369 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5371 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5372 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5373 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5374 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5375 (__libc_vfork): New strong alias.
5376 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5378 2014-06-14 Andi Kleen <ak@linux.intel.com>
5380 * sysdeps/generic/elide.h: New file.
5382 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5384 * Makefile (installed-headers): Adjust path of pthread.h header.
5386 2014-06-13 Roland McGrath <roland@hack.frob.com>
5388 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5389 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5391 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5393 * nptl/sysdeps/s390/Makefile: Moved ...
5394 * sysdeps/s390/nptl/Makefile: ... here.
5395 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5396 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5397 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5398 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5399 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5400 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5401 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5402 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5403 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5404 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5405 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5406 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5407 * nptl/sysdeps/s390/tls.h: Moved ...
5408 * sysdeps/s390/nptl/tls.h: ... here.
5410 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5411 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5413 2014-06-13 David S. Miller <davem@davemloft.net>
5415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5422 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5423 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5424 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5425 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5426 Remove RESET_PID cpp guards.
5427 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5428 Remove RESET_PID cpp guards.
5429 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5431 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5433 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5436 2014-06-13 Andi Kleen <ak@linux.intel.com>
5438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5440 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5444 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5446 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5447 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5452 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5455 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5456 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5457 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5459 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5460 (pthread_rwlock_rdlock): Add elision.
5461 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5462 (pthread_rwlock_wrlock): Add elision.
5463 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5464 (pthread_rwlock_trywrlock): Add elision.
5465 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5466 (pthread_rwlock_tryrdlock): Add elision.
5467 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5468 (pthread_rwlock_tryrdlock): Add elision unlock.
5469 * nptl/sysdeps/pthread/pthread.h:
5470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5471 (PTHREAD_RWLOCK_INITIALIZER,
5472 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5473 Handle new elision field.
5474 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5475 * sysdeps/arm/nptl/bits/pthreadtypes.h
5476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5477 * sysdeps/sh/nptl/bits/pthreadtypes.h
5478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5479 * sysdeps/tile/nptl/bits/pthreadtypes.h
5480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5481 * sysdeps/a/nptl/bits/pthreadtypes.h
5482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5483 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5485 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5487 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5489 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5491 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5493 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5495 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5496 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5497 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5499 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5500 (elision_init): Set try_xbegin to zero when no RTM.
5501 * sysdeps/x86/nptl/bits/pthreadtypes.h
5502 (pthread_rwlock_t): Change __pad1 to __rwelision.
5503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5505 2014-06-13 Andi Kleen <ak@linux.intel.com>
5507 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5508 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5509 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5510 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5512 2014-06-13 Meador Inge <meadori@codesourcery.com>
5515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5516 that the cached result has been set before returning it.
5518 2014-06-12 Roland McGrath <roland@hack.frob.com>
5520 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5521 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5523 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5525 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5527 * nptl/sysdeps/sparc/Makefile: Moved ...
5528 * sysdeps/sparc/nptl/Makefile: ... here.
5529 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5530 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5531 * nptl/sysdeps/sparc/tls.h: Moved ...
5532 * sysdeps/sparc/nptl/tls.h: ... here.
5533 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5534 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5535 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5536 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5537 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5538 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5539 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5540 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5541 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5542 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5543 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5544 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5545 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5546 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5547 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5548 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5549 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5552 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5555 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5556 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5558 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5559 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5562 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5564 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5565 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5567 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5568 (struct list_links): Type removed.
5569 (struct thread_node, struct timer_node): Replace struct list_links
5570 with struct list_head.
5571 (list_unlink_ip): Likewise.
5572 * sysdeps/pthread/timer_routines.c
5573 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5574 (list_append, list_insbefore): Likewise.
5575 (list_init): Function removed.
5576 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5577 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5578 * sysdeps/pthread/Makefile: ... here, new file.
5580 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5581 * sysdeps/nptl/Implies: ... here.
5582 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5583 * nptl/sysdeps/pthread/list.h: Moved ...
5584 * include/list.h: ... here.
5585 * nptl/sysdeps/pthread/createthread.c: Moved ...
5586 * nptl/createthread.c: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5588 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5589 * nptl/pt-longjmp.c: ... here.
5590 * nptl/sysdeps/pthread/Makefile: Moved ...
5591 * sysdeps/nptl/Makefile: ... here.
5592 * nptl/sysdeps/pthread/Subdirs: Moved ...
5593 * sysdeps/nptl/Subdirs: ... here.
5594 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5595 * sysdeps/nptl/aio_misc.h: ... here.
5596 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5597 * sysdeps/nptl/bits/libc-lock.h: ... here.
5598 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5599 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5600 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5601 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5602 * nptl/sysdeps/pthread/configure: Moved ...
5603 * sysdeps/nptl/configure: ... here.
5604 * nptl/sysdeps/pthread/configure.ac: Moved ...
5605 * sysdeps/nptl/configure.ac: ... here.
5606 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5607 * sysdeps/nptl/gai_misc.h: ... here.
5608 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5609 * sysdeps/nptl/librt-cancellation.c: ... here.
5610 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5611 * sysdeps/nptl/malloc-machine.h: ... here.
5612 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5613 * sysdeps/nptl/pthread-functions.h: ... here.
5614 * nptl/sysdeps/pthread/pthread.h: Moved ...
5615 * sysdeps/nptl/pthread.h: ... here.
5616 * nptl/sysdeps/pthread/setxid.h: Moved ...
5617 * sysdeps/nptl/setxid.h: ... here.
5618 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5619 * sysdeps/nptl/sigfillset.c: ... here.
5620 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5621 * sysdeps/nptl/tcb-offsets.h: ... here.
5622 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5623 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5624 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5625 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5626 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5627 * sysdeps/pthread/allocalim.h: ... here.
5628 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5629 * sysdeps/pthread/bits/sigthread.h: ... here.
5630 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5631 * sysdeps/pthread/flockfile.c: ... here.
5632 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5633 * sysdeps/pthread/ftrylockfile.c: ... here.
5634 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5635 * sysdeps/pthread/funlockfile.c: ... here.
5636 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5637 * sysdeps/pthread/posix-timer.h: ... here.
5638 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5639 * sysdeps/pthread/timer_create.c: ... here.
5640 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5641 * sysdeps/pthread/timer_delete.c: ... here.
5642 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5643 * sysdeps/pthread/timer_getoverr.c: ... here.
5644 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5645 * sysdeps/pthread/timer_gettime.c: ... here.
5646 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5647 * sysdeps/pthread/timer_routines.c: ... here.
5648 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5649 * sysdeps/pthread/timer_settime.c: ... here.
5650 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5651 * sysdeps/pthread/tst-timer.c: ... here.
5652 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5653 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5655 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5656 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5658 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5659 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5660 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5661 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5662 Update #include target.
5663 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5664 * sysdeps/i386/i686/nptl/Makefile: ... here.
5665 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5666 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5667 Update #include target.
5668 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5669 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5670 * nptl/sysdeps/i386/Makefile: Moved ...
5671 * sysdeps/i386/nptl/Makefile: ... here.
5672 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5673 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5674 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5675 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5676 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5677 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5678 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5679 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5680 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5681 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5682 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5683 * nptl/sysdeps/i386/tls.h: Moved ...
5684 * sysdeps/i386/nptl/tls.h: ... here.
5686 * sysdeps/sh/Makefile [$(subdir) = csu]
5687 (gen-as-const-headers): Add tcb-offsets.sym.
5688 * nptl/sysdeps/sh/Makefile: File removed.
5689 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5690 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5691 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5692 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5693 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5694 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5695 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5696 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5697 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5698 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5699 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5700 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5701 * nptl/sysdeps/sh/tls.h: Moved ...
5702 * sysdeps/sh/nptl/tls.h: ... here.
5703 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5704 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5705 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5706 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5707 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5708 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5709 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5710 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5712 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5714 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5716 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5718 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5720 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5722 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5724 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5726 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5729 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5730 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5734 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5735 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5736 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5737 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5738 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5739 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5740 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5741 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5742 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5743 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5744 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5745 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5746 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5748 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5749 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5750 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5752 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5754 * posix/spawn_faction_addopen.c: Include string.h.
5756 2014-06-11 Roland McGrath <roland@hack.frob.com>
5758 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5759 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5760 * nptl/sysdeps/x86_64/Makefile: Moved ...
5761 * sysdeps/x86_64/nptl/Makefile: ... here.
5762 * nptl/sysdeps/x86_64/configure: Moved ...
5763 * sysdeps/x86_64/nptl/configure: ... here.
5764 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5765 * sysdeps/x86_64/nptl/configure.ac: ... here.
5766 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5767 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5768 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5769 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5770 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5771 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5772 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5773 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5774 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5775 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5776 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5777 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5778 * nptl/sysdeps/x86_64/tls.h: Moved ...
5779 * sysdeps/x86_64/nptl/tls.h: ... here.
5780 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5781 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5782 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5783 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5785 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5787 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5791 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5793 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5795 [POSIX] (off_t): Likewise.
5796 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5797 [POSIX] (S_ISBLK): Require macro.
5798 [POSIX] (S_ISCHR): Likewise.
5799 [POSIX] (S_ISDIR): Likewise.
5800 [POSIX] (S_ISFIFO): Likewise.
5801 [POSIX] (S_ISREG): Likewise.
5802 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5804 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5806 [POSIX] (time_t): Likewise.
5807 [POSIX] (timer_t): Likewise.
5809 2014-06-11 Florian Weimer <fweimer@redhat.com>
5812 * posix/spawn_int.h (struct __spawn_action): Make the path string
5813 non-const to support deallocation.
5814 * posix/spawn_faction_addopen.c
5815 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5816 * posix/spawn_faction_destroy.c
5817 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5818 path in all spawn_do_open actions.
5819 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5820 posix_spawn_file_actions_addopen.
5822 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5824 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5825 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5826 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5827 conditional code always true.
5828 (__libc_vfork): New alias.
5830 2014-06-11 Roland McGrath <roland@hack.frob.com>
5832 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5833 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5835 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5837 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5838 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5840 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5841 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5843 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5844 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5846 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5848 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5849 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5850 multiarch strcmp for PPC64.
5851 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5852 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5854 multiarch optimizations.
5855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5856 (__libc_ifunc_impl_list): Likewise.
5858 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5860 * benchtests/scripts/validate_benchout.py: New script.
5861 * benchtests/Makefile (bench-func): Call it.
5862 * benchtests/scripts/benchout.schema.json: New file.
5864 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5866 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5867 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5868 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5869 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5870 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5871 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5872 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5873 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5874 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5875 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5876 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5877 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5878 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5879 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5880 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5881 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5986 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5988 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5991 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5994 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5996 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5998 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6000 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6002 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6004 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6007 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6010 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6015 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6016 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6017 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6018 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6019 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6020 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6021 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6023 2014-06-10 Wilco <wdijkstr@arm.com>
6025 * math/test-fenv-return.c: New file.
6026 * math/Makefile: Add new test test-fenv-return.
6028 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6031 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6033 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6034 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6035 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6036 0.0L for an argument of 1.0L.
6037 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6039 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6040 value when x - 1 is zero.
6041 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6042 * sysdeps/i386/fpu/libm-test-ulps: Update.
6043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6045 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6048 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6050 2014-06-09 Roland McGrath <roland@hack.frob.com>
6052 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6053 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6055 2014-06-09 Roland McGrath <roland@hack.frob.com>
6057 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6058 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6060 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6061 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6063 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6064 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6066 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6067 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6069 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6070 if not already defined.
6071 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6072 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6073 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6074 (TLS_INIT_TP): Use it.
6075 (TLS_DEFINE_INIT_TP): New macro.
6076 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6078 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6080 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6082 [POSIX] (IXANY): Likewise.
6083 [POSIX] (OLCUC): Likewise.
6084 [POSIX || POSIX2008] (CBAUD): Do not allow.
6085 [POSIX || POSIX2008] (DEFECHO): Likewise.
6086 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6087 [POSIX || POSIX2008] (ECHOKE): Likewise.
6088 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6089 [POSIX || POSIX2008] (EXTA): Likewise.
6090 [POSIX || POSIX2008] (EXTB): Likewise.
6091 [POSIX || POSIX2008] (FLUSHO): Likewise.
6092 [POSIX || POSIX2008] (LOBLK): Likewise.
6093 [POSIX || POSIX2008] (PENDIN): Likewise.
6094 [POSIX || POSIX2008] (SWTCH): Likewise.
6095 [POSIX || POSIX2008] (VDISCARD): Likewise.
6096 [POSIX || POSIX2008] (VDSUSP): Likewise.
6097 [POSIX || POSIX2008] (VLNEXT): Likewise.
6098 [POSIX || POSIX2008] (VREPRINT): Likewise.
6099 [POSIX || POSIX2008] (VSTATUS): Likewise.
6100 [POSIX || POSIX2008] (VWERASE): Likewise.
6101 (B*): Change to B[0123456789]*.
6102 * conform/data/time.h-data [POSIX || UNIX98]
6103 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6104 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6105 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6106 [POSIX] (tm_*): Do not allow.
6108 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6110 * Makefile (install): Don't set LANGUAGE.
6111 * Makefile.in (install): Likewise.
6112 * assert/Makefile (test-assert-ENV): Remove variable.
6113 (test-assert-perr-ENV): Likewise.
6114 * elf/Makefile (neededtest4-ENV): Likewise.
6115 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6116 [$(cross-compiling) = no]: Don't set LANGUAGE.
6117 * io/ftwtest-sh (LANG): Remove variable.
6118 * libio/Makefile (tst-widetext-ENV): Likewise.
6119 * manual/install.texi (Running make install): Don't refer to
6120 environment settings for make install.
6121 * INSTALL: Regenerated.
6122 * nptl/tst-tls6.sh: Don't set LANG.
6123 * posix/globtest.sh (LANG): Remove variable.
6124 * string/Makefile (tester-ENV): Likewise.
6125 (inl-tester-ENV): Likewise.
6126 (noinl-tester-ENV): Likewise.
6127 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6128 [$(cross-compiling) = no]: Don't set LANGUAGE.
6129 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6130 without explicit environment settings.
6132 2014-06-06 Roland McGrath <roland@hack.frob.com>
6134 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6135 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6137 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6139 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6141 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6142 other files in the crypt directory.
6143 * crypt/crypt.c: Remove duplicate includes.
6144 * crypt/crypt-entry.c: Likewise.
6145 * crypt/crypt_util.c: Likewise.
6147 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6149 * Makeconfig (run-program-env): New variable.
6150 (run-program-prefix-before-env): Likewise.
6151 (run-program-prefix-after-env): Likewise.
6152 (run-program-prefix): Define in terms of new variables.
6153 (built-program-cmd-before-env): New variable.
6154 (built-program-cmd-after-env): Likewise.
6155 (built-program-cmd): Define in terms of new variables.
6156 (test-program-prefix-before-env): New variable.
6157 (test-program-prefix-after-env): Likewise.
6158 (test-program-prefix): Define in terms of new variables.
6159 (test-program-cmd-before-env): New variable.
6160 (test-program-cmd-after-env): Likewise.
6161 (test-program-cmd): Define in terms of new variables.
6162 * Rules (make-test-out): Use $(run-program-env).
6163 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6164 (help): Do not mention environment variables. Mention
6165 --timeoutfactor option.
6166 (timeoutfactor): New variable.
6167 (blacklist_exports): Remove function.
6168 (exports): Remove variable.
6169 (command): Do not include ${exports}.
6170 * manual/install.texi (Configuring and compiling): Do not mention
6171 test wrappers preserving environment variables. Mention that last
6172 assignment to a variable must take precedence.
6173 * INSTALL: Regenerated.
6174 * benchtests/Makefile (run-bench): Use $(run-program-env).
6175 * catgets/Makefile ($(objpfx)test1.cat): Use
6176 $(built-program-cmd-before-env), $(run-program-env) and
6177 $(built-program-cmd-after-env).
6178 ($(objpfx)test2.cat): Do not specify environment variables
6180 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6181 $(run-program-env) and $(built-program-cmd-after-env).
6182 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6183 $(run-program-env) and $(test-program-cmd-after-env).
6184 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6186 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6187 run_program_env and test_program_cmd_after_env arguments.
6188 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6189 * elf/tst-pathopt.sh: Use run_program_env argument.
6190 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6191 $(test-wrapper-env) and $(run-program-env).
6192 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6193 run_program_env arguments.
6194 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6195 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6196 $(test-program-prefix-before-env), $(run-program-env) and
6197 $(test-program-prefix-after-env).
6198 ($(objpfx)tst-gettext2.out): Likewise.
6199 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6200 run_program_env and test_program_prefix_after_env arguments.
6201 * intl/tst-gettext2.sh: Likewise.
6202 * intl/tst-gettext4.sh: Do not set environment variables
6204 * intl/tst-gettext6.sh: Likewise.
6205 * intl/tst-translit.sh: Likewise.
6206 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6207 $(test-program-prefix-before-env), $(run-program-env) and
6208 $(test-program-prefix-after-env).
6209 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6210 run_program_env and test_program_prefix_after_env arguments.
6211 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6212 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6213 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6214 explicitly with each use of ${test_wrapper_env}.
6215 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6216 $(test-program-prefix-before-env), $(run-program-env) and
6217 $(test-program-prefix-after-env).
6218 * posix/tst-getconf.sh: Do not set environment variables
6220 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6221 run_program_env and test_program_prefix_after_env arguments.
6222 * stdio-common/tst-printf.sh: Do not set environment variables
6224 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6225 $(test-program-prefix-before-env), $(run-program-env) and
6226 $(test-program-prefix-after-env).
6227 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6228 run_program_env and test_program_prefix_after_env arguments.
6229 Split $test calls into $test_pre and $test.
6230 * timezone/Makefile (build-testdata): Use
6231 $(built-program-cmd-before-env), $(run-program-env) and
6232 $(built-program-cmd-after-env).
6234 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6237 strlen for non SHARED builds.
6239 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6241 * nptl/allocatestack.c (check_list): Inlined function...
6242 (__reclaim_stacks): ... here.
6244 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6247 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6250 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6252 * Rules (make-test-out): Include
6253 LOCPATH=$(common-objpfx)localedata in default environment.
6254 * debug/Makefile (tst-chk1-ENV): Remove variable.
6255 (tst-chk2-ENV): Likewise.
6256 (tst-chk3-ENV): Likewise.
6257 (tst-chk4-ENV): Likewise.
6258 (tst-chk5-ENV): Likewise.
6259 (tst-chk6-ENV): Likewise.
6260 (tst-lfschk1-ENV): Likewise.
6261 (tst-lfschk2-ENV): Likewise.
6262 (tst-lfschk3-ENV): Likewise.
6263 (tst-lfschk4-ENV): Likewise.
6264 (tst-lfschk5-ENV): Likewise.
6265 (tst-lfschk6-ENV): Likewise.
6266 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6267 (tst-iconv7-ENV): Likewise.
6268 * intl/Makefile (LOCPATH-ENV): Likewise.
6269 (tst-codeset-ENV): Likewise.
6270 (tst-gettext3-ENV): Likewise.
6271 (tst-gettext5-ENV): Likewise.
6272 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6273 (tst-fopenloc-ENV): Likewise.
6274 (tst-fgetws-ENV): Remove variable.
6275 (tst-ungetwc1-ENV): Likewise.
6276 (tst-ungetwc2-ENV): Likewise.
6277 (bug-ungetwc2-ENV): Likewise.
6278 (tst-swscanf-ENV): Likewise.
6279 (bug-ftell-ENV): Likewise.
6280 (tst-fgetwc-ENV): Likewise.
6281 (tst-fseek-ENV): Likewise.
6282 (tst-ftell-partial-wide-ENV): Likewise.
6283 (tst-ftell-active-handler-ENV): Likewise.
6284 (tst-ftell-append-ENV): Likewise.
6285 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6286 (tst-regexloc-ENV): Likewise.
6287 (bug-regex1-ENV): Likewise.
6288 (tst-regex-ENV): Likewise.
6289 (tst-regex2-ENV): Likewise.
6290 (bug-regex5-ENV): Likewise.
6291 (bug-regex6-ENV): Likewise.
6292 (bug-regex17-ENV): Likewise.
6293 (bug-regex18-ENV): Likewise.
6294 (bug-regex19-ENV): Likewise.
6295 (bug-regex20-ENV): Likewise.
6296 (bug-regex22-ENV): Likewise.
6297 (bug-regex23-ENV): Likewise.
6298 (bug-regex25-ENV): Likewise.
6299 (bug-regex26-ENV): Likewise.
6300 (bug-regex30-ENV): Likewise.
6301 (bug-regex32-ENV): Likewise.
6302 (bug-regex33-ENV): Likewise.
6303 (bug-regex34-ENV): Likewise.
6304 (bug-regex35-ENV): Likewise.
6305 (tst-rxspencer-ENV): Likewise.
6306 (tst-rxspencer-no-utf8-ENV): Likewise.
6307 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6308 (tst-sscanf-ENV): Likewise.
6309 (tst-swprintf-ENV): Likewise.
6310 (tst-swscanf-ENV): Likewise.
6311 (test-vfprintf-ENV): Likewise.
6312 (scanf13-ENV): Likewise.
6313 (bug14-ENV): Likewise.
6314 (tst-grouping-ENV): Likewise.
6315 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6316 (tst-strtod3-ENV): Likewise.
6317 (tst-strtod4-ENV): Likewise.
6318 (tst-strtod5-ENV): Likewise.
6319 (testmb2-ENV): Likewise./
6320 * string/Makefile (tst-strxfrm-ENV): Likewise.
6321 (tst-strxfrm2-ENV): Likewise.
6322 (bug-strcoll1-ENV): Likewise.
6323 (test-strcasecmp-ENV): Likewise.
6324 (test-strncasecmp-ENV): Likewise.
6325 * time/Makefile (tst-strptime-ENV): Likewise.
6326 (tst-ftime_l-ENV): Likewise.
6327 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6328 (tst-mbrtowc-ENV): Likewise.
6329 (tst-wcrtomb-ENV): Likewise.
6330 (tst-mbrtowc2-ENV): Likewise.
6331 (tst-c16c32-1-ENV): Likewise.
6332 (tst-mbsnrtowcs-ENV): Likewise.
6334 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6336 * manual/resource.texi (How to get information about the memory
6337 subsystem?): Fix typo.
6338 Reported by Peon de la Parra Ivan <peon@keba.com>
6340 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6343 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6344 (pthread_spin_lock): Branch out of spin loop to proper location.
6345 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6346 (pthread_spin_lock): Likewise.
6348 * nptl/tst-spin4.c: New test.
6349 * nptl/Makefile (tests): Add tst-spin4.
6351 2014-06-03 Andreas Schwab <schwab@suse.de>
6354 * resolv/res_send.c (send_dg): Reload file descriptor after
6357 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6359 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6361 2014-06-03 Richard Henderson <rth@redhat.com>
6363 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6364 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6365 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6366 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6367 in the SAVE_PID block.
6368 (__libc_vfork): New alias.
6369 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6371 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6372 child in registers, not on the stack. Remove RESET_PID conditionals.
6373 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6375 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6377 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6379 2014-06-03 Wilco <wdijkstr@arm.com>
6381 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6382 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6383 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6384 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6385 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6388 2014-06-03 Wilco <wdijkstr@arm.com>
6390 * sysdeps/aarch64/fpu/math_private.h
6391 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6392 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6393 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6394 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6397 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6399 * crypt/crypt-private.h: Include ufc-crypt.h.
6400 (__b64_from_24bit): Declare extern.
6401 * crypt/crypt_util.c(__b64_from_24bit): New function.
6402 (b64t): New static const variable.
6403 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6404 (b64t): Remove variable.
6405 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6406 * crypt/sha256-crypt.c: Include crypt-private.h.
6407 (b64t): Remove variable.
6408 (__sha256_crypt_r): Remove b64_from_24bit and replace
6409 with __b64_from_24bit.
6410 * crypt/sha512-crypt.c: Likewise.
6412 2014-06-02 Roland McGrath <roland@hack.frob.com>
6414 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6415 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6416 Label the code __libc_vfork rather than __vfork.
6417 [!NOT_IN_libc] (vfork): Define as weak alias.
6418 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6419 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6420 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6422 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6424 * malloc/malloc.c (malloc_info): Fix format specifier for
6427 2014-06-02 Wilco <wdijkstr@arm.com>
6429 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6432 2014-06-02 Wilco <wdijkstr@arm.com>
6435 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6436 Rewrite to reduce FPCR/FPSR accesses.
6438 2014-06-01 David S. Miller <davem@davemloft.net>
6440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6442 2014-05-31 David S. Miller <davem@davemloft.net>
6444 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6445 to occur in round to nearest mode when |x| >= 2.0
6447 2014-05-30 Richard Henderson <rth@twiddle.net>
6449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6450 (PSEUDO_RET_NOERRNO): Remove.
6451 (ret): Don't redefine.
6452 (ret_NOERRNO): Define in terms of ret.
6453 (ret_ERRVAL): Likewise.
6455 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6456 use of PSEUDO_RET; perform the error check directly.
6458 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6460 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6463 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6465 * malloc/malloc (malloc_info): Fix formatting.
6467 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6468 Roland McGrath <roland@hack.frob.com>
6470 * malloc/malloc (malloc_info): Also print mmapped statistics.
6472 2014-05-30 Roland McGrath <roland@hack.frob.com>
6474 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6475 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6477 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6479 * malloc/malloc.c (malloc_info): Inline mi_arena.
6481 2014-05-29 Richard Henderson <rth@twiddle.net>
6483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6484 Remove comma before expanding ASM_ARGS_##nr.
6485 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6486 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6488 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6489 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6490 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6491 (ASM_ARGS_1): Add leading comma.
6493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6494 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6495 to __errno_location.
6496 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6497 Remove the expected plt for __errno_location.
6499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6500 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6503 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6504 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6505 it and break it down.
6506 (DOCARGS_0, DOCARGS_1): Do nothing.
6507 (DOCARGS_2): Update to store into the new stack frame.
6508 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6509 (UNDOCARGS_1): Update to restore from the new stack frame.
6510 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6511 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6514 (SINGLE_THREAD_P): New parameter for result regno.
6515 (PSEUDO): Update to match; use cbz instead of beq.
6517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6518 Use ENTRY to define the _nocancel entry point. Share the syscall
6519 and syscall error check paths with the cancel path.
6522 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6523 whitespace; tabs before and after asm mnemonics.
6525 2014-05-29 Eric Wong <normalperson@yhbt.net>
6528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6529 Call fstat64 or stat64 internally, depending on arguments passed.
6530 Replace stat buffer argument with file descriptor argument.
6531 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6532 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6533 Pass fd to __internal_statvfs instead of calling fstat64.
6534 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6535 Pass fd to __internal_statvfs64 instead of calling fstat64.
6536 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6537 Pass -1 to __internal_statvfs instead of calling stat64.
6538 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6539 Pass -1 to __internal_statvfs64 instead of calling stat64.
6541 2014-05-28 Roland McGrath <roland@hack.frob.com>
6543 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6544 that was previously under [RESET_PID].
6545 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6547 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6548 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6550 2014-05-27 Roland McGrath <roland@hack.frob.com>
6552 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6554 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6555 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6557 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6559 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6561 2014-05-27 Andreas Schwab <schwab@suse.de>
6563 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6565 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6566 * elf/rtld.c (init_tls, dl_main): Likewise.
6567 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6568 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6569 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6570 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6571 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6572 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6573 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6574 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6575 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6576 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6577 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6578 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6579 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6580 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6581 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6582 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6583 * sysdeps/generic/tls.h: Update description.
6585 2014-05-27 Will Newton <will.newton@linaro.org>
6588 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6589 and restore r2 rather than just restoring.
6591 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6594 * libio/tst-ftell-append.c: New test case.
6595 * libio/Makefile (tests): Add test case.
6596 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6598 * libio/wfileops.c (do_ftell_wide): Likewise.
6600 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6604 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6608 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6609 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6610 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6611 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6612 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6613 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6620 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6621 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6622 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6623 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6624 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6626 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6629 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6631 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6633 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6634 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6635 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6637 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6638 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6639 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6640 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6663 conditional [RESET_PID].
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6673 (__libc_vfork): New strong alias.
6674 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6676 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6681 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6682 (__libc_vfork): New strong alias.
6683 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6688 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6690 * malloc/malloc.c (mi_arena): New function.
6691 (malloc_info): Remove nested function mi_arena. Call non-nosted
6694 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6696 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6698 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6699 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6700 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6701 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6703 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6704 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6706 2014-05-26 Andreas Schwab <schwab@suse.de>
6709 * locale/programs/repertoire.c (repertoire_read): Add slash
6710 between I18NPATH element and file name.
6711 * locale/programs/locfile.c (locfile_read): Likewise.
6713 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6715 * nptl/pthread_mutexattr_settype.c
6716 (__pthread_mutexattr_settype):
6717 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6719 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6721 * nptl/tst-mutex5 (do_test):
6722 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6724 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6726 * benchtests/README: Document 'init' directive.
6727 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6729 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6730 (parse_file): Recognize 'init' directive.
6732 2014-05-26 Kyle McMartin <kyle@redhat.com>
6735 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6736 alignment of struct pthread.
6738 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6741 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6742 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6743 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6744 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6746 2014-05-25 Richard Henderson <rth@twiddle.net>
6748 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6749 (SINGLE_THREAD_P_PIC): Remove.
6750 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6751 (SINGLE_THREAD_P_PIC): Remove.
6753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6754 branch to syscall error ...
6756 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6757 from __local_syscall_error to .Lsyscall_error.
6758 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6759 (SYSCALL_ERROR): Update label name.
6761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6762 Do not use DOARGS/UNDOARGS.
6763 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6764 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6765 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6766 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6767 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6772 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6773 define if !NOT_IN_libc.
6774 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6775 define with non-default symbol versions.
6777 2014-05-23 Richard Henderson <rth@twiddle.net>
6779 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6780 (vfork, __vfork): Define via compat_symbol.
6782 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6783 [!HAVE_IFUNC] (vfork_compat): Remove.
6784 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6786 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6789 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6790 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6793 2014-05-23 Richard Henderson <rth@twiddle.net>
6795 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6796 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6797 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6798 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6800 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6801 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6803 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6804 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6805 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6806 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6807 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6808 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6809 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6810 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6811 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6812 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6813 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6815 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6817 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6818 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6819 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6820 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6821 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6823 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6825 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6827 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6828 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6829 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6831 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6832 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6833 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6834 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6835 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6837 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6838 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6839 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6840 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6841 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6842 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6843 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6844 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6845 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6847 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6849 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6851 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6853 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6854 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6855 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6857 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6858 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6859 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6860 before exiting on error.
6861 (__libc_vfork): New strong alias.
6862 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6863 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6865 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6866 that was previously under [RESET_PID].
6867 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6869 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6871 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6874 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6875 value when x - 1 is zero.
6876 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6877 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6878 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6879 0.0L for an argument of 1.0L.
6880 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6882 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6883 value when x - 1 is zero.
6884 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6885 * sysdeps/i386/fpu/libm-test-ulps: Update.
6886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6890 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6891 alphasort and versionsort.
6893 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6897 [copysignf]: Likewise.
6899 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6901 * crypt/md5-crypt.c: Fix formatting.
6903 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6905 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6906 (b64_from_24bit): New function.
6908 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6911 libc_hidden_builtin_def to ifunc.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6913 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6915 2014-05-21 Roland McGrath <roland@hack.frob.com>
6917 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6918 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6920 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6922 * nscd/Depend (linuxthreads): Remove.
6924 * resolv/Depend (linuxthreads): Remove.
6925 * rt/Depend (linuxthreads): Remove.
6927 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6928 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6929 $(common-objpfx)elf/.
6930 (link-libc-before-gnulib): Likewise.
6931 (elfobjdir): Remove variable.
6932 * Makefile (install): Use $(elf-objpfx) instead of
6933 $(common-objpfx)elf/.
6934 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6936 (link-libc-deps): Likewise.
6937 ($(common-objpfx)libc.so): Likewise.
6938 ($(common-objpfx)linkobj/libc.so): Likewise.
6939 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6940 instead of $(common-objpfx)elf/.
6941 (symbolic-link-list): Likewise.
6942 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6943 [$(cross-compiling) = no]: Likewise.
6944 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6946 (static-gnulib-arch): Likewise.
6947 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6948 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6949 $(common-objpfx)elf/.
6951 2014-05-21 Richard Henderson <rth@redhat.com>
6953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6954 (SINGLE_THREAD_P): Use the correct width load. Fold
6955 into the ldr offset.
6957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6958 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6960 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6962 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6963 (libgcc_s_resume): Use __attribute_used__.
6964 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6967 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6969 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6970 optimization when used with float constants.
6972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6974 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6977 * locale/nl_langinfo_l.c: Make direct reference to every
6978 _nl_current_CATEGORY symbol.
6979 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6980 (tests-static): Add tst-langinfo-static.
6981 (tests-special): Add tst-langinfo-static.out.
6982 ($(objpfx)tst-langinfo.out): Redirect output.
6983 ($(objpfx)tst-langinfo-static.out): New.
6984 * localedata/tst-langinfo.sh: Send output to stdout.
6985 * localedata/tst-langinfo-static.c: New file.
6988 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6989 when the shift amount is modulo the limb size.
6991 2014-05-20 Richard Henderson <rth@redhat.com>
6994 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6995 Change type of sa_flags from unsigned int to int.
6998 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7000 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7002 2014-05-20 Will Newton <will.newton@linaro.org>
7004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7005 Test the return value of the system call in the nocancel case.
7007 2014-05-20 Will Newton <will.newton@linaro.org>
7008 Yvan Roux <yvan.roux@linaro.org>
7010 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7011 #include of asm/ptrace.h.
7012 (PTRACE_GET_THREAD_AREA): Remove #undef.
7013 (PTRACE_GETHBPREGS): Likewise.
7014 (PTRACE_SETHBPREGS): Likewise.
7015 (struct user_regs_struct): New structure.
7016 (struct user_fpsimd_struct): New structure.
7017 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7018 #include of asm/ptrace.h and second #include of sys/user.h.
7019 (PTRACE_GET_THREAD_AREA): Remove #undef.
7020 (PTRACE_GETHBPREGS): Likewise.
7021 (PTRACE_SETHBPREGS): Likewise.
7022 (ELF_NGREG): Use new struct user_regs_struct.
7023 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7025 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7030 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7034 membar to avoid block loads/stores to overlap previous stores.
7036 2014-05-17 Richard Henderson <rth@redhat.com>
7038 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7039 Create the __##syscall_name##_nocancel entry point.
7040 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7041 Remove; let the sysdep-cancel.h code create it.
7043 2014-05-17 David S. Miller <davem@davemloft.net>
7045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7046 Protect with __USE_GNU.
7047 (TIOCSET_TEMPT): Likewise.
7048 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7049 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7050 these are already provided in bits/ioctl-types.h
7052 2014-05-16 Roland McGrath <roland@hack.frob.com>
7054 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7055 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7057 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7058 Use wait4 regardless of [__NR_waitpid].
7060 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7063 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7064 (_FP_NANSIGN_Q): Set the quiet bit.
7066 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7068 * benchtests/Makefile
7069 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7070 not $(common-objpfx)math/libm.so.
7071 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7072 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7073 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7074 $(common-objpfx)dlfcn/libdl.so.
7075 ($(objpfx)tst-audit8): Depend on $(libm), not
7076 $(common-objpfx)math/libm.so.
7077 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7078 not $(common-objpfx)dlfcn/libdl.so.
7080 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7081 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7082 [$(build-shared) = yes].
7083 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7084 $(common-objpfx)nptl/libpthread.so.
7085 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7086 $(common-objpfx)math/libm.so$(libm.so-version) or
7087 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7088 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7089 $(common-objpfx)dlfcn/libdl.so.
7090 * setjmp/Makefile (link-libm): Remove variable.
7091 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7092 * stdio-common/Makefile (link-libm): Remove variable.
7093 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7094 * stdlib/Makefile (link-libm): Remove variable.
7095 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7096 ($(objpfx)tst-strtod-round): Likewise.
7097 ($(objpfx)tst-tininess): Likewise.
7098 ($(objpfx)tst-strtod-underflow): Likewise.
7099 ($(objpfx)tst-strtod6): Likewise.
7100 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7101 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7102 $(common-objpfx)dlfcn/libdl.so.
7104 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7106 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7107 BSD terminal modes definitions.
7109 2014-05-16 Roland McGrath <roland@hack.frob.com>
7111 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7112 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7114 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7115 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7116 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7117 Don't do #include_next.
7118 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7119 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7120 Don't do #include_next.
7121 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7122 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7123 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7124 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7126 2014-05-16 Allan McRae <allan@archlinux.org>
7128 * po/sv.po: Update Swedish translation from translation project.
7130 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7133 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7136 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7137 errno if the TIOCGPTN ioctl fails with an error different than
7139 * login/tst-ptsname.c: New file.
7140 * login/Makefile (tests): Add tst-ptsname.
7143 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7146 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7150 herrno to return EAI_AGAIN.
7152 2014-05-14 Roland McGrath <roland@hack.frob.com>
7154 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7155 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7156 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7157 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7158 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7159 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7183 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7185 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7190 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7192 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7194 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7200 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7202 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7204 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7208 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7214 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7216 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7219 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7221 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7227 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7229 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7237 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7240 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7242 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7244 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7245 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7246 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7247 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7248 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7249 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7250 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7252 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7254 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7255 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7256 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7257 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7258 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7260 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7262 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7264 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7265 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7266 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7267 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7268 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7270 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7272 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7274 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7276 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7277 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7279 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7280 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7281 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7283 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7286 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7287 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7289 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7292 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7296 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7297 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7298 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7300 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7301 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7302 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7304 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7306 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7307 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7309 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7312 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7314 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7315 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7316 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7317 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7324 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7325 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7326 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7328 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7329 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7332 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7334 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7337 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7342 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7343 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7345 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7347 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7349 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7351 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7352 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7354 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7355 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7357 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7359 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7360 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7362 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7369 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7370 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7371 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7373 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7374 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7376 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7377 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7380 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7383 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7386 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7390 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7391 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7392 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7393 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7394 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7396 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7398 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7400 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7402 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7405 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7408 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7410 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7411 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7412 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7413 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7416 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7420 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7422 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7424 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7425 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7426 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7428 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7429 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7430 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7432 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7433 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7435 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7436 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7438 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7439 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7440 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7441 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7442 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7443 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7444 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7445 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7446 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7447 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7451 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7452 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7454 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7457 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7459 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7460 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7462 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7464 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7466 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7468 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7471 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7476 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7478 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7480 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7482 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7483 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7484 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7485 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7486 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7487 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7488 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7490 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7493 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7494 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7495 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7496 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7498 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7499 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7500 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7501 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7502 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7503 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7504 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7505 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7506 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7507 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7512 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7513 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7514 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7515 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7516 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7517 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7518 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7519 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7520 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7521 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7522 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7523 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7524 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7525 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7550 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7555 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7559 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7562 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7563 that was previously under [RESET_PID].
7564 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7565 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7566 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7568 * sysdeps/i386/nptl/Implies: New file.
7569 * sysdeps/x86_64/nptl/Implies: New file.
7570 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7571 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7573 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7575 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7576 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7577 (__libc_vfork): New strong alias.
7578 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7579 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7581 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7583 (__libc_vfork): New strong alias.
7584 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7585 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7587 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7588 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7589 (__libc_vfork): New strong alias.
7590 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7591 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7592 * nptl/pt-vfork.c: New file.
7593 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7594 (libpthread: GLIBC_2.20): New version set (empty).
7596 2014-05-14 Will Newton <will.newton@linaro.org>
7598 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7601 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7604 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7605 arguments with exponent 65 or above.
7606 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7607 arguments 0x1p113L or above.
7608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7609 to arguments 0x1p107L or above.
7610 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7611 positive arguments with exponent 65 or above.
7612 * math/auto-libm-test-in: Add more tests of log1p.
7613 * math/auto-libm-test-out: Regenerated.
7616 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7617 non-finite arguments is +0.
7618 * math/s_cacosf.c (__cacosf): Likewise.
7619 * math/s_cacosl.c (__cacosl): Likewise.
7620 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7621 * sysdeps/i386/fpu/libm-test-ulps: Update.
7622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7625 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7627 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7628 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7630 for explicit high bit of mantissa when testing for argument equal
7632 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7638 (__erf): Scale by 16 instead of 8 in potentially underflowing
7639 case. Ensure exception if result actually underflows.
7640 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7641 (__erff): Scale by 16 instead of 8 in potentially underflowing
7642 case. Ensure exception if result actually underflows.
7643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7644 (efx8): Remove variable.
7645 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7646 case. Ensure exception if result actually underflows.
7647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7648 (efx8): Remove variable.
7649 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7650 case. Ensure exception if result actually underflows.
7651 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7652 (efx8): Remove variable.
7653 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7654 case. Ensure exception if result actually underflows.
7655 * math/auto-libm-test-in: Add more tests of erf.
7656 * math/auto-libm-test-out: Regenerated.
7658 2014-05-14 Andreas Schwab <schwab@suse.de>
7660 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7661 Remove code conditionalized on USE___THREAD.
7663 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7664 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7667 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7670 Define unconditionally.
7671 (__ASSUME_O_CLOEXEC): Likewise.
7672 (__ASSUME_SOCK_CLOEXEC): Likewise.
7673 (__ASSUME_IN_NONBLOCK): Likewise.
7674 (__ASSUME_PIPE2): Likewise.
7675 (__ASSUME_EVENTFD2): Likewise.
7676 (__ASSUME_SIGNALFD4): Likewise.
7677 (__ASSUME_DUP3): Likewise.
7678 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7679 (__ASSUME_DUP3): Do not define.
7680 (__ASSUME_EVENTFD2): Likewise.
7681 (__ASSUME_IN_NONBLOCK): Likewise.
7682 (__ASSUME_O_CLOEXEC): Likewise.
7683 (__ASSUME_PIPE2): Likewise.
7684 (__ASSUME_SIGNALFD4): Likewise.
7685 (__ASSUME_SOCK_CLOEXEC): Likewise.
7686 (__ASSUME_UTIMES): Undefine.
7687 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7688 (__ASSUME_UTIMES): Do not define.
7689 (__ASSUME_O_CLOEXEC): Likewise.
7690 (__ASSUME_SOCK_CLOEXEC): Likewise.
7691 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7692 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7694 (__ASSUME_PIPE2): Likewise.
7695 (__ASSUME_EVENTFD2): Likewise.
7696 (__ASSUME_SIGNALFD4): Likewise.
7697 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7698 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7700 (__ASSUME_EVENTFD2): Likewise.
7701 (__ASSUME_SIGNALFD4): Likewise.
7702 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7703 (__ASSUME_32BITUIDS): Likewise.
7704 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7705 (__ASSUME_IPC64): Likewise.
7706 (__ASSUME_ST_INO_64_BIT): Likewise.
7707 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7708 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7709 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7710 (__ASSUME_UTIMES): Do not define.
7711 (__ASSUME_PSELECT): Likewise.
7712 (__ASSUME_PPOLL): Likewise.
7713 (__ASSUME_O_CLOEXEC): Likewise.
7714 (__ASSUME_SOCK_CLOEXEC): Likewise.
7715 (__ASSUME_IN_NONBLOCK): Likewise.
7716 (__ASSUME_PIPE2): Likewise.
7717 (__ASSUME_EVENTFD2): Likewise.
7718 (__ASSUME_SIGNALFD4): Likewise.
7719 (__ASSUME_DUP3): Likewise.
7720 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7721 (__ASSUME_UTIMES): Likewise.
7722 (__ASSUME_O_CLOEXEC): Likewise.
7723 (__ASSUME_SOCK_CLOEXEC): Likewise.
7724 (__ASSUME_IN_NONBLOCK): Likewise.
7725 (__ASSUME_PIPE2): Likewise.
7726 (__ASSUME_EVENTFD2): Likewise.
7727 (__ASSUME_SIGNALFD4): Likewise.
7728 (__ASSUME_DUP3): Likewise.
7729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7730 (__ASSUME_UTIMES): Likewise.
7731 (__ASSUME_O_CLOEXEC): Likewise.
7732 (__ASSUME_SOCK_CLOEXEC): Likewise.
7733 (__ASSUME_IN_NONBLOCK): Likewise.
7734 (__ASSUME_PIPE2): Likewise.
7735 (__ASSUME_EVENTFD2): Likewise.
7736 (__ASSUME_SIGNALFD4): Likewise.
7737 (__ASSUME_DUP3): Likewise.
7738 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7740 (__ASSUME_UTIMES): Likewise.
7741 (__ASSUME_EVENTFD2): Likewise.
7742 (__ASSUME_SIGNALFD4): Likewise.
7743 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7744 (__ASSUME_O_CLOEXEC): Likewise.
7745 (__ASSUME_SOCK_CLOEXEC): Likewise.
7746 (__ASSUME_IN_NONBLOCK): Likewise.
7747 (__ASSUME_PIPE2): Likewise.
7748 (__ASSUME_EVENTFD2): Likewise.
7749 (__ASSUME_SIGNALFD4): Likewise.
7750 (__ASSUME_DUP3): Likewise.
7751 (__ASSUME_UTIMES): Undefine.
7753 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7754 feclearexcept. Remove symbol versioning code.
7755 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7756 symbol versioning code.
7757 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7758 symbol versioning code.
7759 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7760 feupdateenv. Remove symbol versioning code.
7761 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7762 fegetexceptflag. Remove symbol versioning code.
7763 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7764 fesetexceptflag. Remove symbol versioning code.
7765 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7766 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7767 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7768 (__posix_fadvise64_l32): Remove prototype.
7769 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7772 2014-05-13 Roland McGrath <roland@hack.frob.com>
7774 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7775 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7776 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7777 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7779 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7781 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7782 current working directory
7784 2014-05-13 Roland McGrath <roland@hack.frob.com>
7786 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7787 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7788 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7789 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7790 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7791 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7792 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7793 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7794 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7795 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7796 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7797 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7799 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7800 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7801 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7803 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7804 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7809 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7819 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7820 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7821 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7822 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7824 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7825 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7826 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7827 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7829 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7830 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7832 * sysdeps/unix/sysv/linux/arm/Makefile
7833 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7834 Add rt-aeabi_unwind_cpp_pr1.
7835 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7836 Add nptl-aeabi_unwind_cpp_pr1.
7837 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7838 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7839 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7840 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7841 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7842 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7844 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7845 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7846 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7847 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7849 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7850 Deconditionalize the code that was previously under [RESET_PID].
7851 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7853 * sysdeps/generic/exit-thread.h: New file.
7854 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7855 * include/unistd.h (__exit_thread): Remove declaration.
7856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7857 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7858 * csu/libc-start.c: Include <exit-thread.h>.
7859 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7860 * nptl/pthread_create.c: Include <exit-thread.h>.
7861 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7862 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7863 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7864 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7865 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7866 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7867 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7868 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7869 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7870 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7871 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7872 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7873 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7874 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7875 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7876 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7877 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7879 2014-05-13 Andreas Schwab <schwab@suse.de>
7881 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7883 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7885 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7886 (__ASSUME_UTIMES): Do not condition on kernel version.
7887 (__ASSUME_PSELECT): Define unconditionally.
7888 (__ASSUME_PPOLL): Likewise.
7889 (__ASSUME_ATFCTS): Likewise.
7890 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7891 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7892 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7893 (__ASSUME_UTIMENSAT): Define unconditionally.
7894 (__ASSUME_PRIVATE_FUTEX): Likewise.
7895 (__ASSUME_FALLOCATE): Likewise.
7896 (__ASSUME_O_CLOEXEC): Likewise.
7897 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7898 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7899 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7900 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7901 (__ASSUME_IN_NONBLOCK): Likewise.
7902 (__ASSUME_PIPE2): Likewise.
7903 (__ASSUME_EVENTFD2): Likewise.
7904 (__ASSUME_SIGNALFD4): Likewise.
7905 (__ASSUME_DUP3): Likewise.
7906 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7907 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7908 (__ASSUME_AT_RANDOM): Likewise.
7909 (__ASSUME_PREADV): Likewise.
7910 (__ASSUME_PWRITEV): Likewise.
7911 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7912 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7913 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7915 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7916 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7917 (__ASSUME_O_CLOEXEC): Define unconditionally.
7918 (__ASSUME_PSELECT): Do not undefine conditionally.
7919 (__ASSUME_PPOLL): Likewise.
7920 (__ASSUME_ATFCTS): Likewise.
7921 (__ASSUME_SET_ROBUST_LIST): Likewise.
7922 (__ASSUME_UTIMENSAT): Likewise.
7923 (__ASSUME_FDATASYNC): Define unconditionally.
7924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7925 (__ASSUME_SIGFRAME_V2): Likewise.
7926 )__ASSUME_EVENTFD2): Likewise.
7927 (__ASSUME_SIGNALFD4): Likewise.
7928 (__ASSUME_PSELECT): Do not undefine conditionally.
7929 (__ASSUME_PPOLL): Likewise.
7930 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7931 (__ASSUME_PSELECT): Define unconditionally.
7932 (__ASSUME_PPOLL): Likewise.
7933 (__ASSUME_O_CLOEXEC): Likewise.
7934 (__ASSUME_SOCK_CLOEXEC): Likewise.
7935 (__ASSUME_IN_NONBLOCK): Likewise.
7936 (__ASSUME_PIPE2): Likewise.
7937 (__ASSUME_EVENTFD2): Likewise.
7938 (__ASSUME_SIGNALFD4): Likewise.
7939 (__ASSUME_DUP3): Likewise.
7940 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7941 (__ASSUME_O_CLOEXEC): Likewise.
7942 (__ASSUME_SOCK_CLOEXEC): Likewise.
7943 (__ASSUME_IN_NONBLOCK): Likewise.
7944 (__ASSUME_PIPE2): Likewise.
7945 (__ASSUME_EVENTFD2): Likewise.
7946 (__ASSUME_SIGNALFD4): Likewise.
7947 (__ASSUME_DUP3): Likewise.
7948 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7949 (__ASSUME_EVENTFD2): Likewise.
7950 (__ASSUME_SIGNALFD4): Likewise.
7951 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7953 2014-05-12 Andreas Schwab <schwab@suse.de>
7956 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7957 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7958 than maximum RPC packet size.
7959 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7960 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7961 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7962 (_nss_nis_getservbyport_r): Likewise.
7964 2014-05-12 Will Newton <will.newton@linaro.org>
7966 * malloc/Makefile (tests): Add tst-mallopt.
7967 * malloc/tst-mallopt.c: New file.
7969 2014-05-09 Roland McGrath <roland@hack.frob.com>
7971 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7972 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7974 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7977 (tst-tlsmod6.so): Likewise.
7979 2014-05-09 Roland McGrath <roland@hack.frob.com>
7981 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7983 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7986 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7987 and <dl-procinfo.h>.
7988 (__fegetenv): Save SSE state in envp->__eip if supported.
7989 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7990 envp->__eip if supported.
7991 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7992 and <dl-procinfo.h>.
7993 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7994 __data_offset and __data_selector in environment to 0. Set SSE
7996 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7998 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8000 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8002 2014-05-09 Will Newton <will.newton@linaro.org>
8004 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8005 and libc_relro_required for ARM.
8006 * sysdeps/arm/preconfigure: Regenerate.
8008 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8009 Stefan Liebler <stli@linux.vnet.ibm.com>
8011 * config.make.in (enable-lock-elision): New Makefile variable.
8012 * configure.ac: Likewise.
8013 * configure: Regenerate.
8014 * sysdeps/s390/configure.ac:
8015 Add check for gcc transactions support.
8016 * sysdeps/s390/configure: Regenerate.
8017 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8018 Build elision files if enabled.
8019 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8020 Add lock elision support for s390.
8021 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8022 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8023 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8024 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8025 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8026 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8029 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8031 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8033 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8035 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8036 (__lll_timedlock_elision, __lll_lock_elision)
8037 (__lll_unlock_elision, __lll_trylock_elision)
8038 (lll_timedlock_elision, lll_lock_elision)
8039 (lll_unlock_elision, lll_trylock_elision): Add.
8040 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8041 (pthread_mutex_t): Add lock elision support for s390.
8043 2014-05-14 Wilco <wdijkstr@arm.com>
8045 * sysdeps/arm/fclrexcpt.c: Cleanup.
8046 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8047 * sysdeps/arm/feenablxcpt.c: Cleanup.
8048 * sysdeps/arm/fegetenv.c: Cleanup.
8049 * sysdeps/arm/fegetexcept.c: Cleanup.
8050 * sysdeps/arm/fegetround.c: Cleanup.
8051 * sysdeps/arm/feholdexcpt.c: Cleanup.
8052 * sysdeps/arm/fesetenv.c: Cleanup.
8053 * sysdeps/arm/fesetround.c: Cleanup.
8054 * sysdeps/arm/feupdateenv.c: Cleanup.
8055 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8056 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8057 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8058 * sysdeps/arm/ftestexcept.c: Cleanup.
8059 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8060 * sysdeps/arm/setfpucw.c: Cleanup.
8062 2014-05-09 Will Newton <will.newton@linaro.org>
8064 * sysdeps/arm/armv7/strcmp.S: New file.
8065 * NEWS: Mention addition of ARMv7 optimized strcmp.
8067 2014-05-08 Roland McGrath <roland@hack.frob.com>
8069 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8070 look for %.ac rather than %.in.
8072 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8073 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8074 * sysdeps/mach/hurd/configure: Regenerated.
8075 * sysdeps/unix/sysv/linux/configure: Regenerated.
8077 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8079 2014-05-07 Steve Ellcey <sellcey@mips.com>
8082 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8086 2014-05-07 Andreas Schwab <schwab@suse.de>
8088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8089 when skipping over non-matching result from nscd.
8091 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8094 * nptl/sockperf.c (client): Check socket return value.
8097 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8098 nscd security class.
8100 2014-05-06 Roland McGrath <roland@hack.frob.com>
8102 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8103 * sysdeps/arm/unwind.h: ... here.
8105 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8108 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8111 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8113 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8114 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8115 multiarch strncpy for PPC64.
8116 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8117 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8119 multiarch optimizations.
8120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8121 (__libc_ifunc_impl_list): Likewise.
8122 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8124 multiarch stpncpy for PPC64.
8125 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8126 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8128 2014-05-06 Andreas Schwab <schwab@suse.de>
8131 * gmon/mcount.c (_MCOUNT_DECL): Use
8132 atomic_compare_and_exchange_bool_acq instead of
8133 catomic_compare_and_exchange_bool_acq.
8135 2014-05-05 Roland McGrath <roland@hack.frob.com>
8137 * elf/Makefile (others, install-bin): Remove pldd.
8138 (pldd-modules): Variable removed.
8139 ($(objpfx)pldd): Target removed.
8140 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8141 (others, install-bin): Append pldd here.
8142 ($(objpfx)pldd): New target.
8144 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8145 to 0, so the first #if test emitted later doesn't see it undefined.
8146 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8147 * sysdeps/gnu/errlist.c: Regenerated.
8149 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8152 [libc_hidden_builtin_def]: Define to empty value.
8153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8154 [libc_hidden_builtin_def]: Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8156 [libc_hidden_builtin_def]: Likewise.
8157 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8158 [libc_hidden_builtin_def]: Likewise.
8159 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8160 __redirect_memcpy and define ifunc as default hidden symbol.
8161 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8162 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8164 2014-05-04 Adam Conrad <adconrad@0c3.net>
8166 * locale/iso-4217.def: Reintroduce XDR currency.
8168 2014-05-04 Allan McRae <allan@archlinux.org>
8170 * po/eo.po: Update Esperanto translation from translation project.
8172 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8174 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8175 and FEATURE_INDEX_MAX to 1.
8176 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8178 2014-05-01 Steve Ellcey <sellcey@mips.com>
8180 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8181 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8182 * iconvdata/big5.c (ONE_DIRECTION): Define.
8183 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8184 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8185 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8186 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8187 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8188 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8189 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8190 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8191 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8192 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8193 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8194 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8195 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8196 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8197 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8198 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8199 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8200 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8201 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8202 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8203 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8204 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8205 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8206 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8207 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8208 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8209 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8210 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8211 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8212 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8213 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8214 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8215 * iconvdata/johab.c (ONE_DIRECTION): Define.
8216 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8217 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8218 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8219 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8220 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8221 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8222 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8223 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8224 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8225 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8227 2014-05-01 Roland McGrath <roland@hack.frob.com>
8229 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8230 (_IO_JUMPS_OFFSET): Define to 0.
8232 * nptl/sysdeps/pthread/bits/libc-lock.h
8233 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8234 (__libc_lock_define_initialized_recursive): Always define using
8235 initializer. Modern compilers treat uninitialized (implicit zero) and
8236 explicit zero initializers the same (i.e. put the datum in bss).
8238 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8240 * nscd/nscd-client.h: Include <string.h>.
8242 2014-05-01 David S. Miller <davem@davemloft.net>
8245 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8246 multiple zero bytes exist at the end of a string.
8247 Reported by Aurelien Jarno <aurelien@aurel32.net>
8249 * string/test-strcmp.c (check): Add explicit test for situations where
8250 there are multiple zero bytes after the first.
8252 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8255 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8256 when compiling wprintf.
8257 * stdio-common/tstdiomisc.c (t3): New function.
8260 2014-05-01 Steve Ellcey <sellcey@mips.com>
8262 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8263 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8264 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8265 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8267 2014-05-01 Steve Ellcey <sellcey@mips.com>
8269 * stdlib/longlong.h: Updated from GCC.
8271 2014-05-01 Will Newton <will.newton@linaro.org>
8272 Bernard Ogden <bernie.ogden@linaro.org>
8274 * NEWS: Update fixed bug list.
8277 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8279 2014-04-30 David S. Miller <davem@davemloft.net>
8281 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8282 (libc_feholdexcept_setround_sparc_ctx): New function.
8283 (libc_fesetenv_sparc_ctx): Likewise.
8284 (libc_feupdateenv_sparc_ctx): Likewise.
8285 (libc_feholdsetround_sparc_ctx): Likewise.
8286 (libc_feholdexcept_setround_ctx): Define.
8287 (libc_feholdexcept_setroundf_ctx): Likewise.
8288 (libc_feholdexcept_setroundl_ctx): Likewise.
8289 (libc_fesetenv_ctx): Likewise.
8290 (libc_fesetenvf_ctx): Likewise.
8291 (libc_fesetenvl_ctx): Likewise.
8292 (libc_feupdateenv_ctx): Likewise.
8293 (libc_feupdateenvf_ctx): Likewise.
8294 (libc_feupdateenvl_ctx): Likewise.
8295 (libc_feresetround_ctx): Likewise.
8296 (libc_feresetroundf_ctx): Likewise.
8297 (libc_feresetroundl_ctx): Likewise.
8298 (libc_feholdsetround_ctx): Likewise.
8299 (libc_feholdsetroundf_ctx): Likewise.
8300 (libc_feholdsetroundl_ctx): Likewise.
8302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8303 with __USE_GNU instead of XOPEN cpp guards.
8305 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8309 with XOPEN cpp guards.
8311 2014-04-30 Julian Brown <julian@codesourcery.com>
8314 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8317 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8320 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8322 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8323 * sysdeps/unix/sysv/linux/configure: Regenerated.
8324 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8325 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8326 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8327 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8328 * README: Update reference to required Linux kernel version.
8329 * manual/install.texi (Linux): Update reference to required Linux
8330 kernel headers version.
8331 * INSTALL: Regenerated.
8333 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8335 [POSIX] (limits.h): Likewise.
8336 [POSIX] (math.h): Likewise.
8337 [POSIX] (sys/wait.h): Likewise.
8338 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8340 [POSIX] (stddef.h): Do not allow header inclusion.
8342 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8344 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8346 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8348 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8349 Return immediately after lll_futex_wake.
8351 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8354 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8356 (datahead_init_pos): Call datahead_init_common early.
8357 (datahead_init_neg): Likewise.
8359 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8360 datahead_init_neg): New functions.
8361 * nscd/aicache.c (addhstaiX): Use them.
8362 * nscd/grpcache.c (cache_addgr): Likewise.
8363 * nscd/hstcache.c (cache_addhst): Likewise.
8364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8365 * nscd/netgroupcache.c (do_notfound): Likewise.
8366 (addgetnetgrentX): Likewise.
8367 (addinnetgrX): Likewise.
8368 * nscd/pwdcache.c (cache_addpw): Likewise.
8369 * nscd/servicescache.c (cache_addserv): Likewise.
8371 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8372 Atsushi Onoe <atsushi@onoe.org>
8377 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8378 one response is valid.
8379 * resolv/res_send.c (send_dg): Check for validity of other
8380 response if the current response is a referral.
8382 2014-04-29 Steve Ellcey <sellcey@mips.com>
8384 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8386 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8389 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8390 Always divide by positive zero when computing -Inf result.
8391 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8392 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8394 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8396 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8397 FPSCR if value do not change.
8398 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8399 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8400 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8401 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8402 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8403 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8406 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8408 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8409 * sysdeps/unix/sysv/linux/hppa: Move directory from
8410 ports/systeps/unix/sysv/linux/hppa.
8411 * README: Update listing for hppa-*-linux-gnu.
8413 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8416 * manual/stdio.texi (Hook functions): Fix types of stream hook
8419 * socket/sys/socket.h: Fix typo in comment.
8421 2014-04-28 Wilco <wdijkstr@arm.com>
8423 * sysdeps/arm/fenv_private.h: New file.
8424 * sysdeps/arm/math_private.h: New file.
8425 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8427 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8429 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8431 (La_x86_64_retval): Likewise.
8433 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8435 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8436 fpsr if value didn't change.
8437 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8438 to fpcr if value didn't change.
8439 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8440 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8441 fpsr or fpcr if value didn't change.
8442 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8443 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8444 fpcr if value didn't change.
8445 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8446 to fpsr if value didn't change.
8448 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8450 * nptl/tst-sem3.c: Use test-skeleton.c
8451 (main): Rename to do_test. Use return instead of
8453 * nptl/tst-sem4.c: Use test-skeleton.c
8454 (main): Rename to do_test.
8456 2014-04-22 David S. Miller <davem@davemloft.net>
8458 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8459 (struct sigaction): New struct member __glibc_reserved0, change
8460 type of sa_flags to int.
8462 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8464 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8465 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8467 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8469 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8470 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8472 2014-04-22 Will Newton <will.newton@linaro.org>
8473 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8475 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8476 (__longjmp): Add longjmp and longjmp_target SystemTap
8478 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8479 (__sigsetjmp): Add setjmp SystemTap probe.
8481 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8483 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8486 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8490 * sysdeps/powerpc/fpu/fenv_private.h
8491 (libc_feholdexcept_setroundl_ctx): Define to
8492 libc_feholdexcept_setround_ppc_ctx.
8493 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8494 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8495 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8496 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8498 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8500 * sysdeps/aarch64/math-tests.h: New file.
8502 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8504 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8507 Check and set bit_AVX2_Usable.
8508 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8510 (bit_AVX2): Likewise.
8511 (index_AVX2_Usable): Likewise.
8512 (CPUID_AVX2): Likewise.
8513 (HAS_AVX2): Likewise.
8515 2014-04-17 Will Newton <will.newton@linaro.org>
8517 * manual/setjmp.texi (System V contexts): Add note that
8518 calling setcontext on a context created by a call to a
8519 signal handler is undefined. Update text to note that
8520 setcontext from a signal handler is possible but not
8524 * stdlib/tst-setcontext.c: Include signal.h.
8525 (main): Check that the signal stack before and
8526 after swapcontext is the same.
8528 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8529 Re-implement to restore registers in user code and avoid
8530 rt_sigreturn system call.
8532 2014-04-17 Wilco <wdijkstr@arm.com>
8534 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8535 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8536 * math/test-fenv.c: Skip exception trap tests on targets which only
8537 support non-stop mode.
8539 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8540 Wilco Dijkstra <wilco.dijkstra@arm.com>
8542 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8543 (libc_feholdsetround_aarch64_ctx)
8544 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8545 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8546 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8547 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8548 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8549 (libc_feresetround_noexl_ctx): Define.
8551 2014-04-16 Richard Henderson <rth@redhat.com>
8553 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8555 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8558 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8559 const from the non-libc, non-ldso copy.
8561 * sysdeps/alpha/libm-test-ulps: Regenerate.
8563 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8564 Wilco Dijkstra <wilco.dijkstra@arm.com>
8566 * sysdeps/aarch64/fpu/math_private.h: New file.
8568 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8570 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8572 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8575 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8576 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8578 Intel MPX bound registers before _dl_profile_fixup.
8579 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8580 registers after _dl_profile_fixup. Save and restore bound
8581 registers bnd0/bnd1 when calling _dl_call_pltexit.
8582 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8583 (LR_BND_OFFSET): Likewise.
8584 (LRV_BND0_OFFSET): Likewise.
8585 (LRV_BND1_OFFSET): Likewise.
8587 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8589 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8591 * sysdeps/mach/hurd/i386/tls.h: ... here.
8592 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8593 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8596 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8598 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8600 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8602 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8604 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8607 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8608 * sysdeps/s390/configure: Regenerate.
8611 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8612 Set round-to-nearest internally to reduce error accumulation.
8614 2014-04-16 Alan Modra <amodra@gmail.com>
8618 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8619 * math/libm-test.inc (frexp_test_data): Add tests.
8620 * NEWS: Update fixed bug list.
8622 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8624 * benchtests/Makefile: Depend on libraries in build directory.
8625 (bench-math): Separate out math tests.
8626 (bench-pthread): Separate out pthread tests.
8627 (bench): Include math and pthread tests.
8629 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8632 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8633 _dl_debug_initialize.
8635 * configure.ac: Remove SELinux header check.
8636 * configure: Regenerate.
8637 * nscd/selinux.c (perms): Array of const char* to permission names.
8638 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8639 default policy. Call string_to_security_class and string_to_av_perm to
8640 translate strings. Enforce default policy and call avs_has_perm with
8641 results of translated strings.
8643 2014-04-13 David S. Miller <davem@davemloft.net>
8645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8647 2014-04-12 Allan McRae <allan@archlinux.org>
8650 * manual/string.texi (Collation Functions): Fix qsort argument
8652 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8654 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8656 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8657 Make the test a no-op if there are no exceptions defined.
8659 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8661 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8662 enable-hardcoded-path-in-tests
8664 2014-04-11 Will Newton <will.newton@linaro.org>
8666 * benchtests/Makefile (extra-objs): Add json-lib.o.
8667 (bench-func): Tidy up JSON output.
8668 * benchtests/bench-skeleton.c: Include json-lib.h.
8669 (main): Use JSON library functions to do output of
8671 * benchtests/bench-timing-type.c (main): Output the
8672 timing type simply, leaving formatting to the user.
8673 * benchtests/json-lib.c: New file.
8674 * benchtests/json-lib.h: Likewise.
8676 2014-04-11 Torvald Riegel <triegel@redhat.com>
8679 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8680 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8681 memory barriers. Add comments.
8682 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8683 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8684 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8685 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8686 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8687 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8689 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8691 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8692 * sysdeps/s390/s390-64/configure.ac: ... this ...
8693 * sysdeps/s390/configure.ac: ... to here.
8694 * sysdeps/s390/s390-32/configure: Delete file.
8695 * sysdeps/s390/s390-64/configure: Delete file.
8696 * sysdeps/s390/configure: Regenerate.
8698 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8700 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8702 2014-04-11 Will Newton <will.newton@linaro.org>
8704 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8705 to zero if it is not defined elsewhere. (mtrim): Test
8706 the value of MALLOC_DEBUG with #if rather than #ifdef.
8708 2014-04-10 Torvald Riegel <triegel@redhat.com>
8710 * benchtests/pthread_once-inputs: New file.
8711 * benchtests/pthread_once-source.c: New file.
8712 * benchtests/README: Update documentation.
8714 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8715 H.J. Lu <hongjiu.lu@intel.com>
8718 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8719 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8720 * sysdeps/x86_64/configure: Regenerated.
8721 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8723 (REGISTER_SAVE_RAX): Likewise.
8724 (REGISTER_SAVE_RCX): Likewise.
8725 (REGISTER_SAVE_RDX): Likewise.
8726 (REGISTER_SAVE_RSI): Likewise.
8727 (REGISTER_SAVE_RDI): Likewise.
8728 (REGISTER_SAVE_R8): Likewise.
8729 (REGISTER_SAVE_R9): Likewise.
8730 (REGISTER_SAVE_BND0): Likewise.
8731 (REGISTER_SAVE_BND1): Likewise.
8732 (REGISTER_SAVE_BND2): Likewise.
8733 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8734 bound registers when calling _dl_fixup.
8736 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8738 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8739 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8741 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8742 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8743 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8744 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8745 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8746 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8747 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8749 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8752 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8753 pathconf(_PC_NAME_MAX).
8755 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8759 (__PTHREAD_SPINS): Move definition to ...
8760 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8761 (__PTHREAD_SPINS): ... here.
8762 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8763 (__PTHREAD_SPIN): Likewise.
8764 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8765 (__PTHREAD_SPIN): Likewise.
8766 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8767 (__PTHREAD_SPIN): Likewise.
8768 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8769 (__PTHREAD_SPIN): Likewise.
8770 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8771 (__PTHREAD_SPIN): Likewise.
8772 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8773 (__PTHREAD_SPIN): Likewise.
8774 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8775 (__PTHREAD_SPIN): Likewise.
8776 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8777 (__PTHREAD_SPIN): Likewise.
8778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8779 (__PTHREAD_SPIN): Likewise.
8780 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8781 (__PTHREAD_SPIN): Likewise.
8782 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8783 (__PTHREAD_SPIN): Likewise.
8784 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8785 (__PTHREAD_SPIN): Likewise.
8787 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8788 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8789 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8790 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8792 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8793 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8794 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8795 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8797 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8798 strlen symbol for non multi-arch builds.
8799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8800 missing hidden_def and weak_alias.
8802 2014-04-08 Carlos O'Donell <carlos@redhat.com>
8804 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8806 2014-04-07 Will Newton <will.newton@linaro.org>
8808 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8809 and contents. [!_LIBC] Remove #ifndef and contents.
8810 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8811 * string/memccpy.c (__memccpy): Use ANSI prototype.
8812 * string/memfrob.c (memfrob): Likewise.
8813 * string/strcoll.c (STRCOLL): Likewise.
8814 * string/strlen.c (strlen): Likewise.
8815 * string/strtok.c (STRTOK): Likewise.
8816 * string/strcat.c: Remove unused #include of memcopy.h.
8817 (strcat): Use ANSI prototype.
8818 * string/strchr.c: Remove unused #include of memcopy.h.
8819 (strchr): Use ANSI prototype.
8820 * string/strcmp.c: Remove unused #include of memcopy.h.
8821 (strcmp): Use ANSI prototype.
8822 * string/strcpy.c: Remove unused #include of memcopy.h.
8823 (strcpy): Use ANSI prototype.
8825 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8827 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8828 * config.make.in (config-extra-cppflags): Set it from
8829 libc_extra_cppflags.
8830 * configure.ac (libc_extra_cflags): Make it accumulate over
8831 configure fragments.
8832 (libc_extra_cppflags): New flag.
8833 * configure. Regenerate.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8835 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8836 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8840 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8841 result for FE_DOWNWARD rounding mode.
8842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8846 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8848 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8849 in function argument name.
8851 2014-04-03 David Svoboda <svoboda@cert.org>
8854 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8857 2014-04-03 Roland McGrath <roland@hack.frob.com>
8859 * elf/dl-unmap-segments.h: New file.
8860 * sysdeps/generic/ldsodefs.h
8861 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8862 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8863 * elf/dl-fptr.c: Likewise.
8864 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8865 * sysdeps/aarch64/tlsdesc.c: Likewise.
8866 * sysdeps/arm/tlsdesc.c: Likewise.
8867 * sysdeps/i386/tlsdesc.c: Likewise.
8868 * sysdeps/tile/dl-runtime.c: Likewise.
8869 * sysdeps/x86_64/tlsdesc.c: Likewise.
8870 * elf/dl-load.h: New file.
8871 * elf/dl-load.c: Include it.
8872 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8873 Macros moved to dl-load.h.
8874 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8875 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8876 Use _dl_unmap_segments in place of __munmap.
8877 Break out segment-mapping loop into ...
8878 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8880 2014-04-03 Will Newton <will.newton@linaro.org>
8882 * elf/dl-lookup.c (do_lookup_x): Remove comment
8883 referring to nested function and move variable
8884 declarations down to before first use.
8886 2014-04-02 Joseph Myers <joseph@codesourcery.com>
8890 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8892 * math/s_catanf.c (__catanf): Likewise.
8893 * math/s_catanh.c (__catanh): Likewise.
8894 * math/s_catanhf.c (__catanhf): Likewise.
8895 * math/s_catanhl.c (__catanhl): Likewise.
8896 * math/s_catanl.c (__catanl): Likewise.
8897 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8898 by positive zero when computing -Inf result.
8899 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8900 (catanh_test): Likewise.
8901 * sysdeps/i386/fpu/libm-test-ulps: Update.
8902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8905 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8906 instead of using underflowing value in computing result.
8907 * math/s_clog10.c (__clog10): Likewise.
8908 * math/s_clog10f.c (__clog10f): Likewise.
8909 * math/s_clog10l.c (__clog10l): Likewise.
8910 * math/s_clogf.c (__clogf): Likewise.
8911 * math/s_clogl.c (__clogl): Likewise.
8912 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8913 (clog10_test): Likewise.
8914 * sysdeps/i386/fpu/libm-test-ulps: Update.
8915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8917 2014-04-02 Alan Modra <amodra@gmail.com>
8920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8921 output when value is near a power of two. Use int64_t for lx and
8922 remove casts. Use decimal rather than hex exponent constants.
8923 Don't use long double multiplication when double will suffice.
8924 * math/libm-test.inc (nextafter_test_data): Add tests.
8925 * NEWS: Add 16739 and 16786 to bug list.
8927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8929 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8931 2014-04-01 Will Newton <will.newton@linaro.org>
8933 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8934 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8936 2014-04-01 Florian Weimer <fweimer@redhat.com>
8939 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8940 * nptl/tst-setuid2.c: New file.
8941 * nptl/Makefile (xtests): Add tst-setuid2.
8943 2014-04-01 Alan Modra <amodra@gmail.com>
8946 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8948 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8952 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8953 set errno as appropriate.
8954 * math/w_scalbf.c (__scalbf): Likewise.
8955 * math/w_scalbl.c (__scalbl): Likewise.
8956 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8957 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8958 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8962 * math/w_atan2.c: Include <errno.h>.
8963 (__atan2): Set errno for result underflowing to zero.
8964 * math/w_atan2f.c: Include <errno.h>.
8965 (__atan2f): Set errno for result underflowing to zero.
8966 * math/w_atan2l.c: Include <errno.h>.
8967 (__atan2l): Set errno for result underflowing to zero.
8968 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8970 * math/auto-libm-test-out: Regenerated.
8972 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8974 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8975 Encode instruction correctly in little endian.
8976 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8982 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8985 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/unix/sysv/linux/kernel-features.h
8989 [__sparc__ && !__arch64__ && !__sparc_v9__]
8990 (__ASSUME_SET_ROBUST_LIST): Do not define.
8991 [__sparc__ && !__arch64__ && !__sparc_v9__]
8992 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8993 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8995 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8996 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8997 (__ASSUME_REQUEUE_PI): Likewise.
8998 (__ASSUME_SET_ROBUST_LIST): Likewise.
8999 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9000 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9003 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9005 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9007 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9009 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9010 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9012 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9013 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9019 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9021 2014-03-31 Will Newton <will.newton@linaro.org>
9023 * benchtests/Makefile (bench): Add ffs and ffsll to list
9025 * benchtests/ffs-inputs: New file.
9026 * benchtests/ffsll-inputs: Likewise.
9028 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9031 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9032 too large before casting to int.
9033 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9034 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9035 * math/libm-test.inc (scalb_test_data): Add more tests.
9037 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9039 * benchtests/Makefile (DETAILED_OPT): New make option.
9040 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9042 * benchtests/bench-skeleton.c: Include stdbool.h.
9043 (main): Store and print timings per input.
9044 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9045 member to each argument value.
9046 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9047 (_print_arg_data): Initialize per-input timing to 0.
9049 * benchtests/Makefile (timing-type): New binary.
9050 (bench-clean): Also remove bench-timing-type.
9051 (bench): New target for timing-type.
9052 (bench-func): Print output in JSON format.
9053 * benchtests/bench-skeleton.c (main): Print output in JSON
9055 * benchtests/bench-timing-type.c: New file.
9056 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9057 (TIMING_PRINT_STATS): Remove.
9058 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9061 * benchtests/bench-modf.c: Remove.
9062 * benchtests/modf-inputs: New inputs file.
9064 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9067 * math/s_clog10.c (M_PI_LOG10E): New macro.
9068 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9069 imaginary parts are 0.
9070 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9071 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9072 imaginary parts are 0.
9073 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9074 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9075 imaginary parts are 0.
9076 * math/libm-test.inc (clog10_test_data): Update expected results
9077 for when real and imaginary parts are 0.
9079 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9081 * elf/dl-load.c: Finish conversion of __builtin_expect into
9084 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9087 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9088 1+x for argument with exponent below -67.
9089 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9091 * math/auto-libm-test-in: Add more tests of exp.
9092 * math/auto-libm-test-out: Regenerated.
9094 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9098 (nscd_getnetgrent): Use it.
9101 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9104 2014-03-27 Andi Kleen <ak@linux.intel.com>
9106 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9107 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9108 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9109 (lll_robust_unlock): Remove out of line section. Use cfi
9111 (LLL_STUB_UNWIND_INFO*): Remove.
9112 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9113 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9114 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9115 (lll_robust_unlock): Remove out of line section. Use cfi
9117 (LLL_STUB_UNWIND_INFO*): Remove.
9119 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9122 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9125 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9127 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9129 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9132 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9134 * math/test-fenv-preserve.c: New file.
9135 * math/Makefile (tests): Add test-fenv-preserve.
9137 2014-03-26 Will Newton <will.newton@linaro.org>
9139 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9141 2014-03-25 Roland McGrath <roland@hack.frob.com>
9143 * scripts/versionlist.awk: Partition the version sets and emit all
9144 GLIBC_* (sorted) before all others (sorted).
9146 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9148 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9149 GLIBC_2.2.5 version.
9151 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9153 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9156 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9161 2014-03-25 Andreas Schwab <schwab@suse.de>
9163 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9164 label to be used after in6ailist is initialized.
9166 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9168 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9169 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9171 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9175 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9177 (fp_formats): Update initializers.
9178 (init_fp_formats): Initialize new field.
9179 (output_for_one_input_case): Allow underflow for results up to
9181 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9182 * math/auto-libm-test-in: Don't mark some underflows from asin and
9184 * math/auto-libm-test-out: Regenerated.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188 2014-03-25 Andreas Schwab <schwab@suse.de>
9190 * libio/Makefile (tst-ftell-partial-wide-ENV)
9191 (tst-ftell-active-handler-ENV): Define.
9193 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9195 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9197 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9199 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9201 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9203 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9204 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9205 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9207 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9210 * elf/dl-load.c (open_verify): Add mode parameter.
9211 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9212 (open_path): Change from boolean 'secure' to complete flag 'mode'
9213 (_dl_map_object): Adjust.
9214 * elf/Makefile (tests): Add tst-dlopen-aout.
9215 * elf/tst-dlopen-aout.c: New test.
9217 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9220 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9221 (struct stat): Rename member pad0 to __glibc_reserved0.
9224 * sysdeps/s390/s390-32/bits/wordsize.h
9225 (__WORDSIZE32_SIZE_ULONG): New define.
9226 * sysdeps/s390/s390-64/bits/wordsize.h
9227 (__WORDSIZE32_SIZE_ULONG): Likewise.
9228 * sysdeps/generic/stdint.h (SIZE_MAX):
9229 Define as UL if __WORDSIZE32_SIZE_ULONG.
9232 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9233 (__glibc_reserved0): New variable.
9234 (sa_flags): Change type to int.
9236 * posix/Makefile (before-compile): Use += before-compile instead
9239 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9240 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9242 2014-03-20 Andreas Schwab <schwab@suse.de>
9245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9246 non-matching result from nscd.
9248 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9250 * scripts/bench.py: Moved to ...
9251 * benchtests/scripts/bench.py: ... here.
9252 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9254 2014-03-24 Andreas Schwab <schwab@suse.de>
9257 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9258 alloca_account and account alloca use for struct in6ailist.
9260 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9264 rounding mode to recompute results that overflow to infinity or
9266 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9268 * math/auto-libm-test-out: Regenerated.
9269 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9270 (ccosh_test): Likewise.
9271 (csin_test_data): Use plus_oflow.
9272 (csin_test): Use ALL_RM_TEST.
9273 (csinh_test_data): Use plus_oflow.
9274 (csinh_test): Use ALL_RM_TEST.
9275 * sysdeps/i386/fpu/libm-test-ulps: Update.
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9278 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9280 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9281 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9282 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9285 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9287 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9288 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9289 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9292 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9293 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9295 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9296 * sysdeps/i386/fpu/libm-test-ulps: Update.
9297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9299 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9301 * scripts/bench.pl: Remove file.
9302 * scripts/bench.py: New benchmark script.
9303 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9304 * benchtests/README: Mention python dependency.
9305 * scripts/pylintrc: New file.
9306 * scripts/pylint: New file.
9308 * bits/mathdef.h: Use #ifdef instead of #if.
9309 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9310 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9311 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9312 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9313 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9314 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9316 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9317 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9319 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9321 and strpbrk-ppc64 objects.
9322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9323 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9325 multiarch strpbrk for POWER7.
9326 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9327 multiarch strpbrk for PPC64.
9328 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9330 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9333 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9335 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9336 (atan_test): Likewise.
9337 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9338 (atanh_test): Use ALL_RM_TEST.
9339 (atan2_test_data): Likewise.
9340 (cabs_test): Likewise.
9341 (cacosh_test): Likewise.
9342 (carg_test): Likewise.
9343 (casin_test): Likewise.
9344 (casinh_test): Likewise.
9345 (cbrt_test): Likewise.
9346 (csqrt_test): Likewise.
9347 (erf_test): Likewise.
9348 (erfc_test): Likewise.
9349 (pow10_test): Likewise.
9350 (exp2_test): Likewise.
9351 (hypot_test): Likewise.
9352 (j0_test): Likewise.
9353 (j1_test): Likewise.
9354 (lgamma_test): Likewise.
9355 (gamma_test): Likewise.
9356 (sincos_test): Likewise.
9357 (tanh_test): Likewise.
9358 (y0_test): Likewise.
9359 (y1_test): Likewise.
9360 * sysdeps/i386/fpu/libm-test-ulps: Update.
9361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9363 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9365 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9367 and strcspn-ppc64 objects.
9368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9369 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9370 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9371 multiarch strcspn for POWER7.
9372 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9373 multiarch strcspn for PPC64.
9374 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9376 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9379 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9381 * math/gen-libm-test.pl (generate_testfile): Expect only function
9382 name as argument to AUTO_TESTS_* and pass results for all rounding
9383 modes to parse_args.
9384 (parse_auto_input): Separate inputs of automatic tests from
9385 outputs before storing in %auto_tests.
9386 * math/libm-test.inc (acos_test_data): Update call to
9388 (acos_test): Use ALL_RM_TEST.
9389 (acos_tonearest_test_data): Remove.
9390 (acos_test_tonearest): Likewise.
9391 (acos_towardzero_test_data): Likewise.
9392 (acos_test_towardzero): Likewise.
9393 (acos_downward_test_data): Likewise.
9394 (acos_test_downward): Likewise.
9395 (acos_upward_test_data): Likewise.
9396 (acos_test_upward): Likewise.
9397 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9398 (asin_test_data): Likewise.
9399 (asin_test): Use ALL_RM_TEST.
9400 (asin_tonearest_test_data): Remove.
9401 (asin_test_tonearest): Likewise.
9402 (asin_towardzero_test_data): Likewise.
9403 (asin_test_towardzero): Likewise.
9404 (asin_downward_test_data): Likewise.
9405 (asin_test_downward): Likewise.
9406 (asin_upward_test_data): Likewise.
9407 (asin_test_upward): Likewise.
9408 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9409 (atan_test_data): Likewise.
9410 (atanh_test_data): Likewise.
9411 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9412 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9413 (carg_test_data): Likewise.
9414 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9415 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9416 (ccosh_test_data): Likewise.
9417 (cexp_test_data): Likewise.
9418 (clog_test_data): Likewise.
9419 (clog10_test_data): Likewise.
9420 (cos_test_data): Update call to AUTO_TESTS_f_f.
9421 (cos_test): Use ALL_RM_TEST.
9422 (cos_tonearest_test_data): Remove.
9423 (cos_test_tonearest): Likewise.
9424 (cos_towardzero_test_data): Likewise.
9425 (cos_test_towardzero): Likewise.
9426 (cos_downward_test_data): Likewise.
9427 (cos_test_downward): Likewise.
9428 (cos_upward_test_data): Likewise.
9429 (cos_test_upward): Likewise.
9430 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9431 (cosh_test): Use ALL_RM_TEST.
9432 (cosh_tonearest_test_data): Remove.
9433 (cosh_test_tonearest): Likewise.
9434 (cosh_towardzero_test_data): Likewise.
9435 (cosh_test_towardzero): Likewise.
9436 (cosh_downward_test_data): Likewise.
9437 (cosh_test_downward): Likewise.
9438 (cosh_upward_test_data): Likewise.
9439 (cosh_test_upward): Likewise.
9440 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9441 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9442 (ctan_test_data): Likewise.
9443 (ctan_test): Use ALL_RM_TEST.
9444 (ctan_tonearest_test_data): Remove.
9445 (ctan_test_tonearest): Likewise.
9446 (ctan_towardzero_test_data): Likewise.
9447 (ctan_test_towardzero): Likewise.
9448 (ctan_downward_test_data): Likewise.
9449 (ctan_test_downward): Likewise.
9450 (ctan_upward_test_data): Likewise.
9451 (ctan_test_upward): Likewise.
9452 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9453 (ctanh_test): Use ALL_RM_TEST.
9454 (ctanh_tonearest_test_data): Remove.
9455 (ctanh_test_tonearest): Likewise.
9456 (ctanh_towardzero_test_data): Likewise.
9457 (ctanh_test_towardzero): Likewise.
9458 (ctanh_downward_test_data): Likewise.
9459 (ctanh_test_downward): Likewise.
9460 (ctanh_upward_test_data): Likewise.
9461 (ctanh_test_upward): Likewise.
9462 (erf_test_data): Update call to AUTO_TESTS_f_f.
9463 (erfc_test_data): Likewise.
9464 (exp_test_data): Likewise.
9465 (exp_test): Use ALL_RM_TEST.
9466 (exp_tonearest_test_data): Remove.
9467 (exp_test_tonearest): Likewise.
9468 (exp_towardzero_test_data): Likewise.
9469 (exp_test_towardzero): Likewise.
9470 (exp_downward_test_data): Likewise.
9471 (exp_test_downward): Likewise.
9472 (exp_upward_test_data): Likewise.
9473 (exp_test_upward): Likewise.
9474 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9475 (exp10_test): Use ALL_RM_TEST.
9476 (exp10_tonearest_test_data): Remove.
9477 (exp10_test_tonearest): Likewise.
9478 (exp10_towardzero_test_data): Likewise.
9479 (exp10_test_towardzero): Likewise.
9480 (exp10_downward_test_data): Likewise.
9481 (exp10_test_downward): Likewise.
9482 (exp10_upward_test_data): Likewise.
9483 (exp10_test_upward): Likewise.
9484 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9485 (expm1_test_data): Likewise.
9486 (expm1_test): Use ALL_RM_TEST.
9487 (expm1_tonearest_test_data): Remove.
9488 (expm1_test_tonearest): Likewise.
9489 (expm1_towardzero_test_data): Likewise.
9490 (expm1_test_towardzero): Likewise.
9491 (expm1_downward_test_data): Likewise.
9492 (expm1_test_downward): Likewise.
9493 (expm1_upward_test_data): Likewise.
9494 (expm1_test_upward): Likewise.
9495 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9496 (fma_test): Use ALL_RM_TEST.
9497 (fma_towardzero_test_data): Remove.
9498 (fma_test_towardzero): Likewise.
9499 (fma_downward_test_data): Likewise.
9500 (fma_test_downward): Likewise.
9501 (fma_upward_test_data): Likewise.
9502 (fma_test_upward): Likewise.
9503 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9504 (j0_test_data): Update call to AUTO_TESTS_f_f.
9505 (j1_test_data): Likewise.
9506 (jn_test_data): Update call to AUTO_TESTS_if_f.
9507 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9508 (log_test_data): Update call to AUTO_TESTS_f_f.
9509 (log10_test_data): Likewise.
9510 (log1p_test_data): Likewise.
9511 (log2_test_data): Likewise.
9512 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9513 (pow_tonearest_test_data): Likewise.
9514 (sin_test_data): Update call to AUTO_TESTS_f_f.
9515 (sin_test): Use ALL_RM_TEST.
9516 (sin_tonearest_test_data): Remove.
9517 (sin_test_tonearest): Likewise.
9518 (sin_towardzero_test_data): Likewise.
9519 (sin_test_towardzero): Likewise.
9520 (sin_downward_test_data): Likewise.
9521 (sin_test_downward): Likewise.
9522 (sin_upward_test_data): Likewise.
9523 (sin_test_upward): Likewise.
9524 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9525 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9526 (sinh_test): Use ALL_RM_TEST.
9527 (sinh_tonearest_test_data): Remove.
9528 (sinh_test_tonearest): Likewise.
9529 (sinh_towardzero_test_data): Likewise.
9530 (sinh_test_towardzero): Likewise.
9531 (sinh_downward_test_data): Likewise.
9532 (sinh_test_downward): Likewise.
9533 (sinh_upward_test_data): Likewise.
9534 (sinh_test_upward): Likewise.
9535 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9536 (sqrt_test): Use ALL_RM_TEST.
9537 (sqrt_tonearest_test_data): Remove.
9538 (sqrt_test_tonearest): Likewise.
9539 (sqrt_towardzero_test_data): Likewise.
9540 (sqrt_test_towardzero): Likewise.
9541 (sqrt_downward_test_data): Likewise.
9542 (sqrt_test_downward): Likewise.
9543 (sqrt_upward_test_data): Likewise.
9544 (sqrt_test_upward): Likewise.
9545 (tan_test_data): Update call to AUTO_TESTS_f_f.
9546 (tan_test): Use ALL_RM_TEST.
9547 (tan_tonearest_test_data): Remove.
9548 (tan_test_tonearest): Likewise.
9549 (tan_towardzero_test_data): Likewise.
9550 (tan_test_towardzero): Likewise.
9551 (tan_downward_test_data): Likewise.
9552 (tan_test_downward): Likewise.
9553 (tan_upward_test_data): Likewise.
9554 (tan_test_upward): Likewise.
9555 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9556 (tgamma_test_data): Likewise.
9557 (y0_test_data): Likewise.
9558 (y1_test_data): Likewise.
9559 (yn_test_data): Update call to AUTO_TESTS_if_f.
9560 (main): Do not call removed functions.
9562 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9564 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9565 (ldexp_test_data): Remove.
9566 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9568 (scalb_test): Use ALL_RM_TEST.
9570 2014-03-19 Andreas Schwab <schwab@suse.de>
9572 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9574 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9577 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9578 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9579 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9580 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9581 (__ASSUME_PREADV): Undefine.
9582 (__ASSUME_PWRITEV): Likewise.
9584 2014-03-18 Roland McGrath <roland@hack.frob.com>
9586 * bits/mman-linux.h: Add comment about non-Linux use.
9587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9588 bits/mman-linux.h resting place.
9590 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9591 * bits/mman-linux.h: ... here.
9593 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9595 * conform/conformtest.pl: Add standard definition when calling C
9596 preprocessor on data files.
9597 (checknamespace): Remove unused variable.
9599 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9601 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9602 minus_oflow, plus_uflow and minus_uflow in expected results.
9603 * math/libm-test.inc (scalbn_test_data): Add more tests of
9604 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9606 (scalbn_test): Use ALL_RM_TEST.
9607 (scalbln_test_data): Add more tests of negative arguments. Use
9608 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9609 (scalbln_test): Use ALL_RM_TEST.
9611 2014-03-18 Roland McGrath <roland@hack.frob.com>
9613 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9615 2014-03-18 Will Newton <will.newton@linaro.org>
9617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9620 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9622 * Makerules [!subdir] (check-abi): Exit with error status if a
9625 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9627 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9628 for rint. Include results for all rounding modes.
9629 (nearbyint_test): Use ALL_RM_TEST.
9630 (rint_test_data): Include all tests used for nearbyint.
9632 2014-03-17 Will Newton <will.newton@linaro.org>
9634 * nptl/sysdeps/pthread/pthread.h: Revert previous
9637 * sysdeps/generic/ldsodefs.h: Revert previous
9640 * libio/genops.c: Revert previous change.
9641 * libio/libioP.h: Likewise.
9642 * stdio-common/vfprintf.c: Likewise.
9644 * sysdeps/generic/math_private.h: Revert previous
9647 * sysdeps/generic/math_private.h: Check whether
9648 HAVE_RM_CTX is defined with #ifdef rather
9651 * argp/argp-fmtstream.h: Check whether
9652 __STRICT_ANSI__ is defined with #ifdef rather
9654 * argp/argp.h: Likewise.
9656 * libio/genops.c: Check whether
9657 _IO_JUMPS_OFFSET is defined with #ifdef rather
9659 * libio/libioP.h: Likewise.
9660 * stdio-common/vfprintf.c: Likewise.
9662 * sysdeps/generic/ldsodefs.h: Check whether
9663 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9666 * nptl/sysdeps/pthread/pthread.h: Check
9667 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9670 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9672 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9674 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9678 * libio/fileops.c (_IO_file_open): Seek to end of file but
9679 don't cache the offset.
9680 (get_file_offset): Remove function.
9681 (do_ftell): Use cached offset when available.
9682 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9683 don't cache the offset.
9684 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9686 (do_one_test): Call it.
9687 (do_ftell_test): Fix up expected old offset for a+ mode.
9688 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9691 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9692 up test status with function return status.
9693 (do_write_test): Likewise.
9694 (do_append_test): Likewise.
9696 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9697 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9700 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9702 * math/gen-libm-test.pl (parse_args): Handle results specified for
9703 each rounding mode separately.
9704 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9705 tests and results from lrint_tonearest_test_data,
9706 lrint_towardzero_test_data, lrint_downward_test_data and
9707 lrint_upward_test_data.
9708 (lrint_test): Use ALL_RM_TEST.
9709 (lrint_tonearest_test_data): Remove.
9710 (lrint_test_tonearest): Likewise.
9711 (lrint_towardzero_test_data): Likewise.
9712 (lrint_test_towardzero): Likewise.
9713 (lrint_downward_test_data): Likewise.
9714 (lrint_test_downward): Likewise.
9715 (lrint_upward_test_data): Likewise.
9716 (lrint_test_upward): Likewise.
9717 (llrint_test_data): Merge in per-rounding-mode tests and results
9718 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9719 llrint_downward_test_data and llrint_upward_test_data.
9720 (llrint_test): Use ALL_RM_TEST.
9721 (llrint_tonearest_test_data): Remove.
9722 (llrint_test_tonearest): Likewise.
9723 (llrint_towardzero_test_data): Likewise.
9724 (llrint_test_towardzero): Likewise.
9725 (llrint_downward_test_data): Likewise.
9726 (llrint_test_downward): Likewise.
9727 (llrint_upward_test_data): Likewise.
9728 (llrint_test_upward): Likewise.
9729 (rint_test_data): Merge in per-rounding-mode tests and results
9730 from rint_tonearest_test_data, rint_towardzero_test_data,
9731 rint_downward_test_data and rint_upward_test_data. Add
9732 per-rounding-mode results for tests not in those arrays.
9733 (rint_test): Use ALL_RM_TEST.
9734 (rint_tonearest_test_data): Remove.
9735 (rint_test_tonearest): Likewise.
9736 (rint_towardzero_test_data): Likewise.
9737 (rint_test_towardzero): Likewise.
9738 (rint_downward_test_data): Likewise.
9739 (rint_test_downward): Likewise.
9740 (rint_upward_test_data): Likewise.
9741 (rint_test_upward): Likewise.
9742 (main): Don't call removed functions.
9744 2014-03-14 Roland McGrath <roland@hack.frob.com>
9746 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9747 "Compiled on ..." crapola. It is anti-useful.
9749 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9751 * scripts/evaluate-test.sh: Handle fourth argument to determine
9752 whether test run should stop on failure.
9753 * Makeconfig (stop-on-test-failure): New variable.
9754 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9755 $(stop-on-test-failure).
9756 * Makefile (tests): Give a summary of results from testing and
9757 exit with failure status if they include an ERROR or FAIL.
9759 * manual/install.texi (Configuring and compiling): Mention
9760 stop-on-test-failure=y.
9761 * INSTALL: Regenerated.
9763 2014-03-14 Roland McGrath <roland@hack.frob.com>
9765 * scripts/versionlist.awk: New file.
9766 * Makerules [$(build-shared) = yes]
9767 (postclean-generated): Add Versions.def, not Versions.def.v and
9769 ($(common-objpfx)Versions.def.v.i): Target removed.
9770 ($(common-objpfx)Versions.def): New target.
9771 ($(common-objpfx)Versions.all): Depend on that rather that
9772 $(common-objpfx)Versions.def.v.
9773 * Versions.def: File removed.
9775 * Makeconfig (+gccwarn): Add -Wundef.
9776 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9777 a dl-sysdep.h breaking its contract.
9778 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9779 * include/stackinfo.h: New file.
9780 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9781 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9782 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9783 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9784 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9785 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9786 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9787 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9788 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9789 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9790 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9791 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9792 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9793 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9794 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9796 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9799 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9801 * math/libm-test.inc (round_test_data): Add more tests.
9804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9806 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9809 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9811 * math/libm-test.inc (ceil_test_data): Add more tests.
9813 * math/libm-test.inc (trunc_test_data): Add more tests related to
9816 2014-03-14 Roland McGrath <roland@hack.frob.com>
9818 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9819 with #if rather than #ifdef.
9820 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9822 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9824 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9825 first. Disable AVX-512 GCC support if assembler doesn't support
9827 * sysdeps/x86_64/configure: Regenerated.
9829 2014-03-13 Carlos O'Donell <carlos@redhat.com>
9831 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9832 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9833 (__old_pthread_attr_setstack): Likewise.
9834 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9835 [!_STACK_GROWS_DOWN]: Likewise.
9837 2014-03-13 Mike Frysinger <vapier@gentoo.org>
9839 * config.make.in (have-bash2): Delete.
9840 * configure.ac (libc_cv_have_bash2): Delete.
9841 * configure: Regenerate.
9842 * elf/Makefile (common-ldd-rewrite): Rename to ...
9843 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9844 (sh-ldd-rewrite): Delete.
9845 (bash-ldd-rewrite): Delete.
9846 (have-bash2): Delete checks.
9847 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9850 * config.make.in (have-ksh): Delete.
9852 * configure.ac (libc_cv_have_ksh): Delete.
9853 * configure: Regenerate.
9855 * elf/Makefile: Delete $(have-ksh) check.
9856 ($(objpfx)sotruss): Change KSH to BASH.
9857 * elf/sotruss.ksh: Rename to ...
9858 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9859 function style to match POSIX. Drop ksh vim mode setting.
9861 * manual/time.texi (Specifying the Time Zone with TZ): Change
9862 Tuesday to Thursday.
9864 * debug/tst-longjmp_chk2.c: Update header comment.
9865 (stackoverflow_handler): Add comment. Call assert on pass value.
9867 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9870 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9871 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9872 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9873 (La_x86_64_vector): Add zmm.
9874 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9875 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9876 ($(objpfx)tst-audit10): New target.
9877 ($(objpfx)tst-audit10.out): Likewise.
9878 (tst-audit10-ENV): New.
9879 (AVX512-CFLAGS): Likewise.
9880 (CFLAGS-tst-audit10.c): Likewise.
9881 (CFLAGS-tst-auditmod10a.c): Likewise.
9882 (CFLAGS-tst-auditmod10b.c): Likewise.
9883 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9884 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9885 * sysdeps/x86_64/configure: Regenerated.
9886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9887 AVX-512 zmm register support.
9888 (_dl_x86_64_save_sse): Likewise.
9889 (_dl_x86_64_restore_sse): Likewise.
9890 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9891 size vector registers.
9892 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9893 (ZMM_SIZE): Likewise.
9894 * sysdeps/x86_64/tst-audit10.c: New file.
9895 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9896 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9898 2014-03-13 Roland McGrath <roland@hack.frob.com>
9900 * configure.ac (HAVE_EHDR_START): New check.
9901 * configure: Regenerated.
9902 * config.h.in (HAVE_EHDR_START): New #undef.
9903 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9904 assuming the lowest-addressed segment maps the start of the file.
9906 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9908 * INSTALL: Regenerated.
9910 2014-03-13 Will Newton <will.newton@linaro.org>
9912 * manual/setjmp.texi (System V contexts): Improve
9913 clarity and grammar of documentation.
9915 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9918 * elf/Makefile (tests): Add tst-pie2.
9919 (tests-pie): Add tst-pie2.
9920 * elf/tst-pie2.c: New file.
9921 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9923 * elf/rtld.c (map_doit): Load executable as lt_executable.
9924 (dl_main): Likewise.
9926 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9930 (__ASSUME_PSELECT): Undefine.
9932 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9936 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9939 selector for static builds.
9941 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9944 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9947 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9949 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9950 IFUNC selector for static builds.
9952 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/mips/math_private.h [__mips_hard_float]
9955 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9956 libc_feresetround_mips_ctx.
9957 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9958 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9959 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9962 * math/s_nextafter.c (__nextafter): Do not return value from
9963 overflowing computation.
9964 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9965 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9970 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9971 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9973 2014-03-11 Roland McGrath <roland@hack.frob.com>
9975 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9976 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9977 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9978 the new mov targetting sp.
9980 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9983 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9984 Define it for static builds as well.
9985 (NO_BZERO_IMPL): Likewise.
9987 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9989 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9990 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9991 multiarch strspn for PPC64.
9992 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9993 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9995 (__libc_ifunc_impl_list): Likewise.
9996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9997 multiarch optimizations
9998 * string/strspn.c (strspn): Using macro to redefine symbol name.
10000 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10001 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10003 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10004 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10005 multiarch strncat for PPC64.
10006 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10007 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10009 (__libc_ifunc_impl_list): Likewise.
10010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10011 multiarch optimizations
10013 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10016 * nscd/nscd.service: Make service type forking.
10018 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10020 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10021 sign in non default rounding modes.
10022 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10024 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10026 * math/libm-test.inc (ALL_RM_TEST): New macro.
10027 (ceil_test): Use ALL_RM_TEST.
10028 (cimag_test): Likewise.
10029 (conj_test): Likewise.
10030 (copysign_test): Likewise.
10031 (cproj_test): Likewise.
10032 (creal_test): Likewise.
10033 (fabs_test): Likewise.
10034 (floor_test): Likewise.
10035 (fmax_test): Likewise.
10036 (fmin_test): Likewise.
10037 (fmod_test): Likewise.
10038 (fpclassify_test): Likewise.
10039 (frexp_test): Likewise.
10040 (ilogb_test): Likewise.
10041 (isfinite_test): Likewise.
10042 (finite_test): Likewise.
10043 (isgreater_test): Likewise.
10044 (isgreaterequal_test): Likewise.
10045 (isinf_test): Likewise.
10046 (isless_test): Likewise.
10047 (islessequal_test): Likewise.
10048 (islessgreater_test): Likewise.
10049 (isnan_test): Likewise.
10050 (isnormal_test): Likewise.
10051 (issignaling_test): Likewise.
10052 (isunordered_test): Likewise.
10053 (logb_test): Likewise.
10054 (logb_downward_test_data): Remove.
10055 (logb_test_downward): Likewise.
10056 (lround_test): Use ALL_RM_TEST.
10057 (llround_test): Likewise.
10058 (modf_test): Likewise.
10059 (nexttoward_test): Likewise.
10060 (remainder_test): Likewise.
10061 (drem_test): Likewise.
10062 (remainder_tonearest_test_data): Likewise.
10063 (remainder_test_tonearest): Likewise.
10064 (drem_test_tonearest): Likewise.
10065 (remainder_towardzero_test_data): Likewise.
10066 (remainder_test_towardzero): Likewise.
10067 (drem_test_towardzero): Likewise.
10068 (remainder_downward_test_data): Likewise.
10069 (remainder_test_downward): Likewise.
10070 (drem_test_downward): Likewise.
10071 (remainder_upward_test_data): Likewise.
10072 (remainder_test_upward): Likewise.
10073 (drem_test_upward): Likewise.
10074 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10075 (round_test): Use ALL_RM_TEST.
10076 (signbit_test): Likewise.
10077 (trunc_test): Likewise.
10078 (significand_test): Likewise.
10079 (main): Don't call removed functions.
10081 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10084 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10085 || __USE_XOPEN2K8].
10086 (ILL_ILLOPN): Likewise.
10087 (ILL_ILLADR): Likewise.
10088 (ILL_ILLTRP): Likewise.
10089 (ILL_PRVOPC): Likewise.
10090 (ILL_PRVREG): Likewise.
10091 (ILL_COPROC): Likewise.
10092 (ILL_BADSTK): Likewise.
10093 (FPE_INTDIV): Likewise.
10094 (FPE_INTOVF): Likewise.
10095 (FPE_FLTDIV): Likewise.
10096 (FPE_FLTOVF): Likewise.
10097 (FPE_FLTUND): Likewise.
10098 (FPE_FLTRES): Likewise.
10099 (FPE_FLTINV): Likewise.
10100 (FPE_FLTSUB): Likewise.
10101 (SEGV_MAPERR): Likewise.
10102 (SEGV_ACCERR): Likewise.
10103 (BUS_ADRALN): Likewise.
10104 (BUS_ADRERR): Likewise.
10105 (BUS_OBJERR): Likewise.
10106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10107 (TRAP_TRACE): Likewise.
10108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10110 (CLD_KILLED): Likewise.
10111 (CLD_DUMPED): Likewise.
10112 (CLD_TRAPPED): Likewise.
10113 (CLD_STOPPED): Likewise.
10114 (CLD_CONTINUED): Likewise.
10115 (POLL_IN): Likewise.
10116 (POLL_OUT): Likewise.
10117 (POLL_MSG): Likewise.
10118 (POLL_ERR): Likewise.
10119 (POLL_PRI): Likewise.
10120 (POLL_HUP): Likewise.
10121 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10123 (ILL_ILLOPN): Likewise.
10124 (ILL_ILLADR): Likewise.
10125 (ILL_ILLTRP): Likewise.
10126 (ILL_PRVOPC): Likewise.
10127 (ILL_PRVREG): Likewise.
10128 (ILL_COPROC): Likewise.
10129 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
10139 (SEGV_ACCERR): Likewise.
10140 (BUS_ADRALN): Likewise.
10141 (BUS_ADRERR): Likewise.
10142 (BUS_OBJERR): Likewise.
10143 (BUS_MCEERR_AR): Likewise.
10144 (BUS_MCEERR_AO): Likewise.
10145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10146 (TRAP_TRACE): Likewise.
10147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10149 (CLD_KILLED): Likewise.
10150 (CLD_DUMPED): Likewise.
10151 (CLD_TRAPPED): Likewise.
10152 (CLD_STOPPED): Likewise.
10153 (CLD_CONTINUED): Likewise.
10154 (POLL_IN): Likewise.
10155 (POLL_OUT): Likewise.
10156 (POLL_MSG): Likewise.
10157 (POLL_ERR): Likewise.
10158 (POLL_PRI): Likewise.
10159 (POLL_HUP): Likewise.
10160 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10161 (ILL_ILLOPN): Likewise.
10162 (ILL_ILLADR): Likewise.
10163 (ILL_ILLTRP): Likewise.
10164 (ILL_PRVOPC): Likewise.
10165 (ILL_PRVREG): Likewise.
10166 (ILL_COPROC): Likewise.
10167 (ILL_BADSTK): Likewise.
10168 (FPE_INTDIV): Likewise.
10169 (FPE_INTOVF): Likewise.
10170 (FPE_FLTDIV): Likewise.
10171 (FPE_FLTOVF): Likewise.
10172 (FPE_FLTUND): Likewise.
10173 (FPE_FLTRES): Likewise.
10174 (FPE_FLTINV): Likewise.
10175 (FPE_FLTSUB): Likewise.
10176 (SEGV_MAPERR): Likewise.
10177 (SEGV_ACCERR): Likewise.
10178 (BUS_ADRALN): Likewise.
10179 (BUS_ADRERR): Likewise.
10180 (BUS_OBJERR): Likewise.
10181 (BUS_MCEERR_AR): Likewise.
10182 (BUS_MCEERR_AO): Likewise.
10183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10184 (TRAP_TRACE): Likewise.
10185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10187 (CLD_KILLED): Likewise.
10188 (CLD_DUMPED): Likewise.
10189 (CLD_TRAPPED): Likewise.
10190 (CLD_STOPPED): Likewise.
10191 (CLD_CONTINUED): Likewise.
10192 (POLL_IN): Likewise.
10193 (POLL_OUT): Likewise.
10194 (POLL_MSG): Likewise.
10195 (POLL_ERR): Likewise.
10196 (POLL_PRI): Likewise.
10197 (POLL_HUP): Likewise.
10198 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10200 (ILL_ILLOPN): Likewise.
10201 (ILL_ILLADR): Likewise.
10202 (ILL_ILLTRP): Likewise.
10203 (ILL_PRVOPC): Likewise.
10204 (ILL_PRVREG): Likewise.
10205 (ILL_COPROC): Likewise.
10206 (ILL_BADSTK): Likewise.
10207 (ILL_BADIADDR): Likewise.
10208 (ILL_BREAK): Likewise.
10209 (FPE_INTDIV): Likewise.
10210 (FPE_INTOVF): Likewise.
10211 (FPE_FLTDIV): Likewise.
10212 (FPE_FLTOVF): Likewise.
10213 (FPE_FLTUND): Likewise.
10214 (FPE_FLTRES): Likewise.
10215 (FPE_FLTINV): Likewise.
10216 (FPE_FLTSUB): Likewise.
10217 (FPE_DECOVF): Likewise.
10218 (FPE_DECDIV): Likewise.
10219 (FPE_DECERR): Likewise.
10220 (FPE_INVASC): Likewise.
10221 (FPE_INVDEC): Likewise.
10222 (SEGV_MAPERR): Likewise.
10223 (SEGV_ACCERR): Likewise.
10224 (SEGV_PSTKOVF): Likewise.
10225 (BUS_ADRALN): Likewise.
10226 (BUS_ADRERR): Likewise.
10227 (BUS_OBJERR): Likewise.
10228 (BUS_MCEERR_AR): Likewise.
10229 (BUS_MCEERR_AO): Likewise.
10230 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10231 (TRAP_TRACE): Likewise.
10232 (TRAP_BRANCH): Likewise.
10233 (TRAP_HWBKPT): Likewise.
10234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10236 (CLD_KILLED): Likewise.
10237 (CLD_DUMPED): Likewise.
10238 (CLD_TRAPPED): Likewise.
10239 (CLD_STOPPED): Likewise.
10240 (CLD_CONTINUED): Likewise.
10241 (POLL_IN): Likewise.
10242 (POLL_OUT): Likewise.
10243 (POLL_MSG): Likewise.
10244 (POLL_ERR): Likewise.
10245 (POLL_PRI): Likewise.
10246 (POLL_HUP): Likewise.
10247 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10248 (ILL_ILLOPN): Likewise.
10249 (ILL_ILLADR): Likewise.
10250 (ILL_ILLTRP): Likewise.
10251 (ILL_PRVOPC): Likewise.
10252 (ILL_PRVREG): Likewise.
10253 (ILL_COPROC): Likewise.
10254 (ILL_BADSTK): Likewise.
10255 (FPE_INTDIV): Likewise.
10256 (FPE_INTOVF): Likewise.
10257 (FPE_FLTDIV): Likewise.
10258 (FPE_FLTOVF): Likewise.
10259 (FPE_FLTUND): Likewise.
10260 (FPE_FLTRES): Likewise.
10261 (FPE_FLTINV): Likewise.
10262 (FPE_FLTSUB): Likewise.
10263 (SEGV_MAPERR): Likewise.
10264 (SEGV_ACCERR): Likewise.
10265 (BUS_ADRALN): Likewise.
10266 (BUS_ADRERR): Likewise.
10267 (BUS_OBJERR): Likewise.
10268 (BUS_MCEERR_AR): Likewise.
10269 (BUS_MCEERR_AO): Likewise.
10270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10271 (TRAP_TRACE): Likewise.
10272 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10274 (CLD_KILLED): Likewise.
10275 (CLD_DUMPED): Likewise.
10276 (CLD_TRAPPED): Likewise.
10277 (CLD_STOPPED): Likewise.
10278 (CLD_CONTINUED): Likewise.
10279 (POLL_IN): Likewise.
10280 (POLL_OUT): Likewise.
10281 (POLL_MSG): Likewise.
10282 (POLL_ERR): Likewise.
10283 (POLL_PRI): Likewise.
10284 (POLL_HUP): Likewise.
10285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10286 (ILL_ILLOPN): Likewise.
10287 (ILL_ILLADR): Likewise.
10288 (ILL_ILLTRP): Likewise.
10289 (ILL_PRVOPC): Likewise.
10290 (ILL_PRVREG): Likewise.
10291 (ILL_COPROC): Likewise.
10292 (ILL_BADSTK): Likewise.
10293 (FPE_INTDIV): Likewise.
10294 (FPE_INTOVF): Likewise.
10295 (FPE_FLTDIV): Likewise.
10296 (FPE_FLTOVF): Likewise.
10297 (FPE_FLTUND): Likewise.
10298 (FPE_FLTRES): Likewise.
10299 (FPE_FLTINV): Likewise.
10300 (FPE_FLTSUB): Likewise.
10301 (SEGV_MAPERR): Likewise.
10302 (SEGV_ACCERR): Likewise.
10303 (BUS_ADRALN): Likewise.
10304 (BUS_ADRERR): Likewise.
10305 (BUS_OBJERR): Likewise.
10306 (BUS_MCEERR_AR): Likewise.
10307 (BUS_MCEERR_AO): Likewise.
10308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10309 (TRAP_TRACE): Likewise.
10310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10312 (CLD_KILLED): Likewise.
10313 (CLD_DUMPED): Likewise.
10314 (CLD_TRAPPED): Likewise.
10315 (CLD_STOPPED): Likewise.
10316 (CLD_CONTINUED): Likewise.
10317 (POLL_IN): Likewise.
10318 (POLL_OUT): Likewise.
10319 (POLL_MSG): Likewise.
10320 (POLL_ERR): Likewise.
10321 (POLL_PRI): Likewise.
10322 (POLL_HUP): Likewise.
10323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10324 (ILL_ILLOPN): Likewise.
10325 (ILL_ILLADR): Likewise.
10326 (ILL_ILLTRP): Likewise.
10327 (ILL_PRVOPC): Likewise.
10328 (ILL_PRVREG): Likewise.
10329 (ILL_COPROC): Likewise.
10330 (ILL_BADSTK): Likewise.
10331 (FPE_INTDIV): Likewise.
10332 (FPE_INTOVF): Likewise.
10333 (FPE_FLTDIV): Likewise.
10334 (FPE_FLTOVF): Likewise.
10335 (FPE_FLTUND): Likewise.
10336 (FPE_FLTRES): Likewise.
10337 (FPE_FLTINV): Likewise.
10338 (FPE_FLTSUB): Likewise.
10339 (SEGV_MAPERR): Likewise.
10340 (SEGV_ACCERR): Likewise.
10341 (BUS_ADRALN): Likewise.
10342 (BUS_ADRERR): Likewise.
10343 (BUS_OBJERR): Likewise.
10344 (BUS_MCEERR_AR): Likewise.
10345 (BUS_MCEERR_AO): Likewise.
10346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10347 (TRAP_TRACE): Likewise.
10348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10350 (CLD_KILLED): Likewise.
10351 (CLD_DUMPED): Likewise.
10352 (CLD_TRAPPED): Likewise.
10353 (CLD_STOPPED): Likewise.
10354 (CLD_CONTINUED): Likewise.
10355 (POLL_IN): Likewise.
10356 (POLL_OUT): Likewise.
10357 (POLL_MSG): Likewise.
10358 (POLL_ERR): Likewise.
10359 (POLL_PRI): Likewise.
10360 (POLL_HUP): Likewise.
10361 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10362 (ILL_ILLOPN): Likewise.
10363 (ILL_ILLADR): Likewise.
10364 (ILL_ILLTRP): Likewise.
10365 (ILL_PRVOPC): Likewise.
10366 (ILL_PRVREG): Likewise.
10367 (ILL_COPROC): Likewise.
10368 (ILL_BADSTK): Likewise.
10369 (ILL_DBLFLT): Likewise.
10370 (ILL_HARDWALL): Likewise.
10371 (FPE_INTDIV): Likewise.
10372 (FPE_INTOVF): Likewise.
10373 (FPE_FLTDIV): Likewise.
10374 (FPE_FLTOVF): Likewise.
10375 (FPE_FLTUND): Likewise.
10376 (FPE_FLTRES): Likewise.
10377 (FPE_FLTINV): Likewise.
10378 (FPE_FLTSUB): Likewise.
10379 (SEGV_MAPERR): Likewise.
10380 (SEGV_ACCERR): Likewise.
10381 (BUS_ADRALN): Likewise.
10382 (BUS_ADRERR): Likewise.
10383 (BUS_OBJERR): Likewise.
10384 (BUS_MCEERR_AR): Likewise.
10385 (BUS_MCEERR_AO): Likewise.
10386 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10387 (TRAP_TRACE): Likewise.
10388 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10390 (CLD_KILLED): Likewise.
10391 (CLD_DUMPED): Likewise.
10392 (CLD_TRAPPED): Likewise.
10393 (CLD_STOPPED): Likewise.
10394 (CLD_CONTINUED): Likewise.
10395 (POLL_IN): Likewise.
10396 (POLL_OUT): Likewise.
10397 (POLL_MSG): Likewise.
10398 (POLL_ERR): Likewise.
10399 (POLL_PRI): Likewise.
10400 (POLL_HUP): Likewise.
10401 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10402 (ILL_ILLOPN): Likewise.
10403 (ILL_ILLADR): Likewise.
10404 (ILL_ILLTRP): Likewise.
10405 (ILL_PRVOPC): Likewise.
10406 (ILL_PRVREG): Likewise.
10407 (ILL_COPROC): Likewise.
10408 (ILL_BADSTK): Likewise.
10409 (FPE_INTDIV): Likewise.
10410 (FPE_INTOVF): Likewise.
10411 (FPE_FLTDIV): Likewise.
10412 (FPE_FLTOVF): Likewise.
10413 (FPE_FLTUND): Likewise.
10414 (FPE_FLTRES): Likewise.
10415 (FPE_FLTINV): Likewise.
10416 (FPE_FLTSUB): Likewise.
10417 (SEGV_MAPERR): Likewise.
10418 (SEGV_ACCERR): Likewise.
10419 (BUS_ADRALN): Likewise.
10420 (BUS_ADRERR): Likewise.
10421 (BUS_OBJERR): Likewise.
10422 (BUS_MCEERR_AR): Likewise.
10423 (BUS_MCEERR_AO): Likewise.
10424 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10425 (TRAP_TRACE): Likewise.
10426 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10428 (CLD_KILLED): Likewise.
10429 (CLD_DUMPED): Likewise.
10430 (CLD_TRAPPED): Likewise.
10431 (CLD_STOPPED): Likewise.
10432 (CLD_CONTINUED): Likewise.
10433 (POLL_IN): Likewise.
10434 (POLL_OUT): Likewise.
10435 (POLL_MSG): Likewise.
10436 (POLL_ERR): Likewise.
10437 (POLL_PRI): Likewise.
10438 (POLL_HUP): Likewise.
10439 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10440 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10443 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10444 before #include of <time.h>.
10445 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10446 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10447 (test-xfail-UNIX98/sched.h/conform): Likewise.
10449 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10451 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10452 error absence of trapping exception support.
10453 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10455 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10457 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10458 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10459 * timezone/Makefile (testdata): Move definition above include of
10461 (test-zones): New variable.
10462 (tests-special): Add zone files.
10463 (build-testdata): Use $(evaluate-test).
10465 * elf/Makefile (tests-special): Rename tests to end with .out.
10466 ($(objpfx)noload-mem): Likewise.
10467 ($(objpfx)tst-leaks1-mem): Likewise.
10468 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10469 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10470 $(objpfx)test-iconvconfig.out.
10471 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10472 set -e inside subshell and redirect output to file.
10473 * iconvdata/Makefile (generated): Rename tests to end with .out.
10475 (tests-special): Rename tests to end with .out.
10476 ($(objpfx)mtrace-tst-loading): Likewise.
10477 * intl/Makefile (generated): Likewise.
10478 (tests-special): Likewise.
10479 ($(objpfx)mtrace-tst-gettext): Likewise.
10480 * misc/Makefile (generated): Likewise.
10481 (tests-special): Likewise.
10482 ($(objpfx)tst-error1-mem): Likewise.
10483 * nptl/Makefile (tests-special): Likewise.
10484 ($(objpfx)tst-stack3-mem): Likewise.
10485 (generated): Likewise.
10486 * posix/Makefile (generated): Likewise.
10487 (tests-special): Likewise.
10488 (xtests-special): Likewise.
10489 ($(objpfx)tst-fnmatch-mem): Likewise.
10490 ($(objpfx)bug-regex2-mem): Likewise.
10491 ($(objpfx)bug-regex14-mem): Likewise.
10492 ($(objpfx)bug-regex21-mem): Likewise.
10493 ($(objpfx)bug-regex31-mem): Likewise.
10494 ($(objpfx)tst-vfork3-mem): Likewise.
10495 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10496 ($(objpfx)tst-pcre-mem): Likewise.
10497 ($(objpfx)tst-boost-mem): Likewise.
10498 ($(objpfx)bug-ga2-mem): Likewise.
10499 ($(objpfx)bug-glob2-mem): Likewise.
10500 * resolv/Makefile (generate): Likewise.
10501 (tests-special): Likewise.
10502 (xtests-special): Likewise.
10503 (generated): Likewise.
10504 ($(objpfx)mtrace-tst-leaks): Likewise.
10505 ($(objpfx)mtrace-tst-leaks2): Likewise.
10507 * scripts/merge-test-results.sh: New file.
10508 * Makefile (tests-special-notdir): New variable.
10509 (tests): Run merge-test-results.sh.
10510 (xtests): Likewise.
10511 * Rules (tests-special-notdir): New variable.
10512 (xtests-special-notdir): Likewise.
10513 (tests): Run merge-test-results.sh
10514 (xtests): Likewise.
10516 * Makeconfig (test-xfail-name): New variable.
10517 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10518 compute variable name for expected failures.
10519 * conform/Makefile (conformtest-headers-data): New variable.
10520 (conformtest-standards): Likewise.
10521 (conformtest-headers-ISO): Likewise.
10522 (conformtest-headers-ISO99): Likewise.
10523 (conformtest-headers-ISO11): Likewise.
10524 (conformtest-headers-POSIX): Likewise.
10525 (conformtest-headers-XPG3): Likewise.
10526 (conformtest-headers-XPG4): Likewise.
10527 (conformtest-headers-UNIX98): Likewise.
10528 (conformtest-headers-XOPEN2K): Likewise.
10529 (conformtest-headers-POSIX2008): Likewise.
10530 (conformtest-headers-XOPEN2K8): Likewise.
10531 (conformtest-header-list-base): Likewise.
10532 (conformtest-header-list-tests): Likewise.
10533 (conformtest-header-base): Likewise.
10534 (conformtest-header-tests): Likewise.
10535 (tests-special): Add $(conformtest-header-list-tests). If
10536 [$(fast-check) && !$(cross-compiling)], add
10537 $(conformtest-header-tests) instead of
10538 $(objpfx)run-conformtest.out.
10539 (generated): Add $(conformtest-header-list-base). If
10540 [$(fast-check) && !$(cross-compiling)], add
10541 $(conformtest-header-base). Remove previous setting.
10542 ($(conformtest-header-list-tests)): New target.
10543 (test-xfail-run-conformtest): Remove variable.
10544 ($(objpfx)run-conformtest.out): Remove target.
10545 (test-xfail-ISO11/complex.h/conform): New variable.
10546 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10547 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10548 (test-xfail-XPG3/varargs.h/conform): Likewise.
10549 (test-xfail-XPG4/varargs.h/conform): Likewise.
10550 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10551 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10552 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10553 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10554 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10555 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10556 (test-xfail-XPG3/ftw.h/conform): Likewise.
10557 (test-xfail-XPG3/grp.h/conform): Likewise.
10558 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10559 (test-xfail-XPG3/limits.h/conform): Likewise.
10560 (test-xfail-XPG3/pwd.h/conform): Likewise.
10561 (test-xfail-XPG3/search.h/conform): Likewise.
10562 (test-xfail-XPG3/signal.h/conform): Likewise.
10563 (test-xfail-XPG3/stdio.h/conform): Likewise.
10564 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10565 (test-xfail-XPG3/string.h/conform): Likewise.
10566 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10567 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10568 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10569 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10570 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10571 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10572 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10573 (test-xfail-XPG3/termios.h/conform): Likewise.
10574 (test-xfail-XPG3/time.h/conform): Likewise.
10575 (test-xfail-XPG3/unistd.h/conform): Likewise.
10576 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10577 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10578 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10579 (test-xfail-XPG4/netdb.h/conform): Likewise.
10580 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10581 (test-xfail-XPG4/signal.h/conform): Likewise.
10582 (test-xfail-XPG4/stdio.h/conform): Likewise.
10583 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10584 (test-xfail-XPG4/stropts.h/conform): Likewise.
10585 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10586 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10587 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10588 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10589 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10590 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10591 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10592 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10593 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10594 (test-xfail-XPG4/termios.h/conform): Likewise.
10595 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10596 (test-xfail-XPG4/unistd.h/conform): Likewise.
10597 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10598 (test-xfail-POSIX/sched.h/conform): Likewise.
10599 (test-xfail-POSIX/signal.h/conform): Likewise.
10600 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10601 (test-xfail-POSIX/tar.h/conform): Likewise.
10602 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10603 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10604 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10605 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10606 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10607 (test-xfail-UNIX98/sched.h/conform): Likewise.
10608 (test-xfail-UNIX98/signal.h/conform): Likewise.
10609 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10610 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10611 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10612 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10613 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10614 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10615 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10616 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10617 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10618 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10619 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10620 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10621 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10622 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10623 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10624 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10625 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10626 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10627 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10628 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10629 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10630 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10631 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10632 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10633 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10634 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10635 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10636 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10637 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10638 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10639 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10640 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10641 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10642 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10643 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10644 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10645 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10646 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10647 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10648 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10649 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10650 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10651 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10652 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10653 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10654 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10655 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10656 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10657 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10658 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10659 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10660 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10661 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10662 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10663 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10664 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10665 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10666 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10667 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10668 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10669 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10670 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10671 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10672 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10673 (conformtest-cc-flags): Likewise.
10674 ($(conformtest-header-tests): New target.
10675 * conform/check-header-lists.sh: New file.
10676 * conform/run-conformtest.sh: Remove.
10678 * conform/conformtest.pl: Allow ' and \ in values given for
10680 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10682 [POSIX] (sys/types.h): Likewise.
10683 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10685 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10687 * conform/data/signal.h-data (SIGIO): Remove expectation.
10688 [XPG3] (SIGBUS): Do not expect.
10689 [POSIX || XPG3] (SIGPOLL): Likewise.
10690 [POSIX || XPG3] (SIGPROF): Likewise.
10691 [POSIX || XPG3] (SIGSYS): Likewise.
10692 [XPG3] (SIGTRAP): Likewise.
10693 [POSIX || XPG3] (SIGURG): Likewise.
10694 [POSIX || XPG3] (SIGVTALRM): Likewise.
10695 [POSIX || XPG3] (SIGXCPU): Likewise.
10696 [POSIX || XPG3] (SIGXFSZ): Likewise.
10697 [POSIX] (SA_SIGINFO): Expect.
10698 [XPG3] (siginfo_t): Do not expect type or contents.
10699 [POSIX] (si_pid): Do not expect element.
10700 [POSIX] (si_uid): Likewise.
10701 [POSIX] (si_addr): Likewise.
10702 [POSIX] (si_status): Likewise.
10703 [POSIX] (si_band): Likewise.
10704 [XPG4] (si_value): Likewise.
10705 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10706 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10707 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10708 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10709 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10710 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10711 [POSIX || XPG3] (ILL_COPROC): Likewise.
10712 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10713 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10714 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10715 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10716 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10717 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10718 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10719 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10720 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10721 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10722 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10723 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10724 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10725 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10726 [POSIX || XPG3] (CLD_EXITED): Likewise.
10727 [POSIX || XPG3] (CLD_KILLED): Likewise.
10728 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10729 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10730 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10731 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10732 [POSIX || XPG3] (POLL_IN): Likewise.
10733 [POSIX || XPG3] (POLL_OUT): Likewise.
10734 [POSIX || XPG3] (POLL_MSG): Likewise.
10735 [POSIX || XPG3] (POLL_ERR): Likewise.
10736 [POSIX || XPG3] (POLL_PRI): Likewise.
10737 [POSIX || XPG3] (POLL_HUP): Likewise.
10738 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10739 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10740 (SIG*): Do not allow.
10741 [XPG3] (si_*): Likewise.
10742 [XPG3] (SI_*): Likewise.
10743 [XPG3 || XPG4] (sigev_*): Likewise.
10744 [XPG3 || XPG4] (SIGEV_*): Likewise.
10745 [XPG3 || XPG4] (sival_*): Likewise.
10746 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10747 [POSIX || XPG3] (BUS_*): Likewise.
10748 [POSIX || XPG3] (CLD_*): Likewise.
10749 [POSIX || XPG3] (FPE_*): Likewise.
10750 [POSIX || XPG3] (ILL_*): Likewise.
10751 [POSIX || XPG3] (POLL_*): Likewise.
10752 [POSIX || XPG3] (SEGV_*): Likewise.
10753 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10754 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10755 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10756 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10757 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10758 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10759 Specify type and value.
10760 (TVERSLEN): Likewise.
10761 (REGTYPE): Likewise.
10762 (AREGTYPE): Likewise.
10763 (LNKTYPE): Likewise.
10764 (SYMTYPE): Likewise.
10765 (CHRTYPE): Likewise.
10766 (BLKTYPE): Likewise.
10767 (DIRTYPE): Likewise.
10768 (FIFOTYPE): Likewise.
10769 (CONTTYPE): Likewise.
10773 (TUREAD): Likewise.
10774 (TUWRITE): Likewise.
10775 (TUEXEC): Likewise.
10776 (TGREAD): Likewise.
10777 (TGWRITE): Likewise.
10778 (TGEXEC): Likewise.
10779 (TOREAD): Likewise.
10780 (TOWRITE): Likewise.
10781 (TOEXEC): Likewise.
10782 [POSIX] (TSVTX): Expect constant.
10784 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10786 * Makefile (tests): Change dependencies to ....
10787 (tests-special): ... additions to this variable.
10788 (tests): Depend on $(tests-special).
10789 * Makerules (check-abi-list): New variable.
10790 (check-abi): Depend on $(check-abi-list).
10791 [$(subdir) = elf] (tests-special): Add
10792 $(objpfx)check-abi-libc.out.
10793 [$(build-shared) = yes && subdir] (tests-special): Add
10795 [$(build-shared) = yes && subdir] (tests): Do not depend on
10797 * Rules (tests): Depend on $(tests-special).
10798 (xtests): Depend on $(xtests-special).
10799 * catgets/Makefile (tests): Change dependencies to ....
10800 (tests-special): ... additions to this variable.
10801 * conform/Makefile (tests): Change dependencies to ....
10802 (tests-special): ... additions to this variable.
10803 * elf/Makefile (tests): Change dependencies to ....
10804 (tests-special): ... additions to this variable.
10805 * grp/Makefile (tests): Change dependencies to ....
10806 (tests-special): ... additions to this variable.
10807 * iconv/Makefile (xtests): Change dependencies to ....
10808 (xtests-special): ... additions to this variable.
10809 * iconvdata/Makefile (tests): Change dependencies to ....
10810 (tests-special): ... additions to this variable.
10811 * intl/Makefile (tests): Change dependencies to ....
10812 (tests-special): ... additions to this variable. Also add
10813 $(objpfx)tst-gettext.out.
10814 * io/Makefile (tests): Change dependencies to ....
10815 (tests-special): ... additions to this variable.
10816 * libio/Makefile (tests): Change dependencies to ....
10817 (tests-special): ... additions to this variable.
10818 * malloc/Makefile (tests): Change dependencies to ....
10819 (tests-special): ... additions to this variable.
10820 * misc/Makefile (tests): Change dependencies to ....
10821 (tests-special): ... additions to this variable.
10822 * nptl/Makefile (tests): Change dependencies to ....
10823 (tests-special): ... additions to this variable.
10824 * nptl_db/Makefile (tests): Change dependencies to ....
10825 (tests-special): ... additions to this variable.
10826 * posix/Makefile (tests): Change dependencies to ....
10827 (tests-special): ... additions to this variable.
10828 (xtests): Change dependencies to ....
10829 (xtests-special): ... additions to this variable.
10830 * resolv/Makefile (tests): Change dependencies to ....
10831 (tests-special): ... additions to this variable.
10832 (xtests): Change dependencies to ....
10833 (xtests-special): ... additions to this variable.
10834 * stdio-common/Makefile (tests): Change dependencies to ....
10835 (tests-special): ... additions to this variable.
10836 (do-tst-unbputc): Remove target.
10837 (do-tst-printf): Likewise.
10838 * stdlib/Makefile (tests): Change dependencies to ....
10839 (tests-special): ... additions to this variable.
10840 * string/Makefile (tests): Change dependencies to ....
10841 (tests-special): ... additions to this variable.
10842 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10843 (tests-special): ... additions to this variable.
10845 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10847 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10849 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10850 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10852 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10853 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10854 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10855 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10856 * conform/data/libgen.h-data [XPG3]: Likewise.
10857 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10858 * conform/data/ndbm.h-data [XPG3]: Likewise.
10859 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10860 * conform/data/netdb.h-data [XPG3]: Likewise.
10861 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10862 * conform/data/poll.h-data [XPG3]: Likewise.
10863 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10864 * conform/data/strings.h-data [XPG3]: Likewise.
10865 * conform/data/stropts.h-data [XPG3]: Likewise.
10866 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10867 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10868 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10870 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10871 * conform/data/sys/time.h-data [XPG3]: Likewise.
10872 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10873 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10874 * conform/data/sys/un.h-data [XPG3]: Likewise.
10875 * conform/data/syslog.h-data [XPG3]: Likewise.
10876 * conform/data/ucontext.h-data [XPG3]: Likewise.
10877 * conform/data/utmpx.h-data [XPG3]: Likewise.
10878 * conform/data/varargs.h-data [UNIX98]: Enable file.
10880 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10882 * math/libm-test.inc (struct test_f_f_data): Move expected results
10883 into structure for each rounding mode.
10884 (struct test_ff_f_data): Likewise.
10885 (struct test_ff_f_data_nexttoward): Likewise.
10886 (struct test_fi_f_data): Likewise.
10887 (struct test_fl_f_data): Likewise.
10888 (struct test_if_f_data): Likewise.
10889 (struct test_fff_f_data): Likewise.
10890 (struct test_c_f_data): Likewise.
10891 (struct test_f_f1_data): Likewise.
10892 (struct test_fF_f1_data): Likewise.
10893 (struct test_ffI_f1_data): Likewise.
10894 (struct test_c_c_data): Likewise.
10895 (struct test_cc_c_data): Likewise.
10896 (struct test_f_i_data): Likewise.
10897 (struct test_ff_i_data): Likewise.
10898 (struct test_f_l_data): Likewise.
10899 (struct test_f_L_data): Likewise.
10900 (struct test_fFF_11_data): Likewise.
10902 (RM_FE_DOWNWARD): Likewise.
10903 (RM_FE_TONEAREST): Likewise.
10904 (RM_FE_TOWARDZERO): Likewise.
10905 (RM_FE_UPWARD): Likewise.
10906 (RUN_TEST_LOOP_f_f): Update references to expected results.
10907 (RUN_TEST_LOOP_2_f): Likewise.
10908 (RUN_TEST_LOOP_fff_f): Likewise.
10909 (RUN_TEST_LOOP_c_f): Likewise.
10910 (RUN_TEST_LOOP_f_f1): Likewise.
10911 (RUN_TEST_LOOP_fF_f1): Likewise.
10912 (RUN_TEST_LOOP_fI_f1): Likewise.
10913 (RUN_TEST_LOOP_ffI_f1): Likewise.
10914 (RUN_TEST_LOOP_c_c): Likewise.
10915 (RUN_TEST_LOOP_cc_c): Likewise.
10916 (RUN_TEST_LOOP_f_i): Likewise.
10917 (RUN_TEST_LOOP_f_i_tg): Likewise.
10918 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10919 (RUN_TEST_LOOP_f_b): Likewise.
10920 (RUN_TEST_LOOP_f_b_tg): Likewise.
10921 (RUN_TEST_LOOP_f_l): Likewise.
10922 (RUN_TEST_LOOP_f_L): Likewise.
10923 (RUN_TEST_LOOP_fFF_11): Likewise.
10924 * math/gen-libm-test.pl (parse_args): Output four copies of
10925 expected results for each test.
10927 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10928 (__ASSUME_UTIMES): Remove.
10929 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10930 (__ASSUME_UTIMES): Likewise.
10932 * math/gen-auto-libm-tests.c: Update comment on output format.
10933 (output_for_one_input_case): Generate before-rounding and
10934 after-rounding information as conditions on output flags not
10935 floating-point format.
10936 * math/auto-libm-test-out: Regenerated.
10937 * math/gen-libm-test.pl (cond_value): New function.
10938 (or_cond_value): Use cond_value.
10939 (generate_testfile): Handle conditional exceptions.
10941 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10943 * math/libm-test.inc (max_valid_error): New variable.
10944 (init_max_error): Take new argument specifying whether function
10945 results are exactly determined. Set max_valid_error and bound
10946 other variables for errors based on this argument.
10947 (set_max_error): Do not record results above max_valid_error.
10948 (check_float_internal): Only accept errors of up to 0.5ulps if
10949 also at most max_valid_error.
10950 (START): Take new argument EXACT and pass it to init_max_error.
10951 (acos_test): Update call to START.
10952 (acos_test_tonearest): Likewise.
10953 (acos_test_towardzero): Likewise.
10954 (acos_test_downward): Likewise.
10955 (acos_test_upward): Likewise.
10956 (acosh_test): Likewise.
10957 (asin_test): Likewise.
10958 (asin_test_tonearest): Likewise.
10959 (asin_test_towardzero): Likewise.
10960 (asin_test_downward): Likewise.
10961 (asin_test_upward): Likewise.
10962 (asinh_test): Likewise.
10963 (atan_test): Likewise.
10964 (atanh_test): Likewise.
10965 (atan2_test): Likewise.
10966 (cabs_test): Likewise.
10967 (cacos_test): Likewise.
10968 (cacosh_test): Likewise.
10969 (carg_test): Likewise.
10970 (casin_test): Likewise.
10971 (casinh_test): Likewise.
10972 (catan_test): Likewise.
10973 (catanh_test): Likewise.
10974 (cbrt_test): Likewise.
10975 (ccos_test): Likewise.
10976 (ccosh_test): Likewise.
10977 (ceil_test): Likewise.
10978 (cexp_test): Likewise.
10979 (cimag_test): Likewise.
10980 (clog_test): Likewise.
10981 (clog10_test): Likewise.
10982 (conj_test): Likewise.
10983 (copysign_test): Likewise.
10984 (cos_test): Likewise.
10985 (cos_test_tonearest): Likewise.
10986 (cos_test_towardzero): Likewise.
10987 (cos_test_downward): Likewise.
10988 (cos_test_upward): Likewise.
10989 (cosh_test): Likewise.
10990 (cosh_test_tonearest): Likewise.
10991 (cosh_test_towardzero): Likewise.
10992 (cosh_test_downward): Likewise.
10993 (cosh_test_upward): Likewise.
10994 (cpow_test): Likewise.
10995 (cproj_test): Likewise.
10996 (creal_test): Likewise.
10997 (csin_test): Likewise.
10998 (csinh_test): Likewise.
10999 (csqrt_test): Likewise.
11000 (ctan_test): Likewise.
11001 (ctan_test_tonearest): Likewise.
11002 (ctan_test_towardzero): Likewise.
11003 (ctan_test_downward): Likewise.
11004 (ctan_test_upward): Likewise.
11005 (ctanh_test): Likewise.
11006 (ctanh_test_tonearest): Likewise.
11007 (ctanh_test_towardzero): Likewise.
11008 (ctanh_test_downward): Likewise.
11009 (ctanh_test_upward): Likewise.
11010 (erf_test): Likewise.
11011 (erfc_test): Likewise.
11012 (exp_test): Likewise.
11013 (exp_test_tonearest): Likewise.
11014 (exp_test_towardzero): Likewise.
11015 (exp_test_downward): Likewise.
11016 (exp_test_upward): Likewise.
11017 (exp10_test): Likewise.
11018 (exp10_test_tonearest): Likewise.
11019 (exp10_test_towardzero): Likewise.
11020 (exp10_test_downward): Likewise.
11021 (exp10_test_upward): Likewise.
11022 (pow10_test): Likewise.
11023 (exp2_test): Likewise.
11024 (expm1_test): Likewise.
11025 (expm1_test_tonearest): Likewise.
11026 (expm1_test_towardzero): Likewise.
11027 (expm1_test_downward): Likewise.
11028 (expm1_test_upward): Likewise.
11029 (fabs_test): Likewise.
11030 (fdim_test): Likewise.
11031 (floor_test): Likewise.
11032 (fma_test): Likewise.
11033 (fma_test_towardzero): Likewise.
11034 (fma_test_downward): Likewise.
11035 (fma_test_upward): Likewise.
11036 (fmax_test): Likewise.
11037 (fmin_test): Likewise.
11038 (fmod_test): Likewise.
11039 (fpclassify_test): Likewise.
11040 (frexp_test): Likewise.
11041 (hypot_test): Likewise.
11042 (ilogb_test): Likewise.
11043 (isfinite_test): Likewise.
11044 (finite_test): Likewise.
11045 (isgreater_test): Likewise.
11046 (isgreaterequal_test): Likewise.
11047 (isinf_test): Likewise.
11048 (isless_test): Likewise.
11049 (islessequal_test): Likewise.
11050 (islessgreater_test): Likewise.
11051 (isnan_test): Likewise.
11052 (isnormal_test): Likewise.
11053 (issignaling_test): Likewise.
11054 (isunordered_test): Likewise.
11055 (j0_test): Likewise.
11056 (j1_test): Likewise.
11057 (jn_test): Likewise.
11058 (ldexp_test): Likewise.
11059 (lgamma_test): Likewise.
11060 (gamma_test): Likewise.
11061 (lrint_test): Likewise.
11062 (lrint_test_tonearest): Likewise.
11063 (lrint_test_towardzero): Likewise.
11064 (lrint_test_downward): Likewise.
11065 (lrint_test_upward): Likewise.
11066 (llrint_test): Likewise.
11067 (llrint_test_tonearest): Likewise.
11068 (llrint_test_towardzero): Likewise.
11069 (llrint_test_downward): Likewise.
11070 (llrint_test_upward): Likewise.
11071 (log_test): Likewise.
11072 (log10_test): Likewise.
11073 (log1p_test): Likewise.
11074 (log2_test): Likewise.
11075 (logb_test): Likewise.
11076 (logb_test_downward): Likewise.
11077 (lround_test): Likewise.
11078 (llround_test): Likewise.
11079 (modf_test): Likewise.
11080 (nearbyint_test): Likewise.
11081 (nextafter_test): Likewise.
11082 (nexttoward_test): Likewise.
11083 (pow_test): Likewise.
11084 (pow_test_tonearest): Likewise.
11085 (pow_test_towardzero): Likewise.
11086 (pow_test_downward): Likewise.
11087 (pow_test_upward): Likewise.
11088 (remainder_test): Likewise.
11089 (drem_test): Likewise.
11090 (remainder_test_tonearest): Likewise.
11091 (drem_test_tonearest): Likewise.
11092 (remainder_test_towardzero): Likewise.
11093 (drem_test_towardzero): Likewise.
11094 (remainder_test_downward): Likewise.
11095 (drem_test_downward): Likewise.
11096 (remainder_test_upward): Likewise.
11097 (drem_test_upward): Likewise.
11098 (remquo_test): Likewise.
11099 (rint_test): Likewise.
11100 (rint_test_tonearest): Likewise.
11101 (rint_test_towardzero): Likewise.
11102 (rint_test_downward): Likewise.
11103 (rint_test_upward): Likewise.
11104 (round_test): Likewise.
11105 (scalb_test): Likewise.
11106 (scalbn_test): Likewise.
11107 (scalbln_test): Likewise.
11108 (signbit_test): Likewise.
11109 (sin_test): Likewise.
11110 (sin_test_tonearest): Likewise.
11111 (sin_test_towardzero): Likewise.
11112 (sin_test_downward): Likewise.
11113 (sin_test_upward): Likewise.
11114 (sincos_test): Likewise.
11115 (sinh_test): Likewise.
11116 (sinh_test_tonearest): Likewise.
11117 (sinh_test_towardzero): Likewise.
11118 (sinh_test_downward): Likewise.
11119 (sinh_test_upward): Likewise.
11120 (sqrt_test): Likewise.
11121 (sqrt_test_tonearest): Likewise.
11122 (sqrt_test_towardzero): Likewise.
11123 (sqrt_test_downward): Likewise.
11124 (sqrt_test_upward): Likewise.
11125 (tan_test): Likewise.
11126 (tan_test_tonearest): Likewise.
11127 (tan_test_towardzero): Likewise.
11128 (tan_test_downward): Likewise.
11129 (tan_test_upward): Likewise.
11130 (tanh_test): Likewise.
11131 (tgamma_test): Likewise.
11132 (trunc_test): Likewise.
11133 (y0_test): Likewise.
11134 (y1_test): Likewise.
11135 (yn_test): Likewise.
11136 (significand_test): Likewise.
11138 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11139 individual tests in comment.
11140 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11141 (prev_max_error): New variable.
11142 (prev_real_max_error): Likewise.
11143 (prev_imag_max_error): Likewise.
11144 (compare_ulp_data): Don't refer to test names in comment.
11145 (find_test_ulps): Remove function.
11146 (find_function_ulps): Likewise.
11147 (find_complex_function_ulps): Likewise.
11148 (init_max_error): Take function name as argument. Look up ulps
11150 (print_ulps): Remove function.
11151 (print_max_error): Use prev_max_error instead of calling
11152 find_function_ulps.
11153 (print_complex_max_error): Use prev_real_max_error and
11154 prev_imag_max_error instead of calling find_complex_function_ulps.
11155 (check_float_internal): Take max_ulp parameter instead of calling
11156 find_test_ulps. Don't call print_ulps.
11157 (check_float): Update call to check_float_internal.
11158 (check_complex): Update calls to check_float_internal.
11159 (START): Pass argument to init_max_error.
11160 * math/gen-libm-test.pl (%results): Don't include "kind"
11162 (parse_ulps): Don't handle ulps of individual tests.
11163 (print_ulps_file): Likewise.
11164 (output_ulps): Likewise.
11165 * math/README.libm-test: Update.
11166 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11168 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11169 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11170 * sysdeps/arm/libm-test-ulps: Likewise.
11171 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11172 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11173 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11174 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11175 * sysdeps/microblaze/libm-test-ulps: Likewise.
11176 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11177 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11179 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11180 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11181 * sysdeps/sh/libm-test-ulps: Likewise.
11182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11183 * sysdeps/tile/libm-test-ulps: Likewise.
11184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11186 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11188 * math/libm-test.inc (print_complex_max_error): Check separately
11189 whether real and imaginary errors are within allowed range and
11190 pass 0 to print_complex_function_ulps instead of value within
11193 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11195 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11197 (get_handles_fopen): Likewise.
11198 (do_write_test): Likewise.
11200 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11202 * libio/fileops.c (do_ftell): Use cached offset when
11204 * libio/iofwide.c (do_ftell_wide): Likewise.
11205 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11207 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11210 * libio/libioP.h (get_file_offset): New function.
11211 * libio/fileops.c (get_file_offset): Likewise.
11212 (do_ftell): Likewise.
11213 (_IO_new_file_seekoff): Split out ftell logic.
11214 * libio/wfileops.c (do_ftell_wide): Likewise.
11215 (_IO_wfile_seekoff): Split out ftell logic.
11216 * libio/tst-ftell-active-handler.c: New test case.
11217 * libio/Makefile (tests): Add it.
11219 2014-03-03 Roland McGrath <roland@hack.frob.com>
11221 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11222 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11224 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11227 * nscd/connections.c (nscd_init): Call do_exit.
11228 (start_threads): Call do_exit and notify_parent.
11229 (begin_drop_privileges): Call do_exit.
11230 (finish_drop_privileges): Likewise.
11231 * nscd/selinux.c (preserve_capabilities): Likewise.
11232 (install_real_capabilities): Likewise.
11233 (nscd_selinux_enabled): Likewise.
11234 (avc_create_thread): Likewise.
11235 (avc_alloc_lock): Likewise.
11236 (nscd_avc_init): Likewise.
11237 * nscd/nscd.c (parent_fd): New static variable.
11238 (main): Create a pipe between parent and child processes.
11239 Skip closing parent_fd.
11240 (monitor_child): New function.
11241 (do_exit): Likewise.
11242 (notify_parent): Likewise.
11243 * nscd/nscd.h (notify_parent): Likewise.
11244 (do_exit): Likewise.
11246 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11248 * malloc/malloc.c (__libc_calloc): Revert last change.
11250 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11254 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11256 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11260 (__libc_ifunc_impl_list): Likewise.
11261 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11263 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11264 * string/strrchr.c: Define STRRCHR.
11266 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11268 * benchtest/bench-strtok.c (simple_strtok): Delete.
11269 (strtok_string): Use as benchmark.
11270 * string/strtok (STRTOK): New macro.
11272 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11274 * manual/threads.texi: Add header and standard comments to all
11277 * elf/dl-lookup.c (check_match): New function.
11278 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11279 (do_lookup_x): Remove nested function check_match. Use non-nested
11280 function check_match.
11282 2014-02-28 Roland McGrath <roland@hack.frob.com>
11284 * csu/Makefile (generated, before-compile): Use += rather than =.
11285 * catgets/Makefile (generated, generated-dirs): Likewise.
11286 * debug/Makefile (generated): Likewise.
11287 * dlfcn/Makefile (generated): Likewise.
11288 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11289 * iconvdata/Makefile (before-compile, generated): Likewise.
11290 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11291 * libio/Makefile (generated): Likewise.
11292 * malloc/Makefile (generated): Likewise.
11293 * manual/Makefile (generated, generated-dirs): Likewise.
11294 * misc/Makefile (generated): Likewise.
11295 * posix/Makefile (generated): Likewise.
11296 * resolv/Makefile (generated): Likewise.
11297 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11298 * timezone/Makefile (generated, generated-dirs): Likewise.
11300 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11302 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11305 power8 implementation.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11307 file: POWER8 llround ifunc implementation.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11309 (__lllround): Add POWER8 implementation.
11310 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11311 POWER8 llround implementation.
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11314 power8 implementation.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11316 file: POWER8 llrint ifunc implementation.
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11318 Add POWER8 implementation.
11319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11320 POWER8 llrint implementation.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11323 power8 implementation.
11324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11325 file: POWER8 finite ifunc implementation.
11326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11327 Add POWER8 implementation.
11328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11330 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11331 POWER8 finite implementation.
11332 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11335 power8 implementation.
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11337 file: POWER8 isinf ifunc implementation.
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11339 POWER8 implementation.
11340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11343 isinf implementation.
11344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11346 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11347 (INIT_ARCH): Add hwcap2 initialization.
11348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11349 power8 implementation.
11350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11351 file: POWER8 isnan ifunc implementation.
11352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11353 POWER8 implementation.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11357 isnan implementation.
11358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11360 2014-02-27 Joey Ye <joey.ye@arm.com>
11362 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11363 (_FP_NANFRAC_Q): Set to zero.
11365 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11368 * math/auto-libm-test-in: New test inputs.
11369 * math/auto-libm-test-out: Regenerate.
11370 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11375 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11377 * scripts/evaluate-test.sh: Take new argument indicating whether
11378 failure is expected.
11379 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11380 indicating whether failure is expected.
11381 * conform/Makefile (test-xfail-run-conformtest): New variable.
11382 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11384 * posix/Makefile (test-xfail-annexc): New variable.
11385 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11387 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11389 * argp/Makefile: Include Makeconfig immediately after defining
11391 * assert/Makefile: Likewise.
11392 * benchtests/Makefile: Likewise.
11393 * catgets/Makefile: Likewise.
11394 * conform/Makefile: Likewise.
11395 * crypt/Makefile: Likewise.
11396 * csu/Makefile: Likewise.
11397 (all): Remove target.
11398 * ctype/Makefile: Include Makeconfig immediately after defining
11400 * debug/Makefile: Likewise.
11401 * dirent/Makefile: Likewise.
11402 * dlfcn/Makefile: Likewise.
11403 * gmon/Makefile: Likewise.
11404 * gnulib/Makefile: Likewise.
11405 * grp/Makefile: Likewise.
11406 * gshadow/Makefile: Likewise.
11407 * hesiod/Makefile: Likewise.
11408 * hurd/Makefile: Likewise.
11409 (all): Remove target.
11410 * iconvdata/Makefile: Include Makeconfig immediately after
11412 * inet/Makefile: Likewise.
11413 * intl/Makefile: Likewise.
11414 * io/Makefile: Likewise.
11415 * libio/Makefile: Likewise.
11416 (all): Remove target.
11417 * locale/Makefile: Include Makeconfig immediately after defining
11419 * login/Makefile: Likewise.
11420 * mach/Makefile: Likewise.
11421 (all): Remove target.
11422 * malloc/Makefile: Include Makeconfig immediately after defining
11424 (all): Remove target.
11425 * manual/Makefile: Include Makeconfig immediately after defining
11427 * math/Makefile: Likewise.
11428 * misc/Makefile: Likewise.
11429 * nis/Makefile: Likewise.
11430 * nss/Makefile: Likewise.
11431 * po/Makefile: Likewise.
11432 (all): Remove target.
11433 * posix/Makefile: Include Makeconfig immediately after defining
11435 * pwd/Makefile: Likewise.
11436 * resolv/Makefile: Likewise.
11437 * resource/Makefile: Likewise.
11438 * rt/Makefile: Likewise.
11439 * setjmp/Makefile: Likewise.
11440 * shadow/Makefile: Likewise.
11441 * signal/Makefile: Likewise.
11442 * socket/Makefile: Likewise.
11443 * soft-fp/Makefile: Likewise.
11444 * stdio-common/Makefile: Likewise.
11445 * stdlib/Makefile: Likewise.
11446 * streams/Makefile: Likewise.
11447 * string/Makefile: Likewise.
11448 * sunrpc/Makefile: Likewise.
11449 (all): Remove target.
11450 * sysvipc/Makefile: Include Makeconfig immediately after defining
11452 * termios/Makefile: Likewise.
11453 * time/Makefile: Likewise.
11454 * timezone/Makefile: Likewise.
11455 (all): Remove target.
11456 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11458 * wctype/Makefile: Likewise.
11460 2014-02-26 Steve Ellcey <sellcey@mips.com>
11462 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11463 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11464 (libc_feholdexcept_setround_mips): Ditto.
11465 (libc_feholdsetround): New.
11466 (libc_feholdsetroundf): New.
11467 (libc_feholdsetroundl): New.
11468 (libc_feupdateenv_test_mips): New.
11469 (libc_feupdateenv_test): New.
11470 (libc_feupdateenv_testf): New.
11471 (libc_feupdateenv_testl): New.
11472 (libc_feresetround): New.
11473 (libc_feresetroundf): New.
11474 (libc_feresetroundl): New.
11475 (libc_fetestexcept_mips): New.
11476 (libc_fetestexcept): New.
11477 (libc_fetestexceptf): New.
11478 (libc_fetestexceptl): New.
11479 (HAVE_RM_CTX): New.
11480 (libc_feholdexcept_setround_mips_ctx): New.
11481 (libc_feholdexcept_setround_ctx): New.
11482 (libc_feholdexcept_setroundf_ctx): New.
11483 (libc_feholdexcept_setroundl_ctx): New.
11484 (libc_fesetenv_mips_ctx): New.
11485 (libc_fesetenv_ctx): New.
11486 (libc_fesetenv_ctxf): New.
11487 (libc_fesetenv_ctxl): New.
11488 (libc_feupdateenv_mips_ctx): New.
11489 (libc_feupdateenv_ctx): New.
11490 (libc_feupdateenvf_ctx): New.
11491 (libc_feupdateenvl_ctx): New.
11492 (libc_feholdsetround_mips_ctx): New.
11493 (libc_feholdsetround_ctx): New.
11494 (libc_feholdsetroundf_ctx): New.
11495 (libc_feholdsetroundl_ctx): New.
11496 (libc_feresetround_mips_ctx): New.
11497 (libc_feresetround_ctx): New.
11498 (libc_feresetroundf_ctx): New.
11499 (libc_feresetroundl_ctx): New.
11501 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11503 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11505 * manual/ipc.texi: New file.
11506 * manual/Makefile (chapters): Add ipc.
11507 * manual/job.texi: Add "Inter-Process Communication" to next.
11508 * manual/process.texi: Add "Inter-Process Communication" to prev.
11510 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11514 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11516 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11518 * manual/arith.texi: Fix spaces after sentences.
11519 * manual/charset.texi: Likewise.
11520 * manual/errno.texi: Likewise.
11521 * manual/install.texi: Likewise.
11522 * manual/llio.texi: Likewise.
11523 * manual/locale.texi: Likewise.
11524 * manual/maint.texi: Likewise.
11525 * manual/math.texi: Likewise.
11526 * manual/memory.texi: Likewise.
11527 * manual/message.texi: Likewise.
11528 * manual/probes.texi: Likewise.
11529 * manual/resource.texi: Likewise.
11530 * manual/signal.texi: Likewise.
11531 * manual/socket.texi: Likewise.
11532 * manual/stdio.texi: Likewise.
11533 * manual/string.texi: Likewise.
11534 * manual/time.texi: Likewise.
11535 * manual/users.texi: Likewise.
11537 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11540 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11541 _DEFAULT_SOURCE is defined.
11543 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11544 Carlos O'Donell <carlos@redhat.com>
11547 * elf/dl-tls.c (_dl_count_modids): New function.
11548 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11549 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11550 audit library and increment generation counter.
11551 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11552 * elf/tst-audit9.c: New file.
11553 * elf/tst-auditmod9a.c: New file.
11554 * elf/tst-auditmod9b.c: New file.
11555 * elf/Makefile: Add rules to build and run tst-audit9.
11557 2014-02-25 Florian Weimer <fweimer@redhat.com>
11560 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11562 2014-02-25 Will Newton <will.newton@linaro.org>
11564 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11565 (__longjmp): Restore sp and lr before restoring callee
11566 saved registers. Add longjmp and longjmp_target
11567 SystemTap probe point.
11568 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11569 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11570 Define to zero to match jmpbuf layout.
11571 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11572 (__sigsetjmp): Save sp and lr before saving callee
11573 saved registers. Add setjmp SystemTap probe point.
11575 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11579 2014-02-24 Andreas Schwab <schwab@suse.de>
11582 * elf/pldd.c (wait_for_ptrace_stop): New function.
11583 (main): Call it after attaching.
11585 2014-02-22 Roland McGrath <roland@hack.frob.com>
11587 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11588 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11589 Versions files is now verboten.
11590 * hurd/Versions (libc: GLIBC_2.0):
11591 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11592 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11593 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11594 * mach/Versions: Likewise.
11596 * csu/Versions: Remove unused %include.
11597 * resolv/Versions: Likewise.
11599 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11601 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11602 ($(objpfx)check-local-headers.out): Likewise.
11603 ($(objpfx)begin-end-check.out): Likewise.
11604 * Makerules (check-abi-%.out): Likewise.
11605 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11606 ($(objpfx)test2.cat): Likewise.
11607 ($(objpfx)de/libc.cat): Likewise.
11608 ($(objpfx)test-gencat.out): Likewise.
11609 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11610 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11611 ($(objpfx)noload-mem): Likewise.
11612 ($(objpfx)tst-pathopt.out): Likewise.
11613 ($(objpfx)tst-rtld-load-self.out): Likewise.
11614 ($(objpfx)tst-array1-cmp.out): Likewise.
11615 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11616 ($(objpfx)tst-array2-cmp.out): Likewise.
11617 ($(objpfx)tst-array3-cmp.out): Likewise.
11618 ($(objpfx)tst-array4-cmp.out): Likewise.
11619 ($(objpfx)tst-array5-cmp.out): Likewise.
11620 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11621 ($(objpfx)check-textrel.out): Likewise.
11622 ($(objpfx)check-execstack.out): Likewise.
11623 ($(objpfx)check-localplt.out): Likewise.
11624 ($(objpfx)order2-cmp.out): Likewise.
11625 ($(objpfx)tst-leaks1-mem): Likewise.
11626 ($(objpfx)tst-leaks1-static-mem): Likewise.
11627 ($(objpfx)tst-initorder-cmp.out): Likewise.
11628 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11629 ($(objpfx)tst-unused-dep.out): Likewise.
11630 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11631 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11632 * iconv/Makefile (test-iconvconfig): Likewise.
11633 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11634 ($(objpfx)iconv-test.out): Likewise.
11635 ($(objpfx)tst-tables.out): Likewise.
11636 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11637 ($(objpfx)tst-gettext.out): Likewise.
11638 ($(objpfx)tst-translit.out): Likewise.
11639 ($(objpfx)tst-gettext2.out): Likewise.
11640 ($(objpfx)tst-gettext4.out): Likewise.
11641 ($(objpfx)tst-gettext6.out): Likewise.
11642 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11643 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11644 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11645 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11647 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11648 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11649 ($(objpfx)wordexp-tst.out): Likewise.
11650 ($(objpfx)annexc.out): Likewise.
11651 ($(objpfx)tst-fnmatch-mem): Likewise.
11652 ($(objpfx)bug-regex2-mem): Likewise.
11653 ($(objpfx)bug-regex14-mem): Likewise.
11654 ($(objpfx)bug-regex21-mem): Likewise.
11655 ($(objpfx)bug-regex31-mem): Likewise.
11656 ($(objpfx)tst-vfork3-mem): Likewise.
11657 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11658 ($(objpfx)tst-pcre-mem): Likewise.
11659 ($(objpfx)tst-boost-mem): Likewise.
11660 ($(objpfx)tst-getconf.out): Likewise.
11661 ($(objpfx)bug-ga2-mem): Likewise.
11662 ($(objpfx)bug-glob2-mem): Likewise.
11663 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11664 ($(objpfx)mtrace-tst-leaks2): Likewise.
11665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11666 ($(objpfx)tst-printf.out): Likewise.
11667 ($(objpfx)tst-setvbuf1.out): Likewise.
11668 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11669 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11670 ($(objpfx)tst-fmtmsg.out): Likewise.
11671 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11672 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11674 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11675 * bits/sigaction.h [__USE_MISC]: Likewise.
11676 * bits/waitstatus.h: Update #endif comments.
11677 * ctype/ctype.h: Likewise.
11678 * dirent/dirent.h: Likewise.
11679 [__USE_MISC]: Remove redundant conditionals.
11680 * grp/grp.h: Update #endif comments.
11681 [__USE_GNU]: Remove redundant conditionals.
11682 [__USE_MISC]: Likewise.
11683 * inet/netinet/in.h [__USE_GNU]: Likewise.
11684 * io/sys/stat.h [__USE_MISC]: Likewise.
11685 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11686 * libio/bits/stdio.h: Update #endif comments.
11687 [__USE_MISC]: Remove redundant conditionals.
11688 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11689 * libio/stdio.h: Update #endif comments.
11690 [__USE_MISC]: Remove redundant conditionals.
11691 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11692 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11693 * math/math.h: Update #else and #endif comments.
11694 [__USE_MISC]: Remove redundant conditionals.
11695 * misc/sys/uio.h: Update #endif comments.
11696 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11697 * posix/glob.h [__USE_MISC]: Likewise.
11698 * posix/sys/types.h: Update #endif comments.
11699 [__USE_MISC]: Remove redundant conditionals.
11700 * posix/sys/wait.h: Update #endif comments.
11701 [__USE_MISC]: Remove redundant conditionals.
11702 * posix/unistd.h: Update #endif comments.
11703 [__USE_MISC]: Remove redundant conditionals.
11704 * pwd/pwd.h [__USE_GNU]: Likewise.
11705 [__USE_MISC]: Likewise.
11706 * resolv/netdb.h [__USE_GNU]: Likewise.
11707 * signal/signal.h: Update #endif comments.
11708 [__USE_MISC]: Remove redundant conditionals.
11709 * stdlib/stdlib.h: Update #else and #endif comments.
11710 [__USE_MISC]: Remove redundant conditionals.
11711 [__USE_GNU]: Likewise.
11712 * string/bits/string2.h [__USE_MISC]: Likewise.
11713 * string/string.h: Update #endif comments.
11714 [__USE_MISC]: Remove redundant conditionals.
11715 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11717 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11718 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11719 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11721 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11725 [__USE_MISC]: Remove redundant conditionals.
11726 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11727 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11728 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11729 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11730 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11732 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11733 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11735 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11738 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11740 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11741 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11743 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11745 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11746 * sysdeps/x86/bits/string.h: Update #endif comments.
11747 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11749 * time/sys/time.h: Update #endif comments.
11750 * time/time.h: Likewise.
11751 [__USE_MISC]: Remove redundant conditionals.
11753 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11756 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11758 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11760 * Versions.def (librt): Add GLIBC_2.17.
11762 2014-02-21 Adam Conrad <adconrad@0c3.net>
11764 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11765 synonym for _SYS_AUXV_H to allow direct inclusion.
11766 * sysdeps/sparc/bits/hwcap.h: Likewise.
11767 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11768 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11769 * sysdeps/sparc/sysdep.h: Likewise.
11771 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11773 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11775 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11777 * benchtests/bench-strrchr.c: Print length instead of position.
11779 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11782 * sysdeps/unix/sysv/linux/kernel-features.h
11783 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11784 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11785 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11786 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11788 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11789 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11790 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11791 (__ASSUME_SENDMMSG): Define instead of using previous
11792 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11793 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11794 (__ASSUME_SENDMMSG_SYSCALL): Define.
11795 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11796 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11798 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11799 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11801 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11802 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11804 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11805 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11806 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11807 [__ASSUME_SENDMMSG]: Change conditionals to
11808 [__ASSUME_SENDMMSG_SOCKETCALL].
11809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11810 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11812 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11813 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11815 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11816 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11817 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11818 [!__ASSUME_SENDMMSG]: Change conditional to
11819 [!__ASSUME_SENDMMSG_SOCKETCALL].
11820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11821 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11825 * sysdeps/unix/sysv/linux/kernel-features.h
11826 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11827 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11828 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11829 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11830 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11831 [__i386__ || __sparc__]
11832 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11833 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11834 (__ASSUME_RECVMMSG): Define instead of using previous
11835 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11836 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11837 (__ASSUME_RECVMMSG_SYSCALL): Define.
11838 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11842 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11844 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11847 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11848 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11849 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11850 [__ASSUME_RECVMMSG]: Change condition to
11851 [__ASSUME_RECVMMSG_SOCKETCALL].
11852 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11855 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11856 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11859 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11860 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11861 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11862 [!__ASSUME_RECVMMSG]: Change condition to
11863 [!__ASSUME_RECVMMSG_SOCKETCALL].
11864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11865 (__ASSUME_RECVMMSG_SYSCALL): Define.
11868 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11869 __powerpc__ || __s390__ || __sh__ || __sparc__]
11870 (__ASSUME_SOCKETCALL): Define.
11871 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11872 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11873 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11874 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11875 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11876 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11877 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11878 (__ASSUME_ACCEPT4): Define instead of using previous
11879 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11880 __powerpc__ || __sparc__ || __s390__)] condition.
11881 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11882 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11883 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11884 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11885 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11886 [!__ASSUME_ACCEPT4]: Change condition to
11887 [!__ASSUME_ACCEPT4_SOCKETCALL].
11888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11889 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11890 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11892 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11893 __ASSUME_ACCEPT4_SYSCALL.
11894 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11895 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11896 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11897 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11898 __ASSUME_ACCEPT4_SYSCALL.
11899 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11900 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11901 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11902 [__ASSUME_ACCEPT4]: Change condition to
11903 [__ASSUME_ACCEPT4_SOCKETCALL].
11904 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11905 (__ASSUME_SOCKETCALL): Define.
11906 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11908 (__ASSUME_SOCKETCALL): Define.
11909 (__ASSUME_ACCEPT4): Remove.
11910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11913 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11916 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11918 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11920 (HWCAP_ARM_LPAE): Likewise.
11921 (HWCAP_ARM_EVTSTRM): Likewise.
11922 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11923 Add vpfd32, lpae and evtstrm.
11924 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11927 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11929 * math/auto-libm-test-in: Add tests of clog10.
11930 * math/auto-libm-test-out: Regenerated.
11931 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11932 * sysdeps/i386/fpu/libm-test-ulps: Update.
11933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11935 2014-02-18 Andreas Schwab <schwab@suse.de>
11938 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11939 Store non-zero if the second buffer was newly allocated.
11940 (send_dg): Likewise.
11941 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11942 to send_vc and send_dg.
11943 (res_nsend): Pass NULL for ansp2_malloced.
11944 * resolv/res_query.c (__libc_res_nquery): Add parameter
11945 answerp2_malloced and pass it down to __libc_res_nsend.
11946 (res_nquery): Pass additional NULL to __libc_res_nquery.
11947 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11948 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11949 second answer buffer if answerp2_malloced was set.
11950 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11951 (__libc_res_nquerydomain): Add parameter
11952 answerp2_malloced and pass it down to __libc_res_nquery.
11953 (res_nquerydomain): Pass additional NULL to
11954 __libc_res_nquerydomain.
11955 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11956 additional NULL to __libc_res_nsend and __libc_res_nquery.
11957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11958 additional NULL to __libc_res_nsearch.
11959 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11960 parameter of __libc_res_nsearch to check for separately allocated
11962 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11964 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11965 additional NULL to __libc_res_nquery.
11966 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11967 __libc_res_nsearch.
11968 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11969 * include/resolv.h: Update prototypes of __libc_res_nquery,
11970 __libc_res_nsearch, __libc_res_nsend.
11972 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11974 * math/auto-libm-test-in: Add tests of fma.
11975 * math/auto-libm-test-out: Regenerated.
11976 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11977 (fma_towardzero_test_data): Likewise.
11978 (fma_downward_test_data): Likewise.
11979 (fma_upward_test_data): Likewise.
11980 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11982 (rounding_modes): Add values for new field.
11983 (func_calc_method): Add value mpfr_fff_f.
11984 (func_calc_desc): Add mpfr_fff_f union field.
11985 (test_function): Add field exact_args.
11986 (FUNC): Add macro argument EXACT_ARGS.
11987 (FUNC_mpfr_f_f): Update call to FUNC.
11988 (FUNC_mpfr_f_f): Likewise.
11989 (FUNC_mpfr_ff_f): Likewise.
11990 (FUNC_mpfr_if_f): Likewise.
11991 (FUNC_mpc_c_f): Likewise.
11992 (FUNC_mpc_c_c): Likewise.
11993 (test_functions): Add fma. Update calls to FUNC.
11994 (handle_input_arg): Add argument exact_args.
11995 (add_test): Update call to handle_input_arg.
11996 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11997 (output_for_one_input_case): Update call to calc_generic_results.
11998 Recalculate exact zero results in each rounding mode.
12000 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12001 non-negative before setting low bit.
12002 * math/auto-libm-test-in: Mark one asin test possibly having
12003 spurious underflow.
12004 * math/auto-libm-test-out: Regenerated.
12005 * sysdeps/i386/fpu/libm-test-ulps: Update.
12006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12008 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12010 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12011 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12012 ports/sysdeps/unix/sysv/linux/microblaze.
12013 * README: Add missing listing for microblaze*-*-linux-gnu.
12015 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12017 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12020 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12022 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12023 * sysdeps/unix/sysv/linux/ia64: Move directory from
12024 ports/sysdeps/unix/sysv/linux/ia64.
12025 * README: Update listing for ia64-*-linux-gnu.
12027 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12028 Joseph Myers <joseph@codesourcery.com>
12030 * Makeconfig (test-name): New variable.
12031 (evaluate-test): Likewise.
12032 * Makerules (do-test-clean): Remove .test-result files.
12033 (common-mostlyclean): Likewise.
12034 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12035 * scripts/evaluate-test.sh: New file.
12037 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12039 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12040 separate $(objpfx)tst-fopenloc-cmp.out and
12041 $(objpfx)tst-fopenloc-mem.out targets.
12042 (tests): Update dependencies.
12043 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12044 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12045 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12046 (tst-rxspencer-no-utf8-ARGS): New variable.
12047 (tst-rxspencer-no-utf8-ENV): Likewise.
12048 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12049 instead of $(objpfx)tst-rxspencer-mem.
12050 ($(objpfx)tst-rxspencer-mem): Change target to
12051 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12052 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12053 * posix/tst-rxspencer-no-utf8.c: New file.
12055 * elf/Makefile ($(objpfx)order.out): Remove rule.
12056 [$(run-built-tests) = yes] (tests): Depend on
12057 $(objpfx)order-cmp.out.
12058 ($(objpfx)order-cmp.out): New rule.
12059 [$(run-built-tests) = yes] (tests): Depend on
12060 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12061 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12062 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12063 $(objpfx)tst-array5-static-cmp.out.
12064 ($(objpfx)tst-array1.out): Remove rule.
12065 ($(objpfx)tst-array1-cmp.out): New rule.
12066 ($(objpfx)tst-array1-static.out): Remove rule.
12067 ($(objpfx)tst-array1-static-cmp.out): New rule.
12068 ($(objpfx)tst-array2.out): Remove rule.
12069 ($(objpfx)tst-array2-cmp.out): New rule.
12070 ($(objpfx)tst-array3.out): Remove rule.
12071 ($(objpfx)tst-array3-cmp.out): New rule.
12072 ($(objpfx)tst-array4.out): Remove rule.
12073 ($(objpfx)tst-array4-cmp.out): New rule.
12074 ($(objpfx)tst-array5.out): Remove rule.
12075 ($(objpfx)tst-array5-cmp.out): New rule.
12076 ($(objpfx)tst-array5-static.out): Remove rule.
12077 ($(objpfx)tst-array5-static-cmp.out): New rule.
12078 [$(run-built-tests) = yes] (tests): Depend on
12079 $(objpfx)order2-cmp.out.
12080 ($(objpfx)order2.out): Remove rule.
12081 ($(objpfx)order2-cmp.out): New rule.
12082 ($(objpfx)tst-initorder.out): Remove rule.
12083 [$(run-built-tests) = yes] (tests): Depend on
12084 $(objpfx)tst-initorder-cmp.out.
12085 ($(objpfx)tst-initorder-cmp.out): New rule.
12086 ($(objpfx)tst-initorder2.out): Remove rule.
12087 [$(run-built-tests) = yes] (tests): Depend on
12088 $(objpfx)tst-initorder2-cmp.out.
12089 ($(objpfx)tst-initorder2-cmp.out): New rule.
12090 [$(run-built-tests) = yes] (tests): Depend on
12091 $(objpfx)tst-unused-dep-cmp.out.
12092 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12093 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12094 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12095 on $(objpfx)tst-setvbuf1-cmp.out.
12096 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12097 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12098 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12099 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12100 ($(objpfx)tst-svc.out): Remove rule.
12101 ($(objpfx)tst-svc-cmp.out): New rule.
12103 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12105 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12106 * ctype/ctype.h [__USE_MISC]: Likewise.
12107 * dirent/dirent.h [__USE_MISC]: Likewise.
12108 * grp/grp.h [__USE_MISC]: Likewise.
12109 * io/fcntl.h [__USE_MISC]: Likewise.
12110 * io/sys/stat.h [__USE_MISC]: Likewise.
12111 * libio/stdio.h [__USE_MISC]: Likewise.
12112 * posix/unistd.h [__USE_MISC]: Likewise.
12113 * pwd/pwd.h [__USE_MISC]: Likewise.
12114 * stdlib.h [__USE_MISC]: Likewise.
12115 * string/bits/string2.h [__USE_MISC]: Likewise.
12116 * string/string.h [__USE_MISC]: Likewise.
12117 * time/time.h [__USE_MISC]: Likewise.
12119 2014-02-13 Andreas Schwab <schwab@suse.de>
12122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12123 second answer buffer if it was separately allocated.
12125 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12127 * sysdeps/mips/math-tests.h: Include <features.h>.
12128 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12129 (ROUNDING_TESTS_long_double): Do not define.
12130 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12131 (EXCEPTION_TESTS_long_double): Likewise.
12132 * sysdeps/mips/mips64/libm-test-ulps: Update.
12134 * include/features.h (__USE_BSD): Remove macro definitions.
12135 (__USE_SVID): Likewise.
12136 (_BSD_SOURCE): Likewise.
12137 (_SVID_SOURCE): Likewise.
12138 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12139 from definition of _DEFAULT_SOURCE.
12140 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12142 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12143 * bits/mman.h [__USE_BSD]: Likewise.
12144 * bits/termios.h [__USE_BSD]: Likewise.
12145 * bits/waitstatus.h [__USE_BSD]: Likewise.
12146 * ctype/ctype.h [__USE_SVID]: Likewise.
12147 * dirent/dirent.h [__USE_BSD]: Likewise.
12148 * grp/grp.h [__USE_SVID]: Likewise.
12149 [__USE_BSD]: Likewise.
12150 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12151 * io/fcntl.h [__USE_BSD]: Likewise.
12152 * io/ftw.h [__USE_BSD]: Likewise.
12153 * io/sys/stat.h [__USE_BSD]: Likewise.
12154 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12155 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12156 * libio/stdio.h [__USE_SVID]: Likewise.
12157 [__USE_BSD]: Likewise.
12158 * math/math.h [__USE_SVID]: Likewise.
12159 [__USE_BSD]: Likewise.
12160 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12161 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12162 * misc/search.h [__USE_SVID]: Likewise.
12163 * misc/sys/mman.h [__USE_BSD]: Likewise.
12164 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12165 * misc/sys/uio.h [__USE_BSD]: Likewise.
12166 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12167 * posix/glob.h [__USE_BSD]: Likewise.
12168 * posix/regex.h [__USE_BSD]: Likewise.
12169 * posix/sys/types.h [__USE_BSD]: Likewise.
12170 [__USE_SVID]: Likewise.
12171 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12172 * posix/sys/wait.h [__USE_BSD]: Likewise.
12173 [__USE_SVID]: Likewise.
12174 * posix/unistd.h [__USE_BSD]: Likewise.
12175 [__USE_SVID]: Likewise.
12176 * pwd/pwd.h [__USE_SVID]: Likewise.
12177 * resolv/netdb.h [__USE_BSD]: Likewise.
12178 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12179 * signal/signal.h [__USE_BSD]: Likewise.
12180 [__USE_SVID]: Likewise.
12181 * socket/sys/socket.h [__USE_BSD]: Likewise.
12182 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12183 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12184 [__USE_SVID]: Likewise.
12185 * string/bits/string2.h [__USE_BSD]: Likewise.
12186 [__USE_SVID]: Likewise.
12187 * string/bits/string3.h [__USE_BSD]: Likewise.
12188 * string/endian.h [__USE_BSD]: Likewise.
12189 * string/string.h [__USE_SVID]: Likewise.
12190 [__USE_BSD]: Likewise.
12191 * string/strings.h [__USE_BSD]: Likewise.
12192 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12193 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12194 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12195 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12196 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12201 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12202 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12204 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12205 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12207 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12209 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12210 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12215 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12216 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12217 * termios/termios.h [__USE_BSD]: Likewise.
12218 * time/sys/time.h [__USE_BSD]: Likewise.
12219 * time/time.h [__USE_BSD]: Likewise.
12220 [__USE_SVID]: Likewise.
12222 * Makefile (subdir_targets): Remove subdir_lint.out.
12224 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12225 (do-tst-printf): Likewise.
12226 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12227 $(objpfx)tst-printf.out.
12229 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12231 * Makerules (check-abi-%): Change target to
12232 $(objpfx)check-abi-%.out.
12233 (check-abi target): Update dependencies.
12234 (check-abi-pattern variable): Redirect output of diff to $@.
12235 (check-abi variable): Likewise.
12236 * elf/Makefile (check-abi): Update dependencies.
12238 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12240 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12241 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12243 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12244 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12245 value has largest subnormal exponent.
12246 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12247 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12248 * sysdeps/aarch64/soft-fp/sfp-machine.h
12249 (_FP_TININESS_AFTER_ROUNDING): New macro.
12250 * sysdeps/alpha/soft-fp/sfp-machine.h
12251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12252 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12254 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12256 * sysdeps/mips/soft-fp/sfp-machine.h
12257 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12258 * sysdeps/powerpc/soft-fp/sfp-machine.h
12259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12260 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12263 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12265 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12266 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12269 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12272 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12275 2014-02-12 Richard Henderson <rth@redhat.com>
12277 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12278 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12279 * sysdeps/unix/sysv/linux/alpha: Move directory from
12280 ports/sysdeps/unix/sysv/linux/alpha.
12281 * README: Update listing for alpha-*-linux-gnu.
12283 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12285 * include/features.h: Update comment documenting feature test
12287 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12289 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12290 (_SVID_SOURCE): Likewise.
12291 (_DEFAULT_SOURCE): Update description of default features.
12292 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12294 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12295 (S_ISVTX): Likewise.
12296 * manual/math.texi (Mathematical Constants): Likewise.
12297 * manual/signal.texi (Interrupted Primitives): Likewise.
12298 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12299 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12300 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12301 Don't refer to _SVID_SOURCE in warning text.
12303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12305 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12307 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12308 * sysdeps/mips/dl-lookup.c: Remove.
12309 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12311 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12314 * math/auto-libm-test-in: Add testcase for expl.
12315 * math/auto-libm-test-out: Regenerate.
12316 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12317 calculation of unsafe.
12318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12320 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12322 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12323 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12324 ports/sysdeps/unix/sysv/linux/aarch64.
12325 * README: Update listing for aarch64*-*-linux-gnu.
12327 2014-02-11 Will Newton <will.newton@linaro.org>
12329 * manual/probes.texi (Mathematical Function Probes): Use
12330 "triggered" instead of "hit".
12332 * manual/probes.texi (Internal Probes): Add documentation
12333 of setjmp, longjmp and longjmp_target probes.
12335 * include/stap-probe.h: Add comment about probe argument
12338 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12339 definition. (tr_where, tr_freehook, tr_mallochook,
12340 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12342 2014-02-11 David S. Miller <davem@davemloft.net>
12344 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12345 processing int_tests.
12347 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12349 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12350 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12351 * sysdeps/unix/sysv/linux/mips: Move directory from
12352 ports/sysdeps/unix/sysv/linux/mips.
12353 * README: Update listing for mips-*-linux-gnu and
12354 mips64-*-linux-gnu.
12356 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12358 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12359 * sysdeps/unix/sysv/linux/m68k: Move directory from
12360 ports/sysdeps/unix/sysv/linux/m68k.
12361 * README: Update listing for m68k-*-linux-gnu.
12363 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12365 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12366 * sysdeps/unix/sysv/linux/generic: Move directory from
12367 ports/sysdeps/unix/sysv/linux/generic.
12368 * sysdeps/unix/sysv/linux/tile: Move directory from
12369 ports/sysdeps/unix/sysv/linux/tile.
12370 * README: Update listing for tile*-*-linux-gnu.
12372 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12374 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12376 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12377 * catgets/open_catalog.c (__open_catalog): Likewise.
12378 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12379 * debug/confstr_chk.c: Likewise.
12380 * debug/fread_chk.c (__fread_chk): Likewise.
12381 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12382 * debug/getgroups_chk.c: Likewise.
12383 * debug/mbsnrtowcs_chk.c: Likewise.
12384 * debug/mbsrtowcs_chk.c: Likewise.
12385 * debug/mbstowcs_chk.c: Likewise.
12386 * debug/memcpy_chk.c: Likewise.
12387 * debug/memmove_chk.c: Likewise.
12388 * debug/mempcpy_chk.c: Likewise.
12389 * debug/memset_chk.c: Likewise.
12390 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12391 * debug/strcat_chk.c (__strcat_chk): Likewise.
12392 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12393 * debug/strncat_chk.c (__strncat_chk): Likewise.
12394 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12395 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12396 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12397 * debug/wcpncpy_chk.c: Likewise.
12398 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12399 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12400 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12401 * debug/wcsncpy_chk.c: Likewise.
12402 * debug/wcsnrtombs_chk.c: Likewise.
12403 * debug/wcsrtombs_chk.c: Likewise.
12404 * debug/wcstombs_chk.c: Likewise.
12405 * debug/wmemcpy_chk.c: Likewise.
12406 * debug/wmemmove_chk.c: Likewise.
12407 * debug/wmempcpy_chk.c: Likewise.
12408 * debug/wmemset_chk.c: Likewise.
12409 * dirent/scandirat.c (SCANDIRAT): Likewise.
12410 * dlfcn/dladdr1.c (dladdr1): Likewise.
12411 * dlfcn/dladdr.c (dladdr): Likewise.
12412 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12413 * dlfcn/dlerror.c (__dlerror): Likewise.
12414 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12415 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12416 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12417 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12418 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12419 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12420 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12421 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12423 * elf/dl-conflict.c: Likewise.
12424 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12425 * elf/dl-dst.h: Likewise.
12426 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12427 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12429 * elf/dl-init.c (call_init, _dl_init): Likewise.
12430 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12431 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12432 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12434 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12436 * elf/dl-minimal.c (__libc_memalign): Likewise.
12437 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12438 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12439 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12440 * elf/dl-sym.c (do_sym): Likewise.
12441 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12442 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12443 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12444 * elf/dl-writev.h (_dl_writev): Likewise.
12445 * elf/ldconfig.c (search_dir): Likewise.
12446 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12447 (dl_main): Likewise.
12448 * elf/setup-vdso.h (setup_vdso): Likewise.
12449 * grp/compat-initgroups.c (compat_call): Likewise.
12450 * grp/fgetgrent.c (fgetgrent): Likewise.
12451 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12452 * grp/putgrent.c (putgrent): Likewise.
12453 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12455 * hurd/hurdinit.c: Likewise.
12456 * iconvdata/8bit-gap.c (struct): Likewise.
12457 * iconvdata/ansi_x3.110.c : Likewise.
12458 * iconvdata/big5.c : Likewise.
12459 * iconvdata/big5hkscs.c : Likewise.
12460 * iconvdata/cp1255.c: Likewise.
12461 * iconvdata/cp1258.c : Likewise.
12462 * iconvdata/cp932.c : Likewise.
12463 * iconvdata/euc-cn.c: Likewise.
12464 * iconvdata/euc-jisx0213.c : Likewise.
12465 * iconvdata/euc-jp.c: Likewise.
12466 * iconvdata/euc-jp-ms.c : Likewise.
12467 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12468 * iconvdata/gb18030.c : Likewise.
12469 * iconvdata/gbbig5.c (const): Likewise.
12470 * iconvdata/gbgbk.c: Likewise.
12471 * iconvdata/gbk.c : Likewise.
12472 * iconvdata/ibm1364.c : Likewise.
12473 * iconvdata/ibm930.c : Likewise.
12474 * iconvdata/ibm932.c: Likewise.
12475 * iconvdata/ibm933.c : Likewise.
12476 * iconvdata/ibm935.c : Likewise.
12477 * iconvdata/ibm937.c : Likewise.
12478 * iconvdata/ibm939.c : Likewise.
12479 * iconvdata/ibm943.c: Likewise.
12480 * iconvdata/iso_11548-1.c: Likewise.
12481 * iconvdata/iso-2022-cn.c : Likewise.
12482 * iconvdata/iso-2022-cn-ext.c : Likewise.
12483 * iconvdata/iso-2022-jp-3.c: Likewise.
12484 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12485 * iconvdata/iso-2022-kr.c : Likewise.
12486 * iconvdata/iso646.c (gconv_end): Likewise.
12487 * iconvdata/iso_6937-2.c : Likewise.
12488 * iconvdata/iso_6937.c : Likewise.
12489 * iconvdata/iso8859-1.c: Likewise.
12490 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12491 * iconvdata/shift_jisx0213.c : Likewise.
12492 * iconvdata/sjis.c : Likewise.
12493 * iconvdata/t.61.c : Likewise.
12494 * iconvdata/tcvn5712-1.c : Likewise.
12495 * iconvdata/tscii.c: Likewise.
12496 * iconvdata/uhc.c : Likewise.
12497 * iconvdata/unicode.c (gconv_end): Likewise.
12498 * iconvdata/utf-16.c (gconv_end): Likewise.
12499 * iconvdata/utf-32.c (gconv_end): Likewise.
12500 * iconvdata/utf-7.c (base64): Likewise.
12501 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12502 * iconv/gconv_close.c (__gconv_close): Likewise.
12503 * iconv/gconv_open.c (__gconv_open): Likewise.
12504 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12505 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12506 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12507 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12508 (ucs4le_internal_loop_single): Likewise.
12509 * iconv/iconv.c (iconv): Likewise.
12510 * iconv/iconv_close.c: Likewise.
12511 * iconv/loop.c (SINGLE): Likewise.
12512 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12513 * include/atomic.h: Likewise.
12514 * inet/inet6_option.c (option_alloc): Likewise.
12515 * intl/bindtextdom.c (set_binding_values): Likewise.
12516 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12517 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12518 * intl/localealias.c (read_alias_file): Likewise.
12519 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12520 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12521 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12522 * libio/fmemopen.c (fmemopen): Likewise.
12523 * libio/iofgets.c (_IO_fgets): Likewise.
12524 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12525 * libio/iofgetws.c (fgetws): Likewise.
12526 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12527 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12528 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12529 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12530 * locale/findlocale.c (_nl_find_locale): Likewise.
12531 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12532 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12534 * locale/setlocale.c (setlocale): Likewise.
12535 * login/programs/pt_chown.c (main): Likewise.
12536 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12537 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12538 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12539 (mmap, mmap64, mremap, munmap): Likewise.
12540 * math/e_exp2l.c: Likewise.
12541 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12542 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12543 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12544 * math/s_catan.c (__catan): Likewise.
12545 * math/s_catanf.c (__catanf): Likewise.
12546 * math/s_catanh.c (__catanh): Likewise.
12547 * math/s_catanhf.c (__catanhf): Likewise.
12548 * math/s_catanhl.c (__catanhl): Likewise.
12549 * math/s_catanl.c (__catanl): Likewise.
12550 * math/s_ccosh.c (__ccosh): Likewise.
12551 * math/s_ccoshf.c (__ccoshf): Likewise.
12552 * math/s_ccoshl.c (__ccoshl): Likewise.
12553 * math/s_cexp.c (__cexp): Likewise.
12554 * math/s_cexpf.c (__cexpf): Likewise.
12555 * math/s_cexpl.c (__cexpl): Likewise.
12556 * math/s_clog10.c (__clog10): Likewise.
12557 * math/s_clog10f.c (__clog10f): Likewise.
12558 * math/s_clog10l.c (__clog10l): Likewise.
12559 * math/s_clog.c (__clog): Likewise.
12560 * math/s_clogf.c (__clogf): Likewise.
12561 * math/s_clogl.c (__clogl): Likewise.
12562 * math/s_csin.c (__csin): Likewise.
12563 * math/s_csinf.c (__csinf): Likewise.
12564 * math/s_csinh.c (__csinh): Likewise.
12565 * math/s_csinhf.c (__csinhf): Likewise.
12566 * math/s_csinhl.c (__csinhl): Likewise.
12567 * math/s_csinl.c (__csinl): Likewise.
12568 * math/s_csqrt.c (__csqrt): Likewise.
12569 * math/s_csqrtf.c (__csqrtf): Likewise.
12570 * math/s_csqrtl.c (__csqrtl): Likewise.
12571 * math/s_ctan.c (__ctan): Likewise.
12572 * math/s_ctanf.c (__ctanf): Likewise.
12573 * math/s_ctanh.c (__ctanh): Likewise.
12574 * math/s_ctanhf.c (__ctanhf): Likewise.
12575 * math/s_ctanhl.c (__ctanhl): Likewise.
12576 * math/s_ctanl.c (__ctanl): Likewise.
12577 * math/w_pow.c: Likewise.
12578 * math/w_powf.c: Likewise.
12579 * math/w_powl.c: Likewise.
12580 * math/w_scalb.c (sysv_scalb): Likewise.
12581 * math/w_scalbf.c (sysv_scalbf): Likewise.
12582 * math/w_scalbl.c (sysv_scalbl): Likewise.
12583 * misc/error.c (error_tail): Likewise.
12584 * misc/pselect.c (__pselect): Likewise.
12585 * nis/nis_callback.c (__nis_create_callback): Likewise.
12586 * nis/nis_call.c (__nisfind_server): Likewise.
12587 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12588 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12589 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12590 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12591 * nis/nis_lookup.c (nis_lookup): Likewise.
12592 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12593 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12594 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12595 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12596 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12597 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12598 * nis/nss_compat/compat-initgroups.c (add_group)
12599 (internal_getgrent_r): Likewise.
12600 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12601 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12602 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12603 (internal_getspnam_r): Likewise.
12604 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12605 (_nss_nis_getaliasbyname_r): Likewise.
12606 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12607 (_nss_nis_getntohost_r): Likewise.
12608 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12609 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12610 (_nss_nis_getgrgid_r): Likewise.
12611 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12612 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12613 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12614 (_nss_nis_gethostbyname4_r): Likewise.
12615 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12616 (initgroups_netid): Likewise.
12617 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12618 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12619 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12620 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12621 (_nss_nis_getprotobynumber_r): Likewise.
12622 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12623 (_nss_nis_getsecretkey): Likewise.
12624 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12625 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12626 (_nss_nis_getpwuid_r): Likewise.
12627 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12628 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12629 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12630 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12631 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12632 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12633 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12635 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12636 (_nss_nisplus_getntohost_r): Likewise.
12637 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12638 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12639 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12640 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12642 * nis/nss_nisplus/nisplus-initgroups.c
12643 (_nss_nisplus_initgroups_dyn): Likewise.
12644 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12645 (_nss_nisplus_getnetbyaddr_r): Likewise.
12646 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12647 (_nss_nisplus_getprotobynumber_r): Likewise.
12648 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12649 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12650 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12652 * nis/nss_nisplus/nisplus-service.c
12653 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12654 (_nss_nisplus_getservbyport_r): Likewise.
12655 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12656 (_nss_nisplus_getspnam_r): Likewise.
12657 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12659 * nscd/aicache.c (addhstaiX): Likewise.
12660 * nscd/cache.c (cache_search, prune_cache): Likewise.
12661 * nscd/connections.c (register_traced_file, send_ro_fd)
12662 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12663 (main_loop_epoll): Likewise.
12664 * nscd/grpcache.c (addgrbyX): Likewise.
12665 * nscd/hstcache.c (addhstbyX): Likewise.
12666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12667 * nscd/mem.c (gc, mempool_alloc): Likewise.
12668 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12669 (addinnetgrX): Likewise.
12670 * nscd/nscd-client.h (__nscd_acquire_maplock)
12671 (__nscd_drop_map_ref): Likewise.
12672 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12673 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12674 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12676 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12678 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12679 (__nscd_get_map_ref): Likewise.
12680 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12681 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12683 * nscd/pwdcache.c (addpwbyX): Likewise.
12684 * nscd/selinux.c (preserve_capabilities): Likewise.
12685 * nscd/servicescache.c (addservbyX): Likewise.
12686 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12687 * posix/fnmatch.c (fnmatch): Likewise.
12688 * posix/getopt.c (_getopt_internal_r): Likewise.
12689 * posix/glob.c (glob, glob_in_dir): Likewise.
12690 * posix/wordexp.c (exec_comm_child): Likewise.
12691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12692 (getanswer_r, gaih_getanswer_slice): Likewise.
12693 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12694 * resolv/res_init.c: Likewise.
12695 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12696 * resolv/res_query.c (__libc_res_nquery): Likewise.
12697 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12700 * stdio-common/perror.c (perror): Likewise.
12701 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12702 * stdio-common/tmpnam.c (tmpnam): Likewise.
12703 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12704 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12705 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12707 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12708 * stdlib/putenv.c (putenv): Likewise.
12709 * stdlib/setenv.c (__add_to_environ): Likewise.
12710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12711 * stdlib/strtol_l.c (INTERNAL): Likewise.
12712 * string/memmem.c (memmem): Likewise.
12713 * string/strerror.c (strerror): Likewise.
12714 * string/strnlen.c (__strnlen): Likewise.
12715 * string/test-memmem.c (simple_memmem): Likewise.
12716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12717 * sunrpc/pm_getport.c (__get_socket): Likewise.
12718 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12719 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12720 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12721 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12723 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12724 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12725 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12727 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12728 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12730 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12732 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12733 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12735 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12736 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12738 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12739 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12740 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12741 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12742 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12745 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12747 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12749 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12752 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12753 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12754 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12755 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12764 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12774 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12776 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12777 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12778 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12779 * sysdeps/posix/sleep.c: Likewise.
12780 * sysdeps/posix/tempname.c: Likewise.
12781 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12782 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12784 * sysdeps/powerpc/powerpc32/dl-machine.h
12785 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12788 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12789 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12791 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12793 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12795 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12796 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12797 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12798 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12799 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12800 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12802 (elf_machine_lazy_rel): Likewise.
12803 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12805 (elf_machine_lazy_rel): Likewise.
12806 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12807 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12808 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12809 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12810 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12811 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12812 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12815 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12816 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12817 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12818 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12819 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12820 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12821 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12822 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12823 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12824 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12825 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12827 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12828 (__posix_fallocate64_l64): Likewise.
12829 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12830 (posix_fallocate): Likewise.
12831 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12834 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12835 (getifaddrs_internal): Likewise.
12836 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12837 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12838 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12839 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12840 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12841 (__posix_fallocate64_l64): Likewise.
12842 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12844 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12846 (__get_clockfreq): Likewise.
12847 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12848 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12849 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12852 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12853 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12854 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12856 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12857 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12858 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12861 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12862 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12864 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12865 (posix_fallocate): Likewise.
12866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12867 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12868 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12869 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12870 (elf_machine_rela, elf_machine_rela_relative)
12871 (elf_machine_lazy_rel): Likewise.
12872 * time/asctime.c (asctime_internal): Likewise.
12873 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12874 * time/tzset.c (__tzset_parse_tz): Likewise.
12875 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12876 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12877 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12878 * wcsmbs/wcsmbsload.h: Likewise.
12881 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12883 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12884 (arena_get2): Remove THREAD_STATS conditionals.
12885 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12886 (__malloc_stats, int): Likewise.
12888 2014-02-08 Mike Frysinger <vapier@gentoo.org>
12890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12891 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12893 * manual/setjmp.texi: Fix typos/grammar errors.
12895 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12896 Only return early when n is <= 0. Delete unused return statement.
12898 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12899 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12900 * debug/tst-longjmp_chk3.c: New file.
12902 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12903 (test_main): Replace code with set_fortify_handler call.
12904 * debug/test-strcpy_chk.c: Likewise.
12905 * debug/tst-chk1.c: Likewise.
12906 * debug/tst-longjmp_chk.c: Likewise.
12907 * test-skeleton.c: Include fcntl.h & paths.h
12908 (set_fortify_handler): Define.
12910 * debug/tst-longjmp_chk.c: Add header comment and include
12911 ../test-skeleton.c.
12912 (do_test): Mark static.
12913 (TEST_FUNCTION): Define.
12915 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12916 (IP_PMTUDISC_INTERFACE): Likewise.
12917 (IP_MULTICAST_IF): Likewise.
12918 (IP_MULTICAST_TTL): Likewise.
12919 (IP_MULTICAST_LOOP): Likewise.
12920 (IP_ADD_MEMBERSHIP): Likewise.
12921 (IP_DROP_MEMBERSHIP): Likewise.
12922 (IP_UNBLOCK_SOURCE): Likewise.
12923 (IP_BLOCK_SOURCE): Likewise.
12924 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12925 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12926 (IP_MSFILTER): Likewise.
12927 (MCAST_JOIN_GROUP): Likewise.
12928 (MCAST_BLOCK_SOURCE): Likewise.
12929 (MCAST_UNBLOCK_SOURCE): Likewise.
12930 (MCAST_LEAVE_GROUP): Likewise.
12931 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12932 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12933 (MCAST_MSFILTER): Likewise.
12934 (IP_MULTICAST_ALL): Likewise.
12935 (IP_UNICAST_IF): Likewise.
12937 * timezone/Makefile: Delete $(have-ksh) check.
12938 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12939 * timezone/tzselect.ksh: Add +x mode bits.
12941 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12942 (ANON_INODE_FS_MAGIC): Likewise.
12943 (BDEVFS_MAGIC): Likewise.
12944 (BINFMTFS_MAGIC): Likewise.
12945 (BTRFS_TEST_MAGIC): Likewise.
12946 (CRAMFS_MAGIC_WEND): Likewise.
12947 (DEBUGFS_MAGIC): Likewise.
12948 (ECRYPTFS_SUPER_MAGIC): Likewise.
12949 (EXT3_SUPER_MAGIC): Likewise.
12950 (EXT4_SUPER_MAGIC): Likewise.
12951 (FUTEXFS_SUPER_MAGIC): Likewise.
12952 (HOSTFS_SUPER_MAGIC): Likewise.
12953 (HUGETLBFS_MAGIC): Likewise.
12954 (MINIX3_SUPER_MAGIC): Likewise.
12955 (MTD_INODE_FS_MAGIC): Likewise.
12956 (NILFS_SUPER_MAGIC): Likewise.
12957 (OPENPROM_SUPER_MAGIC): Likewise.
12958 (PIPEFS_MAGIC): Likewise.
12959 (PSTOREFS_MAGIC): Likewise.
12960 (QNX6_SUPER_MAGIC): Likewise.
12961 (RAMFS_MAGIC): Likewise.
12962 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12963 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12964 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12965 (SECURITYFS_MAGIC): Likewise.
12966 (SELINUX_MAGIC): Likewise.
12967 (SMACK_MAGIC): Likewise.
12968 (SOCKFS_MAGIC): Likewise.
12969 (SQUASHFS_MAGIC): Likewise.
12970 (STACK_END_MAGIC): Likewise.
12971 (TMPFS_MAGIC): Likewise.
12972 (USBDEVICE_SUPER_MAGIC): Likewise.
12973 (V9FS_MAGIC): Likewise.
12974 (XENFS_SUPER_MAGIC): Likewise.
12975 (CRAMFS_MAGIC): Fix typo in comment.
12976 (EXT2_SUPER_MAGIC): Update comment.
12977 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12979 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12981 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12982 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12983 * sysdeps/unix/sysv/linux/arm: Move directory from
12984 ports/sysdeps/unix/sysv/linux/arm.
12985 * README: Update listing for arm-*-linux-gnueabi.
12987 * README: Remove mention of am33.
12989 2014-02-07 Roland McGrath <roland@hack.frob.com>
12991 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12992 than the comma operator, to avoid "rhs of comma has no effect"
12994 (__sigfillset, __sigandset, __sigorset): Likewise.
12995 * include/signal.h (__sigemptyset): Likewise.
12996 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12998 2014-02-07 Allan McRae <allan@archlinux.org>
13000 * version.h (RELEASE): Set to "development".
13001 (VERSION): Set to "2.19.90"
13002 * NEWS: Add 2.20 section.
13004 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13007 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13009 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13011 * manual/contrib.texi: Update entry for Carlos O'Donell,
13012 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13014 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13016 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13018 * sysdeps/unix/sysv/linux/kernel-features.h
13019 [__LINUX_KERNEL_VERSION >= 0x020621]
13020 (__ASSUME_PROC_PID_TASK_COMM): Define.
13022 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13026 conversion when destination buffer does not have enough space.
13027 * libio/tst-ftell-partial-wide.c: New test case.
13028 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13030 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13031 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13032 Leonard and Allan McRae.
13034 2014-02-04 David S. Miller <davem@davemloft.net>
13036 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13039 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13068 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13070 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13071 * shlib-versions: Likewise.
13073 2014-02-04 Roland McGrath <roland@hack.frob.com>
13074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13076 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13077 (abilist-pattern): New variable, set to %-le.abilist.
13079 * Makerules (abilist-pattern): New variable.
13080 (vpath): Use $(abilist-pattern) in place of %.abilist.
13081 (check-abi-% pattern rule): Likewise.
13082 (check-abi, update-abi): Likewise.
13084 2014-02-04 Eric Wong <normalperson@yhbt.net>
13086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13088 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13090 * manual/startup.texi: Add next, previous, and top entries for
13091 the `Program Arguments' and `Environment Variables' nodes.
13093 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13095 * manual/macros.texi: Add comments before MTASC-safety macros.
13097 * manual/users.texi: Document MTASC-safety properties.
13099 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13100 (pthread_getspecific, pthread_setspecific): Format with
13101 @deftypefun, and add @safety note.
13102 * manual/signal.texi: Move comments that analyze the above
13103 functions to their home place.
13105 2014-02-03 Allan McRae <allan@archlinux.org>
13107 * po/sl.po: Update Slovenian translation from translation project.
13109 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13111 * manual/time.texi (timegm): Add missing blank after @c.
13112 Reported by Joseph Myers <joseph@codesourcery.com>.
13114 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13116 * manual/check-safety.sh: New.
13117 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13119 * manual/terminal.texi: Document MTASC-safety properties.
13121 * manual/filesys.texi: Document MTASC-safety properties.
13123 * manual/errno.texi: Document MTASC-safety properties.
13125 * manual/intro.texi: Document safety identifiers and
13128 * manual/string.texi (wcstok): Fix prototype.
13129 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13131 * manual/time.texi: Document MTASC-safety properties.
13133 * manual/string.texi: Document MTASC-safety properties.
13135 * manual/threads.texi: Document MTASC-safety properties.
13137 * manual/stdio.texi: Document MTASC-safety properties.
13139 * manual/syslog.texi: Document MTASC-safety properties.
13141 * manual/sysinfo.texi: Document MTASC-safety properties.
13143 * manual/startup.texi: Document MTASC-safety properties.
13145 * manual/socket.texi: Document MTASC-safety properties.
13147 * manual/signal.texi: Document MTASC-safety properties.
13149 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13151 * manual/setjmp.texi: Document MTASC-safety properties.
13153 * manual/search.texi: Document MTASC-safety properties.
13155 * manual/resource.texi: Document MTASC-safety properties.
13157 * manual/process.texi: Document MTASC-safety properties.
13159 * manual/platform.texi: Document MTASC-safety properties.
13161 * manual/pipe.texi: Document MTASC-safety properties.
13163 * manual/pattern.texi: Document MTASC-safety properties.
13165 * manual/message.texi: Document MTASC-safety properties.
13168 * manual/memory.texi: Document MTASC-safety properties.
13170 * manual/math.texi: Document MTASC-safety properties.
13172 * manual/locale.texi: Document MTASC-safety properties.
13174 * manual/llio.texi: Document MTASC-safety properties.
13176 * manual/libdl.texi: New.
13178 * manual/lang.texi: Document MTASC-safety properties.
13180 * manual/job.texi: Document MTASC-safety properties.
13182 * manual/getopt.texi: Document MTASC-safety properties.
13184 * manual/ctype.texi: Document MTASC-safety properties.
13186 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13189 * csu/libc-tls.c (static_map): Remove variable.
13190 (__libc_setup_tls): Use main executable's link map for TLS data.
13191 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13192 casing for LM_ID_BASE and GL(dl_nns).
13193 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13194 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13195 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13196 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13197 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13199 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13202 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13204 * manual/debug.texi: Document MTASC-safety properties.
13206 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13209 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13210 of __x86_64__ when disabling x87 inline functions.
13212 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13214 * manual/charset.texi: Document MTASC-safety properties.
13216 * manual/crypt.texi: Document MTASC-safety properties.
13218 * manual/conf.texi: Document MTASC-safety properties.
13220 * manual/arith.texi: Document MTASC-safety properties.
13222 * manual/argp.texi: Document MTASC-safety properties.
13224 * manual/macros.texi: Introduce macros to document multi
13225 thread, asynchronous signal and asynchronous cancellation
13227 * manual/intro.texi: Introduce the properties themselves.
13229 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13231 * sysdeps/sh/sh4/Makefile: New file.
13233 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13235 * math/gen-libm-test.pl ($srcdir): New variable.
13236 ($auto_input): Use it.
13238 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13241 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13242 access beyond array bounds when parsing netgroups file.
13244 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13245 the old buffer before realloc.
13247 2014-01-27 Allan McRae <allan@archlinux.org>
13249 * po/fr.po: Update French translation from translation project.
13251 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13253 * sysdeps/sh/libm-test-ulps: Regenerate.
13255 2014-01-24 David S. Miller <davem@davemloft.net>
13257 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13259 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13261 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13262 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13264 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13267 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13268 string pointers after reallocation.
13270 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13272 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13273 __SH4A__ instead of __SH_FPU_ANY__.
13275 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13277 * sysdeps/sh/fpu_control.h: New file.
13278 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13279 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13280 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13281 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13282 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13283 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13284 * sysdeps/sh/sys/ucontext.h: Remove.
13285 * sysdeps/sh/sys: Remove directory.
13287 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13289 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13290 s390/sys/ucontext.h.
13291 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13292 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13294 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13297 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13299 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13303 Adjust the vDSO correctly for internal calls.
13304 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13306 2014-01-20 Allan McRae <allan@archlinux.org>
13308 * po/ca.po: Update Catalan translation from translation project.
13310 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13312 * sysdeps/s390/sotruss-lib.c: New file.
13314 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13318 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13319 local calls issues by not having a PLT stub required for IFUNC calls.
13320 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13322 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13324 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13325 * math/test-fpucw-static.c: Likewise.
13327 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13330 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13332 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13334 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13335 implementation for powerpc.
13337 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13340 * sysdeps/posix/system.c (__libc_system): Do not enable
13341 asynchronous cancellation.
13343 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13346 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13347 handling only for numbers special also in the IEEE case.
13349 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13351 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13353 2014-01-11 Allan McRae <allan@archlinux.org>
13355 * po/bg.po: Update Bulgarian translation from translation project.
13357 * po/de.po: Update German translation from translation project.
13359 2014-01-10 Roland McGrath <roland@hack.frob.com>
13361 * sysdeps/generic/gcc-compat.h: New file.
13363 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13365 * benchtests/asin-inputs: Correct slow inputs.
13366 * benchtests/acos-inputs: Likewise.
13368 2014-01-10 Allan McRae <allan@archlinux.org>
13370 * po:sv.po: Update Swedish translation from translation project.
13372 * po/vi.po: Update Vietnamese translation from translation project.
13374 * po/eo.po: Update Esperanto translation from translation project.
13376 * po/cs.po: Update Czech translation from translation project.
13378 * po/nl.po: Update Dutch translation from translation project.
13380 * po/pl.po: Update Polish translation from translation project.
13382 * po/ru.po: Update Russian translation from translation project.
13384 * po/uk.po: Update Ukrainian translation from translation project.
13386 2014-01-08 Brooks Moses <bmoses@google.com>
13388 * elf/dl-load.c: Fix comment typo.
13390 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13392 * po/header.pot: Rename to...
13393 * po/pot.header: ... this.
13394 * po/Makefile: Use pot.header.
13396 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13397 Maxim Kuvyrkov <maxim@kugelworks.com>
13400 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13401 SRC and DEST against LEN.
13403 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13406 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13408 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13410 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13414 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13418 for large positive arguments.
13420 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13422 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13424 * math/auto-libm-test-in: Mark various tests with
13425 xfail-rounding:ldbl-128ibm.
13426 * math/auto-libm-test-out: Regenerated.
13429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13430 Increase overflow threshold.
13432 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13435 * stdio-common/vfprintf.c: Check for integer overflow.
13437 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13439 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13440 the first argument and return value of __tls_get_addr_internal.
13442 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13444 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13445 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13447 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13449 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13450 * sysdeps/s390/rtld-global-offsets.sym: New file.
13451 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13453 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13454 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13455 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13457 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13458 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13465 halfs of GPRs for high_gprs contexts.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13467 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13471 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13473 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13474 for high GPRs (uc_high_gprs) and for future extensions
13476 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13477 for future extensions (__reserved).
13478 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13480 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13481 SC_HIGHGPRS offset definition.
13482 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13483 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13485 * Versions.def: Add GLIBC_2.19 for libpthread.
13486 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13487 siglongjmp for libpthread with GLIBC_2.19 symver.
13488 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13489 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13490 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13491 * sysdeps/s390/__longjmp.c: New file.
13492 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13493 * sysdeps/s390/longjmp.c: New file.
13494 * sysdeps/s390/setjmp.S: New file.
13495 * sysdeps/s390/sigjmp.S: New file.
13496 * sysdeps/s390/v1-longjmp.c: New file.
13497 * sysdeps/s390/v1-setjmp.h: New file.
13498 * sysdeps/s390/v1-sigjmp.c: New file.
13499 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13500 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13501 GLIBC_2.19 version.
13502 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13503 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13504 versioned symbols for ____longjmp_chk.
13505 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13515 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13516 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13517 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13518 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13519 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13520 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13521 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13522 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13523 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13524 * sysdeps/s390/rtld-__longjmp.c: New file.
13525 * sysdeps/s390/rtld-setjmp.S: New file.
13527 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13531 Return -__logl (x) for small positive arguments without evaluating
13534 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13536 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13538 (__ptrace_peeksiginfo_args): ... this.
13539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13543 2014-01-06 Allan McRae <allan@archlinux.org>
13545 * inet/netinet/in.h: Fix typo in comment.
13547 2014-01-05 Andreas Jaeger <aj@suse.de>
13549 * sysdeps/i386/fpu/libm-test-ulps: Update.
13551 2014-01-05 Allan McRae <allan@archlinux.org>
13553 * po/libc.pot: Regenerated.
13555 * malloc/memusagestat.c: Fix gettext call formatting.
13557 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13559 * nscd/nscd.c: Improve usage() output.
13561 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13563 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13564 * sysdeps/unix/sysv/linux/configure: Regenerated.
13565 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13566 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13568 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13571 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13572 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13574 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13577 extra tokens at end of #undef directive.
13578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13580 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13582 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13584 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13586 * math/auto-libm-test-in: Mark various tests with
13587 xfail-rounding:ldbl-128ibm.
13588 * math/auto-libm-test-out: Regenerated.
13590 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13593 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13594 numbers with subnormal high part when calculating exponent.
13597 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13601 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13603 (__ieee754_acoshl): Use __log1pl not __log1p.
13605 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13607 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13608 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13609 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13610 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13611 (reused_arena, arena_get2): Convert to GNU style.
13612 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13613 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13614 (memalign_check, __malloc_set_state): Likewise.
13615 * malloc/mallocbug.c (main): Likewise.
13616 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13617 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13618 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13619 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13620 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13621 (__posix_memalign, malloc_info): Likewise.
13622 * malloc/malloc.h: Likewise.
13623 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13624 (mallochook, memalignhook, reallochook, mabort): Likewise.
13625 * malloc/mcheck.h: Likewise.
13626 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13627 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13628 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13629 * malloc/morecore.c (__default_morecore): Likewise.
13630 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13631 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13632 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13633 (print_and_abort): Likewise.
13634 * malloc/obstack.h: Likewise.
13635 * malloc/set-freeres.c (__libc_freeres): Likewise.
13636 * malloc/tst-mallocstate.c (main): Likewise.
13637 * malloc/tst-mtrace.c (main): Likewise.
13638 * malloc/tst-realloc.c (do_test): Likewise.
13640 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13643 * nscd/netgroupcache.c (do_notfound): New function.
13644 (addgetnetgrentX): Use it.
13647 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13648 NSS_STATUS_NOTFOUND.
13650 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13652 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13655 2014-01-01 Allan McRae <allan@archlinux.org>
13657 * scripts/update-copyrights: Update configure input file suffix.
13659 * NEWS: Update copyright year.
13660 * catgets/gencat.c: Likewise.
13661 * csu/version.c: Likewise.
13662 * debug/catchsegv.sh: Likewise.
13663 * debug/pcprofiledump.c: Likewise.
13664 * debug/xtrace.sh: Likewise.
13665 * elf/ldconfig.c: Likewise.
13666 * elf/ldd.bash.in: Likewise.
13667 * elf/pldd.c: Likewise.
13668 * elf/sotruss.ksh: Likewise.
13669 * elf/sprof.c: Likewise.
13670 * iconv/iconv_prog.c: Likewise.
13671 * iconv/iconvconfig.c: Likewise.
13672 * locale/programs/locale.c: Likewise.
13673 * locale/programs/localedef.c: Likewise.
13674 * login/programs/pt_chown.c: Likewise.
13675 * malloc/memusage.sh: Likewise.
13676 * malloc/memusagestat.c: Likewise.
13677 * malloc/mtrace.pl: Likewise.
13678 * manual/libc.texinfo: Likewise.
13679 * nscd/nscd.c: Likewise.
13680 * nss/getent.c: Likewise.
13681 * nss/makedb.c: Likewise.
13682 * posix/getconf.c: Likewise.
13683 * scripts/test-installation.pl: Likewise.
13685 * All files with FSF copyright notices: Update copyright dates
13686 using scripts/update-copyrights.
13687 * intl/plural.c: Regenerated.
13688 * locale/programs/charmap-kw.h: Likewise.
13689 * locale/programs/locfile-kw.h: Likewise.
13691 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13693 * sysdeps/unix/sysv/linux/configure: Regenerated.
13694 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13695 the linux/fanotify.h header.
13696 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13697 HAVE_LINUX_FANOTIFY_H is defined.
13699 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13701 * benchtests/cos-inputs: New inputs.
13702 * benchtests/sin-inputs: Likewise.
13704 * benchtests/atan-inputs: New inputs. Fix name of multiple
13705 precision fallback inputs.
13707 * benchtests/atanh-inputs: New inputs.
13708 * benchtests/tanh-inputs: Likewise.
13710 * benchtests/acosh-inputs: New inputs.
13711 * benchtests/asinh-inputs: Likewise.
13713 * benchtests/cosh-inputs: New inputs.
13714 * benchtests/sinh-inputs: Likewise.
13716 * benchtests/acos-inputs: Add more inputs.
13717 * benchtests/asin-inputs: Likewise.
13719 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13722 * manual/arith.texi: Fix spelling.
13723 * manual/charset.texi: Likewise.
13724 * manual/errno.texi: Likewise.
13725 * manual/filesys.texi: Likewise.
13726 * manual/lang.texi: Likewise.
13727 * manual/llio.texi: Likewise.
13728 * manual/locale.texi: Likewise.
13729 * manual/message.texi: Likewise.
13730 * manual/resource.texi: Likewise.
13731 * manual/search.texi: Likewise.
13732 * manual/setjmp.texi: Likewise.
13733 * manual/stdio.texi: Likewise.
13734 * manual/string.texi: Likewise.
13735 * manual/sysinfo.texi: Likewise.
13736 * manual/time.texi: Likewise.
13738 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13740 * po/sl.po: New file.
13742 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13744 * .gitignore: Add core/.gdbinit/.gdb_history.
13746 2013-12-27 Allan McRae <allan@archlinux.org>
13749 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13750 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13752 2013-12-24 Brooks Moses <bmoses@google.com>
13754 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13755 all compilers that claim C++98 compliance, not just GCC.
13756 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13759 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13761 * NEWS: Restore accidentally deleted bug-fix entries.
13763 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13764 Ondřej Bílka <neleai@seznam.cz>
13767 * malloc/malloc.c (_int_free): Perform sanity check only if we
13770 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13773 * manual/stdio.texi (String Input Conversions): Clarify that character
13774 classes are not supported.
13776 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13780 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13783 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13784 Calculate results for small negative arguments directly rather
13785 than using reflection formula with special underflow handling.
13787 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13788 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13789 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13790 (fchflags): Likewise.
13791 (revoke): Likewise.
13792 (setlogin): Likewise.
13793 (sigaltstack): Likewise.
13795 (sigblock): Remove.
13796 (sigsetmask): Likewise.
13798 (waitpid): Likewise.
13799 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13800 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13802 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13803 * sysdeps/unix/bsd/Makefile: ... here.
13804 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13805 * sysdeps/unix/bsd/Versions: ... here.
13806 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13807 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13808 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13809 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13810 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13811 * sysdeps/unix/bsd/sigblock.c: ... here.
13812 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13813 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13814 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13815 * sysdeps/unix/bsd/sigvec.c: ... here.
13816 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13817 * sysdeps/unix/bsd/tcdrain.c: ... here.
13818 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13819 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13820 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13821 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13822 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13823 * sysdeps/unix/bsd/wait.c: ... here.
13824 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13825 * sysdeps/unix/bsd/wait3.c: ... here.
13826 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13827 * sysdeps/unix/bsd/waitpid.c: ... here.
13829 2013-12-21 Joseph Myers <joseph@codesourcery.com>
13832 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13833 round-to-nearest for [!USE_AS_EXPM1L].
13834 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13835 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13836 more tests of exp and exp10. Expect some exp10 tests to miss
13837 exceptions or fail in directed rounding modes.
13838 * math/auto-libm-test-out: Regenerated.
13839 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13840 (exp10_test_tonearest): New function.
13841 (exp10_towardzero_test_data): New array.
13842 (exp10_test_towardzero): New function.
13843 (exp10_downward_test_data): New array.
13844 (exp10_test_downward): New function.
13845 (exp10_upward_test_data): New array.
13846 (exp10_test_upward): New function.
13847 (main): Call the new functions.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851 2013-12-20 Joseph Myers <joseph@codesourcery.com>
13853 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13854 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13855 * math/auto-libm-test-out: Regenerated.
13856 * math/libm-test.inc (acosh_test_data): Add more tests.
13857 (atanh_test_data): Likewise.
13858 (ceil_test_data): Likewise.
13859 (copysign_test_data): Likewise.
13860 * sysdeps/i386/fpu/libm-test-ulps: Update.
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13863 * timezone/checktab.awk: Update from tzcode 2013i.
13864 * timezone/private.h: Likewise.
13865 * timezone/scheck.c: Likewise.
13866 * timezone/tzfile.h: Likewise.
13867 * timezone/tzselect.ksh: Likewise.
13868 * timezone/zdump.c: Likewise.
13869 * timezone/zic.c: Likewise.
13871 * math/auto-libm-test-in: Add tests of cpow.
13872 * math/auto-libm-test-out: Regenerated.
13873 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13874 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13876 (func_calc_desc): Add mpc_cc_c union field.
13877 (test_functions): Add cpow.
13878 (special_fill_2pi): New function.
13879 (special_real_inputs): Add 2pi.
13880 (calc_generic_results): Handle mpc_cc_c.
13881 * sysdeps/i386/fpu/libm-test-ulps: Update.
13882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13884 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13885 csqrt, ctan and ctanh.
13886 * math/auto-libm-test-out: Regenerated.
13887 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13888 (TEST_COND_x86): Likewise.
13889 (ccos_test_data): Use AUTO_TESTS_c_c.
13890 (ccosh_test_data): Likewise.
13891 (cexp_test_data): Likewise.
13892 (clog_test_data): Likewise.
13893 (csqrt_test_data): Likewise.
13894 (ctan_test_data): Likewise.
13895 (ctan_tonearest_test_data): Likewise.
13896 (ctan_towardzero_test_data): Likewise.
13897 (ctan_downward_test_data): Likewise.
13898 (ctan_upward_test_data): Likewise.
13899 (ctanh_test_data): Likewise.
13900 (ctanh_tonearest_test_data): Likewise.
13901 (ctanh_towardzero_test_data): Likewise.
13902 (ctanh_downward_test_data): Likewise.
13903 (ctanh_upward_test_data): Likewise.
13904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13906 (func_calc_desc): Add mpc_c_c union field.
13907 (FUNC_mpc_c_c): New macro.
13908 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13909 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13911 (special_fill_min_subnorm_p120): New function.
13912 (special_real_inputs): Add min_subnorm_p120.
13913 (calc_generic_results): Handle mpc_c_c.
13914 * sysdeps/i386/fpu/libm-test-ulps: Update.
13915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13917 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13919 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13920 (do_sin_slow): New functions.
13921 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13922 (cslow2, csloww1, csloww2): Use the new functions.
13924 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13925 Use M to change sign of result instead of X. Assume X is
13927 (csloww1): Likewise.
13931 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13932 arguments A and DA.
13936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13938 (sloww1): Don't adjust sign of DX.
13939 (csloww1): Likewise.
13940 (sloww2): Use X directly and don't adjust sign of DX.
13941 (csloww2): Likewise.
13943 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13945 * math/auto-libm-test-in: Add tests of cabs and carg.
13946 * math/auto-libm-test-out: Regenerated.
13947 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13948 (carg_test_data): Likewise.
13949 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13951 (func_calc_desc): Add mpc_c_f union field.
13952 (test_functions): Add cabs and carg.
13953 (calc_generic_results): Handle mpc_c_f.
13955 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13956 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13957 as a macro and a compat symbol.
13958 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13959 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13960 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13961 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13962 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13971 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13973 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13975 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13976 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13979 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13983 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13985 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13986 trailing whitespace removed.
13987 * scripts/config.guess: Update to version 2013-11-29.
13988 * scripts/config.sub: Update to version 2013-10-01.
13990 * math/auto-libm-test-in: Add tests of sincos.
13991 * math/auto-libm-test-out: Regenerated.
13992 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13995 (func_calc_desc): Add mpfr_f_11 union field.
13996 (test_functions): Add sincos.
13997 (calc_generic_results): Handle mpfr_f_11.
13998 * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14001 2013-12-19 Andreas Schwab <schwab@suse.de>
14003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14007 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14009 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14011 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14012 * sysdeps/i386/fpu/libm-test-ulps: Update.
14013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14017 round-to-nearest mode when using frndint.
14018 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14019 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14022 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14024 * math/auto-libm-test-out: Regenerated.
14025 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14026 (TEST_COND_x86): Likewise.
14027 (expm1_tonearest_test_data): New array.
14028 (expm1_test_tonearest): New function.
14029 (expm1_towardzero_test_data): New array.
14030 (expm1_test_towardzero): New function.
14031 (expm1_downward_test_data): New array.
14032 (expm1_test_downward): New function.
14033 (expm1_upward_test_data): New array.
14034 (expm1_test_upward): New function.
14035 (main): Run the new test functions.
14036 * sysdeps/i386/fpu/libm-test-ulps: Update.
14037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14039 * include/features.h: Update comment documenting feature test
14040 macros. Mention _DEFAULT_SOURCE in comment.
14041 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14042 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14043 _BSD_SOURCE and _SVID_SOURCE.
14044 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14045 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14046 !_SVID_SOURCE]: Likewise.
14047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14048 (__USE_POSIX_IMPLICITLY): Define.
14049 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14050 (_POSIX_SOURCE): Undefine and redefine.
14051 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14052 (_POSIX_C_SOURCE): Likewise.
14053 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14054 (Feature Test Macros): Update documentation of default features.
14056 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14058 * benchtests/Makefile: Add bench-strtok.
14059 * benchtests/bench-strtok.c: New file: strtok benchtest.
14061 2013-12-19 Allan McRae <allan@archlinux.org>
14063 * manual/install.texi: Suppress menu for plain text output.
14064 * INSTALL: Regenerated.
14066 2013-12-18 Brooks Moses <bmoses@google.com>
14069 * misc/getauxval.c: Include errno.h.
14070 (__getauxval): Set errno to ENOENT if the requested type is not
14072 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14073 don't declare with __attribute_const__.
14074 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14075 * manual/startup.texi: Document that getauxval sets errno.
14077 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14079 * math/auto-libm-test-in: Add tests of jn and yn.
14080 * math/auto-libm-test-out: Regenerated.
14081 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14082 (yn_test_data): Likewise.
14083 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14085 (func_calc_desc): Add mpfr_if_f union field.
14086 (FUNC_mpfr_if_f): New macro.
14087 (test_functions): Add jn and yn.
14088 (calc_generic_results): Assert type of second input for
14089 mpfr_ff_f. Handle mpfr_if_f.
14090 (output_for_one_input_case): Disable all checking for arguments
14091 fitting floating-point types in case of an integer argument.
14092 * sysdeps/i386/fpu/libm-test-ulps: Update.
14093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14096 Don't expect fegetround reference in libm.so.
14098 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14100 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14101 $(config-cflags-nofma).
14103 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14105 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14106 * math/auto-libm-test-out: Regenerated.
14109 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14110 to determine exponent and adjust argument to have exponent of -1.
14111 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14113 * math/auto-libm-test-out: Regenerated.
14114 * sysdeps/i386/fpu/libm-test-ulps: Update.
14115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14117 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14119 * manual/probes.texi: Remove cases when per-thread arenas are
14122 2013-12-18 Andreas Schwab <schwab@suse.de>
14124 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14125 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14126 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14127 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14128 * sysdeps/i386/i686/multiarch/Makefile: Update.
14129 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14131 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14133 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14134 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14136 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14139 Support TZ transition times < 00:00:00.
14140 This is needed for version-3 tz-format files; it supports time
14141 stamps past 2037 for America/Godthab (the only entry in the tz
14142 database for which this change is relevant).
14143 * manual/time.texi (TZ Variable): Document transition times
14144 from -167:59:59 through -00:00:01.
14145 * time/tzset.c (tz_rule): Time of day is now signed.
14146 (__tzset_parse_tz): Parse negative time of day.
14148 Document TZ transition times >= 25:00:00.
14149 * manual/time.texi (TZ Variable): Document transition times from
14150 25:00:00 through 167:59:59. These are already supported, and this
14151 support will help with version-3 tz-format files.
14153 * manual/time.texi (TZ Variable): Modernize North America example
14154 to reflect current (i.e., 2007-and-later) daylight saving rules.
14156 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14158 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14160 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14161 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14164 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14165 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14166 * sysdeps/unix/bsd/clock.c: Likewise.
14167 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14168 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14169 * sysdeps/unix/bsd/init-posix.c: Likewise.
14170 * sysdeps/unix/bsd/poll.c: Likewise.
14171 * sysdeps/unix/bsd/ptsname.c: Likewise.
14172 * sysdeps/unix/bsd/seekdir.c: Likewise.
14173 * sysdeps/unix/bsd/setegid.c: Likewise.
14174 * sysdeps/unix/bsd/seteuid.c: Likewise.
14175 * sysdeps/unix/bsd/setgid.c: Likewise.
14176 * sysdeps/unix/bsd/setrgid.c: Likewise.
14177 * sysdeps/unix/bsd/setruid.c: Likewise.
14178 * sysdeps/unix/bsd/setsid.c: Likewise.
14179 * sysdeps/unix/bsd/setuid.c: Likewise.
14180 * sysdeps/unix/bsd/sigaction.c: Likewise.
14181 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14182 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14183 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14184 * sysdeps/unix/bsd/telldir.c: Likewise.
14185 * sysdeps/unix/bsd/times.c: Likewise.
14186 * sysdeps/unix/bsd/usleep.c: Likewise.
14188 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14189 ($(objpfx)libbsd-compat.a): Remove rule.
14191 * include/features.h (__FAVOR_BSD): Do not define.
14192 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14193 features conflicting with POSIX.
14194 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14195 (_BSD_SOURCE): Remove description of not being a subset of other
14196 feature test macros.
14197 * manual/job.texi (getpgrp): Do not document BSD version.
14198 (getpgid): Do not document by reference to BSD getpgrp.
14199 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14200 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14201 * signal/signal.h [__FAVOR_BSD]: Likewise.
14202 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14203 instead of making contents conditional on [__FAVOR_BSD].
14204 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14206 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14210 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14213 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14214 values below 2**-450, not 2**-500.
14215 * math/auto-libm-test-in: Don't allow spurious underflow from
14217 * math/auto-libm-test-out: Regenerated.
14221 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14222 values of ha and hb and sort them after adjusting subnormal
14224 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14226 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14227 values of ea and eb and sort them after adjusting subnormal
14229 * math/auto-libm-test-in: Do not expect some hypot tests of
14230 subnormals to fail. Add more hypot tests.
14231 * math/auto-libm-test-out: Regenerated.
14233 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14236 * sysdeps/sh/s_fma.c: New file.
14237 * sysdeps/sh/s_fmaf.c: New file.
14238 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14240 * sysdeps/sh/Implies: Add sh/soft-fp.
14242 2013-12-16 Roland McGrath <roland@hack.frob.com>
14244 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14245 level of indirection to members `objname', `errstring', `malloced'.
14246 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14247 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14248 it as the __longjmp argument (just pass 1 instead).
14249 (_dl_catch_error): Initialize C with argument pointers and address of
14250 volatile local ERRCODE rather than copying values out of C at return.
14252 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14254 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14255 * math/auto-libm-test-out: Regenerated.
14256 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14257 (hypot_test_data): Likewise.
14258 (pow_test_data): Likewise.
14259 (pow_tonearest_test_data): Likewise.
14260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14262 (func_calc_desc): Add mpfr_ff_f union field.
14263 (FUNC_mpfr_ff_f): New macro.
14264 (test_functions): Add atan2, hypot and pow.
14265 (special_fill_min): New function.
14266 (special_fill_minus_min): Likewise.
14267 (special_fill_min_subnorm): Likewise.
14268 (special_fill_minus_min_subnorm): Likewise.
14269 (special_real_inputs): Add min, -min, min_subnorm and
14271 (calc_generic_results): Handle mpfr_ff_f.
14272 * sysdeps/i386/fpu/libm-test-ulps: Update.
14273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14275 2013-12-16 Will Newton <will.newton@linaro.org>
14277 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14278 (Aligned Memory Blocks): Add documentation for aligned_alloc
14279 and suggest it as an alternative to posix_memalign.
14280 (Hooks for Malloc): Document __memalign_hook is also called
14281 for aligned_alloc. (Summary of Malloc): Add summary for
14282 aligned alloc. Document __memalign_hook is also called
14285 2013-12-16 Will Newton <will.newton@linaro.org>
14287 * manual/memory.texi (Malloc Examples): Clarify default
14288 alignment documentation. Suggest posix_memalign rather
14289 than memalign or valloc.
14290 (Aligned Memory Blocks): Remove suggestion to use memalign
14291 or valloc. Remove obsolete comment about BSD.
14292 Document memalign errno values and mark the function obsolete.
14293 Document posix_memalign returned error codes. Mark valloc
14294 as obsolete. (Hooks for Malloc): __memalign_hook is also
14295 called for posix_memalign and valloc.
14296 (Summary of Malloc): Add posix_memalign to function summary.
14297 __memalign_hook is also called for posix_memalign and valloc.
14299 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14301 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14305 (sloww): Use mynumber union. Expand ternary operator into
14306 if-else statements.
14307 (cslow): use mynumber union.
14309 2013-12-16 Allan McRae <allan@archlinux.org>
14311 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14312 * configure: Regenerated.
14314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14317 * configure.ac: Added --enable-maintainer-mode. Check for
14318 autoconf when enabled.
14319 * configure: Regenerated.
14321 * nscd/nscd.service: New file.
14322 * nscd/nscd.tmpfiles: New file.
14324 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14327 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14328 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14329 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14330 (strstr): Add __strstr_sse2_unaligned ifunc.
14331 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14332 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14333 (strcasestr): Remove __strcasestr_sse42 ifunc.
14334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14338 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14340 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14341 * sysdeps/sh/bits/fenv.h: ... here.
14342 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14344 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14346 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14349 hypotf multiarch implementations.
14350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14353 multiarch hypot for PPC64.
14354 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14357 multiarch hypotf for PPC64.
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14360 modff multiarch implementations.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14364 multiarch modf for PPC64.
14365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14368 multiarch modff for PPC64.
14370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14371 and logl multiarch implementations.
14372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14375 multiarch logb for PPC64.
14376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14379 multiarch logb for PPC64.
14380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14383 multiarch logb for PPC64.
14385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14386 isinff multiarch implementation.
14387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14391 multiarch isinf for PPC64.
14392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14395 multiarch isinff for PPC64.
14397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14398 finitef multiarch implementation.
14399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14403 multiarch finite for PPC64.
14404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14407 multiarch finitef for PPC64.
14409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14410 lrint multiarch implementation.
14411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14415 multiarch llrint for PPC64.
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14417 multiarch lrint for PPC64.
14419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14420 copysignf multiarch implementation.
14421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14426 multiarch copysign for PPC64.
14427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14428 multiarch copysignf for PPC64.
14430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14431 multiarch implementation.
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14440 multiarch llround for PPC64.
14441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14442 multiarch trunc for PPC64.
14443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14444 multiarch truncf for PPC64.
14446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14447 multiarch implementation.
14448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14456 multiarch llround for PPC64.
14457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14458 multiarch round for PPC64.
14459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14460 multiarch roundf for PPC64.
14462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14463 multiarch implementation.
14464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14472 multiarch llround for PPC64.
14473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14474 multiarch floor for PPC64.
14475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14476 multiarch floorf for PPC64.
14478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14479 multiarch implementation.
14480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14488 multiarch llround for PPC64.
14489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14490 multiarch ceil for PPC64.
14491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14492 multiarch ceilf for PPC64.
14494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14495 multiarch implementation.
14496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14503 multiarch llround for PPC64.
14504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14505 multiarch lround for PPC64.
14507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14508 multiarch implementation.
14509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14516 multiarch isnan for PPC64.
14517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14518 multiarch isnanf for PPC64.
14520 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14521 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14522 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14523 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14524 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14527 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14528 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14533 multiarch implementations.
14534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14535 (__libc_ifunc_impl_list): Likewise.
14536 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14538 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14539 multiarch stpcpy for PPC64.
14541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14542 multiarch implementations.
14543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14544 (__libc_ifunc_impl_list): Likewise.
14545 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14546 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14547 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14548 multiarch strcpy for PPC64.
14550 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14551 redefine function name.
14552 (_wordcopy_fwd_dest_aligned): Likewise.
14553 (_wordcopy_bwd_aligned): Likewise.
14554 (_wordcopy_bwd_dest_aligned): Likewise.
14555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14556 multiarch implementations.
14557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14558 (__libc_ifunc_impl_list): Likewise.
14559 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14560 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14561 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14562 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14563 multiarch wcscpy for PPC64.
14565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14566 multiarch implementations.
14567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14568 (__libc_ifunc_impl_list): Likewise.
14569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14572 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14573 multiarch wcscpy for PPC64.
14575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14576 multiarch implementations.
14577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14578 (__libc_ifunc_impl_list): Likewise.
14579 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14582 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14583 multiarch wcsrchr for PPC64.
14585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14586 multiarch implementations.
14587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14588 (__libc_ifunc_impl_list): Likewise.
14589 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14590 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14591 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14592 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14593 multiarch wcschr for PPC64.
14595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14596 multiarch implementations.
14597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14598 (__libc_ifunc_impl_list): Likewise.
14599 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14601 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14602 multiarch strchrnul for PPC64.
14604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14607 (__libc_ifunc_impl_list): Likewise.
14608 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14609 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14610 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14611 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14617 (__libc_ifunc_impl_list): Likewise.
14618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14621 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14625 multiarch implementations.
14626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14627 (__libc_ifunc_impl_list): Likewise.
14628 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14629 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14630 strncasecmp for PPC64.
14631 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14632 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14633 multiarch strncasecmp_l for PPC64.
14635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14636 multiarch implementations.
14637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14638 (__libc_ifunc_impl_list): Likewise.
14639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14641 multiarch strcasecmp for PPC64.
14642 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14645 multiarch strcasecmp_l for PPC64.
14647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14650 (__libc_ifunc_impl_list): Likewise.
14651 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14659 (__libc_ifunc_impl_list): Likewise.
14660 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14661 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14662 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14668 (__libc_ifunc_impl_list): Likewise.
14669 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14670 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14671 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14672 rawmemrchr for PPC64.
14674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14677 (__libc_ifunc_impl_list): Likewise.
14678 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14679 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14680 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14686 (__libc_ifunc_impl_list): Likewise.
14687 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14688 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14689 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14695 (__libc_ifunc_impl_list): Likewise.
14696 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14698 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14701 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14702 avoid cretion of __bzero symbol.
14703 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14705 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14707 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14710 multiarch implementations.
14711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14712 (__libc_ifunc_impl_list): Likewise.
14713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14715 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14716 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14718 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14719 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14720 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14721 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14722 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14724 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14726 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14730 (__libc_ifunc_impl_list): Likewise.
14731 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14732 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14733 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14734 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14738 multiarch for POWER/PPC64.
14739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14740 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14747 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14750 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14751 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14752 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14753 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14754 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14755 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14756 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14757 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14758 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14759 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14760 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14761 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14762 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14763 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14764 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14773 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14775 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14777 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14779 * benchtests/Makefile (bench): Add exp2 and log2.
14780 (LDLIBS-bench-exp2): Add -lm.
14781 (LDLIBS-bench-log2): Likewise.
14782 * benchtests/exp2-inputs: New inputs file.
14783 * benchtests/log2-inputs: New inputs file.
14784 * benchtests/log-inputs: Add new inputs.
14785 * benchtests/tan-inputs: Likewise.
14787 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14789 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14791 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14792 (csloww2): ... from here.
14794 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14795 instead of structures.
14796 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14797 (POLYNOMIAL): Likewise.
14798 (TAYLOR_SLOW): Likewise.
14804 (sloww1); Likewise.
14805 (sloww2): Likewise.
14806 (bsloww1): Likewise.
14807 (bsloww2): Likewise.
14808 (cslow2): Likewise.
14809 (csloww): Likewise.
14810 (csloww1): Likewise.
14811 (csloww2): Likewise.
14813 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
14815 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14816 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14817 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14818 * malloc/hooks.c (realloc_check): Likewise.
14820 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14821 * malloc/arena.c: Remove PER_THREAD conditional.
14822 [!PER_THREAD]: Remove code.
14823 (ptmalloc_unlock_all2): Likewise.
14824 (ptmalloc_init): Likewise.
14825 (_int_new_arena): Likewise.
14826 (arena_get2): Likewise.
14827 * malloc/hooks.c (__malloc_get_state): Likewise.
14828 (__malloc_set_state): Likewise.
14829 * malloc/malloc.c: Likewise.
14830 (struct malloc_state): Likewise.
14831 (struct malloc_par): Likewise.
14832 (__libc_realloc): Likewise.
14833 (__libc_mallopt): Likewise.
14835 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14837 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14839 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
14841 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14842 macro to a function. Check for zero perturb_byte.
14843 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14845 * malloc/malloc.c: (force_reg): Remove.
14846 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14847 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14848 force_reg by atomic_forced_read.
14849 * malloc/arena.c (ptmalloc_init): Likewise.
14850 * malloc/hooks.c (top_check): Likewise.
14852 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14856 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14860 2013-12-08 Joseph Myers <joseph@codesourcery.com>
14862 * math/auto-libm-test-in: Add tests of lgamma.
14863 * math/auto-libm-test-out: Regenerated.
14864 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14865 (M_LOG_2_SQRT_PIl): Likewise.
14866 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14867 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14869 (func_calc_desc): Add mpfr_f_f1 union field.
14870 (ARGS1): New macro.
14878 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14879 (test_functions): Add lgamma.
14880 (calc_generic_results): Handle mpfr_f_f1.
14881 * sysdeps/i386/fpu/libm-test-ulps: Update.
14882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14884 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14886 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14887 __mpn_add_n for PowerPC64/POWER7.
14888 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14889 __mpn_sub_n for PowerPC64/POWER7.
14891 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14892 __mpn_addmul_1 for PowerPC64.
14893 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14894 __mpn_submul_1 for PowerPC64.
14895 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14897 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14900 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14903 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14905 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14907 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14909 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14910 add multiarch folders.
14911 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14912 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14913 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14914 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14915 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14916 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14917 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14918 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14919 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14920 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14921 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14930 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14936 multiarch __ieee754_hypot for PowerPC32.
14937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14942 multiarch __ieee754_hypotf for PowerPC32.
14944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14945 long_double_symbol only if __logbl is defined.
14946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14947 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14949 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14951 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14953 path for implementation.
14954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14957 logb, and logbl multiarch implementations for PowerPC32.
14958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14963 multiarch logb for PowerPC32.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14969 multiarch logbf for PowerPC32.
14970 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14974 multiarch logbl implementation for PowerPC32.
14976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14977 and modff multiarch implementations.
14978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14983 multiarch modf for PowerPC32.
14984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14989 multiarch modff for PowerPC32.
14991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14992 and lrintf multiarch implementations.
14993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14998 multiarch lrint for PowerPC32.
14999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15000 file: multiarch lrintf for PowerPC32.
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15003 and lroundf multiarch implementations.
15004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15011 multiarch lround for PowerPC32.
15012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15013 file: multiarch lroundf for PowerPC32.
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15016 copysign and copysignf multiarch implementations.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15022 file: multiarch copysign for PowerPC32.
15023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15024 file: multiarch copysignf for PowerPC32.
15026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15027 and truncf multiarch implementations.
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15033 multiarch trunc for PowerPC32.
15034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15039 multiarch truncf for PowerPC32.
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15042 and roundf multiarch implementations.
15043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15048 multiarch round for PowerPC32.
15049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15054 multiarch roundf for PowerPC32.
15056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15057 and floorf multiarch implementations.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15063 multiarch floor for PowerPC32.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15069 multiarch floorf for PowerPC32.
15071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15072 and ceilf multiarch implementations.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15078 multiarch ceil for PowerPC32.
15079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15084 multiarch ceilf for PowerPC32.
15086 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15088 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15089 FINITEF is defined.
15090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15091 and finitef multiarch implementations.
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15097 multiarch finite for PowerPC32.
15098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15101 file: multiarch finitef for PowerPC32.
15103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15104 and isinff multiarch implementations.
15105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15110 multiarch isinf for PowerPC32.
15111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15114 multiarch isinff for PowerPC32.
15116 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15117 alias when __isnan is defined.
15118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15119 and isnanf multiarch implementations.
15120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15129 multiarch isnan for PowerPC32.
15130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15135 multiarch isnanf for PowerPC32.
15137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15138 and sqrtf multiarch implementations.
15139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15144 multiarch sqrt for PowerPC32.
15145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15150 multiarch sqrtf for PowerPC32.
15152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15153 and llroundf multiarch implementations.
15154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15161 file: multiarch llround for PowerPC32.
15162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15163 file: multiarch llroundf for PowerPC32.
15165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15166 multiarch PowerPC32 fpu implementations.
15167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15172 multiarch llrint for PowerPC32.
15173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15184 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15189 multiarch wordcopy for PPC32.
15190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15193 (__libc_ifunc_impl_list): Likewise.
15194 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15195 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15197 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15198 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15199 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15201 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15209 multiarch wcscpy for PPC32.
15210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15213 (__libc_ifunc_impl_list): Likewise.
15214 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15215 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15216 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15217 sysdeps/powerpc/power6/wcscpy.c.
15219 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15227 multiarch wcsrchr for PPC32.
15228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15231 (__libc_ifunc_impl_list): Likewise.
15232 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15233 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15234 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15235 sysdeps/powerpc/power6/wcsrchr.c.
15237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15243 multiarch wcschr for PPc32.
15244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15247 (__libc_ifunc_impl_list): Likewise.
15248 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15249 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15250 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15251 sysdeps/powerpc/power6/wcschr.c.
15253 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15257 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15258 file: multiarch strchr for PPC32.
15259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15262 (__libc_ifunc_impl_list): Likewise.
15264 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15266 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15268 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15271 multiarch strchrnul for PPC32.
15272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15275 (__libc_ifunc_impl_list): Likewise.
15277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15280 multiarch strncasecmp for PPC32.
15281 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15284 multiarch strncasecmp_l for PPC32.
15285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15286 strncasecmp multiarch objects.
15287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15288 (__libc_ifunc_impl_list): Likewise.
15290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15293 multiarch strncasecmp for PPC32.
15294 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15296 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15297 multiarch strcasecmp_l for PPC32.
15298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15301 (__libc_ifunc_impl_list): Likewise.
15303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15308 multiarch strncmp for PPC32.
15309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15312 (__libc_ifunc_impl_list): Likewise.
15314 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15315 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15317 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15318 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15322 (__libc_ifunc_impl_list): Likewise.
15324 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15328 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15332 (__libc_ifunc_impl_list): Likewise.
15334 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15336 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15338 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15339 multiarch rawmemchr for PPC32.
15340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15343 (__libc_ifunc_impl_list): Likewise.
15345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15347 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15349 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15350 file: memrchr multiarch for PPC32.
15351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15354 (__libc_ifunc_impl_list): Likewise.
15356 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15361 multiarch memchr for PPC32.
15362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15365 (__libc_ifunc_impl_list): Likewise.
15367 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15370 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15372 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15373 file: multiarch mempcpy for PPC32.
15374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15377 (__libc_ifunc_impl_list): Likewise.
15379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15380 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15382 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15383 multiarch bzero for PPC32.
15384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15386 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15388 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15389 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15390 file: multiarch memset for PPC32.
15391 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15393 memset multiarch objects.
15394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15395 (__libc_ifunc_impl_list): Likewise.
15397 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15402 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15406 (__libc_ifunc_impl_list): Likewise.
15408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15417 multiarch memcpy for PPC32.
15418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15421 (__libc_ifunc_impl_list): Likewise.
15423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15424 support multiarch for POWER/PPC32.
15425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15427 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15429 Implies file to make multiarch folder appers before the fpu and
15430 default folder for power4 configuration.
15432 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15434 * scripts/bench.pl: Append volatile keyword to type.
15436 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15438 * sysdeps/sh/sotruss-lib.c: New file.
15439 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15441 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15445 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15448 * math/w_tgamma.c: Include <errno.h>.
15449 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15450 * math/w_tgammaf.c: Include <errno.h>.
15451 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15452 * math/w_tgammal.c: Include <errno.h>.
15453 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15454 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15455 underflow. Add more tgamma tests.
15456 * math/auto-libm-test-out: Regenerated.
15457 * sysdeps/i386/fpu/libm-test-ulps: Update.
15458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15460 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15461 sin, sinh, tan, tanh, tgamma, y0 and y1.
15462 * math/auto-libm-test-out: Regenerated.
15463 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15464 (TEST_COND_x86): Likewise.
15465 (M_E2l): Remove macro.
15467 (M_2_SQRT_PIl): Likewise.
15468 (M_SQRT_PIl): Likewise.
15469 (M_1_DIV_El): Likewise.
15470 (log_test_data): Use AUTO_TESTS_f_f.
15471 (log10_test_data): Likewise.
15472 (log1p_test_data): Likewise.
15473 (log2_test_data): Likewise.
15474 (sin_test_data): Likewise.
15475 (sin_tonearest_test_data): Likewise.
15476 (sin_towardzero_test_data): Likewise.
15477 (sin_downward_test_data): Likewise.
15478 (sin_upward_test_data): Likewise.
15479 (sinh_test_data): Likewise.
15480 (sinh_tonearest_test_data): Likewise.
15481 (sinh_towardzero_test_data): Likewise.
15482 (sinh_downward_test_data): Likewise.
15483 (sinh_upward_test_data): Likewise.
15484 (tan_test_data): Likewise.
15485 (tan_tonearest_test_data): Likewise.
15486 (tan_towardzero_test_data): Likewise.
15487 (tan_downward_test_data): Likewise.
15488 (tan_upward_test_data): Likewise.
15489 (tanh_test_data): Likewise.
15490 (tgamma_test_data): Likewise.
15491 (y0_test_data): Likewise.
15492 (y1_test_data): Likewise.
15493 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15494 (special_real_inputs): Add pi/4.
15495 * sysdeps/i386/fpu/libm-test-ulps: Update.
15496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15498 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15500 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15501 "longjmp_target" static probes.
15502 (__longjmp): Rename to __longjmp_symbol.
15503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15504 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15505 on which longjmp to generate.
15506 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15507 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15509 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15510 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15511 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15512 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15513 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15514 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15516 __longjmp_symbol based on which __longjmp to generate.
15517 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15519 (setjmp): Rename to setjmp_symbol.
15520 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15521 (_setjmp): Rename to _setjmp_symbol.
15522 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15523 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15524 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15525 which setjmp to generate.
15526 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15527 "longjmp_target" static probes.
15529 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15531 * benchtests/README: Add note about output arguments.
15532 * benchtests/bench-sincos.c: Remove file.
15533 * benchtests/sincos-inputs: New file.
15534 * scripts/bench.pl: Identify output arguments and define
15535 static variables for them.
15537 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15540 * Makefile (INSTALL): Add install-plain.texi as the primary
15542 * manual/install-plain.texi: New file.
15543 * manual/install.texi: Include node directive only for
15544 non-plaintext output.
15546 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15548 * stdlib/longlong.h: Update from GCC.
15552 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15553 * math/w_j0f.c (y0f): Likewise.
15554 * math/w_j0l.c (__y0l): Likewise.
15555 * math/w_j1.c (y1): Likewise.
15556 * math/w_j1f.c (y1f): Likewise.
15557 * math/w_j1l.c (__y1l): Likewise
15558 * math/w_jn.c (yn): Likewise.
15559 * math/w_jnf.c (ynf): Likewise.
15560 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15561 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15562 value for Bessel function domain errors outside _SVID_ mode.
15563 Adjust sign of return value for yn (negative integer, 0).
15564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15565 by zero in return for negative x and set sign appropriately for
15567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15568 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15569 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15570 expectations in error cases.
15571 (y1_test_data): Likewise.
15572 (yn_test_data): Likewise.
15573 * sysdeps/i386/fpu/libm-test-ulps: Update.
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15576 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15578 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15579 "64" to "64-v1". Add "64-v2".
15580 (abi-64-options): Rename to ...
15581 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15582 (abi-64-condition): Rename to ...
15583 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15584 (abi-64-ld-soname): Rename to ...
15585 (abi-64-v1-ld-soname): ... this.
15586 (abi-64-v2-options): Define.
15587 (abi-64-v2-condition): Likewise.
15588 (abi-64-v2-ld-soname): Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15590 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15595 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15596 Alan Modra <amodra@gmail.com>
15598 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15599 New versions for use with the ELFv2 ABI.
15600 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15601 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15603 (struct La_ppc64v2_retval): Likewise.
15604 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15605 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15606 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15607 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15608 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15610 Do not save or restore CR.
15611 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15612 (_dl_profile_resolve): Do no save or restore CR. Support extended
15613 return values for ELFv2 ABI. Fix location of FPR return registers.
15614 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15615 updated values for _CALL_ELF == 2.
15616 (La_regs, La_retval, int_retval): Likewise.
15618 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15620 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15621 (FRAME_MIN_SIZE_PARM): Likewise.
15622 (FRAME_BACKCHAIN): Likewise.
15623 (FRAME_CR_SAVE): Likewise.
15624 (FRAME_LR_SAVE): Likewise.
15625 (FRAME_TOC_SAVE): Likewise.
15626 (FRAME_PARM_SAVE): Likewise.
15627 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15628 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15629 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15630 (call_mcount_parm_offset): New macro.
15631 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15632 (PROF): Use symbolic stack frame offsets.
15633 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15634 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15635 Redefine in terms of FRAME_MIN_SIZE.
15636 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15637 (_dl_profile_resolve): Likewise. Update comment.
15638 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15639 symbols stack frame offsets.
15640 (__sigsetjmp): Likewise.
15641 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15642 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15643 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15644 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15647 (FRAME_BACKCHAIN): Remove.
15648 (FRAME_CR_SAVE): Likewise.
15649 (FRAME_LR_SAVE): Likewise.
15650 (FRAME_COMPILER_DW): Likewise.
15651 (FRAME_LINKER_DW): Likewise.
15652 (FRAME_TOC_SAVE): Likewise.
15653 (FRAME_PARM_SAVE): Likewise.
15654 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15655 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15656 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15658 (CHECK_SP): Use symbolic stack frame offsets.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15660 zone" instead of caller's parameter save area for temp storage.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15662 Likewise. Also, use symbolic stack frame offsets.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15664 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15665 our own stack frame instead of the caller's.
15666 (__socket): Use symbolic stack frame offsets.
15668 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15669 Alan Modra <amodra@gmail.com>
15671 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15673 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15674 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15675 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15677 (elf_machine_fixup_plt): Call it.
15678 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15680 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15681 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15682 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15683 r2 before calling target.
15685 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15686 Alan Modra <amodra@gmail.com>
15688 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15689 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15690 versions of macros to support ELFv2 ABI.
15691 (LOCALENTRY): New macro.
15692 (ENTRY, EALIGN): Use it.
15693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15694 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15695 fall through into ENTRY entry point.
15696 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15697 Only define if _CALL_ELF != 2.
15699 (elf_machine_matches_host): Verify ABI version matches.
15700 (RTLD_START): Use LOCALENTRY.
15701 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15702 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15703 (PLT_ENTRY_WORDS): New macro.
15704 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15705 (elf_machine_runtime_setup): Support ELFv2 ABI.
15706 (elf_machine_fixup_plt): Likewise.
15707 (elf_machine_plt_conflict): Likewise.
15708 (resolve_ifunc): Likewise.
15709 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15713 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15715 (makecontext): Support ELFv2 ABI.
15716 * elf/elf.h (EF_PPC64_ABI): Define.
15718 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15720 * sysdeps/powerpc/powerpc64/sysdep.h
15721 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15722 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15723 (ENTRY) [ASSEMBLER]: ... but instead here ...
15724 (EALIGN) [ASSEMBLER]: ... and here.
15725 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15726 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15727 (ENTRY_2) [!ASSEMBLER]: Use it.
15728 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15729 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15731 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15734 Use PPC64_LOAD_FUNCPTR.
15736 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15738 2013-12-04 Alan Modra <amodra@gmail.com>
15740 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15741 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15742 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15743 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15746 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15747 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15748 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15749 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15750 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15752 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15755 (__makecontext): Fix incorrect CFI when backtracing out of
15756 context created via makecontext.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15758 (__setcontext): Fix incorrect CFI during switch to new context.
15759 (__novec_setcontext): Likewise.
15761 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15764 * time/strptime_l.c (__strptime_internal): Allow modifiers
15766 * time/tst-strptime.c (day_tests): Add testcase.
15768 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15770 * scripts/bench.pl: Skip over blank lines.
15772 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15775 * manual/time.texi (Calendar Time): Clarify what timezone functions
15778 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15782 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15784 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15786 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15787 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15788 * debug/memset_chk.c (__memset_chk): Likewise.
15789 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15790 * debug/strncpy_chk.c: Likewise.
15792 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15797 (__ieee754_exp): For possibly underflowing results, check size of
15798 result and force underflow exception if required.
15799 * math/auto-libm-test-in: Add more tests of exp.
15800 * math/auto-libm-test-out: Regenerated.
15801 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15805 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15806 * math/w_exp2f.c (__exp2f): Likewise.
15807 * math/w_exp2l.c (__exp2l): Likewise.
15808 * math/auto-libm-test-in: Do not allow missing errno on exp2
15810 * math/auto-libm-test-out: Regenerated.
15812 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
15815 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15816 handle filename validation.
15817 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15820 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15823 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15824 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15825 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15827 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15829 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15831 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15833 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15834 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15835 Add more erfc tests.
15836 * math/auto-libm-test-out: Regenerated.
15837 * sysdeps/i386/fpu/libm-test-ulps: Update.
15838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15840 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15841 exp2, expm1, j0 and j1.
15842 * math/auto-libm-test-out: Regenerated.
15843 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15844 (erfc_test_data): Likewise.
15845 (exp_test_data): Likewise.
15846 (exp_tonearest_test_data): Likewise.
15847 (exp_towardzero_test_data): Likewise.
15848 (exp_downward_test_data): Likewise.
15849 (exp_upward_test_data): Likewise.
15850 (exp10_test_data): Likewise.
15851 (exp2_test_data): Likewise.
15852 (expm1_test_data): Likewise.
15853 (j0_test_data): Likewise.
15854 (j1_test_data): Likewise.
15855 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15856 (input_flag_type): Add flag_xfail_rounding.
15857 (input_flags): Add xfail-rounding.
15858 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15859 (output_for_one_input_case): Handle flag_xfail_rounding.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15863 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15866 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15869 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15872 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15873 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15874 (STAP_PROBE0): New macro.
15875 (STAP_PROBE1): Likewise.
15876 (STAP_PROBE2): Likewise.
15877 (STAP_PROBE3): Likewise.
15878 (STAP_PROBE4): Likewise.
15880 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
15882 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15884 2013-12-02 Steve Ellcey <sellcey@mips.com>
15886 * benchtests/Makefile (bench): Add sqrt.
15887 (LDLIBS-bench-sqrt): New.
15888 * benchtests/sqrt-input: New.
15890 2013-12-02 Pavel Simerda <psimerda@redhat.com>
15892 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15893 (GAIH_EAI): Likewise.
15894 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15895 (gaih_inet): Likewise.
15896 (getaddrinfo): Don't use GAIH_EAI.
15898 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15899 (struct gaih): Remove definition.
15901 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15903 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15904 Use HERRNOP directly.
15906 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15910 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15912 * math/gen-auto-libm-tests.c (test_functions): Add more
15913 single-argument functions.
15914 (special_fill_pi_2): New function.
15915 (special_fill_minus_pi_2): Likewise.
15916 (special_fill_pi_6): Likewise.
15917 (special_fill_minus_pi_6): Likewise.
15918 (special_fill_pi_3): Likewise.
15919 (special_fill_2pi_3): Likewise.
15920 (special_fill_e): Likewise.
15921 (special_fill_1_e): Likewise.
15922 (special_fill_e_minus_1): Likewise.
15923 (special_real_inputs): Add more special inputs.
15924 (output_for_one_input_case): Do not require ERANGE on underflow to
15925 zero if round-to-nearest result does not underflow to zero, unless
15926 exact results required.
15927 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15928 atan, atanh, cbrt, cos and cosh.
15929 * math/auto-libm-test-out: Regenerated.
15930 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15931 (acos_tonearest_test_data): Likewise.
15932 (acos_towardzero_test_data): Likewise.
15933 (acos_downward_test_data): Likewise.
15934 (acos_upward_test_data): Likewise.
15935 (acosh_test_data): Likewise.
15936 (asin_test_data): Likewise.
15937 (asin_tonearest_test_data): Likewise.
15938 (asin_towardzero_test_data): Likewise.
15939 (asin_upward_test_data): Likewise.
15940 (asinh_test_data): Likewise.
15941 (atan_test_data): Likewise.
15942 (atanh_test_data): Likewise.
15943 (cbrt_test_data): Likewise.
15944 (cos_test_data): Likewise.
15945 (cos_tonearest_test_data): Likewise.
15946 (cos_towardzero_test_data): Likewise.
15947 (cos_downward_test_data): Likewise.
15948 (cos_upward_test_data): Likewise.
15949 (cosh_test_data): Likewise.
15950 (cosh_tonearest_test_data): Likewise.
15951 (cosh_towardzero_test_data): Likewise.
15952 (cosh_downward_test_data): Likewise.
15953 (cosh_upward_test_data): Likewise.
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15957 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15960 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15961 * math/w_exp10f.c (__exp10f): Likewise.
15962 * math/w_exp10l.c (__exp10l): Likewise.
15963 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15964 errno settings in existing tests.
15967 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15968 precision control set to double precision.
15969 * sysdeps/i386/fpu/w_sqrt.c: New file.
15970 * math/auto-libm-test-in: Add more tests.
15971 * math/auto-libm-test-out: Update.
15973 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15974 (sqrt_test_tonearest): New function.
15975 (sqrt_towardzero_test_data): New variable.
15976 (sqrt_test_towardzero): New function.
15977 (sqrt_downward_test_data): New variable.
15978 (sqrt_test_downward): New function.
15979 (sqrt_upward_test_data): New variable.
15980 (sqrt_test_upward): New function.
15981 (main): Call the new functions.
15983 * math/gen-auto-libm-tests.c: New file.
15984 * math/auto-libm-test-in: Likewise.
15985 * math/auto-libm-test-out: New generated file.
15986 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15988 (%beautify): Add generated representations of zero.
15989 (top level): Set $auto_input and call parse_auto_input.
15990 (beautify): Remove trailing "f" from hex float constants.
15991 (parse_args): Handle XFAIL_TEST.
15992 (convert_condition): New function.
15993 (or_value): Likewise.
15994 (or_cond_value): Likewise.
15995 (generate_testfile): Handle AUTO_TESTS_* lines.
15996 (parse_auto_input): New function.
15997 * math/libm-test.inc (XFAIL_TEST): New macro.
15998 (ERRNO_UNCHANGED): Update value.
15999 (ERRNO_EDOM): Likewise.
16000 (ERRNO_ERANGE): Likewise.
16001 (IGNORE_RESULT): Likewise.
16002 (TEST_COND_flt_32): New macro.
16003 (TEST_COND_dbl_64): Likewise.
16004 (TEST_COND_ldbl_96_intel): Likewise.
16005 (TEST_COND_ldbl_96_m68k): Likewise.
16006 (TEST_COND_ldbl_128): Likewise.
16007 (TEST_COND_ldbl_128ibm): Likewise.
16008 (TEST_COND_long32): Likewise.
16009 (TEST_COND_long64): Likewise.
16010 (TEST_COND_before_rounding): Likewise.
16011 (TEST_COND_after_rounding): Likewise.
16012 (enable_test): Handle XFAIL_TEST flag.
16013 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16014 with finite results.
16015 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16016 auto-libm-test-out.
16018 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16019 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16022 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16023 __tls_get_addr_internal instead of __tls_get_offset in order to
16024 avoid GOT pointer dependency. Make rtld export
16025 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16026 __tls_get_addr since we are a __tls_get_offset platform.
16027 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16028 GOT pointer being set up before.
16029 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16031 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16033 * manual/math.texi (Errors in Math Functions): Document accuracy
16037 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16038 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16054 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16055 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16056 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16057 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16058 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16060 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16062 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16064 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16066 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16067 atomic-feupdateenv and flt-rounds.
16068 * sysdeps/powerpc/nofpu/Versions (libc): Add
16069 __atomic_feholdexcept, __atomic_feclearexcept,
16070 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16071 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16072 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16073 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16074 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16079 * manual/arith.texi (FP Exceptions): Document that exceptions may
16080 not be raised when matherr is used.
16081 (Math Error Reporting): Document overflow in directed rounding
16082 modes. Document that errno may not be set when finite values are
16083 returned on overflow. Document intent to set errno on underflow
16084 only for underflow to zero.
16087 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16088 round-to-nearest then adjust result for other rounding modes.
16089 * include/fenv.h (fegetround): Use libm_hidden_proto.
16090 * math/fegetround.c (fegetround): Use libm_hidden_def.
16091 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16092 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16093 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16096 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16097 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16098 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16099 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16101 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16104 * nss/Versions (libnss_files): Add
16105 _nss_files_gethostbyname3_r.
16106 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16108 (HOST_DB_LOOKUP): Remove macro.
16109 (_nss_files_gethostbyname_r): Implement function without the
16110 HOST_DB_LOOKUP macro.
16111 (_nss_files_gethostbyname2_r): Likewise.
16113 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16115 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16117 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16119 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16120 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16123 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16125 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16126 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16127 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16128 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16129 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16130 __fe_nomask_env_priv and attribute_hidden.
16131 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16132 (libc_feupdateenv_test_ppc): Likewise.
16133 (libc_feresetround_ppc): Likewise.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16135 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16136 compat_symbol macro.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16138 (__fe_nomask_env): Likewise.
16139 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16141 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16143 * string/Makefile: Remove ifunc tests.
16144 * string/test-string.h: Define TEST_IFUNC.
16145 * string/test-bcopy-ifunc.c: Remove.
16146 * string/test-bzero-ifunc.c: Likewise.
16147 * string/test-memccpy-ifunc.c: Likewise.
16148 * string/test-memchr-ifunc.c: Likewise.
16149 * string/test-memcmp-ifunc.c: Likewise.
16150 * string/test-memcpy-ifunc.c: Likewise.
16151 * string/test-memmem-ifunc.c: Likewise.
16152 * string/test-memmove-ifunc.c: Likewise.
16153 * string/test-mempcpy-ifunc.c: Likewise.
16154 * string/test-memrchr-ifunc.c: Likewise.
16155 * string/test-memset-ifunc.c: Likewise.
16156 * string/test-rawmemchr-ifunc.c: Likewise.
16157 * string/test-stpcpy-ifunc.c: Likewise.
16158 * string/test-stpncpy-ifunc.c: Likewise.
16159 * string/test-strcasecmp-ifunc.c: Likewise.
16160 * string/test-strcasestr-ifunc.c: Likewise.
16161 * string/test-strcat-ifunc.c: Likewise.
16162 * string/test-strchr-ifunc.c: Likewise.
16163 * string/test-strchrnul-ifunc.c: Likewise.
16164 * string/test-strcmp-ifunc.c: Likewise.
16165 * string/test-strcpy-ifunc.c: Likewise.
16166 * string/test-strcspn-ifunc.c: Likewise.
16167 * string/test-strlen-ifunc.c: Likewise.
16168 * string/test-strncasecmp-ifunc.c: Likewise.
16169 * string/test-strncat-ifunc.c: Likewise.
16170 * string/test-strncmp-ifunc.c: Likewise.
16171 * string/test-strncpy-ifunc.c: Likewise.
16172 * string/test-strnlen-ifunc.c: Likewise.
16173 * string/test-strpbrk-ifunc.c: Likewise.
16174 * string/test-strrchr-ifunc.c: Likewise.
16175 * string/test-strspn-ifunc.c: Likewise.
16176 * string/test-strstr-ifunc.c: Likewise.
16178 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16180 * benchtests/Makefile: Remove ifunc tests.
16181 * benchtests/bench-string.h: Define TEST_IFUNC.
16182 * benchtests/bench-bcopy-ifunc.c: Remove.
16183 * benchtests/bench-bzero-ifunc.c: Likewise.
16184 * benchtests/bench-memccpy-ifunc.c: Likewise.
16185 * benchtests/bench-memchr-ifunc.c: Likewise.
16186 * benchtests/bench-memcmp-ifunc.c: Likewise.
16187 * benchtests/bench-memcpy-ifunc.c: Likewise.
16188 * benchtests/bench-memmem-ifunc.c: Likewise.
16189 * benchtests/bench-memmove-ifunc.c: Likewise.
16190 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16191 * benchtests/bench-memrchr-ifunc.c: Likewise.
16192 * benchtests/bench-memset-ifunc.c: Likewise.
16193 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16194 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16195 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16196 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16197 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16198 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16199 * benchtests/bench-strcat-ifunc.c: Likewise.
16200 * benchtests/bench-strchr-ifunc.c: Likewise.
16201 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16202 * benchtests/bench-strcmp-ifunc.c: Likewise.
16203 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16204 * benchtests/bench-strcpy-ifunc.c: Likewise.
16205 * benchtests/bench-strcspn-ifunc.c: Likewise.
16206 * benchtests/bench-strlen-ifunc.c: Likewise.
16207 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16208 * benchtests/bench-strncat-ifunc.c: Likewise.
16209 * benchtests/bench-strncmp-ifunc.c: Likewise.
16210 * benchtests/bench-strncpy-ifunc.c: Likewise.
16211 * benchtests/bench-strnlen-ifunc.c: Likewise.
16212 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16213 * benchtests/bench-strrchr-ifunc.c: Likewise.
16214 * benchtests/bench-strsep-ifunc.c: Likewise.
16215 * benchtests/bench-strspn-ifunc.c: Likewise.
16216 * benchtests/bench-strstr-ifunc.c: Likewise.
16218 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16220 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16222 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16224 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16225 * rt/aio.h: Likewise.
16226 * sysdeps/gnu/bits/utmp.h: Likewise.
16227 * sysdeps/gnu/bits/utmpx.h: Likewise.
16228 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16229 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16230 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16231 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16232 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16233 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16234 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16235 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16236 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16237 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16238 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16239 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16240 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16242 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16243 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16244 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16245 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16246 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16247 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16248 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16249 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16250 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16251 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16252 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16254 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16255 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16256 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16257 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16258 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16260 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16261 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16262 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16263 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16264 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16265 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16266 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16267 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16268 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16269 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16271 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16274 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16275 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16277 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16279 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16280 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16283 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16286 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16287 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16288 (__fesetround): Remove define.
16289 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16290 rounding and exceptions handling.
16291 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16292 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16293 (__fe_nomask_env): Likewise.
16294 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16295 __fegetround instead of fegetround.
16296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16297 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16299 2013-11-21 Roland McGrath <roland@hack.frob.com>
16301 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16304 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16306 2013-11-21 Meador Inge <meadori@codesourcery.com>
16309 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16310 (encrypt_r): Likewise.
16311 * malloc/obstack.h (obstack_free): Likewise.
16312 * posix/unistd.h (encrypt): Likewise.
16314 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16316 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16317 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16318 DL_CALL_DT_FINI() that call the functions directly.
16319 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16320 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16321 * elf/dl-fini.c: Likewise.
16323 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16325 * malloc/hooks.c (memalign_check): Add alignment rounding.
16326 * malloc/malloc.c (_mid_memalign): New function.
16327 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16328 Implement by calling _mid_memalign.
16329 * manual/probes.texi (Memory Allocation Probes): Remove
16330 memory_valloc_retry and memory_pvalloc_retry.
16332 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16334 * locale/programs/locarchive.c (open_archive): Add const
16335 qualifier to ARCHIVEFNAME and copy default fname to
16339 * libio/tst-widetext.input: Rename Oriya to Odia.
16340 * locale/iso-639.def: Likewise.
16342 * manual/probes.texi (Mathematical Function Probes): Add
16343 documentation for sin, cos, asin and acos probes.
16344 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16345 (__sin32): Add slowasin probe.
16346 (__cos32): Add slowacos probe.
16347 (__mpsin): Add slowsin probe.
16348 (__mpcos): Add slowcos probe.
16350 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16353 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16354 thread-local __sim_exceptions_thread and global
16355 __sim_exceptions_global.
16356 (__sim_disabled_exceptions): Change to thread-local
16357 __sim_disabled_exceptions_thread and global
16358 __sim_disabled_exceptions_global.
16359 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16360 and global __sim_round_mode_global.
16361 (__simulate_exceptions): Use thread-local floating-point state and
16362 set global state from it as needed.
16363 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16364 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16365 __sim_round_mode_thread.
16366 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16367 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16368 and global __sim_exceptions_global.
16369 (__sim_disabled_exceptions): Change to thread-local
16370 __sim_disabled_exceptions_thread and global
16371 __sim_disabled_exceptions_global.
16372 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16373 and global __sim_round_mode_global.
16374 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16375 (SIM_SET_GLOBAL): Likewise.
16376 * sysdeps/powerpc/soft-fp/sfp-machine.h
16377 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16378 __sim_round_mode_thread.
16379 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16380 __sim_disabled_exceptions_thread.
16381 (__sim_exceptions): Change to __sim_exceptions_thread.
16382 (__sim_disabled_exceptions): Change to
16383 __sim_disabled_exceptions_thread.
16384 (__sim_round_mode): Change to __sim_round_mode_thread.
16385 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16386 thread-local floating-point state and set global state from it as
16388 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16389 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16390 (__sim_disabled_exceptions): Remove extern declaration.
16391 (feenableexcept): Use thread-local floating-point state and set
16392 global state from it as needed.
16393 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16394 extern declaration.
16395 (__sim_disabled_exceptions): Likewise.
16396 (__sim_round_mode): Likewise.
16397 (__fegetenv): Use thread-local floating-point state.
16398 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16399 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16400 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16401 floating-point state and set global state from it as needed.
16402 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16403 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16404 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16406 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16407 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16409 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16410 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16411 Use __sim_round_mode_thread.
16412 * math/test-fenv-tls.c: New file.
16413 * math/Makefile (tests): Add test-fenv-tls.
16414 ($(objpfx)test-fenv-tls): Depend on
16415 $(common-objpfx)nptl/libpthread.so.
16417 2013-11-19 Andreas Schwab <schwab@suse.de>
16419 * locale/programs/locale.c (show_info): Decode wordarray elements.
16420 * locale/categories.def (LC_MONETARY): Add element for
16421 _NL_MONETARY_CRNCYSTR.
16422 * locale/C-monetary.c (conversion_rate): New variable.
16423 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16426 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16428 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16429 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16431 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16433 * elf/Makefile (tst-auxv): New test.
16434 * elf/tst-auxv.c: New
16435 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16437 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16439 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16440 (hidden_proto): Caller changed.
16441 (hidden_tls_proto): New macro.
16442 (libc_hidden_tls_proto): Likewise.
16443 (rtld_hidden_tls_proto): Likewise.
16444 (libm_hidden_tls_proto): Likewise.
16445 (libresolv_hidden_tls_proto): Likewise.
16446 (librt_hidden_tls_proto): Likewise.
16447 (libdl_hidden_tls_proto): Likewise.
16448 (libnss_files_hidden_tls_proto): Likewise.
16449 (libnsl_hidden_tls_proto): Likewise.
16450 (libnss_nisplus_hidden_tls_proto): Likewise.
16451 (libutil_hidden_tls_proto): Likewise.
16453 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16456 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16457 (decompose_rpath): Defer expansion to fillin_rpath.
16458 (_dl_init_paths): Pass linkmap to fillin_rpath.
16460 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16462 * benchtests/Makefile: Add strsep.
16463 * benchtests/bench-strsep.c: New file: strsep benchtest.
16464 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16466 2013-11-18 Andreas Schwab <schwab@suse.de>
16468 * locale/programs/locale.c (show_info) [case byte]: Check for
16469 '\377' instead of '\177'.
16470 * locale/C-monetary.c (not_available): Always use "\377".
16471 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16472 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16473 detect unavailable sign_posn locale elements.
16474 * locale/localeconv.c (__localeconv): For grouping and
16475 mon_grouping handle "\177" and "\377" like no grouping.
16476 (INT_ELEM): New macro. Use it to set all numeric members.
16477 * locale/programs/ld-monetary.c (monetary_read)
16478 <tok_mon_grouping>: Normalize single -1 to the empty string.
16479 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16482 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16486 when we match (nil).
16487 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16489 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16491 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16492 (NO_TEST_INLINE): Update value.
16493 (ERRNO_UNCHANGED): Likewise.
16494 (ERRNO_EDOM): Likewise.
16495 (ERRNO_ERANGE): Likewise.
16496 (IGNORE_RESULT): Likewise.
16497 (check_float_internal): Check signs of NaN results if
16498 TEST_NAN_SIGN used.
16499 (check_complex): Pass TEST_NAN_SIGN flag through to second
16500 check_float_internal call.
16501 (copysign_test_data): Add tests with quiet NaNs as second
16502 argument. Use TEST_NAN_SIGN.
16503 (fabs_test_data): Add test of negative quiet NaN argument. Use
16505 (signbit_test_data): Add tests of quiet NaN argument.
16506 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16508 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16510 (parse_args): Handle function results specified as IGNORE.
16511 * math/libm-test.inc (IGNORE_RESULT): New macro.
16512 (check_float_internal): Do not check numerical result if flag
16514 (check_complex): Pass through IGNORE_RESULT to second
16515 check_float_internal call.
16516 (check_int): Do not check numerical result if flag IGNORE_RESULT
16518 (check_long): Likewise.
16519 (check_bool): Likewise.
16520 (check_longlong): Likewise.
16521 (lrint_test_data): Add tests of infinite and NaN arguments.
16522 (lrint_tonearest_test_data): Likewise.
16523 (lrint_towardzero_test_data): Likewise.
16524 (lrint_downward_test_data): Likewise.
16525 (lrint_upward_test_data): Likewise.
16526 (llrint_test_data): Likewise.
16527 (llrint_tonearest_test_data): Likewise.
16528 (llrint_towardzero_test_data): Likewise.
16529 (llrint_downward_test_data): Likewise.
16530 (llrint_upward_test_data): Likewise.
16531 (lround_test_data): Likewise.
16532 (llround_test_data): Likewise.
16534 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16535 (ERRNO_UNCHANGED): Update value.
16536 (ERRNO_EDOM): Likewise.
16537 (ERRNO_ERANGE): Likewise.
16538 (NO_TEST_INLINE_FLOAT): New macro.
16539 (NO_TEST_INLINE_DOUBLE): Likewise.
16540 (enable_test): New function.
16541 (RUN_TEST_f_f): Check enable_test before running test.
16542 (RUN_TEST_2_f): Likewise.
16543 (RUN_TEST_fff_f): Likewise.
16544 (RUN_TEST_c_f): Likewise.
16545 (RUN_TEST_f_f1): Likewise.
16546 (RUN_TEST_fF_f1): Likewise.
16547 (RUN_TEST_fI_f1): Likewise.
16548 (RUN_TEST_ffI_f1): Likewise.
16549 (RUN_TEST_c_c): Likewise.
16550 (RUN_TEST_cc_c): Likewise.
16551 (RUN_TEST_f_i): Likewise.
16552 (RUN_TEST_f_i_tg): Likewise.
16553 (RUN_TEST_ff_i_tg): Likewise.
16554 (RUN_TEST_f_b): Likewise.
16555 (RUN_TEST_f_b_tg): Likewise.
16556 (RUN_TEST_f_l): Likewise.
16557 (RUN_TEST_f_L): Likewise.
16558 (RUN_TEST_fFF_11): Likewise.
16559 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16561 (cosh_test_data): Likewise.
16562 (exp_test_data): Likewise.
16563 (expm1_test_data): Likewise.
16564 (hypot_test_data): Likewise.
16565 (pow_test_data): Likewise.
16566 (sinh_test_data): Likewise.
16567 (tanh_test_data): Likewise.
16568 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16571 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16572 tests with quiet NaN input and output.
16573 (acosh_test_data): Likewise.
16574 (asin_test_data): Likewise.
16575 (asinh_test_data): Likewise.
16576 (atan_test_data): Likewise.
16577 (atanh_test_data): Likewise.
16578 (atan2_test_data): Likewise.
16579 (cbrt_test_data): Likewise.
16580 (cos_test_data): Likewise.
16581 (cosh_test_data): Likewise.
16582 (erf_test_data): Likewise.
16583 (erfc_test_data): Likewise.
16584 (exp_test_data): Likewise.
16585 (exp10_test_data): Likewise.
16586 (exp2_test_data): Likewise.
16587 (expm1_test_data): Likewise.
16588 (hypot_test_data): Likewise.
16589 (j0_test_data): Likewise.
16590 (j1_test_data): Likewise.
16591 (jn_test_data): Likewise.
16592 (lgamma_test_data): Likewise.
16593 (log_test_data): Likewise.
16594 (log10_test_data): Likewise.
16595 (log1p_test_data): Likewise.
16596 (log2_test_data): Likewise.
16597 (pow_test_data): Likewise.
16598 (scalb_test_data): Likewise.
16599 (sin_test_data): Likewise.
16600 (sincos_test_data): Likewise.
16601 (sinh_test_data): Likewise.
16602 (tan_test_data): Likewise.
16603 (tanh_test_data): Likewise.
16604 (tgamma_test_data): Likewise.
16605 (y0_test_data): Likewise.
16606 (y1_test_data): Likewise.
16607 (yn_test_data): Likewise.
16610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16611 argument being NaN and avoid computations with second argument in
16613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16614 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16615 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16617 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16619 * locale/iso-639.def: Add Chitwani Tharu (the).
16621 2013-11-14 Andreas Schwab <schwab@suse.de>
16623 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16624 word instead of empty string.
16626 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16629 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16631 (__fe_nomask_env): Likewise.
16633 2013-11-13 Steve Ellcey <sellcey@mips.com>
16635 * benchtests/bench-timing.h: Include time.h.
16637 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16640 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16642 * sysdeps/unix/sysv/linux/configure: Regenerated.
16644 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16647 * stdlib/strtod_l.c (round_and_return): Do not consider
16648 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16649 exponent one less than half the least subnormal exponent.
16650 * stdlib/test-strtod-round-data: Add more tests.
16651 * stdlib/tst-strtod-round.c (tests): Regenerated.
16653 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16657 (__fe_mask_env): Likewise.
16658 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16659 libm_hidden_proto and add function prototype.
16660 (__fe_mask_env): Add function prototype.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16662 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16664 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16666 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16668 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16670 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16671 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16673 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16675 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16676 of htab_find_slot().
16678 2013-11-11 David S. Miller <davem@davemloft.net>
16681 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16682 symbol in the non-vis3 case in static builds.
16683 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16684 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16685 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16686 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16688 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16691 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16694 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16696 * benchtests/Makefile: Add bench-strtod.
16697 * benchtests/bench-strtod.c: New file: strtod benchtest
16699 2013-11-11 Andreas Schwab <schwab@suse.de>
16702 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16703 terminating NUL in key length.
16705 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16708 Add artificial ODP entry for vDSO symbol for PPC64.
16709 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16710 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16712 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16715 * nss/getent.c (services_keys): Recognize services starting with digit.
16717 2013-11-06 David S. Miller <davem@davemloft.net>
16720 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16721 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16723 2013-11-06 Will Newton <will.newton@linaro.org>
16725 * manual/memory.texi (Malloc Examples): Remove register
16726 keyword from examples.
16728 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16730 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16732 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16735 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16736 depending on [__GCC_IEC_559 > 0].
16737 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16738 depending on [__GCC_IEC_559_COMPLEX > 0].
16740 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16742 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16745 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16747 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16749 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16752 * malloc/malloc (malloc_info): Do not handle first bin as
16755 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16757 * locale/iso-639.def: Add Central Nahuatl (nhn).
16759 2013-11-01 Bruno Haible <bruno@clisp.org>
16762 * manual/math.texi (BSD Random): Specify range upper bound as
16765 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16767 * locale/iso-639.def: Add Meadow Mari (mhr).
16769 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16771 [BZ #14752], [BZ #15763]
16772 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16774 * rt/tst_shm.c: Add test for escaping directory.
16776 2013-10-31 Andreas Schwab <schwab@suse.de>
16779 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16780 followed by 'x' as part of digit sequence.
16781 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16783 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16786 * configure.ac: allow GNU Make 4.0 and greater.
16787 * configure: Regenerated.
16789 2013-10-30 Will Newton <will.newton@linaro.org>
16792 * malloc/hooks.c (memalign_check): Limit alignment to the
16793 maximum representable power of two.
16794 * malloc/malloc.c (__libc_memalign): Likewise.
16795 * malloc/tst-memalign.c (do_test): Add test for very
16796 large alignment values.
16797 * malloc/tst-posix_memalign.c (do_test): Likewise.
16799 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16802 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16803 (munmap_chunk): Likewise.
16804 (mremap_chunk): Likewise.
16806 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16809 * stdlib/div.c (div): Remove obsolete code.
16810 * stdlib/ldiv.c (ldiv): Likewise.
16811 * stdlib/lldiv.c (lldiv): Likewise.
16813 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16816 * nss/nss_files/files-XXX.c (get_contents_ret): New
16818 (get_contents): New function.
16819 (internal_getent): Use it. Expand size of LINEBUFLEN.
16821 2013-10-30 Mike Frysinger <vapier@gentoo.org>
16823 * configure.in: Moved to ...
16824 * configure.ac: ... here. Change reference to configure.in
16826 * sysdeps/arm/preconfigure.ac: ... here.
16827 configure.in to configure.ac.
16828 * sysdeps/gnu/configure.in: Moved to ...
16829 * sysdeps/gnu/configure.ac: ... here.
16830 * sysdeps/i386/configure.in: Moved to ...
16831 * sysdeps/i386/configure.ac: ... here.
16832 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16833 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16834 * sysdeps/mach/configure.in: Moved to ...
16835 * sysdeps/mach/configure.ac: ... here.
16836 * sysdeps/mach/hurd/configure.in: Moved to ...
16837 * sysdeps/mach/hurd/configure.ac: ... here.
16838 * sysdeps/powerpc/configure.in: Moved to ...
16839 * sysdeps/powerpc/configure.ac: ... here.
16840 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16841 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16842 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16843 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16844 * sysdeps/s390/s390-32/configure.in: Moved to ...
16845 * sysdeps/s390/s390-32/configure.ac: ... here.
16846 * sysdeps/s390/s390-64/configure.in: Moved to ...
16847 * sysdeps/s390/s390-64/configure.ac: ... here.
16848 * sysdeps/sh/configure.in: Moved to ...
16849 * sysdeps/sh/configure.ac: ... here.
16850 * sysdeps/sparc/configure.in: Moved to ...
16851 * sysdeps/sparc/configure.ac: ... here.
16852 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16853 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16854 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16855 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16856 * sysdeps/x86_64/configure.in: Moved to ...
16857 * sysdeps/x86_64/configure.ac: ... here.
16858 * sysdeps/x86_64/preconfigure.in: Moved to ...
16859 * sysdeps/x86_64/preconfigure.ac: ... here.
16860 * aclocal.m4: Change reference to configure.in to configure.ac.
16861 * config.h.in: Likewise.
16862 * manual/install.texi: Likewise.
16863 * manual/maint.texi: Likewise.
16864 * Makefile: Likewise.
16865 * malloc/Makefile: Likewise.
16866 * nscd/Makefile: Likewise.
16867 * Makeconfig: Change reference to configure.in and
16868 preconfigure.in to configure.ac and preconfigure.ac
16870 * INSTALL: Regenerated.
16871 * configure: Likewise.
16872 * sysdeps/gnu/configure: Likewise.
16873 * sysdeps/i386/configure: Likewise.
16874 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16875 * sysdeps/mach/configure: Likewise.
16876 * sysdeps/mach/hurd/configure: Likewise.
16877 * sysdeps/powerpc/configure: Likewise.
16878 * sysdeps/powerpc/powerpc32/configure: Likewise.
16879 * sysdeps/powerpc/powerpc64/configure: Likewise.
16880 * sysdeps/s390/s390-32/configure: Likewise.
16881 * sysdeps/s390/s390-64/configure: Likewise.
16882 * sysdeps/sh/configure: Likewise.
16883 * sysdeps/sparc/configure: Likewise.
16884 * sysdeps/unix/sysv/linux/configure: Likewise.
16885 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16886 * sysdeps/x86_64/configure: Likewise.
16887 * sysdeps/x86_64/preconfigure: Likewise.
16889 2013-10-29 Andreas Schwab <schwab@suse.de>
16891 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16893 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16895 * benchtests/pow-inputs: Add new inputs.
16897 * benchtests/exp-inputs: Add new inputs.
16899 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16900 conditional check for return value.
16901 (__cos32): Likewise.
16903 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16905 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16906 to provide a boost for large inputs with word alignment.
16907 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16908 implementation based on optimized PPC64 strcpy.
16909 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16910 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16911 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16912 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16914 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16917 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16919 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16922 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16923 * time/tst-strptime.c (day_tests): Add testcase.
16925 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16928 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16930 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16933 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16934 MAP_FAILED on error.
16936 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16939 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16940 heap for large requests.
16942 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16945 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16946 result if the result has no associated interface.
16947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16948 interface for all 127.X.Y.Z addresses.
16950 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16952 * locale/iso-639.def: Add Ligurian (lij)
16954 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16957 * sunrpc/rpc_main.c: Document rpcgen -5.
16959 2013-10-19 Michael Stahl <mstahl@redhat.com>
16961 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16963 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16966 * posix/glob.c: Match only directories when trailing slash is present.
16967 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16968 (main): Add testcase.
16970 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16973 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16975 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16977 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16978 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16979 AUTH_DES and cindex for FIPS 140-2.
16980 (DES Encryption): Add cindex FIPS 46-3.
16982 * locale/locarchive.h (struct locarhandle): Add fname.
16983 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16984 if an optional argument was specified to --list-archive,
16986 * locale/programs/locarchive.c (show_archive_content): Take new
16987 argument fname and pass it via ah.fname to open_archive.
16988 * locale/programs/localedef.h: Update decl.
16989 (open_archive): If AH->fname is non-null, open that file
16990 rather than the default file name, and don't ignore ENOENT.
16991 (create_archive): Set AH.fname to NULL.
16992 (delete_locales_from_archive): Likewise.
16993 (add_locales_to_archive): Likewise.
16994 * locale/programs/locfile.c (write_all_categories): Likewise.
16996 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16997 Aldy Hernandez <aldyh@redhat.com>
16999 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17000 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17001 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17002 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17003 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17004 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17006 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17007 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17008 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17009 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17010 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17011 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17012 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17015 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17017 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17019 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17021 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17022 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17024 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17025 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17026 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17027 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17029 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17030 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17031 * sysdeps/powerpc/preconfigure: Likewise.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17034 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17035 Replace contents of file by #include of <fenv_libc.h>.
17036 * sysdeps/powerpc/soft-fp/sfp-machine.h
17037 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17039 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17052 Allow copysignl PLT reference to be missing.
17054 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17055 Joseph Myers <joseph@codesourcery.com
17058 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17060 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17062 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17064 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17065 * elf/tst-tls1.c: Likewise.
17066 * elf/tst-tls10.h: Likewise.
17067 * elf/tst-tls14.c: Likewise.
17068 * elf/tst-tls2.c: Likewise.
17069 * elf/tst-tls3.c: Likewise.
17070 * elf/tst-tls4.c: Likewise.
17071 * elf/tst-tls5.c: Likewise.
17072 * elf/tst-tls6.c: Likewise.
17073 * elf/tst-tls7.c: Likewise.
17074 * elf/tst-tls8.c: Likewise.
17075 * elf/tst-tls9.c: Likewise.
17076 * elf/tst-tlsmod1.c: Likewise.
17077 * elf/tst-tlsmod13.c: Likewise.
17078 * elf/tst-tlsmod13a.c: Likewise.
17079 * elf/tst-tlsmod14a.c: Likewise.
17080 * elf/tst-tlsmod16a.c: Likewise.
17081 * elf/tst-tlsmod16b.c: Likewise.
17082 * elf/tst-tlsmod2.c: Likewise.
17083 * elf/tst-tlsmod3.c: Likewise.
17084 * elf/tst-tlsmod4.c: Likewise.
17085 * elf/tst-tlsmod5.c: Likewise.
17086 * elf/tst-tlsmod6.c: Likewise.
17088 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17091 * malloc/malloc.c: remove checks for statistics.
17093 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17096 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17097 * inet/tst-network.c: Add testcase.
17099 2013-10-17 Andreas Schwab <schwab@suse.de>
17102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17103 to determine canonical name.
17105 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17107 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17108 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17131 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17132 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17137 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17166 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17169 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17170 make result into a quiet NaN.
17172 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17174 * soft-fp/adddf3.c: Fix horizontal whitespace.
17175 * soft-fp/addsf3.c: Likewise.
17176 * soft-fp/addtf3.c: Likewise.
17177 * soft-fp/divdf3.c: Likewise.
17178 * soft-fp/divsf3.c: Likewise.
17179 * soft-fp/divtf3.c: Likewise.
17180 * soft-fp/double.h: Likewise.
17181 * soft-fp/eqdf2.c: Likewise.
17182 * soft-fp/eqsf2.c: Likewise.
17183 * soft-fp/eqtf2.c: Likewise.
17184 * soft-fp/extenddftf2.c: Likewise.
17185 * soft-fp/extended.h: Likewise.
17186 * soft-fp/extendsfdf2.c: Likewise.
17187 * soft-fp/extendsftf2.c: Likewise.
17188 * soft-fp/extendxftf2.c: Likewise.
17189 * soft-fp/fixdfdi.c: Likewise.
17190 * soft-fp/fixdfsi.c: Likewise.
17191 * soft-fp/fixdfti.c: Likewise.
17192 * soft-fp/fixsfdi.c: Likewise.
17193 * soft-fp/fixsfsi.c: Likewise.
17194 * soft-fp/fixsfti.c: Likewise.
17195 * soft-fp/fixtfdi.c: Likewise.
17196 * soft-fp/fixtfsi.c: Likewise.
17197 * soft-fp/fixtfti.c: Likewise.
17198 * soft-fp/fixunsdfdi.c: Likewise.
17199 * soft-fp/fixunsdfsi.c: Likewise.
17200 * soft-fp/fixunsdfti.c: Likewise.
17201 * soft-fp/fixunssfdi.c: Likewise.
17202 * soft-fp/fixunssfsi.c: Likewise.
17203 * soft-fp/fixunssfti.c: Likewise.
17204 * soft-fp/fixunstfdi.c: Likewise.
17205 * soft-fp/fixunstfsi.c: Likewise.
17206 * soft-fp/fixunstfti.c: Likewise.
17207 * soft-fp/floatdidf.c: Likewise.
17208 * soft-fp/floatdisf.c: Likewise.
17209 * soft-fp/floatditf.c: Likewise.
17210 * soft-fp/floatsidf.c: Likewise.
17211 * soft-fp/floatsisf.c: Likewise.
17212 * soft-fp/floatsitf.c: Likewise.
17213 * soft-fp/floattidf.c: Likewise.
17214 * soft-fp/floattisf.c: Likewise.
17215 * soft-fp/floattitf.c: Likewise.
17216 * soft-fp/floatundidf.c: Likewise.
17217 * soft-fp/floatundisf.c: Likewise.
17218 * soft-fp/floatunditf.c: Likewise.
17219 * soft-fp/floatunsidf.c: Likewise.
17220 * soft-fp/floatunsisf.c: Likewise.
17221 * soft-fp/floatunsitf.c: Likewise.
17222 * soft-fp/floatuntidf.c: Likewise.
17223 * soft-fp/floatuntisf.c: Likewise.
17224 * soft-fp/floatuntitf.c: Likewise.
17225 * soft-fp/fmadf4.c: Likewise.
17226 * soft-fp/fmasf4.c: Likewise.
17227 * soft-fp/fmatf4.c: Likewise.
17228 * soft-fp/gedf2.c: Likewise.
17229 * soft-fp/gesf2.c: Likewise.
17230 * soft-fp/getf2.c: Likewise.
17231 * soft-fp/ledf2.c: Likewise.
17232 * soft-fp/lesf2.c: Likewise.
17233 * soft-fp/letf2.c: Likewise.
17234 * soft-fp/muldf3.c: Likewise.
17235 * soft-fp/mulsf3.c: Likewise.
17236 * soft-fp/multf3.c: Likewise.
17237 * soft-fp/negdf2.c: Likewise.
17238 * soft-fp/negsf2.c: Likewise.
17239 * soft-fp/negtf2.c: Likewise.
17240 * soft-fp/op-1.h: Likewise.
17241 * soft-fp/op-2.h: Likewise.
17242 * soft-fp/op-4.h: Likewise.
17243 * soft-fp/op-8.h: Likewise.
17244 * soft-fp/op-common.h: Likewise.
17245 * soft-fp/quad.h: Likewise.
17246 * soft-fp/single.h: Likewise.
17247 * soft-fp/soft-fp.h: Likewise.
17248 * soft-fp/sqrtdf2.c: Likewise.
17249 * soft-fp/sqrtsf2.c: Likewise.
17250 * soft-fp/sqrttf2.c: Likewise.
17251 * soft-fp/subdf3.c: Likewise.
17252 * soft-fp/subsf3.c: Likewise.
17253 * soft-fp/subtf3.c: Likewise.
17254 * soft-fp/truncdfsf2.c: Likewise.
17255 * soft-fp/trunctfdf2.c: Likewise.
17256 * soft-fp/trunctfsf2.c: Likewise.
17257 * soft-fp/trunctfxf2.c: Likewise.
17258 * soft-fp/unorddf2.c: Likewise.
17259 * soft-fp/unordsf2.c: Likewise.
17260 * soft-fp/unordtf2.c: Likewise.
17262 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17264 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17265 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17267 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17269 * elf/dl-libc.c: Clear initfini list after freeing.
17271 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17273 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17274 * soft-fp/addsf3.c: Likewise.
17275 * soft-fp/addtf3.c: Likewise.
17276 * soft-fp/divdf3.c: Likewise.
17277 * soft-fp/divsf3.c: Likewise.
17278 * soft-fp/divtf3.c: Likewise.
17279 * soft-fp/double.h: Likewise.
17280 * soft-fp/eqdf2.c: Likewise.
17281 * soft-fp/eqsf2.c: Likewise.
17282 * soft-fp/eqtf2.c: Likewise.
17283 * soft-fp/extenddftf2.c: Likewise.
17284 * soft-fp/extended.h: Likewise.
17285 * soft-fp/extendsfdf2.c: Likewise.
17286 * soft-fp/extendsftf2.c: Likewise.
17287 * soft-fp/extendxftf2.c: Likewise.
17288 * soft-fp/fixdfdi.c: Likewise.
17289 * soft-fp/fixdfsi.c: Likewise.
17290 * soft-fp/fixdfti.c: Likewise.
17291 * soft-fp/fixsfdi.c: Likewise.
17292 * soft-fp/fixsfsi.c: Likewise.
17293 * soft-fp/fixsfti.c: Likewise.
17294 * soft-fp/fixtfdi.c: Likewise.
17295 * soft-fp/fixtfsi.c: Likewise.
17296 * soft-fp/fixtfti.c: Likewise.
17297 * soft-fp/fixunsdfdi.c: Likewise.
17298 * soft-fp/fixunsdfsi.c: Likewise.
17299 * soft-fp/fixunsdfti.c: Likewise.
17300 * soft-fp/fixunssfdi.c: Likewise.
17301 * soft-fp/fixunssfsi.c: Likewise.
17302 * soft-fp/fixunssfti.c: Likewise.
17303 * soft-fp/fixunstfdi.c: Likewise.
17304 * soft-fp/fixunstfsi.c: Likewise.
17305 * soft-fp/fixunstfti.c: Likewise.
17306 * soft-fp/floatdidf.c: Likewise.
17307 * soft-fp/floatdisf.c: Likewise.
17308 * soft-fp/floatditf.c: Likewise.
17309 * soft-fp/floatsidf.c: Likewise.
17310 * soft-fp/floatsisf.c: Likewise.
17311 * soft-fp/floatsitf.c: Likewise.
17312 * soft-fp/floattidf.c: Likewise.
17313 * soft-fp/floattisf.c: Likewise.
17314 * soft-fp/floattitf.c: Likewise.
17315 * soft-fp/floatundidf.c: Likewise.
17316 * soft-fp/floatundisf.c: Likewise.
17317 * soft-fp/floatunsidf.c: Likewise.
17318 * soft-fp/floatunsisf.c: Likewise.
17319 * soft-fp/floatuntidf.c: Likewise.
17320 * soft-fp/floatuntisf.c: Likewise.
17321 * soft-fp/floatuntitf.c: Likewise.
17322 * soft-fp/fmadf4.c: Likewise.
17323 * soft-fp/fmasf4.c: Likewise.
17324 * soft-fp/fmatf4.c: Likewise.
17325 * soft-fp/gedf2.c: Likewise.
17326 * soft-fp/gesf2.c: Likewise.
17327 * soft-fp/getf2.c: Likewise.
17328 * soft-fp/ledf2.c: Likewise.
17329 * soft-fp/lesf2.c: Likewise.
17330 * soft-fp/letf2.c: Likewise.
17331 * soft-fp/muldf3.c: Likewise.
17332 * soft-fp/mulsf3.c: Likewise.
17333 * soft-fp/multf3.c: Likewise.
17334 * soft-fp/negdf2.c: Likewise.
17335 * soft-fp/negsf2.c: Likewise.
17336 * soft-fp/negtf2.c: Likewise.
17337 * soft-fp/op-1.h: Likewise.
17338 * soft-fp/op-2.h: Likewise.
17339 * soft-fp/op-4.h: Likewise.
17340 * soft-fp/op-8.h: Likewise.
17341 * soft-fp/op-common.h: Likewise.
17342 * soft-fp/quad.h: Likewise.
17343 * soft-fp/single.h: Likewise.
17344 * soft-fp/soft-fp.h: Likewise.
17345 * soft-fp/sqrtdf2.c: Likewise.
17346 * soft-fp/sqrtsf2.c: Likewise.
17347 * soft-fp/sqrttf2.c: Likewise.
17348 * soft-fp/subdf3.c: Likewise.
17349 * soft-fp/subsf3.c: Likewise.
17350 * soft-fp/subtf3.c: Likewise.
17351 * soft-fp/truncdfsf2.c: Likewise.
17352 * soft-fp/trunctfdf2.c: Likewise.
17353 * soft-fp/trunctfsf2.c: Likewise.
17354 * soft-fp/trunctfxf2.c: Likewise.
17355 * soft-fp/unorddf2.c: Likewise.
17356 * soft-fp/unordsf2.c: Likewise.
17357 * soft-fp/unordtf2.c: Likewise.
17359 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17362 * misc/error.c (error_tail): Fix possible buffer overflow.
17364 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17367 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17370 2013-10-14 P. J. McDermott <pj@pehjota.net>
17373 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17374 testing pipefail option.
17376 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17378 * soft-fp/double.h: Indent preprocessor directives inside #if.
17379 * soft-fp/extended.h: Likewise.
17380 * soft-fp/op-2.h: Likewise.
17381 * soft-fp/op-4.h: Likewise.
17382 * soft-fp/op-common.h: Likewise.
17383 * soft-fp/quad.h: Likewise.
17384 * soft-fp/single.h: Likewise.
17385 * soft-fp/soft-fp.h: Likewise.
17387 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17389 * iconv/iconv_prog.c: Fix typos.
17390 * stdio-common/psiginfo-data.h: Likewise.
17392 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17395 * locale/setlocale.c: Fix typo.
17397 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17400 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17401 signaling NaN arguments.
17402 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17403 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17406 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17407 unordered operands.
17408 * soft-fp/gesf2.c (__gesf2): Likewise.
17409 * soft-fp/getf2.c (__getf2): Likewise.
17410 * soft-fp/ledf2.c (__ledf2): Likewise.
17411 * soft-fp/lesf2.c (__lesf2): Likewise.
17412 * soft-fp/letf2.c (__letf2): Likewise.
17414 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17415 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17416 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17417 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17418 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17419 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17420 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17421 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17422 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17423 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17424 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17425 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17426 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17427 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17428 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17429 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17430 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17431 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17432 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17433 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17434 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17435 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17436 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17437 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17438 * soft-fp/floattidf.c (__floattidf): Likewise.
17439 * soft-fp/floattisf.c (__floattisf): Likewise.
17440 * soft-fp/floattitf.c (__floattitf): Likewise.
17441 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17442 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17443 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17444 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17445 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17446 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17447 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17448 * soft-fp/gesf2.c (__gesf2): Likewise.
17449 * soft-fp/getf2.c (__getf2): Likewise.
17450 * soft-fp/ledf2.c (__ledf2): Likewise.
17451 * soft-fp/lesf2.c (__lesf2): Likewise.
17452 * soft-fp/letf2.c (__letf2): Likewise.
17454 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17455 Undefine and redefine.
17456 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17457 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17458 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17459 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17460 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17461 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17462 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17463 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17464 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17465 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17466 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17467 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17468 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17469 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17470 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17473 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17474 without decrementing exponent if mantissa >= that for the
17475 denominator, not >.
17476 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17477 denominator, not >. Decrement exponent in < case instead of
17478 incrementing in >= case.
17479 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17480 without decrementing exponent if mantissa >= that for the
17481 denominator, not >.
17483 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17484 computing saturated result for unsigned overflow.
17486 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17487 Jeff Law <law@redhat.com>
17489 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17490 (atan2Mp): Add systemtap probe marker.
17491 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17492 (__ieee754_log): Add systemtap probe marker.
17493 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17494 (atanMp): Add systemtap probe marker.
17495 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17496 (tanMp): Add systemtap probe marker.
17497 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17498 (__slowexp): Add systemtap probe marker.
17499 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17500 (__slowpow): Add systemtap probe marker.
17501 * manual/probes.texi: Document probes.
17503 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17506 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17508 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17510 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17511 written to buffer but not flushed.
17512 * libio/iofwrite_u.c: Likewise.
17513 * libio/iopadn.c: Return bytes returned even if EOF was
17515 * libio/iowpadn.c: Likewise.
17516 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17517 if _IO_padn does not write the whole buffer.
17518 [!COMPILE_WPRINTF] (PAD): Likewise.
17520 2013-10-10 David S. Miller <davem@davemloft.net>
17522 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17525 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17527 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17528 instead of FSF address.
17529 * soft-fp/fixdfti.c: Likewise.
17530 * soft-fp/fixsfti.c: Likewise.
17531 * soft-fp/fixtfti.c: Likewise.
17532 * soft-fp/fixunsdfti.c: Likewise.
17533 * soft-fp/fixunssfti.c: Likewise.
17534 * soft-fp/fixunstfti.c: Likewise.
17535 * soft-fp/floattidf.c: Likewise.
17536 * soft-fp/floattisf.c: Likewise.
17537 * soft-fp/floattitf.c: Likewise.
17538 * soft-fp/floatuntidf.c: Likewise.
17539 * soft-fp/floatuntisf.c: Likewise.
17540 * soft-fp/floatuntitf.c: Likewise.
17541 * soft-fp/trunctfxf2.c: Likewise.
17543 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17544 * soft-fp/fixdfti.c: Likewise.
17545 * soft-fp/fixsfti.c: Likewise.
17546 * soft-fp/fixtfti.c: Likewise.
17547 * soft-fp/fixunsdfti.c: Likewise.
17548 * soft-fp/fixunssfti.c: Likewise.
17549 * soft-fp/fixunstfti.c: Likewise.
17550 * soft-fp/floattidf.c: Likewise.
17551 * soft-fp/floattisf.c: Likewise.
17552 * soft-fp/floattitf.c: Likewise.
17553 * soft-fp/floatuntidf.c: Likewise.
17554 * soft-fp/floatuntisf.c: Likewise.
17555 * soft-fp/floatuntitf.c: Likewise.
17556 * soft-fp/trunctfxf2.c: Likewise.
17558 2013-10-10 David S. Miller <davem@davemloft.net>
17560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17562 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17564 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17565 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17566 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17567 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17568 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17569 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17570 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17572 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17573 for NaNs before doing comparisons on argument.
17574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17577 2013-10-10 Will Newton <will.newton@linaro.org>
17579 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17580 passed to _int_memalign does not overflow.
17582 2013-10-10 Torvald Riegel <triegel@redhat.com>
17584 * scripts/bench.pl: Add include-sources directive.
17585 * benchtests/README: Update documentation.
17587 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17589 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17590 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17591 instead of FP_INIT_ROUNDMODE.
17592 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17593 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17596 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17597 copy class of input value.
17598 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17599 not handle exceptions.
17600 * soft-fp/negsf2.c (__negsf2): Likewise.
17601 * soft-fp/negtf2.c (__negtf2): Likewise.
17602 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17604 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17606 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17607 semicolon. From Linux kernel.
17609 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17611 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17613 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17616 * manual/socket.texi: Added statement about buffer
17617 for gethostbyname2_r.
17619 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17621 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17622 Use .p2align directive instead, throughout.
17623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17624 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17625 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17628 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17629 * sysdeps/x86_64/strchr.S: Likewise.
17630 * sysdeps/x86_64/strrchr.S: Likewise.
17632 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17634 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17636 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17638 * sysdeps/generic/math_private.h (__mpsin1): Remove
17640 (__mpcos1): Likewise.
17641 (__mpsin): New argument __range_reduce.
17642 (__mpcos): Likewise.
17643 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17644 (slow): Use __mpsin and __mpcos.
17648 (sloww1): Likewise.
17649 (sloww2): Likewise.
17650 (bsloww): Likewise.
17651 (bsloww1): Likewise.
17652 (bsloww2): Likewise.
17653 (cslow2): Likewise.
17654 (csloww): Likewise.
17655 (csloww1): Likewise.
17656 (csloww2): Likewise.
17657 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17658 range_reduce. Merge in __mpsin1.
17659 (__mpcos): Likewise.
17660 (__mpsin1): Remove.
17661 (__mpcos1): Likewise.
17663 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17665 * locale/loadlocale.c (_nl_intern_locale_data): Use
17667 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17668 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17669 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17670 obstack data is appropriately aligned.
17671 (obstack_int32_grow_fast): Likewise.
17672 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17673 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17674 (add_locale_uint32_array): Likewise.
17676 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17678 * benchtests/Makefile: Remove ARGLIST and RET variables.
17679 ($(objpfx)bench-%.c): Pass only function name to the script.
17680 * benchtests/README: Update documentation.
17681 * benchtests/acos-inputs: Add new directives.
17682 * benchtests/acosh-inputs: Likewise.
17683 * benchtests/asin-inputs: Likewise.
17684 * benchtests/asinh-inputs: Likewise.
17685 * benchtests/atan-inputs: Likewise.
17686 * benchtests/atanh-inputs: Likewise.
17687 * benchtests/cos-inputs: Likewise.
17688 * benchtests/cosh-inputs: Likewise.
17689 * benchtests/exp-inputs: Likewise.
17690 * benchtests/log-inputs: Likewise.
17691 * benchtests/pow-inputs: Likewise.
17692 * benchtests/rint-inputs: Likewise.
17693 * benchtests/sin-inputs: Likewise.
17694 * benchtests/sinh-inputs: Likewise.
17695 * benchtests/tan-inputs: Likewise.
17696 * benchtests/tanh-inputs: Likewise.
17697 * scripts/bench.pl: Add support for new directives.
17699 2013-10-07 Alan Modra <amodra@gmail.com>
17701 * README: Fix careless merge.
17703 2013-10-05 Alan Modra <amodra@gmail.com>
17705 * NEWS: Mention powerpc64le support and bugs fixed.
17706 * README: Both big-endian and little-endian powerpc64 supported.
17708 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17710 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17711 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17712 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17713 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17715 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17717 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17720 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17722 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17723 Move -mhard-float appending from
17724 ports/sysdeps/powerpc/powerpc32/Makefile.
17725 [$(with-fp) = yes] (ASFLAGS): Likewise.
17726 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17727 * sysdeps/powerpc/nofpu: Move directory from
17728 ports/sysdeps/powerpc/nofpu.
17729 * sysdeps/powerpc/soft-fp: Move directory from
17730 ports/sysdeps/powerpc/soft-fp.
17731 * sysdeps/powerpc/powerpc32/405: Move directory from
17732 ports/sysdeps/powerpc/powerpc32/405.
17733 * sysdeps/powerpc/powerpc32/440: Move directory from
17734 ports/sysdeps/powerpc/powerpc32/440.
17735 * sysdeps/powerpc/powerpc32/464: Move directory from
17736 ports/sysdeps/powerpc/powerpc32/464.
17737 * sysdeps/powerpc/powerpc32/476: Move directory from
17738 ports/sysdeps/powerpc/powerpc32/476.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17744 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17746 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17748 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17749 * README: Update for powerpc-*-linux-gnu software floating point
17752 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17753 case to powerpc/powerpc32*.
17754 * sysdeps/unix/sysv/linux/configure: Regenerated.
17756 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17757 (_FPU_MASK_OM): Define as 0x04.
17758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17766 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17769 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17772 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17773 and setcontext_e500.
17775 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17777 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17779 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17781 * manual/threads.texi (Default Thread Attributes): Fix typo.
17783 2013-10-04 Will Newton <will.newton@linaro.org>
17785 * malloc/Makefile: Add tst-memalign.
17786 * malloc/tst-memalign.c: New file.
17788 * malloc/tst-posix_memalign.c: Add comments.
17789 (do_test): Add comments and call free on all potentially
17790 allocated pointers. Add space after cast.
17792 * malloc/tst-pvalloc.c: Add comments.
17793 (do_test): Add comments and call free on all potentially
17794 allocated pointers. Remove duplicate check for NULL pointer.
17795 Add space after cast.
17797 * malloc/tst-valloc.c: Add comments.
17798 (do_test): Add comments and call free on all potentially
17799 allocated pointers. Remove duplicate check for NULL pointer.
17800 Add space after cast.
17802 2013-10-04 Alan Modra <amodra@gmail.com>
17804 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17805 Use stdint types in rather than __attribute__((mode())).
17806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17808 2013-10-04 Alan Modra <amodra@gmail.com>
17810 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17811 Correct handling of unaligned relocs for little-endian.
17812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17814 2013-10-04 Alan Modra <amodra@gmail.com>
17816 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17817 * configure: Regenerate.
17818 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17819 * shlib-versions: Likewise.
17821 2013-10-04 Alan Modra <amodra@gmail.com>
17823 * string/tester.c (test_memrchr): Increment reported test cycle.
17825 2013-10-04 Alan Modra <amodra@gmail.com>
17827 * string/test-memcpy.c (do_one_test): When reporting errors, print
17828 string address and don't overrun end of string.
17830 2013-10-04 Alan Modra <amodra@gmail.com>
17832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17833 insrdi. Make better use of reg selection to speed exit slightly.
17834 Schedule entry path a little better. Remove useless "are we done"
17835 checks on entry to main loop. Handle wrapping around zero address.
17836 Correct main loop count. Handle single left-over word from main
17837 loop inline rather than by using loop_small. Remove extra word
17838 case in loop_small caused by wrong loop count. Add little-endian
17840 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17843 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17844 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17845 support. Avoid rlwimi.
17846 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17848 2013-10-04 Alan Modra <amodra@gmail.com>
17850 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17851 insrdi. Formatting.
17852 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17853 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17854 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17855 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17856 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17857 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17859 2013-10-04 Alan Modra <amodra@gmail.com>
17861 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17864 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17865 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17867 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17868 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17869 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17870 use of regs. Use power7 mtocrf. Tidy function tails.
17872 2013-10-04 Alan Modra <amodra@gmail.com>
17874 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17875 Formatting. Consistently use rXXX register defines or rN defines.
17876 Use early exit labels that avoid restoring unused non-volatile regs.
17877 Make cr field use more consistent with rWORDn compares. Rename
17878 regs used as shift registers for unaligned loop, using rN defines
17879 for short lifetime/multiple use regs.
17880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17881 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17882 addi 1,1,64 to pop stack frame. Simplify return value code.
17883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17885 2013-10-04 Alan Modra <amodra@gmail.com>
17887 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17888 support. Correct typos, formatting. Optimize tail. Use insrdi
17889 rather than rlwimi.
17890 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17891 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17892 little-endian support. Correct typos.
17893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17894 rather than rlwimi.
17895 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17896 in loop and entry code to keep "and." results.
17897 (strchr): Add little-endian support. Comment. Move cntlzd
17899 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17901 2013-10-04 Alan Modra <amodra@gmail.com>
17903 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17904 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17905 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17908 2013-10-04 Alan Modra <amodra@gmail.com>
17910 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17911 (rTMP): Define as r11.
17912 (strcmp): Add little-endian support. Optimise tail.
17913 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17914 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17915 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17916 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17917 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17921 2013-10-04 Alan Modra <amodra@gmail.com>
17923 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17924 little-endian support. Remove unnecessary "are we done" tests.
17925 Handle "s" wrapping around zero and extremely large "size".
17926 Correct main loop count. Handle single left-over word from main
17927 loop inline rather than by using small_loop. Correct comments.
17928 Delete "zero" tail, use "end_max" instead.
17929 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17931 2013-10-04 Alan Modra <amodra@gmail.com>
17933 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17934 support. Don't branch over align.
17935 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17936 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17937 support. Rearrange tmp reg use to suit. Comment.
17938 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17940 2013-10-04 Alan Modra <amodra@gmail.com>
17942 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17944 2013-10-04 Alan Modra <amodra@gmail.com>
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17947 conditional form of branch and link when obtaining pc.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17950 2013-10-04 Alan Modra <amodra@gmail.com>
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17957 2013-10-04 Alan Modra <amodra@gmail.com>
17959 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17960 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17961 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17962 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17963 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17964 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17965 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17966 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17967 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17968 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17970 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17971 Alistair Popple <alistair@ozlabs.au.ibm.com>
17972 Alan Modra <amodra@gmail.com>
17975 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17977 _dl_hwcap access for little-endian.
17978 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17979 destroy vmx regs when saving unaligned.
17980 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17981 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17982 destroy vmx regs when saving unaligned.
17984 2013-10-04 Alan Modra <amodra@gmail.com>
17986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17987 Don't use a union to pack hi/low value.
17989 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17991 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17993 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17995 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17996 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17997 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17999 2013-10-04 Alan Modra <amodra@gmail.com>
18001 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18002 constants to usual value for .cst8 section, and remove redundant
18004 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18005 constant for 0x1p52. Load little-endian words of double from
18006 correct stack offsets.
18008 2013-10-04 Alan Modra <amodra@gmail.com>
18010 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18011 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18012 words of double from correct stack offsets.
18013 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18014 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18015 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18018 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18020 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18021 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18022 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18024 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18025 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18026 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18027 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18028 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18029 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18031 2013-10-04 Alan Modra <amodra@gmail.com>
18033 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18034 64-bit int/double union.
18035 (_FPU_SETCW): Likewise.
18036 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18037 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18039 2013-10-04 Alan Modra <amodra@gmail.com>
18041 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18042 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18044 2013-10-04 Alan Modra <amodra@gmail.com>
18046 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18047 use vector int constants.
18048 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18050 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18052 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18053 array with long long.
18054 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18055 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18056 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18057 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18058 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18059 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18060 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18063 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18064 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18065 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18066 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18068 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18070 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18071 (__signbit): Likewise. Correct for little-endian.
18072 (__signbitl): Call __signbit.
18073 (lrint): Correct for little-endian.
18074 (lrintf): Call lrint.
18076 2013-10-04 Alan Modra <amodra@gmail.com>
18078 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18079 union 32-bit int array member with 64-bit int array.
18080 (t515, tm256): Double rather than long double.
18081 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18083 2013-10-04 Alan Modra <amodra@gmail.com>
18085 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18087 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18089 version of math_ldbl.h.
18091 2013-10-04 Alan Modra <amodra@gmail.com>
18093 [BZ #15734], [BZ #15735]
18094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18095 all uses of ieee875 long double macros and unions. Simplify test
18096 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18097 ldbl_extract_mantissa value for ix,iy exponents. Properly
18098 normalize after ldbl_extract_mantissa, and don't add hidden bit
18099 already handled. Don't treat low word of ieee854 mantissa like
18100 low word of IBM long double and mask off bit when testing for
18102 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18103 all uses of ieee875 long double macros and unions. Simplify tests
18104 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18105 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18106 two1022, instead use their values. Recognise that tests for large
18107 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18108 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18109 Rewrite all uses of ieee875 long double macros and unions. Simplify
18110 test for 0.0L and nan. Correct negation.
18111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18112 ieee875 long double macros and unions. Correct output for large
18113 magnitude x. Correct absolute value calculation.
18114 (__erfcl): Likewise.
18115 * math/libm-test.inc: Add tests for errors discovered in IBM long
18116 double versions of fmodl, remainderl, erfl and erfcl.
18118 2013-10-04 Alan Modra <amodra@gmail.com>
18120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18121 all uses of ieee854 long double macros and unions. Simplify tests
18122 for long doubles that are fully specified by the high double.
18123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18125 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18126 Remove dead code too.
18127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18128 (__ieee754_ynl): Likewise.
18129 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18132 Remove dead code too.
18133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18138 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18142 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18143 Comment on variable precision.
18144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18147 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18153 2013-10-04 Alan Modra <amodra@gmail.com>
18155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18157 all uses of ieee854 long double macros and unions.
18158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18165 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18171 Simplify sign and nan test too.
18172 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18177 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18187 2013-10-04 Alan Modra <amodra@gmail.com>
18189 * stdio-common/printf_size.c (__printf_size): Don't use
18190 union ieee854_long_double in fpnum union.
18191 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18192 signbit macro to retrieve sign from long double.
18193 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18194 retrieve sign from long double.
18195 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18196 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18198 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18199 * math/test-misc.c (main): Don't use union ieee854_long_double.
18201 2013-10-04 Alan Modra <amodra@gmail.com>
18204 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18206 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18207 calculation. Remove unnecessary test for denormal exponent.
18208 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18209 Correct handling of denormals. Avoid undefined shift behaviour.
18210 Correct normalisation of low mantissa when low double is denormal.
18211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18212 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18213 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18214 Correct normalisation of low mantissa. Test for overflow of high
18215 mantissa and normalise.
18216 (ldbl_nearbyint): Use more readable constant for two52.
18217 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18218 (__mpn_construct_long_double): Fix test for overflow of high
18219 mantissa and correct normalisation. Avoid undefined shift.
18221 2013-10-04 Alan Modra <amodra@gmail.com>
18223 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18224 (union ibm_extended_long_double): Define as an array of ieee754_double.
18225 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18227 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18228 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18237 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18239 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18240 page size instead of calling getpagesize.
18242 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18243 (LOCFILE_ALIGN_MASK): Likewise.
18244 (LOCFILE_ALIGN_UP): Likewise.
18245 (LOCFILE_ALIGNED_P): Likewise.
18246 * locale/programs/ld-collate.c (collate_output): Use the new
18247 macros instead of __alignof__ (int32_t).
18248 * locale/weight.h (findidx): Likewise.
18250 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18253 * manual/string.texi: Fix strncat and wcsncat.
18255 2013-10-03 Brooks Moses <bmoses@google.com>
18258 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18259 * Makerules: ...here, and adjust associated comments.
18261 2013-10-02 Will Newton <will.newton@linaro.org>
18263 * malloc/Makefile: Add tst-pvalloc.
18264 * malloc/tst-pvalloc.c: New file.
18266 2013-10-02 Will Newton <will.newton@linaro.org>
18268 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18269 improve test coverage.
18271 2013-10-02 Will Newton <will.newton@linaro.org>
18273 * malloc/Makefile: Add tst-posix_memalign.
18274 * malloc/tst-posix_memalign.c: New file.
18276 2013-10-01 Eric Blake <eblake@redhat.com>
18278 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18279 Use __THROWNL rather than __THROW on static functions.
18281 2013-09-30 Petr Machata <pmachata@redhat.com>
18283 * elf/elf.h (R_AARCH64_ABS16): New macro.
18284 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18285 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18286 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18287 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18288 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18289 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18290 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18291 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18292 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18293 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18294 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18295 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18296 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18297 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18298 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18299 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18300 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18301 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18302 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18303 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18304 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18305 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18306 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18307 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18308 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18309 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18310 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18311 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18312 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18313 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18314 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18315 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18316 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18317 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18318 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18319 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18320 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18321 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18322 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18323 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18324 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18325 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18326 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18327 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18328 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18329 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18330 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18331 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18332 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18333 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18334 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18335 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18336 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18337 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18338 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18339 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18340 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18341 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18342 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18343 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18344 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18345 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18346 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18347 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18348 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18349 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18350 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18351 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18352 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18353 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18354 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18355 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18356 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18357 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18358 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18359 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18360 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18361 (R_AARCH64_TLSDESC_LDR): Likewise.
18362 (R_AARCH64_TLSDESC_ADD): Likewise.
18363 (R_AARCH64_TLSDESC_CALL): Likewise.
18365 2013-09-30 Andreas Schwab <schwab@suse.de>
18368 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18369 the nss database lookup.
18370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18373 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18375 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18377 2013-09-28 P. J. McDermott <pj@pehjota.net>
18379 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18380 ${Bash-specific parameter/pattern/string} parameter expansion.
18381 * sysdeps/unix/make-syscalls.sh: Likewise.
18383 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18385 * sysdeps/sh/stackguard-macros.h: New file.
18387 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18391 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18392 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18393 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18394 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18396 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18398 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18399 Fix thread ID register.
18401 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18403 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18404 [POSIX || UNIX98]: Require rather than permitting all symbols from
18406 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18407 element of struct sched_param.
18408 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18409 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18410 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18411 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18414 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18416 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18417 argument calculation.
18419 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18421 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18423 [POSIX] (pthread_attr_t): Do not require type.
18424 [POSIX] (pthread_cond_t): Likewise.
18425 [POSIX] (pthread_condattr_t): Likewise.
18426 [POSIX] (pthread_key_t): Likewise.
18427 [POSIX] (pthread_mutex_t): Likewise.
18428 [POSIX] (pthread_mutexattr_t): Likewise.
18429 [POSIX] (pthread_once_t): Likewise.
18430 [POSIX] (pthread_t): Likewise.
18431 [POSIX-based standards] (pthread_atfork): Expect function.
18433 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18434 Richard Sandiford <richard@codesourcery.com>
18436 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18437 (swap_endianness_p): New extern variable.
18438 (set_big_endian): New inline function.
18439 (maybe_swap_uint32): Likewise.
18440 (maybe_swap_uint32_array): Likewise.
18441 (maybe_swap_uint32_obstack): Likewise.
18442 * locale/programs/locfile.c: Include <stdbool.h>.
18443 (swap_endianness_p): New variable.
18444 (add_locale_uint32): Call maybe_swap_uint32.
18445 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18446 (write_locale_data): Call maybe_swap_uint32_array.
18447 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18449 (obstack_int32_grow_fast): Likewise.
18450 (output_weightwc): Call maybe_swap_uint32_obstack.
18451 (collate_output): Likewise.
18452 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18453 (OPT_LITTLE_ENDIAN): Likewise.
18454 (options): Add --little-endian and --big-endian options.
18455 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18456 * locale/programs/locarchive.c: Include "locfile.h".
18460 (create_archive): Use the new macros to access fields of
18461 structures directly mapped from or written to locale archives.
18462 (oldlocrecentcmp): Likewise.
18463 (enlarge_archive): Likewise.
18464 (insert_name): Likewise.
18465 (add_alias): Likewise.
18466 (add_locale): Likewise.
18467 (delete_locales_from_archive): Likewise.
18468 (show_archive_content): Likewise.
18469 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18472 2013-09-24 Roland McGrath <roland@hack.frob.com>
18474 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18475 http://www.gnu.org/doc/freemanuals.texi.
18476 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18478 2013-09-24 Will Newton <will.newton@linaro.org>
18480 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18483 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18485 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18488 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18490 * manual/threads.texi (POSIX Threads): Fix a typo.
18492 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18495 * string/tst-strcoll-overflow.c: New test case.
18496 * string/Makefile (xtests): Add tst-strcoll-overflow.
18497 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18498 cache if string sizes may cause integer overflow.
18501 * string/strcoll_l.c (coll_seq): New members rule, idx,
18502 save_idx and back_us.
18503 (get_next_seq_nocache): New function.
18504 (do_compare_nocache): New function.
18505 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18508 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18511 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18512 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18513 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18516 * elf/Makefile (tests): Add tst-ptrguard1.
18517 (tests-static): Add tst-ptrguard1-static.
18518 (tst-ptrguard1-ARGS): Define.
18519 (tst-ptrguard1-static-ARGS): Define.
18520 * elf/tst-ptrguard1.c: New file.
18521 * elf/tst-ptrguard1-static.c: New file.
18522 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18523 * sysdeps/i386/stackguard-macros.h: Likewise.
18524 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18525 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18526 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18527 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18528 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18529 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18531 2013-09-23 Hector Marco <hecmargi@upv.es>
18532 Ismael Ripoll <iripoll@disca.upv.es>
18533 Carlos O'Donell <carlos@redhat.com>
18536 * sysdeps/generic/stackguard-macros.h: Define
18537 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18538 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18539 Define __pointer_chk_guard_local.
18540 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18541 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18543 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18546 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18548 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18550 * include/string.h (__ffs): Declare as hidden.
18551 * string/ffs.c (__ffs): Define as hidden.
18552 * sysdeps/i386/ffs.c (__ffs): Likewise.
18553 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18554 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18555 * sysdeps/s390/ffs.c (__ffs): Likewise.
18556 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18558 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18560 * NEWS: Mention malloc probes.
18562 * malloc/arena.c (new_heap): New memory_heap_new probe.
18563 (grow_heap): New memory_heap_more probe.
18564 (shrink_heap): New memory_heap_less probe.
18565 (heap_trim): New memory_heap_free probe.
18566 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18567 (systrim): New memory_sbrk_less probe.
18568 * manual/probes.texi: Document them.
18570 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18571 * manual/probes.texi: Document it.
18573 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18574 (__libc_realloc): Add memory_realloc_retry probe.
18575 (__libc_memalign): Add memory_memalign_retry probe.
18576 (__libc_valloc): Add memory_valloc_retry probe.
18577 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18578 (__libc_calloc): Add memory_calloc_retry probe.
18579 * manual/probes.texi: Document them.
18581 * malloc/arena.c (get_free_list): Add probe
18582 memory_arena_reuse_free_list.
18583 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18584 and memory_arena_reuse.
18585 (arena_get2) [!PER_THREAD]: Likewise.
18586 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18587 memory_arena_reuse_realloc.
18588 * manual/probes.texi: Document them.
18590 * malloc/malloc.c (__libc_free): Add
18591 memory_mallopt_free_dyn_thresholds probe.
18592 (__libc_mallopt): Add multiple memory_mallopt probes.
18593 * manual/probes.texi: Document them.
18595 * malloc/malloc.c: Include stap-probe.h.
18596 (__libc_mallopt): Add memory_mallopt probe.
18597 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18598 * manual/probes.texi: New.
18599 * manual/Makefile (chapters): Add probes.
18600 * manual/threads.texi: Set next node.
18602 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18604 [BZ #15963, #13985]
18605 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18606 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18607 Add `Chinese' to `nan' entry name.
18609 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18611 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18612 (POLYNOMIAL): Likewise.
18613 (TAYLOR_SINCOS): Likewise.
18614 (TAYLOR_SLOW): Likewise.
18615 (__sin): Use TAYLOR_SINCOS.
18617 (slow): Use TAYLOR_SLOW.
18619 (bsloww): Likewise.
18620 (csloww): Likewise.
18622 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18624 * stdlib/strtod_l.c: Fix buffer overrun.
18626 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18628 * benchtests/Makefile (bench): Add sincos.
18629 * benchtests/bench-sincos.c: New file.
18631 * math/libm-test.inc (cos_test_data): New test inputs.
18632 (sin_test_data): Likewise.
18634 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18640 (sloww1): Likewise.
18641 (sloww2): Likewise.
18642 (bsloww1): Likewise.
18643 (bsloww2): Likewise.
18644 (cslow2): Likewise.
18645 (csloww1): Likewise.
18646 (csloww2): Likewise.
18648 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18657 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18659 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18660 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18661 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18662 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18663 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18664 * elf/cache.c (print_entry): Handle the new cache flags.
18666 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18667 Aldy Hernandez <aldyh@redhat.com>
18669 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18670 Change condition to [_SOFT_FLOAT].
18671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18683 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18686 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18689 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18691 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18692 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18693 (__longjmp): Use LOAD_GP to load saved GPRs.
18694 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18695 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18696 (__sigsetjmp): Use SAVE_GP to save GPRs.
18698 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18699 Do not append -msoft-float.
18700 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18702 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18704 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18706 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18709 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18710 (_FPU_GETCW): Use initial "__" on variable and field names but not
18711 on macro parameter name.
18712 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18713 parentheses around reference to macro parameter.
18715 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18717 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18719 (ctype_startup): Use uint32_t in cast and sizeof for
18722 2013-09-11 Jia Liu <proljc@gmail.com>
18724 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18726 [__FreeBSD__]: Likewise.
18728 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18731 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18732 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18733 (strchr): Remove __strchr_sse42 ifunc selection.
18734 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18735 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18737 2013-09-11 Will Newton <will.newton@linaro.org>
18739 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18740 parameter to RES. Remove hardcoded 1000 value.
18741 * benchtests/bench-skeleton.c (main): Pass RES parameter
18742 to TIMING_INIT and multiply result by 1000.
18744 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18748 2013-09-11 Andreas Schwab <schwab@suse.de>
18750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18752 (O_TMPFILE) [__USE_GNU]: Define.
18753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18756 2013-09-11 Will Newton <will.newton@linaro.org>
18759 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18762 2013-09-11 Will Newton <will.newton@linaro.org>
18765 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18768 2013-09-11 Will Newton <will.newton@linaro.org>
18771 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18774 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18776 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18777 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18782 2013-09-10 Allan McRae <allan@archlinux.org>
18785 * manual/arith.texi (Parsing of Floats): Clarify
18789 * manual/install.texi (Running make install): Mention
18791 * INSTALL: Regenerated.
18793 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18795 * csu/init-first.c (_init): Remove the !SHARED condition around
18796 FPU control word initialization.
18797 * elf/dl-support.c (_dl_fpu_control): New variable.
18798 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18799 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18800 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18801 * math/test-fpucw-static.c: New file.
18802 * math/test-fpucw-ieee.c: New file.
18803 * math/test-fpucw-ieee-static.c: New file.
18804 * math/Makefile (tests): Add `test-fpucw-ieee' and
18806 (tests-static): New variable.
18807 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18809 [($(build-shared),yes)]
18810 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18812 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18815 2013-09-09 Allan McRae <allan@archlinux.org>
18818 * manual/string.texi (Collation Functions): Fix typo in
18820 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18823 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18826 * libio/memstream.c (open_memstream): Fix memory leak.
18827 * libio/wmemstream.c (open_wmemstream): Likewise.
18830 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18832 2013-09-09 Will Newton <will.newton@linaro.org>
18834 * malloc/Makefile: Add tst-realloc to tests.
18835 * malloc/tst-realloc.c: New file.
18837 2013-09-09 Allan McRae <allan@archlinux.org>
18840 * COPYING: Update from GNU website to fix FSF address.
18841 * COPYING.LIB: Likewise.
18843 2013-09-06 David S. Miller <davem@davemloft.net>
18845 * po/zh_TW.po: Update Chinese (traditional) translation from
18846 translation project.
18848 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18849 Joseph Myers <joseph@codesourcery.com>
18851 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18853 (obstack_chunk_alloc): New macro.
18854 (obstack_chunk_free): Likewise.
18855 (record_offset): New function.
18856 (init_locale_data): Likewise.
18857 (align_locale_data): Likewise.
18858 (add_locale_empty): Likewise.
18859 (add_locale_raw_data): Likewise.
18860 (add_locale_raw_obstack): Likewise.
18861 (add_locale_string): Likewise.
18862 (add_locale_wstring): Likewise.
18863 (add_locale_uint32): Likewise.
18864 (add_locale_uint32_array): Likewise.
18865 (add_locale_char): Likewise.
18866 (start_locale_structure): Likewise.
18867 (end_locale_structure): Likewise.
18868 (start_locale_prelude): Likewise.
18869 (end_locale_prelude): Likewise.
18870 (write_locale_data): Take locale_file structure rather than an
18872 * locale/programs/locfile.h: Include "obstack.h".
18873 (struct locale_file): Change to store locale file contents instead
18875 (init_locale_data): New prototype.
18876 (align_locale_data): Likewise.
18877 (add_locale_empty): Likewise.
18878 (add_locale_raw_data): Likewise.
18879 (add_locale_raw_obstack): Likewise.
18880 (add_locale_string): Likewise.
18881 (add_locale_wstring): Likewise.
18882 (add_locale_uint32): Likewise.
18883 (add_locale_uint32_array): Likewise.
18884 (add_locale_char): Likewise.
18885 (start_locale_structure): Likewise.
18886 (end_locale_structure): Likewise.
18887 (start_locale_prelude): Likewise.
18888 (end_locale_prelude): Likewise.
18889 (write_locale_data): Update prototype.
18890 * locale/programs/3level.h (struct TABLE): Remove result field.
18891 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18892 Use new locale_file interface.
18893 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18894 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18895 * locale/programs/ld-address.c (address_output): Use new
18896 locale_file interface.
18897 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18899 (collate_finish): Don't call collseq_table_finalize.
18900 (collate_output): Use new locale_file interface.
18901 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18903 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18904 (TABLE): Move defines earlier in file.
18905 (ELEMENT): Likewise.
18906 (DEFAULT): Likewise.
18907 (wctrans_table_add): Move macro and inline function earlier in
18909 (struct wctype_table): Move type earlier in file.
18910 (add_locale_wctype_table): New static prototype.
18911 (struct locale_ctype_t): Use logical types instead of struct iovec
18912 pointers for members.
18913 (ctype_output): Use new locale_file interface.
18914 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18915 new locale_file interface.
18916 (allocate_arrays): Update for use of new locale_file interface.
18917 * locale/programs/ld-identification.c (identification_output): Use
18918 new locale_file interface.
18919 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18920 * locale/programs/ld-messages.c (messages_output): Likewise.
18921 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18922 * locale/programs/ld-name.c (name_output): Likewise.
18923 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18924 * locale/programs/ld-paper.c (paper_output): Likewise.
18925 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18926 * locale/programs/ld-time.c (time_output): Likewise.
18928 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18930 * benchtests/Makefile: Add memrchr benchmark.
18931 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18932 benchmark as memrchr.
18933 * benchtests/bench-memrchr-ifunc.c: New file.
18934 * benchtests/bench-memrchr.c: New file.
18936 2013-09-06 Will Newton <will.newton@linaro.org>
18938 * benchtests/Makefile (string-bench): Add memcpy.
18940 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18941 Cong Wang <amwang@redhat.com>
18944 * sysdeps/unix/sysv/linux/bits/in.h
18945 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18946 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18947 before __USE_KERNEL_IPV6_DEFS uses.
18948 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18950 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18951 sockaddr_in6, or ipv6_mreq.
18953 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18955 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18956 memory access for final bytes in some large inputs.
18957 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18959 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18961 * string/test-memrchr.c: New file.
18962 * string/test-memrchr-ifunc.c: New file.
18963 * string/Makefile: Add new memrchr testcase.
18965 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18967 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18968 fanotify_init returns EPERM.
18970 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18972 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18974 (top level): Treat second token from macro or constant entries for
18975 allowed headers as allowed.
18976 * include/complex.h: Condition internal declarations on
18978 * include/fenv.h: Condition include of <stdbool.h> and internal
18979 declarations on [!_ISOMAC].
18981 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18984 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18986 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18988 * configure.in (--enable-versioning): Remove configure option.
18989 (libc_cv_asm_symver_directive): Remove configure test.
18990 (libc_cv_ld_version_script_option): Likewise.
18991 (VERSIONING): Remove variable and AC_SUBST.
18992 (DO_VERSIONING): Remove AC_DEFINE.
18993 * configure: Regenerated.
18994 * config.h.in (DO_VERSIONING): Remove macro.
18995 * Makerules [$(versioning) = yes]: Change conditionals to
18996 [$(build-shared) = yes].
18997 * config.make.in (versioning): Remove variable.
18998 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18999 [$(build-shared) = yes].
19000 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19001 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19002 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19003 [$(build-shared) = yes].
19004 * extra-lib.mk [$(versioning) = yes]: Likewise.
19005 * hurd/Makefile [$(versioning) = yes]: Likewise.
19006 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19008 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19010 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19011 [SHARED && !NO_HIDDEN].
19012 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19014 [SHARED && DO_VERSIONING]: Likewise..
19015 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19016 [$(build-shared) = yes].
19017 * manual/install.texi (--disable-versioning): Remove
19019 * INSTALL: Regenerated.
19020 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19022 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19023 [$(build-shared) = yes].
19024 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19025 * sysdeps/i386/i686/multiarch/strstr-c.c
19026 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19027 [SHARED && !NO_HIDDEN].
19028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19029 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19030 * sysdeps/powerpc/powerpc32/dl-machine.c
19031 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19032 * sysdeps/powerpc/powerpc32/sysdep.h
19033 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19034 to [SHARED && PIC && !NO_HIDDEN].
19035 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19036 conditional to [SHARED].
19038 2013-09-04 Will Newton <will.newton@linaro.org>
19040 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19041 * benchtests/bench-string.h: Include bench-timing.h instead
19042 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19043 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19044 call to HP_TIMING_DIFF_INIT.
19045 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19046 instead of hp-timing.h macros.
19047 * benchtests/bench-memchr.c: Likewise.
19048 * benchtests/bench-memcmp.c: Likewise.
19049 * benchtests/bench-memcpy.c: Likewise.
19050 * benchtests/bench-memmem.c: Likewise.
19051 * benchtests/bench-memmove.c: Likewise.
19052 * benchtests/bench-memset.c: Likewise.
19053 * benchtests/bench-rawmemchr.c: Likewise.
19054 * benchtests/bench-strcasecmp.c: Likewise.
19055 * benchtests/bench-strcasestr.c: Likewise.
19056 * benchtests/bench-strcat.c: Likewise.
19057 * benchtests/bench-strchr.c: Likewise.
19058 * benchtests/bench-strcmp.c: Likewise.
19059 * benchtests/bench-strcpy.c: Likewise.
19060 * benchtests/bench-strcpy_chk.c: Likewise.
19061 * benchtests/bench-strlen.c: Likewise.
19062 * benchtests/bench-strncasecmp.c: Likewise.
19063 * benchtests/bench-strncat.c: Likewise.
19064 * benchtests/bench-strncmp.c: Likewise.
19065 * benchtests/bench-strncpy.c: Likewise.
19066 * benchtests/bench-strnlen.c: Likewise.
19067 * benchtests/bench-strpbrk.c: Likewise.
19068 * benchtests/bench-strrchr.c: Likewise.
19069 * benchtests/bench-strspn.c: Likewise.
19070 * benchtests/bench-strstr.c: Likewise.
19072 2013-09-04 Will Newton <will.newton@linaro.org>
19074 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19076 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19080 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19081 * math/libm-test.inc (lgamma_test_data): Add more tests.
19082 * sysdeps/i386/fpu/libm-test-ulps: Update.
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19085 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19091 Add strcmp-sse2-unaligned
19092 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19094 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19096 * Versions.def (libc): Add GLIBC_2.19.
19098 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19100 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19101 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19103 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19106 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19107 intermediate calculations in recurrence.
19108 (__ieee754_ynf): Likewise.
19109 * math/libm-test.inc (jn_test_data): Do not allow spurious
19110 underflow exception. Add more tests.
19111 (yn_test_data): Add more tests.
19112 * sysdeps/i386/fpu/libm-test-ulps: Update.
19113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19115 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19117 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19119 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19121 * csu/init-first.c: Fix then/than typos.
19122 * locale/programs/ld-collate.c: Likewise.
19123 * locale/programs/linereader.h: Likewise.
19124 * manual/charset.texi: Likewise.
19125 * manual/filesys.texi: Likewise.
19126 * manual/stdio.texi: Likewise.
19127 * manual/string.texi: Likewise.
19128 * stdlib/fmtmsg.c: Likewise.
19129 * sysdeps/i386/stpncpy.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19131 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19132 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19133 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19135 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19137 * elf/dl-open.c: Fix typos.
19138 * iconvdata/gbbig5.c: Likewise.
19139 * iconvdata/iso-2022-jp.c: Likewise.
19140 * iconv/gconv_int.h: Likewise.
19141 * iconv/loop.c: Likewise.
19142 * nis/rpcsvc/nis.h: Likewise.
19143 * resolv/ns_name.c: Likewise.
19144 * stdio-common/vfscanf.c: Likewise.
19145 * streams/stropts.h: Likewise.
19146 * sunrpc/rpc_thread.c: Likewise.
19147 * sysdeps/i386/strpbrk.S: Likewise.
19148 * sysdeps/ieee754/k_standard.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19151 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19152 * sysdeps/mach/hurd/profil.c: Likewise.
19153 * sysdeps/s390/dl-procinfo.h: Likewise.
19154 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19155 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19157 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19160 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19162 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19165 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19168 aix specific files.
19169 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19170 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19171 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19173 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19174 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19175 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19176 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19178 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19179 Roland McGrath <roland@hack.frob.com>
19181 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19182 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19184 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19186 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19187 __executable_start symbol instead of _start.
19189 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19191 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19192 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19194 * sysdeps/gnu/ldsodefs.h: ... this new file.
19196 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19197 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19198 instead of ELFOSABI_LINUX.
19200 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19201 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19202 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19203 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19205 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19206 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19209 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19210 (ibm_extended_long_double): Add ieee_nan member.
19211 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19212 (do_test): New function.
19214 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19216 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19217 functions, renamed from truncdfsf_test, trunctfsf_test,
19219 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19221 (do_test): Run all these.
19223 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19225 * argp/argp-help.c: Fix typos.
19226 * argp/argp-parse.c: Likewise.
19227 * debug/backtracesyms.c: Likewise.
19228 * elf/elf.h: Likewise.
19229 * malloc/malloc.c: Likewise.
19230 * nis/nis_print.c: Likewise.
19231 * resolv/res_comp.c: Likewise.
19232 * stdlib/stdlib.h: Likewise.
19233 * sunrpc/clnt_tcp.c: Likewise.
19234 * sunrpc/clnt_udp.c: Likewise.
19235 * sunrpc/clnt_unix.c: Likewise.
19236 * sysdeps/unix/bsd/ptsname.c: Likewise.
19237 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19245 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19247 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19249 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19252 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19255 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19256 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19257 ($(objpfx)bug-dl-leaf): New rule.
19258 ($(objpfx)bug-dl-leaf.so): Likewise.
19259 ($(objpfx)bug-dl-leaf.out): Likewise.
19260 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19261 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19262 * dlfcn/bug-dl-leaf.c: New test.
19263 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19264 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19265 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19266 (dlclose): Likewise.
19267 (dlmopen): Likewise.
19269 2013-08-27 Roland McGrath <roland@hack.frob.com>
19271 * include/netdb.h [!_ISOMAC]:
19272 Don't include <tls.h>.
19273 (h_errno, __libc_h_errno): Move declaration and macros out of
19276 * include/resolv.h [_RESOLV_H_]:
19277 Don't include <tls.h>.
19278 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19279 * resolv/res_libc.c: Don't include <tls.h>.
19280 (_res): Use __attribute__ ((nocommon)) in place of
19281 __attribute__ ((section (".bss"))).
19283 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19284 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19286 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19288 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19289 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19291 * resolv/res_mkquery.c: Include <sys/time.h>.
19293 * inet/ifreq.c: Moved to ...
19294 * sysdeps/unix/ifreq.c: ... here.
19295 * inet/ifreq.c: New file, true stub version.
19297 * socket/sa_len.c: New file.
19298 * socket/Makefile (aux): Add it.
19299 * sysdeps/unix/sysv/linux/Makefile
19300 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19301 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19302 and #include <socket/sa_len.c>.
19303 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19304 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19306 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19307 * bits/socket.h: ... here.
19309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19310 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19311 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19313 2013-08-27 Andreas Schwab <schwab@suse.de>
19316 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19317 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19318 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19319 * string/test-strcasecmp.c (test_main): Run tests in several
19321 * string/test-strncasecmp.c (test_main): Likewise.
19323 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19324 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19325 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19327 (__strncasecmp_ssse3) [PIC]: Likewise.
19329 2013-08-26 Roland McGrath <roland@hack.frob.com>
19331 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19333 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19334 instead of explicitly declaring xdecrypt.
19335 * nis/nss_nis/nis-publickey.c: Likewise.
19337 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19340 * nscd/aicache.c: Include res_hconf.h.
19341 (addhstaiX): Initialize res_hconf.
19343 2013-08-26 Andreas Schwab <schwab@suse.de>
19345 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19346 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19348 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19350 * nscd/aicache.c (addhstaiX): Fix indentation.
19352 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19354 * configure.ac: Quote $build_pt_chown test.
19355 * configure: Regenerated.
19357 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19360 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19361 * math/s_cexpf.c (__cexpf): Likewise.
19362 * math/s_cexpl.c (__cexpl): Likewise.
19363 * math/libm-test.inc (cexp_test_data): Correct expected return
19364 value for NaN + i0. Add another test.
19366 2013-08-22 David S. Miller <davem@davemloft.net>
19368 * po/ca.po: Update Catalan translation from translation project.
19369 * po/uk.po: Add Ukrainian translations from translation project.
19371 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19374 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19375 is infinite, not alongside NaN test.
19376 * math/s_fdimf.c (__fdimf): Likewise.
19377 * math/s_fdiml.c (__fdiml): Likewise.
19378 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19379 errno is unchanged.
19381 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19383 * argp/argp-help.c: Fix typos.
19384 * crypt/speeds.c: Likewise.
19385 * csu/check_fds.c: Likewise.
19386 * elf/dl-load.c: Likewise.
19387 * elf/dl-open.c: Likewise.
19388 * elf/reldep3.c: Likewise.
19389 * elf/reldep.c: Likewise.
19390 * elf/sprof.c: Likewise.
19391 * iconv/iconv_charmap.c: Likewise.
19392 * iconv/skeleton.c: Likewise.
19393 * iconv/strtab.c: Likewise.
19394 * io/lockf64.c: Likewise.
19395 * libio/libioP.h: Likewise.
19396 * resolv/gai_notify.c: Likewise.
19397 * resolv/ns_name.c: Likewise.
19398 * resolv/ns_samedomain.c: Likewise.
19399 * resolv/res_send.c: Likewise.
19400 * stdlib/random.c: Likewise.
19401 * sunrpc/rpc/xdr.h: Likewise.
19402 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19403 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19404 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19405 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19410 * sysdeps/mach/hurd/check_fds.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19412 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19413 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19416 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19417 * sysdeps/pthread/aio_notify.c: Likewise.
19418 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19419 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19422 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19424 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19426 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19427 version if bit_Slow_SSE4_2 is set.
19428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19431 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19434 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19435 trampoline stack frame information.
19436 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19438 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19439 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19440 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19441 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19442 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19443 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19445 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19446 interrupting a syscall and set with option SA_SIGINFO.
19448 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19451 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19452 argument is infinite.
19453 * math/s_cprojf.c (__cprojf): Likewise.
19454 * math/s_cprojl.c (__cprojl): Likewise.
19455 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19456 * math/libm-test.inc (cproj_test_data): Add more tests.
19458 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19460 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19461 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19462 size. Use __ffs to determine corresponding shift.
19464 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19465 Roland McGrath <roland@hack.frob.com>
19467 * Makefile (INSTALL): Remove trailing blank lines from output of
19470 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19472 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19473 Align 32 bit compat elf_greg to 8 bytes.
19475 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19477 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19479 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19481 * string/strcoll_l.c (coll_seq): New structure.
19482 (get_next_seq_cached): New function.
19483 (get_next_seq): New function.
19484 (do_compare): New function.
19485 (STRCOLL): Use GNU style definition. Simplify implementation
19486 by using get_next_seq, get_next_seq_cached and do_compare.
19488 2013-08-16 Florian Weimer <fweimer@redhat.com>
19492 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19494 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19496 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19497 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19498 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19501 GETDENTS_64BIT_ALIGNED.
19502 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19503 * manual/filesys.texi (Reading/Closing Directory): Document
19504 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19506 * manual/conf.texi (Limits for Files): Add portability note to
19507 NAME_MAX, PATH_MAX.
19508 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19510 2013-08-13 Andreas Schwab <schwab@suse.de>
19513 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19515 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19516 LDBL_MAX_EXP >= 16384]: Add tests for it.
19518 2013-08-12 David S. Miller <davem@davemloft.net>
19520 * version.h (RELEASE): Set to "development".
19521 (VERSION): Set to "2.18.90".
19522 * NEWS: Add 2.19 section.
19524 2013-08-03 David S. Miller <davem@davemloft.net>
19526 * po/ko.po: Update Korean translation from translation project.
19528 2013-08-01 David S. Miller <davem@davemloft.net>
19530 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19531 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19534 2013-07-30 David S. Miller <davem@davemloft.net>
19536 * po/fr.po: Update French translation from translation project.
19538 2013-07-28 David S. Miller <davem@davemloft.net>
19540 * po/cs.po: Update Czech translation from translation project.
19542 * po/sv.po: Update Swedish translation from translation project.
19544 2013-07-27 David S. Miller <davem@davemloft.net>
19546 * po/eo.po: Update Esperanto translation from translation project.
19548 * po/vi.po: Update Vietnamese translation from translation project.
19550 * po/de.po: Update German translation from translation project.
19552 2013-07-26 David S. Miller <davem@davemloft.net>
19554 * po/bg.po: Update Bulgarian translation from translation project.
19556 * po/nl.po: Update Dutch translation from translation project.
19557 * po/pl.po: Update Polish translation from translation project.
19558 * po/ru.po: Update Russian translation from translation project.
19560 2013-07-24 David S. Miller <davem@davemloft.net>
19562 * po/libc.pot: Update.
19564 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19566 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19567 variable page size.
19568 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19569 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19570 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19572 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19574 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19576 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19577 Andreas Schwab <schwab@suse.de>
19578 Roland McGrath <roland@hack.frob.com>
19579 Joseph Myers <joseph@codesourcery.com>
19580 Carlos O'Donell <carlos@redhat.com>
19583 * config.h.in: Define HAVE_PT_CHOWN.
19584 * config.make.in (build-pt-chown): New variable.
19585 * configure.in (--enable-pt_chown): New configure option.
19586 * configure: Regenerate.
19587 * login/Makefile: Include Makeconfig. Build pt_chown only if
19588 build-pt-chown is enabled.
19589 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19590 pt_chown to fix pty ownership.
19591 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19593 * manual/install.texi (Configuring and compiling): Mention
19594 --enable-pt_chown. Add @findex for grantpt.
19595 * INSTALL: Regenerate.
19597 2013-07-20 David S. Miller <davem@davemloft.net>
19599 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19600 difference between 32-bit and 64-bit.
19602 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19605 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19606 Avoid system header dependency with -ffreestanding.
19607 ($(objpfx)bits/syscall%d): Likewise.
19609 2013-07-13 David S. Miller <davem@davemloft.net>
19611 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19612 underflows from atanl/atan2l due to bug 15319.
19613 (casinh_test_data): Likewise.
19615 2013-07-07 David S. Miller <davem@davemloft.net>
19617 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19619 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19621 * sysdeps/i386/fpu/libm-test-ulps: Update.
19622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19624 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19626 * configure.in (--enable-lock-elision): Fix message text.
19627 * INSTALL: Regenerate.
19628 * configure: Regenerate.
19630 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19634 2013-07-03 Andreas Jaeger <aj@suse.de>
19636 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19638 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19639 (ptrace_peeksiginfo_args): Add.
19640 (__ptrace_peeksiginfo_flags): Add.
19641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19645 2013-07-03 Allan McRae <allan@archlinux.org>
19647 * sysdeps/i386/fpu/libm-test-ulps: Update.
19649 2013-07-02 David S. Miller <davem@davemloft.net>
19651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19653 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19657 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19659 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19662 2013-07-02 Andi Kleen <ak@linux.intel.com>
19664 * config.h.in (ENABLE_LOCK_ELISION): Add.
19665 * configure.in (--enable-lock-elision): Add option.
19666 * manual/install.texi: Document --enable lock elision.
19667 * configure: Regenerate
19668 * INSTALL: Regenerate.
19670 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19672 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19673 SSE4.2 strcasecmp for libc.a.
19674 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19676 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19679 * soft-fp/op-common.h (_FP_FMA): New macro.
19680 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19681 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19682 (_FP_MUL_MEAT_1_imm): ... here.
19683 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19684 (_FP_MUL_MEAT_1_wide): ... here.
19685 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19686 (_FP_MUL_MEAT_1_hard): ... here.
19687 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19688 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19689 (_FP_MUL_MEAT_2_wide): ... here.
19690 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19691 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19692 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19693 (_FP_MUL_MEAT_2_gmp): ... here.
19694 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19695 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19696 (_FP_MUL_MEAT_4_wide): ... here.
19697 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19698 (_FP_MUL_MEAT_4_gmp): ... here.
19699 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19700 (_FP_WFRACBITS_DW_S): Likewise.
19701 (_FP_WFRACXBITS_DW_S): Likewise.
19702 (_FP_HIGHBIT_DW_S): Likewise.
19703 (FP_FMA_S): Likewise.
19704 (_FP_FRAC_HIGH_DW_S): Likewise.
19705 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19706 (_FP_WFRACBITS_DW_D): Likewise.
19707 (_FP_WFRACXBITS_DW_D): Likewise.
19708 (_FP_HIGHBIT_DW_D): Likewise.
19709 (FP_FMA_D): Likewise.
19710 (_FP_FRAC_HIGH_DW_D): Likewise.
19711 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19712 (_FP_WFRACBITS_DW_E): Likewise.
19713 (_FP_WFRACXBITS_DW_E): Likewise.
19714 (_FP_HIGHBIT_DW_E): Likewise.
19715 (FP_FMA_E): Likewise.
19716 (_FP_FRAC_HIGH_DW_E): Likewise.
19717 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19718 (_FP_WFRACBITS_DW_Q): Likewise.
19719 (_FP_WFRACXBITS_DW_Q): Likewise.
19720 (_FP_HIGHBIT_DW_Q): Likewise.
19721 (FP_FMA_Q): Likewise.
19722 (_FP_FRAC_HIGH_DW_Q): Likewise.
19723 * soft-fp/fmasf4.c: New file.
19724 * soft-fp/fmadf4.c: Likewise.
19725 * soft-fp/fmatf4.c: Likewise.
19727 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19730 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19734 (index_Slow_SSE4_2): Likewise.
19735 (index_Prefer_PMINUB_for_stringop): Likewise.
19736 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19737 bit_Slow_SSE4_2 is set.
19738 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19741 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19743 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19744 rtld_global._dl_hwcap2.
19745 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19747 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19748 POWER8 feature descriptions defined in _dl_hwcap2.
19749 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19750 string handling for POWER8 feature bits.
19751 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19752 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19753 _dl_powerpc_cap_flags.
19754 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19755 * sysdeps/powerpc/rtld-global-offsets.sym
19756 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19757 _dl_hwcap2 in the rtld_global_ro structure.
19759 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19761 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19762 hardware capabilities in support of AT_HWCAP2.
19763 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19764 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19766 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19767 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19768 explicitly the unknown a_type display mechanism is used.
19769 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19770 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19772 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19773 to macro prototype for AT_HWCAP2 support.
19774 * sysdeps/i386/dl-procinfo.h: Likewise.
19775 * sysdeps/s390/dl-procinfo.h: Likewise.
19776 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19777 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19778 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19779 return -1 for unknown a_type display fallback.
19780 * sysdeps/sparc/dl-procinfo.h: Likewise.
19781 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19782 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19784 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19786 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19787 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19789 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19792 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19793 mprotect making __stack_prot writable.
19795 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19796 Joseph Myers <joseph@codesourcery.com>
19798 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19799 as being properly aligned.
19801 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19803 * dlfcn/modstatic5.c: New file.
19804 * dlfcn/tststatic5.c: New file.
19805 * dlfcn/Makefile (tests): Add tststatic5.
19806 (tests-static): Likewise.
19807 (modules-names): Add modstatic5.
19808 (tststatic5-ENV): New variable.
19809 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19812 * elf/dl-support.c (_dl_main_map): New variable.
19813 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19814 (_dl_nns, _dl_load_adds): Set to 1.
19815 (_dl_initial_searchlist): Refer to _dl_main_map.
19816 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19817 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19818 call to _dl_get_origin.
19819 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19821 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19822 * dlfcn/modstatic3.c: New file.
19823 * dlfcn/tststatic3.c: New file.
19824 * dlfcn/tststatic4.c: New file.
19825 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19826 (tests-static): Likewise.
19827 (modules-names): Add modstatic3.
19828 (tststatic3-ENV, tststatic4-ENV): New variables.
19829 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19830 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19832 2013-06-26 Joseph Myers <joseph@codesourcery.com>
19834 * configure.in (CC): Require GCC version 4.4 or later.
19835 * configure: Regenerated.
19836 * manual/install.texi (Tools for Compilation): Update GCC version
19838 * INSTALL: Regenerated.
19840 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19843 * string/test-memcmp.c (check2): New.
19844 (main): Call check2.
19846 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19848 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19851 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19853 (dl_open_worker) [!SHARED]: ... here.
19855 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19857 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19859 2013-06-25 Richard Henderson <rth@redhat.com>
19861 * locale/programs/locarchive.c: Include <libc-internal.h>
19863 2013-06-25 Joseph Myers <joseph@codesourcery.com>
19865 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19866 trailing whitespace removed.
19868 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19871 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19872 * locale/programs/locarchive.c: Include libc-mmap.h.
19873 (prepare_address_space): Take two new outputs (the mmap base and len).
19874 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19876 (create_archive): Declare new mmap base and len values for
19877 prepare_address_space, and store the result in ah.
19878 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19879 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19880 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19881 Declare new mmap base and len values for
19882 prepare_address_space, and store the result in new_ah.
19883 (open_archive): Declare new mmap base and len values for
19884 prepare_address_space, and store the result in ah.
19885 (close_archive): If ah->mmap_base is not NULL, use that and
19886 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19887 * sysdeps/generic/libc-mmap.h: New file.
19889 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19891 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19892 (ALIGN_UP): Likewise.
19893 (PTR_ALIGN_DOWN): Likewise.
19894 (PTR_ALIGN_UP): Likewise.
19896 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19898 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19899 entry mapped to PPC_PLATFORM_POWER8.
19900 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19902 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19903 (_dl_string_platform): Add case for exporting platform position for
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19906 search path to sysdeps/powerpc/powerpc32/power8 directory.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19908 search path to sysdeps/powerpc/powerpc64/power8 directory.
19909 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19910 power7 directories.
19911 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19912 power7 directories.
19914 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19916 * INSTALL: Regenerate.
19918 * nscd/connections.c (nscd_init): Fix comment.
19920 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19922 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19925 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19926 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19928 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19930 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19932 (DL_DST_REQ_STATIC): Remove macro.
19934 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19937 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19938 with a shift of 0 bits.
19940 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19942 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19945 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19948 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19950 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19952 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19953 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19954 accepts -fno-tree-loop-distribute-patterns.
19955 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19956 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19958 * string/memset.c (memset): Likewise.
19959 * string/test-memmove.c (simple_memmove): Disable loop transformation
19961 * string/test-memset.c (simple_memset): Likewise.
19962 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19963 * benchtests/bench-memset.c (simple_memset): Likewise.
19964 * configure: Regenerated.
19966 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19968 * math/test-misc.c (main): Ignore fesetround failure when failures
19969 of subsequent rounding tests would be ignored.
19972 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19973 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19974 * math/fegetenv.c (__fegetenv): Return 0.
19975 * math/fegetexcept.c (fegetexcept): Return 0.
19976 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19978 * math/feholdexcpt.c (feholdexcept): Return 0.
19979 * math/fesetenv.c (__fesetenv): Return 0.
19980 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19981 argument FE_TONEAREST.
19982 * math/feupdateenv.c (__feupdateenv): Return 0.
19983 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19985 2013-06-18 Roland McGrath <roland@hack.frob.com>
19987 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19988 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19989 ($(objpfx)rtld-%.os rules): Use them.
19991 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19993 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19996 2013-06-17 Roland McGrath <roland@hack.frob.com>
19998 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19999 length of target pattern, then descending length of dependency pattern.
20000 * configure.in (AWK): Require gawk 3.1.2 or newer.
20001 * manual/install.texi (Tools for Compilation): Say that we do.
20002 * configure: Regenerated.
20004 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20005 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20006 * scripts/sysd-rules.awk: ... this new script.
20007 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20008 than a glob-style pattern.
20010 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20012 * math/test-misc.c (main): Do not treat incorrectly rounded
20013 conversions as failure unless ROUNDING_TESTS passes.
20015 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20018 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20019 restore exception state around main square root computation, then
20020 check for inexactness explicitly.
20022 * math/libm-test.inc (fma_test_data): Add another test.
20024 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20026 * manual/threads.texi (Non-POSIX Extensions): New document
20027 node. Document pthread_getattr_default_np and
20028 pthread_setattr_default_np.
20030 * Versions.def (libpthread): Add GLIBC_2.18.
20031 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20040 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20051 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20054 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20056 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20057 H.J. Lu <hjl.tools@gmail.com>
20060 * sysdeps/x86_64/rtld-memset.c: Remove file.
20061 * sysdeps/x86_64/rtld-memset.S: New file.
20063 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20065 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20066 (test_in_one_mode): Take arguments for whether the rounding mode
20067 is supported for each floating-point type.
20068 (do_test): Pass new arguments to test_in_one_mode using
20071 2013-06-13 Roland McGrath <roland@hack.frob.com>
20073 * posix/tst-waitid.c (do_test): Distinguish different instances of
20074 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20075 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20076 before entering the kernel for waitpid.
20078 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20080 * NEWS: Fix note on clock function precision. Text by Roland
20083 2013-06-13 Roland McGrath <roland@hack.frob.com>
20085 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20086 it into place only when and if the sanity check passes.
20088 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20090 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20091 output for whether conversion result is exact. Take argument
20092 indicating whether type is IBM long double.
20093 (round_for_all): Change need_exact field to ibm_ld.
20094 * stdlib/tst-strtod-round.c (struct exactness): New type.
20095 (struct test): Change bool ld_ok field to struct exactness exact.
20096 (TEST): Update all definitions for change to field.
20097 (tests): Regenerate array contents.
20098 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20099 field value. Check for IBM long double here.
20100 (do_test): Update calls to test_in_one_mode.
20102 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20105 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20106 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20108 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20111 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20112 generated by the compiler on loop optimizations.
20113 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20114 general definitions.
20116 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20118 * math/bug-nextafter.c: Include <math-tests.h>.
20119 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20121 * math/bug-nexttoward.c: Include <math-tests.h>.
20122 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20124 * math/test-misc.c: Include <math-tests.h>.
20125 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20128 2013-06-12 Andreas Jaeger <aj@suse.de>
20130 * po/ia.po: Update Interlingua translation from translation
20133 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20135 * include/fenv.h: Include stdbool.h.
20136 (struct rm_ctx): New structure.
20137 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20139 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20140 (SET_RESTORE_ROUNDF): Likewise.
20141 (SET_RESTORE_ROUNDL): Likewise.
20142 (SET_RESTORE_ROUND_NOEX): Likewise.
20143 (SET_RESTORE_ROUND_NOEXF): Likewise.
20144 (SET_RESTORE_ROUND_NOEXL): Likewise.
20145 (SET_RESTORE_ROUND_53BIT): Likewise.
20146 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20147 (libc_feresetround_noexf_ctx): Likewise.
20148 (libc_feresetround_noexl_ctx): Likewise.
20149 (libc_feholdsetround_53bit_ctx): Likewise.
20150 (libc_feresetround_53bit_ctx): Likewise.
20151 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20152 (libc_feholdexcept_setround_sse_ctx): New function.
20153 (libc_fesetenv_sse_ctx): Likewise.
20154 (libc_feupdateenv_sse_ctx): Likewise.
20155 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20156 (libc_feholdexcept_setround_387_ctx): Likewise.
20157 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20158 (libc_feholdsetround_387_prec_ctx): Likewise.
20159 (libc_feholdsetround_387_ctx): Likewise.
20160 (libc_feholdsetround_387_53bit_ctx): Likewise.
20161 (libc_feholdsetround_sse_ctx): Likewise.
20162 (libc_feresetround_sse_ctx): Likewise.
20163 (libc_feresetround_387_ctx): Likewise.
20164 (libc_feupdateenv_387_ctx): Likewise.
20165 (libc_feholdexcept_setroundf_ctx): Define macro.
20166 (libc_fesetenvf_ctx): Likewise.
20167 (libc_feupdateenvf_ctx): Likewise.
20168 (libc_feholdsetroundf_ctx): Likewise.
20169 (libc_feresetroundf_ctx): Likewise.
20170 (libc_feholdexcept_setround_ctx): Likewise.
20171 (libc_fesetenv_ctx): Likewise.
20172 (libc_feupdateenv_ctx): Likewise.
20173 (libc_feholdsetround_ctx): Likewise.
20174 (libc_feresetround_ctx): Likewise.
20175 (libc_feholdexcept_setroundl_ctx): Likewise.
20176 (libc_feupdateenvl_ctx): Likewise.
20177 (libc_feholdsetroundl_ctx): Likewise.
20178 (libc_feresetroundl_ctx): Likewise.
20179 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20180 (libc_feresetround_53bit_ctx): Likewise.
20182 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20184 * locale/iso-639.def: Convert to UTF-8.
20186 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20188 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20189 (EXCEPTION_TESTS_double): Likewise.
20190 (EXCEPTION_TESTS_long_double): Likewise.
20191 (EXCEPTION_TESTS): Likewise.
20192 * math/libm-test.inc (test_exceptions): Only test exceptions if
20193 EXCEPTION_TESTS (FLOAT).
20195 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20197 * benchtests/Makefile (string-bench): Add strcpy_chk and
20199 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20200 * benchtests/bench-stpcpy_chk.c: New file.
20201 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20202 * benchtests/bench-strcpy_chk.c: New file.
20203 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20205 (do_test): Likewise.
20207 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20209 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20210 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20211 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20212 with tabs where appropriate.
20213 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20215 [PPC_PLATFORM_PPC440]: Likewise.
20216 [PPC_PLATFORM_PPC464]: Likewise.
20217 [PPC_PLATFORM_PPC476]: Likewise.
20218 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20219 ppc464, and ppc476 platform strings merging from ports/
20222 2013-06-11 Andreas Schwab <schwab@suse.de>
20225 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20226 (from_ucs4_idx): Regenerate.
20227 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20228 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20229 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20230 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20231 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20232 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20233 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20234 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20235 from FROM_LOOP and TO_LOOP specific macros.
20236 (BODY): Handle combining characters.
20237 * iconvdata/BIG5HKSCS.irreversible: Update.
20238 * iconvdata/BIG5HKSCS.precomposed: New file.
20239 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20241 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20243 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20245 * include/sys/time.h: Fix indentation and add copyright header.
20247 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20248 (do_test): Likewise.
20249 * string/test-memchr.c (do_one_test): Likewise.
20250 (do_test): Likewise.
20251 * string/test-memcmp.c (do_one_test): Likewise.
20252 (do_test): Likewise.
20253 * string/test-memcpy.c (do_one_test): Likewise.
20254 (do_test): Likewise.
20255 * string/test-memmem.c (do_one_test): Likewise.
20256 (do_test): Likewise.
20257 (do_random_tests): Likewise.
20258 * string/test-memmove.c (do_one_test): Likewise.
20259 (do_test): Likewise.
20260 * string/test-memset.c (do_one_test): Likewise.
20261 (do_test): Likewise.
20262 * string/test-rawmemchr.c (do_one_test): Likewise.
20263 (do_test): Likewise.
20264 * string/test-strcasecmp.c (do_one_test): Likewise.
20265 (do_test): Likewise.
20266 * string/test-strcasestr.c (do_one_test): Likewise.
20267 (do_test): Likewise.
20268 * string/test-strcat.c (do_one_test): Likewise.
20269 (do_test): Likewise.
20270 * string/test-strchr.c (do_one_test): Likewise.
20271 (do_test): Likewise.
20272 * string/test-strcmp.c (do_one_test): Likewise.
20273 (do_test): Likewise.
20274 * string/test-strcpy.c (do_one_test): Likewise.
20275 (do_test): Likewise.
20276 * string/test-string.h: Likewise.
20277 (test_init): Likewise.
20278 * string/test-strlen.c (do_one_test): Likewise.
20279 (do_test): Likewise.
20280 * string/test-strncasecmp.c (do_one_test): Likewise.
20281 (do_test): Likewise.
20282 * string/test-strncat.c (do_one_test): Likewise.
20283 (do_test): Likewise.
20284 * string/test-strncmp.c (do_one_test): Likewise.
20285 (do_test_limit): Likewise.
20286 (do_test): Likewise.
20287 * string/test-strncpy.c (do_one_test): Likewise.
20288 (do_test): Likewise.
20289 * string/test-strnlen.c (do_one_test): Likewise.
20290 (do_test): Likewise.
20291 * string/test-strpbrk.c (do_one_test): Likewise.
20292 (do_test): Likewise.
20293 * string/test-strrchr.c (do_one_test): Likewise.
20294 (do_test): Likewise.
20295 * string/test-strspn.c (do_one_test): Likewise.
20296 (do_test): Likewise.
20297 * string/test-strstr.c (do_one_test): Likewise.
20298 (do_test): Likewise.
20300 * benchtests/Makefile (string-bench): Add string benchmarks.
20301 * benchtests/bench-bcopy-ifunc.c: New file.
20302 * benchtests/bench-bcopy.c: New file.
20303 * benchtests/bench-bzero-ifunc.c: New file.
20304 * benchtests/bench-bzero.c: New file.
20305 * benchtests/bench-memccpy-ifunc.c: New file.
20306 * benchtests/bench-memccpy.c: New file.
20307 * benchtests/bench-memchr-ifunc.c: New file.
20308 * benchtests/bench-memchr.c: New file.
20309 * benchtests/bench-memcmp-ifunc.c: New file.
20310 * benchtests/bench-memcmp.c: New file.
20311 * benchtests/bench-memmem-ifunc.c: New file.
20312 * benchtests/bench-memmem.c: New file.
20313 * benchtests/bench-memmove-ifunc.c: New file.
20314 * benchtests/bench-memmove.c: New file.
20315 * benchtests/bench-mempcpy-ifunc.c: New file.
20316 * benchtests/bench-mempcpy.c: New file.
20317 * benchtests/bench-memset-ifunc.c: New file.
20318 * benchtests/bench-memset.c: New file.
20319 * benchtests/bench-rawmemchr-ifunc.c: New file.
20320 * benchtests/bench-rawmemchr.c: New file.
20321 * benchtests/bench-stpcpy-ifunc.c: New file.
20322 * benchtests/bench-stpcpy.c: New file.
20323 * benchtests/bench-stpncpy-ifunc.c: New file.
20324 * benchtests/bench-stpncpy.c: New file.
20325 * benchtests/bench-strcasecmp-ifunc.c: New file.
20326 * benchtests/bench-strcasecmp.c: New file.
20327 * benchtests/bench-strcasestr-ifunc.c: New file.
20328 * benchtests/bench-strcasestr.c: New file.
20329 * benchtests/bench-strcat-ifunc.c: New file.
20330 * benchtests/bench-strcat.c: New file.
20331 * benchtests/bench-strchr-ifunc.c: New file.
20332 * benchtests/bench-strchr.c: New file.
20333 * benchtests/bench-strchrnul-ifunc.c: New file.
20334 * benchtests/bench-strchrnul.c: New file.
20335 * benchtests/bench-strcmp-ifunc.c: New file.
20336 * benchtests/bench-strcmp.c: New file.
20337 * benchtests/bench-strcpy-ifunc.c: New file.
20338 * benchtests/bench-strcpy.c: New file.
20339 * benchtests/bench-strcspn-ifunc.c: New file.
20340 * benchtests/bench-strcspn.c: New file.
20341 * benchtests/bench-strlen-ifunc.c: New file.
20342 * benchtests/bench-strlen.c: New file.
20343 * benchtests/bench-strncasecmp-ifunc.c: New file.
20344 * benchtests/bench-strncasecmp.c: New file.
20345 * benchtests/bench-strncat-ifunc.c: New file.
20346 * benchtests/bench-strncat.c: New file.
20347 * benchtests/bench-strncmp-ifunc.c: New file.
20348 * benchtests/bench-strncmp.c: New file.
20349 * benchtests/bench-strncpy-ifunc.c: New file.
20350 * benchtests/bench-strncpy.c: New file.
20351 * benchtests/bench-strnlen-ifunc.c: New file.
20352 * benchtests/bench-strnlen.c: New file.
20353 * benchtests/bench-strpbrk-ifunc.c: New file.
20354 * benchtests/bench-strpbrk.c: New file.
20355 * benchtests/bench-strrchr-ifunc.c: New file.
20356 * benchtests/bench-strrchr.c: New file.
20357 * benchtests/bench-strspn-ifunc.c: New file.
20358 * benchtests/bench-strspn.c: New file.
20359 * benchtests/bench-strstr-ifunc.c: New file.
20360 * benchtests/bench-strstr.c: New file.
20362 * benchtests/Makefile: Disable parallel execution of targets.
20363 (string-bench): Add memcpy.
20364 (benchset): New variable to store a list of benchmark sets.
20365 (bench-func): Renamed from bench.
20366 (bench-set): New target.
20367 (bench): Depend on bench-func and bench-set.
20368 * benchtests/README: Add section on benchmark sets.
20369 * benchtests/bench-memcpy-ifunc.c: New file.
20370 * benchtests/bench-memcpy.c: New file.
20371 * benchtests/bench-string.h: New file.
20373 2013-06-11 Andreas Schwab <schwab@suse.de>
20376 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20377 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20378 values in the triple.
20379 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20380 terminator in the group key.
20382 2013-06-11 Andreas Jaeger <aj@suse.de>
20384 * po/zh_TW.po: Update Chinese (traditional) translation from
20385 translation project.
20387 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20389 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20390 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20391 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20392 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20393 (clock_getcpuclockid): Likewise.
20394 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20395 Add weak_alias and libc_hidden_def.
20396 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20397 * rt/clock_gettime.c (clock_gettime): Rename to
20398 __clock_gettime. Add weak_alias and libc_hidden_def.
20399 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20400 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20401 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20402 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20403 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20405 * rt/clock_settime.c (clock_settime): Rename to
20406 __clock_settime. Add weak_alias and libc_hidden_def.
20407 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20409 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20411 * mach/err_boot.sub: Remove trailing whitespace.
20412 * mach/err_ipc.sub: Likewise.
20413 * mach/err_mach.sub: Likewise.
20415 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20416 (ROUNDING_TESTS_double): Likewise.
20417 (ROUNDING_TESTS_long_double): Likewise.
20418 (ROUNDING_TESTS): Likewise.
20419 * math/libm-test.inc: Include <math-tests.h>.
20420 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20421 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20422 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20423 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20425 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20427 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20430 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20432 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20433 otherwise empty TRANS lines.
20434 * sysdeps/gnu/errlist.c: Regenerated.
20436 * catgets/gencat.c (error_print): Use (void) in function
20438 * crypt/crypt_util.c (__init_des): Likewise.
20439 * crypt/speeds.c (Stop): Likewise.
20441 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20442 * inet/ruserpass.c (token): Likewise.
20443 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20444 * intl/localealias.c (extend_alias_table): Likewise.
20445 * intl/plural-exp.c (init_germanic_plural): Likewise.
20446 * libio/fcloseall.c (__fcloseall): Likewise.
20447 * libio/genops.c (_IO_flush_all): Likewise.
20448 (_IO_flush_all_linebuffered): Likewise.
20449 (_IO_cleanup): Likewise.
20450 (_IO_iter_begin): Likewise.
20451 (_IO_iter_end): Likewise.
20452 (_IO_list_lock): Likewise.
20453 (_IO_list_unlock): Likewise.
20454 (_IO_list_resetlock): Likewise.
20455 * libio/getchar.c (getchar): Likewise.
20456 * libio/getchar_u.c (getchar_unlocked): Likewise.
20457 * libio/getwchar.c (getwchar): Likewise.
20458 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20459 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20460 * login/getpt.c (__getpt): Likewise.
20461 * login/tst-utmp.c (main): Likewise.
20462 * malloc/hooks.c (__malloc_check_init): Likewise.
20463 * malloc/malloc.c (__malloc_stats): Likewise.
20464 * malloc/mtrace.c (tr_break): Likewise.
20465 (mtrace): Likewise.
20466 (muntrace): Likewise.
20467 * misc/fstab.c (endfsent): Likewise.
20468 * misc/getclktck.c (__getclktck): Likewise.
20469 * misc/getdtsz.c (__getdtablesize): Likewise.
20470 * misc/gethostid.c (gethostid): Likewise.
20471 * misc/getpagesize.c (__getpagesize): Likewise.
20472 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20473 (__get_nprocs): Likewise.
20474 (__get_phys_pages): Likewise.
20475 (__get_avphys_pages): Likewise.
20476 * misc/getttyent.c (getttyent): Likewise.
20477 (setttyent): Likewise.
20478 (endttyent): Likewise.
20479 * misc/getusershell.c (getusershell): Likewise.
20480 (endusershell): Likewise.
20481 (setusershell): Likewise.
20482 (initshells): Likewise.
20483 * misc/hsearch.c (__hdestroy): Likewise.
20484 * misc/sync.c (sync): Likewise.
20485 * misc/syslog.c (closelog_internal): Likewise.
20486 (closelog): Likewise.
20487 * misc/ttyslot.c (ttyslot): Likewise.
20488 * misc/vhangup.c (vhangup): Likewise.
20489 * posix/fork.c (__fork): Likewise.
20490 * posix/getegid.c (__getegid): Likewise.
20491 * posix/geteuid.c (__geteuid): Likewise.
20492 * posix/getgid.c (__getgid): Likewise.
20493 * posix/getpid.c (__getpid): Likewise.
20494 * posix/getppid.c (__getppid): Likewise.
20495 * posix/getuid.c (__getuid): Likewise.
20496 * posix/pause.c (pause): Likewise.
20497 * posix/setpgrp.c (setpgrp): Likewise.
20498 * posix/setsid.c (__setsid): Likewise.
20499 * posix/test-vfork.c (noop): Likewise.
20500 * resolv/gethnamaddr.c (_endhtent): Likewise.
20501 (_gethtent): Likewise.
20502 (ht_endhostent): Likewise.
20503 (gethostent): Likewise.
20504 (dns_service): Likewise.
20505 * stdlib/drand48.c (drand48): Likewise.
20506 * stdlib/lrand48.c (lrand48): Likewise.
20507 * stdlib/mrand48.c (mrand48): Likewise.
20508 * stdlib/rand.c (rand): Likewise.
20509 * stdlib/random.c (__random): Likewise.
20510 * stdlib/setenv.c (clearenv): Likewise.
20511 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20512 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20513 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20514 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20515 (__get_nprocs): Likewise.
20516 (__get_phys_pages): Likewise.
20517 (__get_avphys_pages): Likewise.
20518 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20519 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20520 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20521 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20522 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20523 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20524 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20525 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20526 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20527 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20528 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20529 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20530 * sysdeps/posix/clock.c (clock): Likewise.
20531 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20532 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20533 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20534 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20535 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20537 (__get_nprocs_conf): Likewise.
20538 (__get_phys_pages): Likewise.
20539 (__get_avphys_pages): Likewise.
20540 * time/clock.c (clock): Likewise.
20541 * time/tzset.c (__tzname_max): Likewise.
20543 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20545 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20546 (__bswap_32): Do not use "register".
20547 * crypt/crypt.c (_ufc_doit_r): Likewise.
20548 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20549 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20550 * gmon/gmon.c (__monstartup): Likewise.
20551 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20552 * hurd/hurdmalloc.c (more_memory): Likewise.
20553 (malloc): Likewise.
20555 (realloc): Likewise.
20556 (malloc_fork_prepare): Likewise.
20557 (malloc_fork_parent): Likewise.
20558 (malloc_fork_child): Likewise.
20559 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20560 (_svcauth_des): Likewise.
20561 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20562 * inet/inet_net.c (inet_network): Likewise.
20563 * inet/inet_netof.c (inet_netof): Likewise.
20564 * inet/rcmd.c (__validuser2_sa): Likewise.
20565 * io/fts.c (fts_open): Likewise.
20566 (fts_load): Likewise.
20567 (fts_close): Likewise.
20568 (fts_read): Likewise.
20569 (fts_children): Likewise.
20570 (fts_build): Likewise.
20571 (fts_stat): Likewise.
20572 (fts_sort): Likewise.
20573 (fts_alloc): Likewise.
20574 (fts_lfree): Likewise.
20575 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20576 (_IO_file_xsgetn): Likewise.
20577 (_IO_file_xsgetn_mmap): Likewise.
20578 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20579 (_IO_cookie_write): Likewise.
20580 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20581 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20582 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20583 * malloc/obstack.c (_obstack_begin): Likewise.
20584 (_obstack_begin_1): Likewise.
20585 (_obstack_newchunk): Likewise.
20586 (_obstack_allocated_p): Likewise.
20587 (obstack_free): Likewise.
20588 (_obstack_memory_used): Likewise.
20589 * misc/getttyent.c (getttynam): Likewise.
20590 (getttyent): Likewise.
20593 * misc/getusershell.c (initshells): Likewise.
20594 * misc/syslog.c (__vsyslog_chk): Likewise.
20595 * misc/ttyslot.c (ttyslot): Likewise.
20596 * nis/nis_hash.c (__nis_hash): Likewise.
20597 * posix/fnmatch_loop.c (FCT): Likewise.
20598 * posix/getconf.c (print_all): Likewise.
20600 * posix/getopt.c (exchange): Likewise.
20601 * posix/glob.c (globfree): Likewise.
20602 (prefix_array): Likewise.
20603 (__glob_pattern_type): Likewise.
20604 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20605 (NS_GET32): Likewise.
20606 (NS_PUT16): Likewise.
20607 (NS_PUT32): Likewise.
20608 * resolv/gethnamaddr.c (getanswer): Likewise.
20609 (gethostbyname2): Likewise.
20610 (gethostbyaddr): Likewise.
20611 (_gethtent): Likewise.
20612 (_gethtbyname2): Likewise.
20613 (_gethtbyaddr): Likewise.
20614 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20615 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20616 * resolv/res_init.c (__res_vinit): Likewise.
20617 (net_mask): Likewise.
20618 * resolv/res_mkquery.c (outchar): Likewise.
20620 * stdio-common/printf_fp.c (outchar): Likewise.
20622 * stdio-common/printf_fphex.c (outchar): Likewise.
20624 * stdio-common/printf_size.c (outchar): Likewise.
20626 * stdio-common/test_rdwr.c (main): Likewise.
20627 * stdio-common/tfformat.c (matches): Likewise.
20628 * stdio-common/vfprintf.c (outchar): Likewise.
20629 (printf_unknown): Likewise.
20630 (buffered_vfprintf): Likewise.
20631 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20632 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20633 (ReadFile): Likewise.
20634 * stdlib/qsort.c (SWAP): Likewise.
20635 (_quicksort): Likewise.
20636 * stdlib/setenv.c (__add_to_environ): Likewise.
20637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20638 * stdlib/strtol_l.c (__strtol_l): Likewise.
20639 * stdlib/tst-strtod.c (main): Likewise.
20640 * stdlib/tst-strtol.c (main): Likewise.
20641 * stdlib/tst-strtoll.c (main): Likewise.
20642 * string/bits/string2.h (__strcmp_cc): Likewise.
20643 (__strcmp_cg): Likewise.
20644 (__strcspn_c1): Likewise.
20645 (__strcspn_c2): Likewise.
20646 (__strcspn_c3): Likewise.
20647 (__strspn_c1): Likewise.
20648 (__strspn_c2): Likewise.
20649 (__strspn_c3): Likewise.
20650 (__strsep_1c): Likewise.
20651 (__strsep_2c): Likewise.
20652 (__strsep_3c): Likewise.
20653 * string/memccpy.c (__memccpy): Likewise.
20654 * string/stpcpy.c (__stpcpy): Likewise.
20655 * string/strcmp.c (strcmp): Likewise.
20656 * string/strrchr.c (strrchr): Likewise.
20657 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20659 * sysdeps/mach/hurd/getcwd.c
20660 (_hurd_canonicalize_directory_name_internal): Likewise.
20661 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20662 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20663 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20664 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20665 Likewise, in both definitions.
20666 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20668 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20669 64] (__bswap_64): Likewise.
20670 * time/test_time.c (main): Likewise.
20671 * time/tzfile.c (__tzfile_read): Likewise.
20672 (__tzfile_compute): Likewise.
20673 * time/tzset.c (__tzset_parse_tz): Likewise.
20674 (tzset_internal): Likewise.
20675 (compute_change): Likewise.
20676 * wcsmbs/wcscat.c (__wcscat): Likewise.
20677 * wcsmbs/wcschr.c (wcschr): Likewise.
20678 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20679 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20680 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20681 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20682 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20683 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20684 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20685 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20686 * wcsmbs/wmemset.c (wmemset): Likewise.
20688 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20690 * scripts/config.guess: Update to version 2013-05-16.
20691 * scripts/config.sub: Update to version 2013-04-24.
20692 * scripts/install-sh: Update to version 2011-11-20.07.
20693 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20694 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20696 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20698 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20699 * elf/sln.c: Likewise.
20700 * hurd/hurd/ioctl.h: Likewise.
20701 * hurd/hurdmalloc.c: Likewise.
20702 * hurd/xattr.c: Likewise.
20703 * include/shlib-compat.h: Likewise.
20704 * inet/ruserpass.c: Likewise.
20705 * libio/iofgets_u.c: Likewise.
20706 * libio/iofgetws_u.c: Likewise.
20707 * locale/programs/ld-identification.c: Likewise.
20708 * locale/programs/ld-time.c: Likewise.
20709 * mach/msg-destroy.c: Likewise.
20710 * nss/nss_files/files-netgrp.c: Likewise.
20711 * resolv/res_data.c: Likewise.
20712 * soft-fp/op-1.h: Likewise.
20713 * soft-fp/op-2.h: Likewise.
20714 * soft-fp/op-4.h: Likewise.
20715 * soft-fp/op-common.h: Likewise.
20716 * stdio-common/printf_fphex.c: Likewise.
20717 * stdlib/strtod_l.c: Likewise.
20718 * sunrpc/rpc/clnt.h: Likewise.
20719 * sysdeps/generic/framestate.c: Likewise.
20720 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20721 * sysdeps/i386/bsd-setjmp.S: Likewise.
20722 * sysdeps/i386/__longjmp.S: Likewise.
20723 * sysdeps/i386/setjmp.S: Likewise.
20724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20733 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20735 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20736 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20741 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20742 * sysdeps/ieee754/support.c: Likewise.
20743 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20744 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20745 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20746 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20747 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20748 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20749 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20750 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20751 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20752 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20753 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20754 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20755 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20756 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20757 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20758 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20759 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20762 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20764 * posix/transbug.c: Remove executable mode.
20766 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20768 * crypt/speeds.c: Remove trailing whitespace.
20769 * dlfcn/default.c: Likewise.
20770 * elf/ifuncdep2.c: Likewise.
20771 * elf/ifuncmain1.c: Likewise.
20772 * elf/ifuncmain1vis.c: Likewise.
20773 * elf/testobj.h: Likewise.
20774 * elf/tst-stackguard1.c: Likewise.
20775 * gmon/sys/gmon.h: Likewise.
20776 * hurd/hurdmsg.c: Likewise.
20777 * hurd/new-fd.c: Likewise.
20778 * hurd/ports-get.c: Likewise.
20779 * iconvdata/ibm1008_420.c: Likewise.
20780 * inet/tst-getni1.c: Likewise.
20781 * inet/tst-getni2.c: Likewise.
20782 * libio/ioungetc.c: Likewise.
20783 * libio/wfiledoalloc.c: Likewise.
20784 * manual/libm-err-tab.pl: Likewise.
20785 * math/w_dremf.c: Likewise.
20786 * misc/ftruncate.c: Likewise.
20787 * posix/bug-glob2.c: Likewise.
20788 * posix/tst-pcre.c: Likewise.
20789 * posix/wait4.c: Likewise.
20790 * resolv/README: Likewise.
20791 * resolv/res_debug.h: Likewise.
20792 * resolv/tst-inet_ntop.c: Likewise.
20793 * setjmp/bug269-setjmp.c: Likewise.
20794 * soft-fp/extended.h: Likewise.
20795 * soft-fp/op-1.h: Likewise.
20796 * soft-fp/op-2.h: Likewise.
20797 * soft-fp/op-4.h: Likewise.
20798 * soft-fp/op-8.h: Likewise.
20799 * soft-fp/testit.c: Likewise.
20800 * stdio-common/bug16.c: Likewise.
20801 * stdlib/random.c: Likewise.
20802 * sunrpc/rpcsvc/rquota.x: Likewise.
20803 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20804 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20806 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20807 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20808 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20809 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20810 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20811 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20813 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20815 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20818 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20827 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20832 * sysdeps/ieee754/s_lib_version.c: Likewise.
20833 * sysdeps/mach/hurd/check_fds.c: Likewise.
20834 * sysdeps/mach/hurd/getsockname.c: Likewise.
20835 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20836 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20837 * sysdeps/powerpc/bits/link.h: Likewise.
20838 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20839 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20840 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20841 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20842 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20843 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20844 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20846 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20847 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20848 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20849 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20850 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20851 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20852 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20853 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20859 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20860 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20861 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20862 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20867 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20871 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20872 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20873 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20874 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20875 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20876 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20877 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20878 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20879 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20880 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20881 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20882 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20884 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20885 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20886 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20887 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20890 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20891 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20893 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20894 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20895 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20896 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20897 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20900 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20901 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20902 * sysdeps/powerpc/sysdep.h: Likewise.
20903 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20904 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20905 * sysdeps/sh/dl-trampoline.S: Likewise.
20906 * sysdeps/sh/memset.S: Likewise.
20907 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20908 * sysdeps/sh/strlen.S: Likewise.
20909 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20910 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20911 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20912 * sysdeps/sparc/sparc32/rem.S: Likewise.
20913 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20914 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20915 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20916 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20917 * sysdeps/sparc/sparc32/urem.S: Likewise.
20918 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20919 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20920 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20921 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20922 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20923 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20924 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20925 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20926 * sysdeps/unix/bsd/times.c: Likewise.
20927 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20928 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20934 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20935 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20936 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20937 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20938 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20939 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20940 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20941 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20942 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20943 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20944 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20945 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20946 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20947 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20948 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20949 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20950 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20951 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20952 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20953 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20954 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20955 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20956 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20957 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20958 * sysdeps/x86_64/strcspn.S: Likewise.
20960 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20962 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20963 generated file. Regenerate properly from gen-translit.pl.
20964 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20965 locale/C-translit.h.
20967 2013-06-05 Andreas Schwab <schwab@suse.de>
20970 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20971 week as 6 instead of -1.
20972 * time/tst-strptime.c (day_tests): Add test case.
20974 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20976 * sysdeps/generic/math_private.h
20977 (libc_feholdexcept_setround_53bit): Replace with
20978 libc_feholdsetround_53bit.
20979 (libc_feupdateenv_53bit): Replace with
20980 libc_feresetround_53bit.
20981 (SET_RESTORE_ROUND_53BIT): Adjust.
20983 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20985 * string/test-strchrnul.c: Add copyright header.
20987 * posix/tst-getaddrinfo4.c: Increase test timeout.
20989 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20992 * math/libm-test.inc (MAX_EXP): Remove
20994 (ulp): Use MIN_EXP - MANT_DIG.
20995 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20997 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20999 * po/be.po: Revert last change.
21000 * po/zh_CN.po: Likewise.
21001 * po/header.pot: Likewise.
21003 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21005 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21006 link-libc-deps to empty as target-specific variable.
21007 * Makerules (link-libc-args): New variable.
21008 (libc-for-link): Likewise.
21009 (link-libc-deps): Likewise.
21010 (lib%.so): Depend on $(link-libc-deps). Link with
21012 (build-module): Link with $(link-libc-args).
21013 (build-module-asneeded): Likewise.
21014 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21016 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21017 target-specific variable.
21018 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21019 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21020 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21022 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21024 ($(objpfx)libpcprofile.so): Likewise.
21025 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21027 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21028 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21029 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21031 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21032 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21033 * login/Makefile ($(objpfx)libutil.so): Likewise.
21034 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21035 * math/Makefile ($(objpfx)libm.so): Likewise.
21036 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21037 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21038 variable instead of depending directly on libc.
21039 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21040 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21042 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21044 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21045 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21046 ($(objpfx)libanl.so): Likewise.
21047 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21049 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21051 * sysdeps/i386/fpu/Makefile: Remove file.
21052 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21053 ($(objpfx)libm.so): Remove dependency on ld.so.
21055 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21058 * nis/yp_xdr.c (XDRMAXNAME): Define.
21059 (XDRMAXRECORD): Define.
21060 (xdr_domainname): Use XDRMAXNAME.
21061 (xdr_mapname): Likewise.
21062 (xdr_peername): Likewise.
21063 (xdr_keydat): Use XDRMAXRECORD.
21064 (xdr_valdat): Likewise.
21066 2013-05-30 Jeff Law <law@redhat.com>
21069 * manual/errno.texi (ESTALE): Update to account for more than
21070 just NFS file systems.
21071 * sysdeps/gnu/errlist.c: Regenerated.
21073 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21076 * elf/Makefile (tests): Add tst-null-argv.
21077 (modules-names): Add tst-null-argv-lib.
21078 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21079 (tst-null-argv-ENV): Set environment for tst-null-argv.
21080 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21081 (RTLD_PROGNAME): New macro.
21082 * elf/tst-null-argv.c: New test case.
21083 * elf/tst-null-argv-lib.c: Library for test case.
21084 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21085 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21086 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21087 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21088 * elf/dl-init.c (call_init): Likewise.
21089 (_dl_init): Likewise.
21090 * elf/dl-load.c (print_search_path): Likewise.
21091 (_dl_map_object): Likewise.
21092 * elf/dl-lookup.c (do_lookup_x): Likewise.
21093 (add_dependency): Likewise.
21094 (_dl_lookup_symbol_x): Likewise.
21095 (_dl_debug_bindings): Likewise.
21096 * elf/dl-open.c (_dl_show_scope): Likewise.
21097 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21098 * elf/dl-version.c (match_symbol): Likewise.
21099 (_dl_check_map_versions): Likewise.
21100 * elf/rtld.c (dl_main): Likewise.
21101 (print_unresolved): Use RTLD_PROGNAME.
21102 (print_missing_version): Likewise.
21103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21104 (elf_machine_rela): Likewise.
21105 * sysdeps/powerpc/powerpc32/dl-machine.c
21106 (__process_machine_rela): Likewise.
21107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21111 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21113 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21120 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21122 * po/be.po: Add descriptive title.
21123 * po/zh_CN.po: Likewise.
21124 * po/header.pot: Likewise.
21126 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21128 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21130 (enlarge_archive): Likewise.
21132 2013-05-28 Ben North <ben@redfrontdoor.org>
21134 * manual/arith.texi (frexp): It is the magnitude of the return
21135 value which lies in [0.5, 1), not the return value itself.
21137 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21141 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21143 * stdio-common/bug26.c (main): Correct fscanf template.
21145 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21146 declare _dl_skip_args.
21148 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21151 * manual/platform.texi: Add missing @end deftypefun.
21153 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21156 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21157 bit of mantissa of 2^16382.
21158 * math/libm-test.inc (hypot_test_data): Add more tests.
21160 * math/libm-test.inc: Add drem and pow10 to list of tested
21162 (pow10_test): New function.
21163 (drem_test): Likewise.
21164 (drem_test_tonearest): Likewise.
21165 (drem_test_towardzero): Likewise.
21166 (drem_test_downward): Likewise.
21167 (drem_test_upward): Likewise.
21168 (main): Call the new functions.
21170 * math/libm-test.inc (finite_test_data): Remove.
21171 (finite_test): Run tests from isfinite_test_data.
21172 (gamma_test_data): Remove.
21173 (gamma_test): Run tests from lgamma_test_data.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21177 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21179 * manual/platform.texi: Add PowerPC PPR function set documentation.
21180 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21183 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21185 * math/libm-test.inc (MAX_EXP): Define.
21187 (ulp): New function.
21188 (check_float_internal): Use ULPDIFF.
21189 (cpow_test): Disable failing test.
21190 (check_ulp): Test ulp() implemetnation.
21191 (main): Call check_ulp before starting tests.
21193 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21195 * math/gen-libm-test.pl (generate_testfile): Do not handle
21196 START_DATA and END_DATA.
21197 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21199 (acos_tonearest_test_data): Likewise.
21200 (acos_towardzero_test_data): Likewise.
21201 (acos_downward_test_data): Likewise.
21202 (acos_upward_test_data): Likewise.
21203 (acosh_test_data): Likewise.
21204 (asin_test_data): Likewise.
21205 (asin_tonearest_test_data): Likewise.
21206 (asin_towardzero_test_data): Likewise.
21207 (asin_downward_test_data): Likewise.
21208 (asin_upward_test_data): Likewise.
21209 (asinh_test_data): Likewise.
21210 (atan_test_data): Likewise.
21211 (atanh_test_data): Likewise.
21212 (atan2_test_data): Likewise.
21213 (cabs_test_data): Likewise.
21214 (cacos_test_data): Likewise.
21215 (cacosh_test_data): Likewise.
21216 (carg_test_data): Likewise.
21217 (casin_test_data): Likewise.
21218 (casinh_test_data): Likewise.
21219 (catan_test_data): Likewise.
21220 (catanh_test_data): Likewise.
21221 (cbrt_test_data): Likewise.
21222 (ccos_test_data): Likewise.
21223 (ccosh_test_data): Likewise.
21224 (ceil_test_data): Likewise.
21225 (cexp_test_data): Likewise.
21226 (cimag_test_data): Likewise.
21227 (clog_test_data): Likewise.
21228 (clog10_test_data): Likewise.
21229 (conj_test_data): Likewise.
21230 (copysign_test_data): Likewise.
21231 (cos_test_data): Likewise.
21232 (cos_tonearest_test_data): Likewise.
21233 (cos_towardzero_test_data): Likewise.
21234 (cos_downward_test_data): Likewise.
21235 (cos_upward_test_data): Likewise.
21236 (cosh_test_data): Likewise.
21237 (cosh_tonearest_test_data): Likewise.
21238 (cosh_towardzero_test_data): Likewise.
21239 (cosh_downward_test_data): Likewise.
21240 (cosh_upward_test_data): Likewise.
21241 (cpow_test_data): Likewise.
21242 (cproj_test_data): Likewise.
21243 (creal_test_data): Likewise.
21244 (csin_test_data): Likewise.
21245 (csinh_test_data): Likewise.
21246 (csqrt_test_data): Likewise.
21247 (ctan_test_data): Likewise.
21248 (ctan_tonearest_test_data): Likewise.
21249 (ctan_towardzero_test_data): Likewise.
21250 (ctan_downward_test_data): Likewise.
21251 (ctan_upward_test_data): Likewise.
21252 (ctanh_test_data): Likewise.
21253 (ctanh_tonearest_test_data): Likewise.
21254 (ctanh_towardzero_test_data): Likewise.
21255 (ctanh_downward_test_data): Likewise.
21256 (ctanh_upward_test_data): Likewise.
21257 (erf_test_data): Likewise.
21258 (erfc_test_data): Likewise.
21259 (exp_test_data): Likewise.
21260 (exp_tonearest_test_data): Likewise.
21261 (exp_towardzero_test_data): Likewise.
21262 (exp_downward_test_data): Likewise.
21263 (exp_upward_test_data): Likewise.
21264 (exp10_test_data): Likewise.
21265 (exp2_test_data): Likewise.
21266 (expm1_test_data): Likewise.
21267 (fabs_test_data): Likewise.
21268 (fdim_test_data): Likewise.
21269 (finite_test_data): Likewise.
21270 (floor_test_data): Likewise.
21271 (fma_test_data): Likewise.
21272 (fma_towardzero_test_data): Likewise.
21273 (fma_downward_test_data): Likewise.
21274 (fma_upward_test_data): Likewise.
21275 (fmax_test_data): Likewise.
21276 (fmin_test_data): Likewise.
21277 (fmod_test_data): Likewise.
21278 (fpclassify_test_data): Likewise.
21279 (frexp_test_data): Likewise.
21280 (gamma_test_data): Likewise.
21281 (hypot_test_data): Likewise.
21282 (ilogb_test_data): Likewise.
21283 (isfinite_test_data): Likewise.
21284 (isgreater_test_data): Likewise.
21285 (isgreaterequal_test_data): Likewise.
21286 (isinf_test_data): Likewise.
21287 (isless_test_data): Likewise.
21288 (islessequal_test_data): Likewise.
21289 (islessgreater_test_data): Likewise.
21290 (isnan_test_data): Likewise.
21291 (isnormal_test_data): Likewise.
21292 (issignaling_test_data): Likewise.
21293 (isunordered_test_data): Likewise.
21294 (j0_test_data): Likewise.
21295 (j1_test_data): Likewise.
21296 (jn_test_data): Likewise.
21297 (ldexp_test_data): Likewise.
21298 (lgamma_test_data): Likewise.
21299 (lrint_test_data): Likewise.
21300 (lrint_tonearest_test_data): Likewise.
21301 (lrint_towardzero_test_data): Likewise.
21302 (lrint_downward_test_data): Likewise.
21303 (lrint_upward_test_data): Likewise.
21304 (llrint_test_data): Likewise.
21305 (llrint_tonearest_test_data): Likewise.
21306 (llrint_towardzero_test_data): Likewise.
21307 (llrint_downward_test_data): Likewise.
21308 (llrint_upward_test_data): Likewise.
21309 (log_test_data): Likewise.
21310 (log10_test_data): Likewise.
21311 (log1p_test_data): Likewise.
21312 (log2_test_data): Likewise.
21313 (logb_test_data): Likewise.
21314 (logb_downward_test_data): Likewise.
21315 (lround_test_data): Likewise.
21316 (llround_test_data): Likewise.
21317 (modf_test_data): Likewise.
21318 (nearbyint_test_data): Likewise.
21319 (nextafter_test_data): Likewise.
21320 (nexttoward_test_data): Likewise.
21321 (pow_test_data): Likewise.
21322 (pow_tonearest_test_data): Likewise.
21323 (pow_towardzero_test_data): Likewise.
21324 (pow_downward_test_data): Likewise.
21325 (pow_upward_test_data): Likewise.
21326 (remainder_test_data): Likewise.
21327 (remainder_tonearest_test_data): Likewise.
21328 (remainder_towardzero_test_data): Likewise.
21329 (remainder_downward_test_data): Likewise.
21330 (remainder_upward_test_data): Likewise.
21331 (remquo_test_data): Likewise.
21332 (rint_test_data): Likewise.
21333 (rint_tonearest_test_data): Likewise.
21334 (rint_towardzero_test_data): Likewise.
21335 (rint_downward_test_data): Likewise.
21336 (rint_upward_test_data): Likewise.
21337 (round_test_data): Likewise.
21338 (scalb_test_data): Likewise.
21339 (scalbn_test_data): Likewise.
21340 (scalbln_test_data): Likewise.
21341 (signbit_test_data): Likewise.
21342 (sin_test_data): Likewise.
21343 (sin_tonearest_test_data): Likewise.
21344 (sin_towardzero_test_data): Likewise.
21345 (sin_downward_test_data): Likewise.
21346 (sin_upward_test_data): Likewise.
21347 (sincos_test_data): Likewise.
21348 (sinh_test_data): Likewise.
21349 (sinh_tonearest_test_data): Likewise.
21350 (sinh_towardzero_test_data): Likewise.
21351 (sinh_downward_test_data): Likewise.
21352 (sinh_upward_test_data): Likewise.
21353 (sqrt_test_data): Likewise.
21354 (tan_test_data): Likewise.
21355 (tan_tonearest_test_data): Likewise.
21356 (tan_towardzero_test_data): Likewise.
21357 (tan_downward_test_data): Likewise.
21358 (tan_upward_test_data): Likewise.
21359 (tanh_test_data): Likewise.
21360 (tgamma_test_data): Likewise.
21361 (trunc_test_data): Likewise.
21362 (y0_test_data): Likewise.
21363 (y1_test_data): Likewise.
21364 (yn_test_data): Likewise.
21365 (significand_test_data): Likewise.
21367 * math/gen-libm-test.pl (@functions): Remove variable.
21368 (generate_testfile): Don't handle START and END lines.
21369 * math/libm-test.inc (START): New macro.
21371 (END_COMPLEX): Likewise.
21372 (acos_test): Use END macro without arguments.
21373 (acos_test_tonearest): Likewise.
21374 (acos_test_towardzero): Likewise.
21375 (acos_test_downward): Likewise.
21376 (acos_test_upward): Likewise.
21377 (acosh_test): Likewise.
21378 (asin_test): Likewise.
21379 (asin_test_tonearest): Likewise.
21380 (asin_test_towardzero): Likewise.
21381 (asin_test_downward): Likewise.
21382 (asin_test_upward): Likewise.
21383 (asinh_test): Likewise.
21384 (atan_test): Likewise.
21385 (atanh_test): Likewise.
21386 (atan2_test): Likewise.
21387 (cabs_test): Likewise.
21388 (cacos_test): Use END_COMPLEX macro without arguments.
21389 (cacosh_test): Likewise.
21390 (carg_test): Use END macro without arguments.
21391 (casin_test): Use END_COMPLEX macro without arguments.
21392 (casinh_test): Likewise.
21393 (catan_test): Likewise.
21394 (catanh_test): Likewise.
21395 (cbrt_test): Use END macro without arguments.
21396 (ccos_test): Use END_COMPLEX macro without arguments.
21397 (ccosh_test): Likewise.
21398 (ceil_test): Use END macro without arguments.
21399 (cexp_test): Use END_COMPLEX macro without arguments.
21400 (cimag_test): Use END macro without arguments.
21401 (clog_test): Use END_COMPLEX macro without arguments.
21402 (clog10_test): Likewise.
21403 (conj_test): Likewise.
21404 (copysign_test): Use END macro without arguments.
21405 (cos_test): Likewise.
21406 (cos_test_tonearest): Likewise.
21407 (cos_test_towardzero): Likewise.
21408 (cos_test_downward): Likewise.
21409 (cos_test_upward): Likewise.
21410 (cosh_test): Likewise.
21411 (cosh_test_tonearest): Likewise.
21412 (cosh_test_towardzero): Likewise.
21413 (cosh_test_downward): Likewise.
21414 (cosh_test_upward): Likewise.
21415 (cpow_test): Use END_COMPLEX macro without arguments.
21416 (cproj_test): Likewise.
21417 (creal_test): Use END macro without arguments.
21418 (csin_test): Use END_COMPLEX macro without arguments.
21419 (csinh_test): Likewise.
21420 (csqrt_test): Likewise.
21421 (ctan_test): Likewise.
21422 (ctan_test_tonearest): Likewise.
21423 (ctan_test_towardzero): Likewise.
21424 (ctan_test_downward): Likewise.
21425 (ctan_test_upward): Likewise.
21426 (ctanh_test): Likewise.
21427 (ctanh_test_tonearest): Likewise.
21428 (ctanh_test_towardzero): Likewise.
21429 (ctanh_test_downward): Likewise.
21430 (ctanh_test_upward): Likewise.
21431 (erf_test): Use END macro without arguments.
21432 (erfc_test): Likewise.
21433 (exp_test): Likewise.
21434 (exp_test_tonearest): Likewise.
21435 (exp_test_towardzero): Likewise.
21436 (exp_test_downward): Likewise.
21437 (exp_test_upward): Likewise.
21438 (exp10_test): Likewise.
21439 (exp2_test): Likewise.
21440 (expm1_test): Likewise.
21441 (fabs_test): Likewise.
21442 (fdim_test): Likewise.
21443 (finite_test): Likewise.
21444 (floor_test): Likewise.
21445 (fma_test): Likewise.
21446 (fma_test_towardzero): Likewise.
21447 (fma_test_downward): Likewise.
21448 (fma_test_upward): Likewise.
21449 (fmax_test): Likewise.
21450 (fmin_test): Likewise.
21451 (fmod_test): Likewise.
21452 (fpclassify_test): Likewise.
21453 (frexp_test): Likewise.
21454 (gamma_test): Likewise.
21455 (hypot_test): Likewise.
21456 (ilogb_test): Likewise.
21457 (isfinite_test): Likewise.
21458 (isgreater_test): Likewise.
21459 (isgreaterequal_test): Likewise.
21460 (isinf_test): Likewise.
21461 (isless_test): Likewise.
21462 (islessequal_test): Likewise.
21463 (islessgreater_test): Likewise.
21464 (isnan_test): Likewise.
21465 (isnormal_test): Likewise.
21466 (issignaling_test): Likewise.
21467 (isunordered_test): Likewise.
21468 (j0_test): Likewise.
21469 (j1_test): Likewise.
21470 (jn_test): Likewise.
21471 (ldexp_test): Likewise.
21472 (lgamma_test): Likewise.
21473 (lrint_test): Likewise.
21474 (lrint_test_tonearest): Likewise.
21475 (lrint_test_towardzero): Likewise.
21476 (lrint_test_downward): Likewise.
21477 (lrint_test_upward): Likewise.
21478 (llrint_test): Likewise.
21479 (llrint_test_tonearest): Likewise.
21480 (llrint_test_towardzero): Likewise.
21481 (llrint_test_downward): Likewise.
21482 (llrint_test_upward): Likewise.
21483 (log_test): Likewise.
21484 (log10_test): Likewise.
21485 (log1p_test): Likewise.
21486 (log2_test): Likewise.
21487 (logb_test): Likewise.
21488 (logb_test_downward): Likewise.
21489 (lround_test): Likewise.
21490 (llround_test): Likewise.
21491 (modf_test): Likewise.
21492 (nearbyint_test): Likewise.
21493 (nextafter_test): Likewise.
21494 (nexttoward_test): Likewise.
21495 (pow_test): Likewise.
21496 (pow_test_tonearest): Likewise.
21497 (pow_test_towardzero): Likewise.
21498 (pow_test_downward): Likewise.
21499 (pow_test_upward): Likewise.
21500 (remainder_test): Likewise.
21501 (remainder_test_tonearest): Likewise.
21502 (remainder_test_towardzero): Likewise.
21503 (remainder_test_downward): Likewise.
21504 (remainder_test_upward): Likewise.
21505 (remquo_test): Likewise.
21506 (rint_test): Likewise.
21507 (rint_test_tonearest): Likewise.
21508 (rint_test_towardzero): Likewise.
21509 (rint_test_downward): Likewise.
21510 (rint_test_upward): Likewise.
21511 (round_test): Likewise.
21512 (scalb_test): Likewise.
21513 (scalbn_test): Likewise.
21514 (scalbln_test): Likewise.
21515 (signbit_test): Likewise.
21516 (sin_test): Likewise.
21517 (sin_test_tonearest): Likewise.
21518 (sin_test_towardzero): Likewise.
21519 (sin_test_downward): Likewise.
21520 (sin_test_upward): Likewise.
21521 (sincos_test): Likewise.
21522 (sinh_test): Likewise.
21523 (sinh_test_tonearest): Likewise.
21524 (sinh_test_towardzero): Likewise.
21525 (sinh_test_downward): Likewise.
21526 (sinh_test_upward): Likewise.
21527 (sqrt_test): Likewise.
21528 (tan_test): Likewise.
21529 (tan_test_tonearest): Likewise.
21530 (tan_test_towardzero): Likewise.
21531 (tan_test_downward): Likewise.
21532 (tan_test_upward): Likewise.
21533 (tanh_test): Likewise.
21534 (tgamma_test): Likewise.
21535 (trunc_test): Likewise.
21536 (y0_test): Likewise.
21537 (y1_test): Likewise.
21538 (yn_test): Likewise.
21539 (significand_test): Likewise.
21541 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21544 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21546 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21549 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21550 __ppc_mdoio and __ppc_mdoom.
21551 * manual/platform.texi: Document new functions __ppc_yield,
21552 __ppc_mdoio and __ppc_mdoom.
21554 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21556 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21557 (main): Mention "tls" pseudo-hwcap is legacy.
21558 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21560 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21562 * math/gen-libm-test.pl (parse_args): Output only string of
21563 arguments as text for test name, not full call or descriptions of
21564 tests for extra outputs.
21565 (generate_testfile): Do not pass function name to parse_args.
21566 Generate this_func variable from START.
21567 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21569 (struct test_ff_f_data): Likewise.
21570 (test_ff_f_data_nexttoward): Likewise.
21571 (struct test_fi_f_data): Likewise.
21572 (struct test_fl_f_data): Likewise.
21573 (struct test_if_f_data): Likewise.
21574 (struct test_fff_f_data): Likewise.
21575 (struct test_c_f_data): Likewise.
21576 (struct test_f_f1_data): Likewise. Remove field extra_name.
21577 (struct test_fF_f1_data): Likewise.
21578 (struct test_ffI_f1_data): Likewise.
21579 (struct test_c_c_data): Rename test_name field to arg_str.
21580 (struct test_cc_c_data): Likewise.
21581 (struct test_f_i_data): Likewise.
21582 (struct test_ff_i_data): Likewise.
21583 (struct test_f_l_data): Likewise.
21584 (struct test_f_L_data): Likewise.
21585 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21587 (COMMON_TEST_SETUP): New macro.
21588 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21589 (COMMON_TEST_CLEANUP): Likewise.
21590 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21591 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21593 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21594 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21596 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21597 (RUN_TEST_fff_f): Take argument string. Call new setup and
21599 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21600 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21602 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21603 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21605 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21606 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21608 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21609 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21611 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21612 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21614 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21615 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21617 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21618 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21620 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21621 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21623 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21624 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21626 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21627 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21629 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21630 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21632 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21633 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21635 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21636 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21638 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21639 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21641 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21642 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21644 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21646 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21648 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21649 to _sifields.sigfault.
21650 (si_addr_lsb): Define new macro.
21651 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21655 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21658 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21660 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21662 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21663 loading the domain.
21665 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21667 * math/gen-libm-test.pl (parse_args): Do not include expected
21668 result in test name.
21669 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21670 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21671 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21672 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21673 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21676 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21678 * benchtests/Makefile: Sort function entries.
21680 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21681 tanh, asinh, acosh, atanh.
21682 * benchtests/acos-inputs: New file.
21683 * benchtests/acosh-inputs: New file.
21684 * benchtests/asin-inputs: New file.
21685 * benchtests/asinh-inputs: New file.
21686 * benchtests/atanh-inputs: New file.
21687 * benchtests/cosh-inputs: New file.
21688 * benchtests/log-inputs: New file.
21689 * benchtests/sinh-inputs: New file.
21690 * benchtests/tanh-inputs: New file.
21692 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21695 * posix/tst-getaddrinfo4.c: New test.
21696 * posix/Makefile (tests): Add it.
21698 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21701 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21702 when no services were used.
21703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21704 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21706 2013-05-21 Andreas Schwab <schwab@suse.de>
21709 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21710 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21712 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21713 redundant variable declarations and reallocation of buffer when
21714 parsing as IPv6 address. Always set NSS status when called from
21715 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21716 buffer too small. Correct computation of needed size.
21717 * nss/Makefile (tests): Add test-digits-dots.
21718 * nss/test-digits-dots.c: New test.
21720 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21722 * benchtests/Makefile: Remove instructions for adding
21724 * benchtests/README: New file to explain how to execute and
21725 enhance the benchmark tests.
21727 2013-05-21 Andreas Schwab <schwab@suse.de>
21730 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21731 * setjmp/tst-sigsetjmp.c: New test.
21733 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21735 * sysdeps/x86_64/memset.S (memset): New implementation.
21736 (__bzero): Likewise.
21737 (__memset_tail): New function.
21739 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21741 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21742 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21743 __memcpy_sse2_unaligned ifunc selection.
21744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21745 Add memcpy-sse2-unaligned.S.
21746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21747 Add: __memcpy_sse2_unaligned.
21749 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21753 math_force_eval before restoring floating-point envrionment.
21754 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21757 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21759 (__nearbyintl): Use math_force_eval before restoring
21760 floating-point environment.
21761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21763 * math/gen-libm-test.pl (special_functions): Remove.
21764 (parse_args): Don't handle TEST_extra. Handle functions with no
21766 * math/libm-test.inc (struct test_sincos_data): Replace with
21767 struct test_fFF_11_data.
21768 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21769 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21770 (sincos_test_data): Change element type to struct
21771 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21772 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21773 RUN_TEST_LOOP_sincos.
21774 * math/README.libm-test: Don't mention special handling of
21775 individual functions.
21776 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21779 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21780 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21783 * math/gen-libm-test.pl (get_variable): Remove function.
21784 (parse_args): Don't show pointer parameters to call in test
21785 names. Use "extra output N" in test names for extra outputs
21786 rather than naming variables.
21788 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21791 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21792 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21793 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21795 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21797 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21800 * math/gen-libm-test.pl (@tests): Remove variable.
21801 ($count): Likewise.
21802 (new_test): Remove function.
21803 (show_exceptions): New function.
21804 (special_functions): Use show_exceptions instead of new_test.
21805 (parse_args): Likewise.
21806 (generate_testfile): Pass only function name in generated call to
21807 print_max_error or print_complex_max_error.
21808 (get_ulps): Do not handle complex tests specially.
21809 (output_test): Rename to ...
21810 (get_all_ulps_for_test): ... this. Return a string rather than
21811 printing to a file. Require ulps to be present.
21812 (output_ulps): Generate arrays rather than #defines.
21813 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21814 (struct ulp_data): New type.
21815 (BUILD_COMPLEX_ULP): Remove macro.
21816 (compare_ulp_data): New function.
21817 (find_ulps): Likewise.
21818 (find_test_ulps): Likewise.
21819 (find_function_ulps): Likewise.
21820 (find_complex_function_ulps): Likewise.
21821 (print_max_error): Determine allowed ulps using
21822 find_function_ulps.
21823 (print_complex_max_error): Determine allowed ulps using
21824 find_complex_function_ulps.
21825 (check_float_internal): Determine max ulps using find_test_ulps.
21826 (check_float): Do not take max_ulp parameter. Update call to
21827 check_float_internal.
21828 (check_complex): Likewise.
21829 (check_int): Do not take max_ulp parameter.
21830 (check_long): Likewise.
21831 (check_bool): Likewise.
21832 (check_longlong): Likewise.
21833 (struct test_f_f_data): Remove max_ulp field.
21834 (struct test_ff_f_data): Likewise.
21835 (struct test_ff_f_data_nexttoward): Likewise.
21836 (struct test_fi_f_data): Likewise.
21837 (struct test_fl_f_data): Likewise.
21838 (struct test_if_f_data): Likewise.
21839 (struct test_fff_f_data): Likewise.
21840 (struct test_c_f_data): Likewise.
21841 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21842 (struct test_fF_f1_data): Likewise.
21843 (struct test_ffI_f1_data): Likewise.
21844 (struct test_c_c_data): Remove max_ulp field.
21845 (struct test_cc_c_data): Likewise.
21846 (struct test_f_i_data): Likewise.
21847 (struct test_ff_i_data): Likewise.
21848 (struct test_f_l_data): Likewise.
21849 (struct test_f_L_data): Likewise.
21850 (struct test_sincos_data): Likewise.
21851 (RUN_TEST_f_f): Do not handle ulps.
21852 (RUN_TEST_LOOP_f_f): Likewise.
21853 (RUN_TEST_2_f): Likewise.
21854 (RUN_TEST_LOOP_2_f): Likewise.
21855 (RUN_TEST_fff_f): Likewise.
21856 (RUN_TEST_LOOP_fff_f): Likewise.
21857 (RUN_TEST_c_f): Likewise.
21858 (RUN_TEST_LOOP_c_f): Likewise.
21859 (RUN_TEST_f_f1): Likewise.
21860 (RUN_TEST_LOOP_f_f1): Likewise.
21861 (RUN_TEST_fF_f1): Likewise.
21862 (RUN_TEST_LOOP_fF_f1): Likewise.
21863 (RUN_TEST_fI_f1): Likewise.
21864 (RUN_TEST_LOOP_fI_f1): Likewise.
21865 (RUN_TEST_ffI_f1): Likewise.
21866 (RUN_TEST_LOOP_ffI_f1): Likewise.
21867 (RUN_TEST_c_c): Likewise.
21868 (RUN_TEST_LOOP_c_c): Likewise.
21869 (RUN_TEST_cc_c): Likewise.
21870 (RUN_TEST_LOOP_cc_c): Likewise.
21871 (RUN_TEST_f_i): Likewise.
21872 (RUN_TEST_LOOP_f_i): Likewise.
21873 (RUN_TEST_f_i_tg): Likewise.
21874 (RUN_TEST_LOOP_f_i_tg): Likewise.
21875 (RUN_TEST_ff_i_tg): Likewise.
21876 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21877 (RUN_TEST_f_b): Likewise.
21878 (RUN_TEST_LOOP_f_b): Likewise.
21879 (RUN_TEST_f_b_tg): Likewise.
21880 (RUN_TEST_LOOP_f_b_tg): Likewise.
21881 (RUN_TEST_f_l): Likewise.
21882 (RUN_TEST_LOOP_f_l): Likewise.
21883 (RUN_TEST_f_L): Likewise.
21884 (RUN_TEST_LOOP_f_L): Likewise.
21885 (RUN_TEST_sincos): Likewise.
21886 (RUN_TEST_LOOP_sincos): Likewise.
21888 2013-05-17 Joseph Myers <joseph@codesourcery.com>
21892 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21893 main case of finite arguments, set rounding mode to FE_TONEAREST
21894 and discard exceptions.
21895 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21897 (remainder_tonearest_test_data): New variable.
21898 (remainder_test_tonearest): New function.
21899 (remainder_towardzero_test_data): New variable.
21900 (remainder_test_towardzero): New function.
21901 (remainder_downward_test_data): New variable.
21902 (remainder_test_downward): New function.
21903 (remainder_upward_test_data): New variable.
21904 (remainder_test_upward): New function.
21905 (main): Call the new test functions.
21907 * math/libm-test.inc (struct test_f_f1_data): Remove field
21909 (struct test_fF_f1_data): Likewise.
21910 (struct test_ffI_f1_data): Likewise.
21911 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21912 based on value of EXTRA_EXPECTED.
21913 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21914 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21915 EXTRA_VAR based on value of EXTRA_EXPECTED.
21916 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21917 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21918 EXTRA_VAR based on value of EXTRA_EXPECTED.
21919 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21920 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21921 EXTRA_VAR based on value of EXTRA_EXPECTED.
21922 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21923 * math/gen-libm-test.pl (parse_args): Don't output initializers
21924 for extra output values.
21926 * math/libm-test.inc (check_int): Expect result to be exactly
21927 equal to expected value and do not handle ulps.
21928 (check_long): Likewise.
21929 (check_longlong): Likewise.
21931 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21933 (cimag_test_data): Likewise.
21934 (conj_test_data): Likewise.
21935 (copysign_test_data): Likewise.
21936 (cproj_test_data): Likewise.
21937 (creal_test_data): Likewise.
21938 (fabs_test_data): Likewise.
21939 (fdim_test_data): Likewise.
21940 (finite_test_data): Likewise.
21941 (floor_test_data): Likewise.
21942 (fmax_test_data): Likewise.
21943 (fmin_test_data): Likewise.
21944 (fmod_test_data): Likewise.
21945 (fpclassify_test_data): Likewise.
21946 (frexp_test_data): Likewise.
21947 (ilogb_test_data): Likewise.
21948 (isfinite_test_data): Likewise.
21949 (isgreater_test_data): Likewise.
21950 (isgreaterequal_test_data): Likewise.
21951 (isinf_test_data): Likewise.
21952 (isless_test_data): Likewise.
21953 (islessequal_test_data): Likewise.
21954 (islessgreater_test_data): Likewise.
21955 (isnan_test_data): Likewise.
21956 (isnormal_test_data): Likewise.
21957 (issignaling_test_data): Likewise.
21958 (isunordered_test_data): Likewise.
21959 (ldexp_test_data): Likewise.
21960 (lrint_test_data): Likewise.
21961 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21962 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21963 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21964 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21965 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21966 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21968 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21969 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21970 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21971 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21973 (lrint_downward_test_data): Test for "inexact" exceptions.
21974 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21975 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21976 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21978 (lrint_upward_test_data): Test for "inexact" exceptions.
21979 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21981 (llrint_test_data): Test for "inexact" exceptions.
21982 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21983 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21984 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21985 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21986 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21987 (llrint_downward_test_data): Test for "inexact" exceptions.
21988 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21989 (llrint_upward_test_data): Test for "inexact" exceptions.
21990 (logb_test_data): Likewise.
21991 (logb_downward_test_data): Likewise.
21992 (nextafter_test_data): Likewise.
21993 (nexttoward_test_data): Likewise.
21994 (remainder_test_data): Likewise.
21995 (remquo_test_data): Likewise.
21996 (scalbn_test_data): Likewise.
21997 (scalbln_test_data): Likewise.
21998 (signbit_test_data): Likewise.
21999 (sqrt_test_data): Likewise.
22000 (significand_test_data): Likewise.
22002 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22005 * benchtests/bench-modf.c (struct args): Mark arg0 as
22007 * scripts/bench.pl: Mark members of struct args as volatile.
22009 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22012 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22013 negative infinity on POWER6 or lower.
22014 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22016 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22019 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22020 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22021 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22022 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22023 (_FP_SETQNAN): New macro.
22024 (_FP_SETQNAN_SEMIRAW): Likewise.
22025 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22026 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22027 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22028 (FP_EXTEND): Use _FP_FRAC_SNANP.
22029 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22030 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22032 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22034 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22037 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22039 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22040 with DIVIDE_BY_ZERO_EXCEPTION.
22041 (gamma_test_data): Likewise.
22042 (lgamma_test_data): Likewise.
22043 (log_test_data): Likewise.
22044 (log10_test_data): Likewise.
22045 (log2_test_data): Likewise.
22046 (tgamma_test_data): Likewise.
22048 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22049 (acos_test_tonearest): Likewise.
22050 (acos_test_towardzero): Likewise.
22051 (acos_test_downward): Likewise.
22052 (acos_test_upward): Likewise.
22053 (acosh_test): Likewise.
22054 (asin_test): Likewise.
22055 (asin_test_tonearest): Likewise.
22056 (asin_test_towardzero): Likewise.
22057 (asin_test_downward): Likewise.
22058 (asin_test_upward): Likewise.
22059 (asinh_test): Likewise.
22060 (atan_test): Likewise.
22061 (atanh_test): Likewise.
22062 (atan2_test): Likewise.
22063 (cabs_test): Likewise.
22064 (cacos_test): Likewise.
22065 (cacosh_test): Likewise.
22066 (casin_test): Likewise.
22067 (casinh_test): Likewise.
22068 (catan_test): Likewise.
22069 (catanh_test): Likewise.
22070 (cbrt_test): Likewise.
22071 (ccos_test): Likewise.
22072 (ccosh_test): Likewise.
22073 (cexp_test): Likewise.
22074 (clog_test): Likewise.
22075 (clog10_test): Likewise.
22076 (cos_test): Likewise.
22077 (cos_test_tonearest): Likewise.
22078 (cos_test_towardzero): Likewise.
22079 (cos_test_downward): Likewise.
22080 (cos_test_upward): Likewise.
22081 (cosh_test): Likewise.
22082 (cosh_test_tonearest): Likewise.
22083 (cosh_test_towardzero): Likewise.
22084 (cosh_test_downward): Likewise.
22085 (cosh_test_upward): Likewise.
22086 (cpow_test): Likewise.
22087 (csin_test): Likewise.
22088 (csinh_test): Likewise.
22089 (csqrt_test): Likewise.
22090 (ctan_test): Likewise.
22091 (ctan_test_tonearest): Likewise.
22092 (ctan_test_towardzero): Likewise.
22093 (ctan_test_downward): Likewise.
22094 (ctan_test_upward): Likewise.
22095 (ctanh_test): Likewise.
22096 (ctanh_test_tonearest): Likewise.
22097 (ctanh_test_towardzero): Likewise.
22098 (ctanh_test_downward): Likewise.
22099 (ctanh_test_upward): Likewise.
22100 (erf_test): Likewise.
22101 (erfc_test): Likewise.
22102 (exp_test): Likewise.
22103 (exp_test_tonearest): Likewise.
22104 (exp_test_towardzero): Likewise.
22105 (exp_test_downward): Likewise.
22106 (exp_test_upward): Likewise.
22107 (exp10_test): Likewise.
22108 (exp2_test): Likewise.
22109 (expm1_test): Likewise.
22110 (fmod_test): Likewise.
22111 (gamma_test): Likewise.
22112 (hypot_test): Likewise.
22113 (j0_test): Likewise.
22114 (j1_test): Likewise.
22115 (jn_test): Likewise.
22116 (lgamma_test): Likewise.
22117 (log_test): Likewise.
22118 (log10_test): Likewise.
22119 (log1p_test): Likewise.
22120 (log2_test): Likewise.
22121 (logb_test_downward): Likewise.
22122 (pow_test): Likewise.
22123 (pow_test_tonearest): Likewise.
22124 (pow_test_towardzero): Likewise.
22125 (pow_test_downward): Likewise.
22126 (pow_test_upward): Likewise.
22127 (remainder_test): Likewise.
22128 (remquo_test): Likewise.
22129 (sin_test): Likewise.
22130 (sin_test_tonearest): Likewise.
22131 (sin_test_towardzero): Likewise.
22132 (sin_test_downward): Likewise.
22133 (sin_test_upward): Likewise.
22134 (sincos_test): Likewise.
22135 (sinh_test): Likewise.
22136 (sinh_test_tonearest): Likewise.
22137 (sinh_test_towardzero): Likewise.
22138 (sinh_test_downward): Likewise.
22139 (sinh_test_upward): Likewise.
22140 (sqrt_test): Likewise.
22141 (tan_test): Likewise.
22142 (tan_test_tonearest): Likewise.
22143 (tan_test_towardzero): Likewise.
22144 (tan_test_downward): Likewise.
22145 (tan_test_upward): Likewise.
22146 (tanh_test): Likewise.
22147 (tgamma_test): Likewise.
22148 (y0_test): Likewise.
22149 (y1_test): Likewise.
22150 (yn_test): Likewise.
22152 * math/gen-libm-test.pl (adjust_arg): Remove function.
22153 (special_function): Remove argument $in_func. Only handle
22154 generating output for tables of tests, not inside functions.
22155 (parse_args): Likewise.
22156 (generate_testfile): Remove variable $in_func. Update call to
22158 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22159 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22160 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22161 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22162 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22163 (MAX_VALUE_INIT): Rename macro to max_value.
22164 (MIN_VALUE_INIT): Rename macro to min_value.
22165 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22166 (plus_zero): Remove variable.
22167 (minus_zero): Likewise.
22168 (plus_infty): Likewise.
22169 (minus_infty): Likewise.
22170 (qnan_value): Likewise.
22171 (max_value): Likewise.
22172 (min_value): Likewise.
22173 (min_subnorm_value): Likewise.
22175 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22177 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22178 uint64_t or uint32_t usage.
22179 * crypt/sha256-block.c: Likewise.
22180 * crypt/sha256-crypt.c: Likewise.
22181 * crypt/sha256.c: Likewise.
22182 * crypt/sha512-block.c: Likewise.
22183 * crypt/sha512-crypt.c: Likewise.
22184 * crypt/sha512.c: Likewise.
22185 * debug/backtrace-tst.c: Likewise.
22186 * debug/pcprofiledump.c: Likewise.
22187 * elf/cache.c: Likewise.
22188 * elf/dl-cache.c: Likewise.
22189 * elf/dl-misc.c: Likewise.
22190 * elf/dl-profile.c: Likewise.
22191 * elf/dl-support.c: Likewise.
22192 * elf/ldconfig.c: Likewise.
22193 * elf/sprof.c: Likewise.
22194 * iconv/dummy-repertoire.c: Likewise.
22195 * iconv/iconv_charmap.c: Likewise.
22196 * iconv/skeleton.c: Likewise.
22197 * iconvdata/8bit-generic.c: Likewise.
22198 * iconvdata/cp737.h: Likewise.
22199 * iconvdata/cp775.h: Likewise.
22200 * iconvdata/ibm1008.h: Likewise.
22201 * iconvdata/ibm1025.h: Likewise.
22202 * iconvdata/ibm1046.h: Likewise.
22203 * iconvdata/ibm1097.h: Likewise.
22204 * iconvdata/ibm1112.h: Likewise.
22205 * iconvdata/ibm1122.h: Likewise.
22206 * iconvdata/ibm1123.h: Likewise.
22207 * iconvdata/ibm1124.h: Likewise.
22208 * iconvdata/ibm1129.h: Likewise.
22209 * iconvdata/ibm1130.h: Likewise.
22210 * iconvdata/ibm1132.h: Likewise.
22211 * iconvdata/ibm1133.h: Likewise.
22212 * iconvdata/ibm1137.h: Likewise.
22213 * iconvdata/ibm1140.h: Likewise.
22214 * iconvdata/ibm1141.h: Likewise.
22215 * iconvdata/ibm1142.h: Likewise.
22216 * iconvdata/ibm1143.h: Likewise.
22217 * iconvdata/ibm1144.h: Likewise.
22218 * iconvdata/ibm1145.h: Likewise.
22219 * iconvdata/ibm1146.h: Likewise.
22220 * iconvdata/ibm1147.h: Likewise.
22221 * iconvdata/ibm1148.h: Likewise.
22222 * iconvdata/ibm1149.h: Likewise.
22223 * iconvdata/ibm1153.h: Likewise.
22224 * iconvdata/ibm1154.h: Likewise.
22225 * iconvdata/ibm1155.h: Likewise.
22226 * iconvdata/ibm1156.h: Likewise.
22227 * iconvdata/ibm1157.h: Likewise.
22228 * iconvdata/ibm1158.h: Likewise.
22229 * iconvdata/ibm1160.h: Likewise.
22230 * iconvdata/ibm1161.h: Likewise.
22231 * iconvdata/ibm1162.h: Likewise.
22232 * iconvdata/ibm1163.h: Likewise.
22233 * iconvdata/ibm1164.h: Likewise.
22234 * iconvdata/ibm1166.h: Likewise.
22235 * iconvdata/ibm1167.h: Likewise.
22236 * iconvdata/ibm12712.h: Likewise.
22237 * iconvdata/ibm1390.h: Likewise.
22238 * iconvdata/ibm1399.h: Likewise.
22239 * iconvdata/ibm16804.h: Likewise.
22240 * iconvdata/ibm4517.h: Likewise.
22241 * iconvdata/ibm4899.h: Likewise.
22242 * iconvdata/ibm4909.h: Likewise.
22243 * iconvdata/ibm4971.h: Likewise.
22244 * iconvdata/ibm5347.h: Likewise.
22245 * iconvdata/ibm803.h: Likewise.
22246 * iconvdata/ibm856.h: Likewise.
22247 * iconvdata/ibm901.h: Likewise.
22248 * iconvdata/ibm902.h: Likewise.
22249 * iconvdata/ibm9030.h: Likewise.
22250 * iconvdata/ibm9066.h: Likewise.
22251 * iconvdata/ibm921.h: Likewise.
22252 * iconvdata/ibm922.h: Likewise.
22253 * iconvdata/ibm9448.h: Likewise.
22254 * iconvdata/isiri-3342.h: Likewise.
22255 * iconvdata/jis0201.h: Likewise.
22256 * include/link.h: Likewise.
22257 * include/netdb.h: Likewise.
22258 * inet/check_native.c: Likewise.
22259 * inet/check_pf.c: Likewise.
22260 * inet/getipv4sourcefilter.c: Likewise.
22261 * inet/getnameinfo.c: Likewise.
22262 * inet/getsourcefilter.c: Likewise.
22263 * inet/htonl.c: Likewise.
22264 * inet/setipv4sourcefilter.c: Likewise.
22265 * inet/setsourcefilter.c: Likewise.
22266 * inet/test-inet6_opt.c: Likewise.
22267 * inet/tst-network.c: Likewise.
22268 * locale/C-collate.c: Likewise.
22269 * locale/C-ctype.c: Likewise.
22270 * locale/C-time.c: Likewise.
22271 * locale/C-translit.h: Likewise.
22272 * locale/loadarchive.c: Likewise.
22273 * locale/programs/3level.h: Likewise.
22274 * locale/programs/charmap.c: Likewise.
22275 * locale/programs/charmap.h: Likewise.
22276 * locale/programs/ld-address.c: Likewise.
22277 * locale/programs/ld-collate.c: Likewise.
22278 * locale/programs/ld-ctype.c: Likewise.
22279 * locale/programs/ld-identification.c: Likewise.
22280 * locale/programs/ld-measurement.c: Likewise.
22281 * locale/programs/ld-messages.c: Likewise.
22282 * locale/programs/ld-monetary.c: Likewise.
22283 * locale/programs/ld-name.c: Likewise.
22284 * locale/programs/ld-numeric.c: Likewise.
22285 * locale/programs/ld-paper.c: Likewise.
22286 * locale/programs/ld-telephone.c: Likewise.
22287 * locale/programs/ld-time.c: Likewise.
22288 * locale/programs/linereader.c: Likewise.
22289 * locale/programs/locale.c: Likewise.
22290 * locale/programs/locarchive.c: Likewise.
22291 * locale/programs/locfile.h: Likewise.
22292 * locale/programs/repertoire.c: Likewise.
22293 * locale/programs/simple-hash.c: Likewise.
22294 * locale/programs/simple-hash.h: Likewise.
22295 * malloc/memusage.c: Likewise.
22296 * malloc/memusagestat.c: Likewise.
22297 * nis/nis_defaults.c: Likewise.
22298 * nis/nis_hash.c: Likewise.
22299 * nis/nis_print.c: Likewise.
22300 * nis/nis_xdr.c: Likewise.
22301 * nscd/connections.c: Likewise.
22302 * nscd/hstcache.c: Likewise.
22303 * nscd/nscd_gethst_r.c: Likewise.
22304 * nscd/nscd_getserv_r.c: Likewise.
22305 * nscd/nscd_helper.c: Likewise.
22306 * nscd/servicescache.c: Likewise.
22307 * nss/makedb.c: Likewise.
22308 * nss/nss_db/db-XXX.c: Likewise.
22309 * nss/nss_db/db-initgroups.c: Likewise.
22310 * nss/nss_db/db-netgrp.c: Likewise.
22311 * nss/nss_files/files-network.c: Likewise.
22312 * nss/nss_files/files-parse.c: Likewise.
22313 * posix/bug-regex5.c: Likewise.
22314 * posix/fnmatch_loop.c: Likewise.
22315 * posix/regcomp.c: Likewise.
22316 * posix/regexec.c: Likewise.
22317 * posix/tst-rfc3484-2.c: Likewise.
22318 * posix/tst-rfc3484-3.c: Likewise.
22319 * posix/tst-rfc3484.c: Likewise.
22320 * resolv/nss_dns/dns-canon.c: Likewise.
22321 * resolv/nss_dns/dns-network.c: Likewise.
22322 * resolv/res_init.c: Likewise.
22323 * resolv/res_mkquery.c: Likewise.
22324 * resolv/tst-aton.c: Likewise.
22325 * stdlib/cxa_atexit.c: Likewise.
22326 * stdlib/cxa_finalize.c: Likewise.
22327 * stdlib/gen-fpioconst.c: Likewise.
22328 * stdlib/strtol_l.c: Likewise.
22329 * string/tst-endian.c: Likewise.
22330 * sunrpc/auth_des.c: Likewise.
22331 * sunrpc/clnt_udp.c: Likewise.
22332 * sunrpc/rtime.c: Likewise.
22333 * sunrpc/svcauth_des.c: Likewise.
22334 * sunrpc/xdr.c: Likewise.
22335 * sunrpc/xdr_intXX_t.c: Likewise.
22336 * sunrpc/xdr_rec.c: Likewise.
22337 * sysdeps/generic/ldconfig.h: Likewise.
22338 * sysdeps/generic/ldsodefs.h: Likewise.
22339 * sysdeps/generic/memusage.h: Likewise.
22340 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22343 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22350 * sysdeps/posix/getaddrinfo.c: Likewise.
22351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22353 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22354 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22355 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22356 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22357 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22358 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22359 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22360 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22361 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22362 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22363 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22364 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22365 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22366 * sysdeps/x86_64/dl-tls.h: Likewise.
22367 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22368 * time/alt_digit.c: Likewise.
22369 * time/era.c: Likewise.
22370 * wcsmbs/tst-c16c32-1.c: Likewise.
22372 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22374 * math/libm-test.inc (struct test_sincos_data): New type.
22375 (RUN_TEST_LOOP_sincos): New macro.
22376 (sincos_test_data): New variable.
22377 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22379 2013-05-16 Richard Henderson <rth@redhat.com>
22381 * math/atest-exp2.c (LIMB64): New macro.
22382 (CONSTSZ): New macro.
22383 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22385 (print_mpn_fp): ... to function scope.
22386 (read_mpn_hex): Remove.
22387 (get_log2): Remove.
22388 (exp2_mpn): Use mp_log2.
22389 (main): Use mp_exp1.
22391 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22393 * math/libm-test.inc: Remove comment about not testing "inexact"
22395 (INEXACT_EXCEPTION): New macro.
22396 (NO_INEXACT_EXCEPTION): Likewise.
22397 (INVALID_EXCEPTION_OK): Update value.
22398 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22399 (OVERFLOW_EXCEPTION_OK): Likewise.
22400 (UNDERFLOW_EXCEPTION_OK): Likewise.
22401 (IGNORE_ZERO_INF_SIGN): Likewise.
22402 (ERRNO_UNCHANGED): Likewise.
22403 (ERRNO_EDOM): Likewise.
22404 (ERRNO_ERANGE): Likewise.
22405 (test_exceptions): Handle testing "inexact" exceptions.
22406 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22407 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22408 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22409 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22411 (rint_towardzero_test_data): Likewise.
22412 (rint_downward_test_data): Likewise.
22413 (rint_upward_test_data): Likewise.
22415 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22416 with OVERFLOW_EXCEPTION.
22417 (exp10_test_data): Likewise.
22418 (exp2_test_data): Likewise.
22419 (expm1_test_data): Likewise.
22420 (lgamma_test_data): Likewise.
22421 (pow_test_data): Likewise.
22422 (tgamma_test_data): Likewise.
22423 (yn_test_data): Remove duplicate test of overflow.
22425 * math/libm-test.inc (struct test_cc_c_data): New type.
22426 (RUN_TEST_LOOP_cc_c): New macro.
22427 (cpow_test_data): New variable.
22428 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22430 * math/libm-test.inc (struct test_f_L_data): New type.
22431 (RUN_TEST_LOOP_f_L): New macro.
22432 (llrint_test_data): New variable.
22433 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22434 (llrint_tonearest_test_data): New variable.
22435 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22436 (llrint_towardzero_test_data): New variable.
22437 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22438 (llrint_downward_test_data): New variable.
22439 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22440 (llrint_upward_test_data): New variable.
22441 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22442 (llround_test_data): New variable.
22443 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22445 2013-05-13 Peter Collingbourne <pcc@google.com>
22447 * math/atest-exp2.c (get_log2): Remove const attribute.
22449 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22451 * math/libm-test.inc (struct test_f_l_data): New type.
22452 (RUN_TEST_LOOP_f_l): New macro.
22453 (lrint_test_data): New variable.
22454 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22455 (lrint_tonearest_test_data): New variable.
22456 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22457 (lrint_towardzero_test_data): New variable.
22458 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22459 (lrint_downward_test_data): New variable.
22460 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22461 (lrint_upward_test_data): New variable.
22462 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22463 (lround_test_data): New variable.
22464 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22466 2013-05-15 Peter Collingbourne <pcc@google.com>
22468 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22469 (EXTRACT_WORDS64) Use where appropriate.
22470 (INSERT_WORDS64) Likewise.
22472 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22473 constraints with x constraints.
22474 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22476 * malloc/obstack.c (_obstack_compat): Add initializer.
22478 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22480 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22481 si_trapno and add si_addr_lsb to _sifields.sigfault.
22482 (si_trapno): Remove macro.
22483 (si_addr_lsb): Define new macro.
22484 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22486 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22488 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22489 instead of TEST_f_l.
22490 (llrint_test_tonearest): Likewise.
22491 (llrint_test_towardzero): Likewise.
22492 (llrint_test_downward): Likewise.
22493 (llrint_test_upward): Likewise.
22494 (llround_test): Likewise.
22496 * math/libm-test.inc (struct test_f_i_data): Add comment.
22497 (RUN_TEST_LOOP_f_b): New macro.
22498 (RUN_TEST_LOOP_f_b_tg): Likewise.
22499 (finite_test_data): New variable.
22500 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22501 (isfinite_test_data): New variable.
22502 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22503 (isinf_test_data): New variable.
22504 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22505 (isnan_test_data): New variable.
22506 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22507 (isnormal_test_data): New variable.
22508 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22509 (issignaling_test_data): New variable.
22510 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22511 (signbit_test_data): New variable.
22512 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22514 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22515 with INVALID_EXCEPTION.
22516 (acosh_test_data): Likewise.
22517 (asin_test_data): Likewise.
22518 (atanh_test_data): Likewise.
22519 (fmod_test_data): Likewise.
22520 (log_test_data): Likewise.
22521 (log10_test_data): Likewise.
22522 (log2_test_data): Likewise.
22523 (pow_test_data): Likewise.
22524 (sqrt_test_data): Likewise.
22525 (y0_test_data): Likewise.
22526 (y1_test_data): Likewise.
22527 (yn_test_data): Likewise.
22529 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22532 * math/libm-test.inc (struct test_ff_i_data): New type.
22533 (RUN_TEST_LOOP_ff_i_tg): New macro.
22534 (isgreater_test_data): New variable.
22535 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22536 (isgreaterequal_test_data): New variable.
22537 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22538 (isless_test_data): New variable.
22539 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22540 (islessequal_test_data): New variable.
22541 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22542 (islessgreater_test_data): New variable.
22543 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22544 (isunordered_test_data): New variable.
22545 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22547 2013-05-14 David S. Miller <davem@davemloft.net>
22549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22551 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22553 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22555 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22557 (struct test_f_i_data): Change type of max_ulp to int.
22559 * math/libm-test.inc (test_ffI_f1_data): New type.
22560 (RUN_TEST_LOOP_ffI_f1): New macro.
22561 (remquo_test_data): New variable.
22562 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22564 * setjmp/tst-setjmp-fp.c: New file.
22565 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22566 (link-libm): New variable.
22567 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22569 * math/libm-test.inc (struct test_f_i_data): New type.
22570 (RUN_TEST_LOOP_f_i): New macro.
22571 (RUN_TEST_LOOP_f_i_tg): Likewise.
22572 (fpclassify_test_data): New variable.
22573 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22574 (ilogb_test_data): New variable.
22575 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22577 * math/libm-test.inc (scalbln_test): Correct function name in END
22580 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22581 (RUN_TEST_LOOP_fI_f1): New macro.
22582 (frexp_test_data): New variable.
22583 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22585 * math/libm-test.inc (struct test_fF_f1_data): New type.
22586 (RUN_TEST_LOOP_fF_f1): New macro.
22587 (modf_test_data): New variable.
22588 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22590 * math/libm-test.inc (struct test_f_f1_data): New type.
22591 (RUN_TEST_LOOP_f_f1): New macro.
22592 (gamma_test_data): New variable.
22593 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22594 (lgamma_test_data): New variable.
22595 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22597 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22599 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22600 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22601 (main): Comment "tls" pseudo-hwcap.
22603 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22605 * math/libm-test.inc (struct test_fl_f_data): New type.
22606 (RUN_TEST_LOOP_fl_f): New variable.
22607 (scalbln_test_data): New variable.
22608 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22610 * math/libm-test.inc (struct test_fi_f_data): New type.
22611 (RUN_TEST_LOOP_fi_f): New macro.
22612 (ldexp_test_data): New variable.
22613 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22614 (scalbn_test_data): New variable.
22615 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22617 * math/libm-test.inc (struct test_c_f_data): New type.
22618 (RUN_TEST_LOOP_c_f): New macro.
22619 (cabs_test_data): New variable.
22620 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22621 (carg_test_data): New variable.
22622 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22623 (cimag_test_data): New variable.
22624 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22625 (creal_test_data): New variable.
22626 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22628 * math/libm-test.inc (struct test_if_f_data): New type.
22629 (RUN_TEST_LOOP_if_f): New macro.
22630 (jn_test_data): New variable.
22631 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22632 (yn_test_data): New variable.
22633 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22635 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22637 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22639 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22640 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22642 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22644 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22645 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22646 (bench-deps): Add bench-timing.h.
22647 * benchtests-bench-skeleton.c: Include bench-timing.h.
22648 (main): Use TIMING_* macros instead of clock_gettime.
22649 * benchtests/bench-timing.h: New file.
22652 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22653 Renamed from _LIB_VERSION.
22654 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22656 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22658 * math/libm-test.inc (struct test_fff_f_data): New type.
22659 (RUN_TEST_LOOP_fff_f): New macro.
22660 (fma_test_data): New variable.
22661 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22662 (fma_towardzero_test_data): New variable.
22663 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22664 (fma_downward_test_data): New variable.
22665 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22666 (fma_upward_test_data): New variable.
22667 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22669 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22670 (struct test_c_c_data): New type.
22671 (RUN_TEST_LOOP_c_c): New macro.
22672 (cacos_test_data): New variable.
22673 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22674 (cacosh_test_data): New variable.
22675 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22676 (casin_test_data): New variable.
22677 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22678 (casinh_test_data): New variable.
22679 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22680 (catan_test_data): New variable.
22681 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22682 (catanh_test_data): New variable.
22683 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22684 (ccos_test_data): New variable.
22685 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22686 (ccosh_test_data): New variable.
22687 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22688 (cexp_test_data): New variable.
22689 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22690 (clog_test_data): New variable.
22691 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22692 (clog10_test_data): New variable.
22693 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22694 (conj_test_data): New variable.
22695 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22696 (cproj_test_data): New variable.
22697 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22698 (csin_test_data): New variable.
22699 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22700 (csinh_test_data): New variable.
22701 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22702 (csqrt_test_data): New variable.
22703 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22704 (ctan_test_data): New variable.
22705 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22706 (ctan_tonearest_test_data): New variable.
22707 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22708 (ctan_towardzero_test_data): New variable.
22709 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22710 (ctan_downward_test_data): New variable.
22711 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22712 (ctan_upward_test_data): New variable.
22713 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22714 (ctanh_test_data): New variable.
22715 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22716 (ctanh_tonearest_test_data): New variable.
22717 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22718 (ctanh_towardzero_test_data): New variable.
22719 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22720 (ctanh_downward_test_data): New variable.
22721 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22722 (ctanh_upward_test_data): New variable.
22723 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22724 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22727 * math/libm-test.inc (struct test_ff_f_data): New type.
22728 (struct test_ff_f_data_nexttoward): Likewise.
22729 (RUN_TEST_LOOP_2_f): New macro.
22730 (RUN_TEST_LOOP_ff_f): Likewise.
22731 (atan2_test_data): New variable.
22732 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22733 (copysign_test_data): New variable.
22734 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22735 (fdim_test_data): New variable.
22736 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22737 (fmax_test_data): New variable.
22738 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22739 (fmin_test_data): New variable.
22740 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22741 (fmod_test_data): New variable.
22742 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22743 (hypot_test_data): New variable.
22744 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22745 (nextafter_test_data): New variable.
22746 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22747 (nexttoward_test_data): New variable.
22748 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22749 (pow_test_data): New variable.
22750 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22751 (pow_tonearest_test_data): New variable.
22752 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22753 (pow_towardzero_test_data): New variable.
22754 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22755 (pow_downward_test_data): New variable.
22756 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22757 (pow_upward_test_data): New variable.
22758 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22759 (remainder_test_data): New variable.
22760 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22761 (scalb_test_data): New variable.
22762 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22763 * sysdeps/i386/fpu/libm-test-ulps: Update.
22765 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22767 * math/libm-test.inc (fma_test): Use max_value instead of local
22769 (nextafter_test): Likewise.
22771 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22772 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22773 (acos_downward_test_data): New variable.
22774 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22775 (acos_upward_test_data): New variable.
22776 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22777 (acosh_test_data): New variable.
22778 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22779 (asin_test_data): New variable.
22780 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22781 (asin_tonearest_test_data): New variable.
22782 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22783 (asin_towardzero_test_data): New variable.
22784 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22785 (asin_downward_test_data): New variable.
22786 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22787 (asin_upward_test_data): New variable.
22788 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22789 (asinh_test_data): New variable.
22790 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22791 (atan_test_data): New variable.
22792 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22793 (atanh_test_data): New variable.
22794 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22795 (cbrt_test_data): New variable.
22796 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22797 (ceil_test_data): New variable.
22798 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22799 (cos_test_data): New variable.
22800 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22801 (cos_tonearest_test_data): New variable.
22802 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22803 (cos_towardzero_test_data): New variable.
22804 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22805 (cos_downward_test_data): New variable.
22806 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22807 (cos_upward_test_data): New variable.
22808 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22809 (cosh_test_data): New variable.
22810 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22811 (cosh_tonearest_test_data): New variable.
22812 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22813 (cosh_towardzero_test_data): New variable.
22814 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22815 (cosh_downward_test_data): New variable.
22816 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22817 (cosh_upward_test_data): New variable.
22818 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22819 (erf_test_data): New variable.
22820 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22821 (erfc_test_data): New variable.
22822 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22823 (exp_test_data): New variable.
22824 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22825 (exp_tonearest_test_data): New variable.
22826 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22827 (exp_towardzero_test_data): New variable.
22828 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22829 (exp_downward_test_data): New variable.
22830 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22831 (exp_upward_test_data): New variable.
22832 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22833 (exp10_test_data): New variable.
22834 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22835 (exp2_test_data): New variable.
22836 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22837 (expm1_test_data): New variable.
22838 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22839 (fabs_test_data): New variable.
22840 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22841 (floor_test_data): New variable.
22842 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22843 (j0_test_data): New variable.
22844 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22845 (j1_test_data): New variable.
22846 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22847 (log_test_data): New variable.
22848 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22849 (log10_test_data): New variable.
22850 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22851 (log1p_test_data): New variable.
22852 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22853 (log2_test_data): New variable.
22854 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22855 (logb_test_data): New variable.
22856 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22857 (logb_downward_test_data): New variable.
22858 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22859 (nearbyint_test_data): New variable.
22860 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22861 (rint_test_data): New variable.
22862 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22863 (rint_tonearest_test_data): New variable.
22864 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22865 (rint_towardzero_test_data): New variable.
22866 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22867 (rint_downward_test_data): New variable.
22868 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22869 (rint_upward_test_data): New variable.
22870 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22871 (round_test_data): New variable.
22872 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22873 (sin_test_data): New variable.
22874 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22875 (sin_tonearest_test_data): New variable.
22876 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22877 (sin_towardzero_test_data): New variable.
22878 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22879 (sin_downward_test_data): New variable.
22880 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22881 (sin_upward_test_data): New variable.
22882 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22883 (sinh_test_data): New variable.
22884 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22885 (sinh_tonearest_test_data): New variable.
22886 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22887 (sinh_towardzero_test_data): New variable.
22888 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22889 (sinh_downward_test_data): New variable.
22890 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22891 (sinh_upward_test_data): New variable.
22892 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22893 (sqrt_test_data): New variable.
22894 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22895 (tan_test_data): New variable.
22896 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22897 (tan_tonearest_test_data): New variable.
22898 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22899 (tan_towardzero_test_data): New variable.
22900 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22901 (tan_downward_test_data): New variable.
22902 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22903 (tan_upward_test_data): New variable.
22904 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22905 (tanh_test_data): New variable.
22906 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22907 (tgamma_test_data): New variable.
22908 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22909 (trunc_test_data): New variable.
22910 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22911 (y0_test_data): New variable.
22912 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22913 (y1_test_data): New variable.
22914 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22915 (significand_test_data): New variable.
22916 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22918 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22921 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22923 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22925 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22927 2013-05-10 Andreas Jaeger <aj@suse.de>
22930 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22931 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22933 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22935 * math/gen-libm-test.pl (adjust_arg): New function.
22936 (special_functions): Handle generating output in both functions
22938 (parse_args): Likewise.
22939 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22940 $in_func argument to parse_args.
22941 * math/libm-test.inc (struct test_f_f_data): New type.
22942 (IF_ROUND_INIT_): New macro.
22943 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22944 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22945 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22946 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22947 (ROUND_RESTORE_): Likewise.
22948 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22949 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22950 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22951 (ROUND_RESTORE_FE_UPWARD): Likewise.
22952 (RUN_TEST_LOOP_f_f): New macro.
22953 (acos_test_data): New variable.
22954 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22955 (acos_tonearest_test_data): New variable.
22956 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22958 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22960 * benchtests/bench-skeleton.c (startup): Fix coding style.
22962 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22965 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22966 negative infinity argument.
22967 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22968 negative infinity argument.
22969 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22970 negative infinity argument.
22971 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22974 2013-05-10 Florian Weimer <fweimer@redhat.com>
22976 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22977 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22978 * iconv/iconv_prog.c (main): Likewise.
22979 * locale/programs/charmap-dir.c (charmap_readdir)
22980 (fopen_uncompressed): Likewise.
22981 * locale/programs/locfile.c (siblings_uncached)
22982 (write_locale_data): Use lstat64 instead of lstat.
22983 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22986 2013-05-10 Andreas Jaeger <aj@suse.de>
22989 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22991 Include <locale.h>.
22993 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22995 * elf/dl-close.c (_dl_close_worker): Add comments.
22997 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23000 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23002 (__ieee754_rem_pio2l): Update comments.
23005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23007 (__ieee754_rem_pio2l): Update comments.
23009 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23010 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23012 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23015 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23016 (M_PI_34_LOG10El): Likewise.
23017 (M_PI2_LOG10El): Likewise.
23018 (M_PI4_LOG10El): Likewise.
23019 (M_PI_LOG10El): Likewise.
23021 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23025 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23027 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23028 (MINUS_ZERO_INIT): Likewise.
23029 (PLUS_INFTY_INIT): Likewise.
23030 (MINUS_INFTY_INIT): Likewise.
23031 (QNAN_VALUE_INIT): Likewise.
23032 (MAX_VALUE_INIT): Likewise.
23033 (MIN_VALUE_INIT): Likewise.
23034 (MIN_SUBNORM_VALUE_INIT): Likewise.
23035 (plus_zero): Initialize with PLUS_ZERO_INIT.
23036 (minus_zero): Initialize with MINUS_ZERO_INIT.
23037 (plus_infty): Initialize with PLUS_INFTY_INIT.
23038 (minus_infty): Initialize with MINUS_INFTY_INIT.
23039 (qnan_value): Initialize with QNAN_VALUE_INIT.
23040 (max_value): Initialize with MAX_VALUE_INIT.
23041 (min_value): Initialize with MIN_VALUE_INIT.
23042 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23044 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23045 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23046 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23047 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23049 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23050 (RUN_TEST_2_f): Likewise.
23051 (RUN_TEST_ff_f): Likewise.
23052 (RUN_TEST_fi_f): Likewise.
23053 (RUN_TEST_fl_f): Likewise.
23054 (RUN_TEST_fff_f): Likewise.
23055 (RUN_TEST_c_f): Likewise.
23056 (RUN_TEST_f_f1): Likewise.
23057 (RUN_TEST_fF_f1): Likewise.
23058 (RUN_TEST_fI_f1): Likewise.
23059 (RUN_TEST_ffI_f1): Likewise.
23060 (RUN_TEST_c_c): Likewise.
23061 (RUN_TEST_cc_c): Likewise.
23062 (RUN_TEST_f_i): Likewise.
23063 (RUN_TEST_f_i_tg): Likewise.
23064 (RUN_TEST_ff_i_tg): Likewise.
23065 (RUN_TEST_f_b): Likewise.
23066 (RUN_TEST_f_b_tg): Likewise.
23067 (RUN_TEST_f_l): Likewise.
23068 (RUN_TEST_f_L): Likewise.
23069 (RUN_TEST_sincos): Likewise.
23070 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23071 whether to show exceptions. Do not include ");\n" in return
23073 (special_functions): Output call to RUN_TEST_sincos instead of
23074 check_float calls. Update calls to new_test.
23075 (parse_args): Output call to single RUN_TEST_* macro instead of
23076 check_* calls and other assignments. Update calls to new_test.
23082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23083 input to result for tgamma overflow.
23084 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23085 (gamma_coeff): New variable.
23086 (NCOEFF): New macro.
23087 (gamma_positive): New function.
23088 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23089 underflow here. Use gamma_positive instead of exp (lgamma) for
23091 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23092 (gamma_coeff): New variable.
23093 (NCOEFF): New macro.
23094 (gammaf_positive): New function.
23095 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23096 underflow here. Use gamma_positive instead of exp (lgamma) for
23098 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23099 (gamma_coeff): New variable.
23100 (NCOEFF): New macro.
23101 (gammal_positive): New function.
23102 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23103 underflow here. Use gamma_positive instead of exp (lgamma) for
23105 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23106 (gamma_coeff): New variable.
23107 (NCOEFF): New macro.
23108 (gammal_positive): New function.
23109 (__ieee754_gammal_r): Handle positive infinity, overflow and
23110 underflow here. Handle NaN the same as positive infinity. Remove
23111 check x < 0xffffffff for negative integers. Use gamma_positive
23112 instead of exp (lgamma) for other arguments.
23113 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23114 (gamma_coeff): New variable.
23115 (NCOEFF): New macro.
23116 (gammal_positive): New function.
23117 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23118 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23119 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23120 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23122 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23123 * sysdeps/generic/math_private.h (__gamma_productf): New
23125 (__gamma_product): Likewise.
23126 (__gamma_productl): Likewise.
23127 * math/Makefile (libm-calls): Add gamma_product.
23128 * math/libm-test.inc (tgamma_test): Add more tests.
23129 * sysdeps/i386/fpu/libm-test-ulps: Update.
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23132 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23134 * benchtests/bench-skeleton.c (main): Preheat CPU.
23136 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23138 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23140 2013-05-07 Roland McGrath <roland@hack.frob.com>
23142 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23143 and _dl_skip_args_internal.
23145 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23147 * manual/message.texi (Message Translation): Talk about users.
23148 Message to key mapping impacts design.
23150 2013-05-06 Roland McGrath <roland@hack.frob.com>
23152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23154 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23156 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23157 * sysdeps/wordsize-64/glob64.c: ... here.
23159 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23160 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23163 * debug/getlogin_r_chk.c: Moved to ...
23164 * login/getlogin_r_chk.c: ... here.
23165 * debug/Makefile (routines): Move getlogin_r_chk to ...
23166 * login/Makefile (routines): ... here.
23167 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23168 * login/Versions (libc: GLIBC_2.4): ... here.
23170 * io/poll.c (__poll): Renamed from poll.
23171 Add libc_hidden_def.
23172 (poll): Define as weak alias.
23174 * debug/ptsname_r_chk.c: Moved to ...
23175 * login/ptsname_r_chk.c: ... here.
23176 * debug/Makefile (routines): Move ptsname_r_chk to ...
23177 * login/Makefile (routines): ... here.
23178 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23179 * login/Versions (libc: GLIBC_2.4): ... here.
23181 * posix/getlogin.c: Moved to ...
23182 * login/getlogin.c: ... here.
23183 * posix/getlogin_r.c: Moved to ...
23184 * login/getlogin_r.c: ... here.
23185 * posix/getlogin_r.c: Moved to ...
23186 * login/getlogin_r.c: ... here.
23187 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23188 * login/Makefile (routines): ... here.
23189 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23190 * login/Versions (libc: GLIBC_2.0): ... here.
23192 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23193 (setrlimit): Define as weak alias.
23195 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23196 Call __ names for open, ftruncate, and close.
23197 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23198 (truncate): Define as weak alias.
23200 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23202 * math/gen-libm-test.pl (parse_args): Initialize x before each
23203 test of frexp, modf and remquo.
23205 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23206 test signgam value.
23208 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23212 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23214 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23216 2013-05-06 Roland McGrath <roland@hack.frob.com>
23218 * elf/dl-writev.h: New file.
23219 * elf/dl-misc.c: Include it.
23220 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23221 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23223 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23225 * math/libm-test.inc (noXFails): Remove variable.
23226 (noXPasses): Likewise.
23227 (BUILD_COMPLEX_INT): Remove macro.
23228 (print_screen): Remove xfail argument.
23229 (print_screen_max_error): Likewise.
23230 (update_stats): Likewise.
23231 (print_max_error): Likewise. Update calls to other affected
23233 (print_complex_max_error): Likewise.
23234 (test_single_exception): Update calls to print_screen.
23235 (test_single_errno): Likewise.
23236 (check_float_internal): Remove xfail argument. Update calls to
23237 other affected functions.
23238 (check_float): Likewise.
23239 (check_complex): Likewise.
23240 (check_int): Likewise.
23241 (check_long): Likewise.
23242 (check_bool): Likewise.
23243 (check_longlong): Likewise.
23244 (main): Don't print noXFails and noXPasses.
23245 * math/gen-libm-test.pl (top level): Don't mention expected
23246 failure handling in comment.
23247 (new_test): Don't handle expected failures.
23248 (parse_args): Don't mention expected failure handling in comment.
23249 (generate_testfile): Don't handle expected failures.
23250 (parse_ulps): Likewise.
23251 (print_ulps_file): Likewise.
23252 (get_failure): Remove function.
23253 (output_test): Don't handle expected failures.
23254 * make/README.libm-test: Don't mention expected failure handling.
23256 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23257 (minus_zero): Likewise.
23258 (plus_infty): Likewise.
23259 (minus_infty): Likewise.
23260 (qnan_value): Likewise.
23261 (max_value): Likewise.
23262 (min_value): Likewise.
23263 (min_subnorm_value): Likewise.
23264 (initialize): Do not initialize those variables dynamically.
23266 2013-05-03 Roland McGrath <roland@hack.frob.com>
23268 * io/open.c (__open_2): Moved to ...
23269 * io/open_2.c: ... this new file.
23270 * io/open64.c (__open64_2): Moved to ...
23271 * io/open64_2.c: ... this new file.
23272 * io/openat.c (__openat_2): Moved to ...
23273 * io/openat_2.c: ... this new file.
23274 * io/openat64.c (__openat64_2): Moved to ...
23275 * io/openat64_2.c: ... this new file.
23276 * io/Makefile (routines): Add them.
23277 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23278 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23279 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23280 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23281 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23282 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23283 (__openat64): Add hidden_ver.
23284 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23285 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23287 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23288 Separately conditionalize setting of GLRO(dl_sysinfo) so
23289 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23290 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23292 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23297 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23298 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23299 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23300 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23301 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23303 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23305 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23306 test signgam value.
23308 * math/libm-test.inc (hypot_test): Do not use
23309 IGNORE_ZERO_INF_SIGN.
23311 2013-05-03 Andreas Jaeger <aj@suse.de>
23313 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23315 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23316 (PF_MAX): Adjust for VSOCK change.
23318 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23322 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23325 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23326 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23327 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23329 2013-05-02 David S. Miller <davem@davemloft.net>
23331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23333 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23335 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23337 2013-05-01 Roland McGrath <roland@hack.frob.com>
23339 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23341 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23344 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23345 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23346 Use __attribute__ ((__gnu_inline__)).
23347 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23348 Don't use __attribute__ ((__gnu_inline__)).
23350 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23353 * math/s_catan.c (__catan): Handle small real or imaginary part of
23354 input specially to avoid spurious underflow.
23355 * math/s_catanf.c (__catanf): Likewise.
23356 * math/s_catanh.c (__catanh): Likewise.
23357 * math/s_catanhf.c (__catanhf): Likewise.
23358 * math/s_catanhl.c (__catanhl): Likewise.
23359 * math/s_catanl.c (__catanl): Likewise.
23360 * math/libm-test.inc (catan_test): Add more tests.
23361 (catanh_test): Likewise.
23362 * sysdeps/i386/fpu/libm-test-ulps: Update.
23363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23365 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23369 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23372 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23373 accurately for denominator in atan2.
23374 * math/s_catanf.c (__catanf): Likewise.
23375 * math/s_catanh.c (__catanh): Likewise.
23376 * math/s_catanhf.c (__catanhf): Likewise.
23377 * math/s_catanhl.c (__catanhl): Likewise.
23378 * math/s_catanl.c (__catanl): Likewise.
23379 * math/libm-test.inc (catan_test): Add more tests.
23380 (catanh_test): Likewise.
23381 * sysdeps/i386/fpu/libm-test-ulps: Update.
23382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23384 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23386 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23388 * benchtests/Makefile (bench): Remove slow benchmarks.
23389 * benchtests/atan-inputs: Add slow benchmark inputs.
23390 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23391 (BENCH_FUNC): Accept variant offset.
23393 * benchtests/bench-skeleton.c (main): Run benchmark for each
23395 * benchtests/cos-inputs: Add slow benchmark inputs.
23396 * benchtests/exp-inputs: Likewise.
23397 * benchtests/pow-inputs: Likewise.
23398 * benchtests/sin-inputs: Likewise.
23399 * benchtests/slowatan-inputs: Remove.
23400 * benchtests/slowatan.c: Remove.
23401 * benchtests/slowcos-inputs: Remove.
23402 * benchtests/slowcos.c: Remove.
23403 * benchtests/slowexp-inputs: Remove.
23404 * benchtests/slowexp.c: Remove.
23405 * benchtests/slowpow-inputs: Remove.
23406 * benchtests/slowpow.c: Remove.
23407 * benchtests/slowsin-inputs: Remove.
23408 * benchtests/slowsin.c: Remove.
23409 * benchtests/slowtan-inputs: Remove.
23410 * benchtests/slowtan.c: Remove.
23411 * benchtests/tan-inputs: Add slow benchmark inputs.
23412 * scripts/bench.pl: Parse comments and directives.
23414 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23416 ($(objpfx)bench-%.c): Remove *-ITER.
23417 * benchtests/bench-modf.c: Remove definition of ITER.
23418 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23419 (main): Loop for DURATION seconds instead of fixed number of
23421 * scripts/bench.pl: Don't expect iterations in parameters.
23423 2013-04-29 Roland McGrath <roland@hack.frob.com>
23425 * io/fchdir.c (__fchdir): Renamed from fchdir.
23426 (fchdir): Define as weak alias.
23428 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23430 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23431 (ERRNO_EDOM): Likewise.
23432 (ERRNO_ERANGE): Likewise.
23433 (noErrnoTests): New variable.
23434 (init_max_error): Set errno to 0.
23435 (test_single_errno): New function.
23436 (test_errno): Likewise.
23437 (check_float_internal): Call test_errno. Set errno to 0.
23438 (check_complex): Refer to errno tests in comment.
23439 (check_int): Call test_errno. Set errno to 0.
23440 (check_long): Likewise.
23441 (check_bool): Likewise.
23442 (check_longlong): Likewise.
23443 (cos_test): Use ERRNO_* flags for errno tests instead of
23445 (expm1_test): Likewise.
23446 (fmod_test): Likewise.
23447 (ilogb_test): Likewise.
23448 (lgamma_test): Likewise.
23449 (pow_test): Likewise.
23450 (remainder_test): Likewise.
23451 (sin_test): Likewise.
23452 (tan_test): Likewise.
23453 (yn_test): Likewise.
23454 (initialize): Set errno to 0.
23455 (main): Print number of errno tests.
23456 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23458 2013-04-29 Andreas Jaeger <aj@suse.de>
23461 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23465 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23466 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23470 * stdlib/random.c (__initstate): Return NULL if
23474 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23475 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23478 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23482 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23484 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23485 of individual tests.
23486 (casin_test): Likewise.
23487 (casinh_test): Likewise.
23489 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23492 * math/s_catan.c (__catan): Handle arguments with large real or
23493 imaginary part separately without squaring.
23494 * math/s_catanf.c (__catanf): Likewise.
23495 * math/s_catanh.c (__catanh): Likewise.
23496 * math/s_catanhf.c (__catanhf): Likewise.
23497 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23499 (__catanhl): Handle arguments with large real or imaginary part
23500 separately without squaring.
23501 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23503 (__catanl): Handle arguments with large real or imaginary part
23504 separately without squaring.
23505 * math/libm-test.inc (catan_test): Add more tests.
23506 (catanh_test): Likewise.
23507 * sysdeps/i386/fpu/libm-test-ulps: Update.
23508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23510 2013-04-27 Andreas Jaeger <aj@suse.de>
23513 * stdlib/stdlib.h: Update guards for qecvt.
23514 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23517 2013-04-27 Allan McRae <allan@archlinux.org>
23519 * sysdeps/i386/fpu/libm-test-ulps: Update.
23521 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23524 * math/s_catan.c: Include <float.h>.
23525 (__catan): Ensure underflow exception occurs for underflowed
23527 * math/s_catanf.c: Include <float.h>.
23528 (__catanf): Ensure underflow exception occurs for underflowed
23530 * math/s_catanh.c: Include <float.h>.
23531 (__catanh): Ensure underflow exception occurs for underflowed
23533 * math/s_catanhf.c: Include <float.h>.
23534 (__catanhf): Ensure underflow exception occurs for underflowed
23536 * math/s_catanhl.c: Include <float.h>.
23537 (__catanhl): Ensure underflow exception occurs for underflowed
23539 * math/s_catanl.c: Include <float.h>.
23540 (__catanl): Ensure underflow exception occurs for underflowed
23542 * math/libm-test.inc (catan_test): Add more tests.
23543 (catanh_test): Likewise.
23546 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23547 underflowed result.
23548 * math/s_ccoshf.c (__ccoshf): Likewise.
23549 * math/s_ccoshl.c (__ccoshl): Likewise.
23550 * math/s_csin.c (__csin): Likewise.
23551 * math/s_csinf.c (__csinf): Likewise.
23552 * math/s_csinh.c (__csinh): Likewise.
23553 * math/s_csinhf.c (__csinhf): Likewise.
23554 * math/s_csinhl.c (__csinhl): Likewise.
23555 * math/s_csinl.c (__csinl): Likewise.
23556 * math/libm-test.inc (ccos_test): Add more tests.
23557 (ccosh_test): Likewise.
23558 (csin_test): Likewise.
23559 (csinh_test): Likewise.
23561 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23563 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23564 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23565 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23566 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23567 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23568 powerpc/power5+/fpu folders.
23569 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23572 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23576 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23578 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23579 additions to variable.
23580 [$(config-machine) = x86_64] (modules-names): Likewise.
23581 ($(objpfx)tst-audit3): Remove dependency.
23582 ($(objpfx)tst-audit3.out): Likewise.
23583 ($(objpfx)tst-audit4): Likewise.
23584 ($(objpfx)tst-audit4.out): Likewise.
23585 ($(objpfx)tst-audit5): Likewise.
23586 ($(objpfx)tst-audit5.out): Likewise.
23587 ($(objpfx)tst-audit6): Likewise.
23588 ($(objpfx)tst-audit6.out): Likewise.
23589 ($(objpfx)tst-audit7): Likewise.
23590 ($(objpfx)tst-audit7.out): Likewise.
23591 (tst-audit3-ENV): Remove variable.
23592 (tst-audit4-ENV): Likewise.
23593 (tst-audit5-ENV): Likewise.
23594 (tst-audit6-ENV): Likewise.
23595 (tst-audit7-ENV): Likewise.
23596 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23597 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23598 addition to variable.
23599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23602 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23603 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23604 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23605 tst-audit3, tst-audit4 and tst-audit5.
23606 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23607 tst-audit6 and tst-audit7.
23608 [$(subdir) = elf] (modules-names): Add audit modules for those
23610 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23611 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23612 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23613 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23614 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23615 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23616 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23617 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23618 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23619 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23620 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23621 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23622 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23623 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23624 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23625 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23627 [$(subdir) = elf && $(config-cflags-avx) = yes]
23628 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23629 [$(subdir) = elf && $(config-cflags-avx) = yes]
23630 (CFLAGS-tst-auditmod4a.c): Likewise.
23631 [$(subdir) = elf && $(config-cflags-avx) = yes]
23632 (CFLAGS-tst-auditmod4b.c): Likewise.
23633 [$(subdir) = elf && $(config-cflags-avx) = yes]
23634 (CFLAGS-tst-auditmod6b.c): Likewise.
23635 [$(subdir) = elf && $(config-cflags-avx) = yes]
23636 (CFLAGS-tst-auditmod6c.c): Likewise.
23637 [$(subdir) = elf && $(config-cflags-avx) = yes]
23638 (CFLAGS-tst-auditmod7b.c): Likewise.
23639 * elf/tst-audit3.c: Move to ...
23640 * sysdeps/x86_64/tst-audit3.c: ... here.
23641 * elf/tst-audit4.c: Move to ...
23642 * sysdeps/x86_64/tst-audit4.c: ... here.
23643 * elf/tst-audit5.c: Move to ...
23644 * sysdeps/x86_64/tst-audit5.c: ... here.
23645 * elf/tst-audit6.c: Move to ...
23646 * sysdeps/x86_64/tst-audit6.c: ... here.
23647 * elf/tst-audit7.c: Move to ...
23648 * sysdeps/x86_64/tst-audit7.c: ... here.
23649 * elf/tst-auditmod3a.c: Move to ...
23650 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23651 * elf/tst-auditmod3b.c: Move to ...
23652 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23653 * elf/tst-auditmod4a.c: Move to ...
23654 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23655 * elf/tst-auditmod4b.c: Move to ...
23656 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23657 * elf/tst-auditmod5a.c: Move to ...
23658 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23659 * elf/tst-auditmod5b.c: Move to ...
23660 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23661 * elf/tst-auditmod6a.c: Move to ...
23662 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23663 * elf/tst-auditmod6b.c: Move to ...
23664 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23665 * elf/tst-auditmod6c.c: Move to ...
23666 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23667 * elf/tst-auditmod7a.c: Move to ...
23668 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23669 * elf/tst-auditmod7b.c: Move to ...
23670 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23672 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23675 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23676 define unconditionally.
23677 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23678 define unconditionally.
23679 (INT8_C, INT16_C, etc.): Likewise.
23681 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23683 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23684 __ehdr_start with hidden visibility.
23686 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23688 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23690 * math/libm-test.inc (cos_test): Use accurate hex constants.
23691 (sincost_test): Likewise.
23693 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23695 * math/libm-test.inc (catan_test): Add more tests.
23696 (catanh_test): Likewise.
23698 * math/s_catanf.c (__catanf): Use suffixed floating-point
23700 * math/s_catanhf.c (__catanhf): Likewise.
23701 * math/s_catanhl.c (__catanhl): Likewise.
23702 * math/s_catanl.c (__catanl): Likewise.
23705 * math/s_catan.c (__catan): Calculate imaginary part of result
23706 with log1p not log unless computing log of number close to 0.
23707 * math/s_catanf.c (__catanf): Likewise.
23708 * math/s_catanl.c (__catanl): Likewise.
23709 * math/s_catanh.c (__catanh): Calculate real part of result with
23710 log1p not log unless computing log of number close to 0.
23711 * math/s_catanhf.c (__catanhf): Likewise.
23712 * math/s_catanhl.c (__catanhl): Likewise.
23713 * math/libm-test.inc (catan_test): Add more tests.
23714 (catanh_test): Likewise.
23715 * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23718 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23720 * benchtests/Makefile: Mention files in which fast and slow
23721 paths of math functions are implemented.
23723 2013-04-23 Roland McGrath <roland@hack.frob.com>
23725 * sysdeps/posix/timespec_get.c: New file.
23727 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23729 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23731 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23733 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23734 powerpc/power5/fpu folders.
23735 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23736 * benchtests/Makefile: Add modf testcase.
23737 * benchtests/bench-modf.c: New file: Benchmark test for mo
23739 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23742 * time/Makefile (tests): Add tst-strptime-whitespace.
23743 * time/strptime_l.c (get_number): Use ISSPACE.
23744 (__strptime_internal): Likewise.
23745 * time/tst-strptime-whitespace.c: New test case.
23747 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23749 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23751 (_nss_files_init): Set it here.
23753 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23755 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23756 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23759 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23761 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23763 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23768 2013-04-21 David S. Miller <davem@davemloft.net>
23770 * po/ru.po: Update Russion translation from translation project.
23772 2013-04-17 Adam Conrad <adconrad@0c3.net>
23774 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23777 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23779 * configure.in: Remove i386 configure warning. Remove i386 case.
23780 * configure: Regenerate.
23781 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23782 Add example to error message.
23783 * sysdeps/i386/configure: Regenerate.
23785 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23787 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23789 * benchtests/cos-inputs: New file.
23790 * benchtests/slowcos-inputs: New file.
23791 * benchtests/slowcos.c: New file.
23792 * benchtests/slowtan-inputs: New file.
23793 * benchtests/slowtan.c: New file.
23794 * benchtests/tan-inputs: New file.
23796 2013-04-16 Roland McGrath <roland@hack.frob.com>
23798 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23801 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23803 * benchtests/Makefile: Include cppflags-iterator.mk to add
23804 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23806 * Makefile.in (bench-clean): New target.
23807 * benchtests/Makefile (bench-clean): Likewise.
23809 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23811 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23813 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23815 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23817 2013-04-15 Andreas Schwab <schwab@suse.de>
23819 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23821 * nscd/pwdcache.c (cache_addpw): Likewise.
23822 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23825 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23827 * benchtests/Makefile (bench): Write all output to
23828 bench-out.tmp together.
23830 2013-04-15 Andreas Schwab <schwab@suse.de>
23832 * nscd/nscd.c (main): Don't fork again after closing files.
23834 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23836 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23838 * benchtests/Rules (bench-deps): Collect dependencies into a
23839 single variable. Add Makefile to dependencies.
23840 ($(objpfx)bench-%.c): Depend on bench-deps.
23842 2013-04-12 Roland McGrath <roland@hack.frob.com>
23843 Xavier Roche <roche+kml2@exalead.com>
23846 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23847 just that it's a file descriptor.
23848 * manual/llio.texi (Synchronizing AIO Operations): Update description
23849 for EBADF error from aio_fsync.
23851 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23853 * Rules (bench): Move target definition...
23854 * benchtests/Makefile: ... here.
23856 2013-04-11 Carlos O'Donell <carlos@redhat.com>
23858 * math/libm-test.inc (cos_test): Fix PI/2 test.
23859 (sincos_test): Likewise.
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23861 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23863 2013-04-11 Andreas Schwab <schwab@suse.de>
23866 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23867 accept exponent character only when digits were seen.
23868 * stdio-common/Makefile (tests): Add bug26.
23869 * stdio-common/bug26.c: New file.
23872 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23875 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23877 * Makeconfig (rtld-prefix): Define built linker prefix.
23878 * Rules (run-bench): Use it.
23879 * math/Makefile (run-regen-ulps): Likewise.
23881 * Rules (bench): Remove eval.
23883 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23884 Roland McGrath <roland@hack.frob.com>
23885 Ondrej Bilka <neleai@seznam.cz>
23888 * time/getdate.c: Include ctype.h and alloca.h.
23889 (__getdate_r): Trim leading and trailing spaces of input.
23890 * time/tst-getdate.c (tests): Add tests with leading and
23893 2013-04-08 Roland McGrath <roland@hack.frob.com>
23896 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23897 when computing value.
23899 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23901 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23902 Use testrun.sh to run libm tests.
23905 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23907 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23910 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23912 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23914 * Makefile.in (regen-ulps): New target.
23915 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23916 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23917 [ifneq (no,$(PERL)] (regen-ulps): New target.
23918 [ifeq (no,$(PERL)] (regen-ulps): New target.
23919 * math/libm-test.inc (ulps_file_name): Define.
23920 (output_dir): New variable.
23921 (options): Add "output-dir" option.
23922 (parse_opt): Handle 'o' case.
23923 (main): If output_dir is non-NULL use it as a prefix
23925 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23927 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23929 [BZ #10060, #10062]
23930 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23931 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23932 fail configure if __sync_val_compare_and_swap is not inlined.
23933 * sysdeps/i386/configure: Regenerate.
23934 * configure.in: Build for i686 when configured for i386.
23935 * configure: Regenerate.
23936 * README: Remove i386 reference.
23938 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23940 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23943 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23945 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23946 (lmsnanval): New variables.
23947 (F): Add conversion tests.
23948 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23949 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23951 * stdio-common/tstdiomisc.c (F): Properly collect individual
23954 [BZ #14686, #15336]
23955 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23956 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23957 Instead, use input NaN values or generate a qNaN by arithmetic
23958 operation. Also fix bugs to comply with the standard.
23959 * math/libm-test.inc (remainder_test): Add more tests.
23961 [BZ #15335, #15342]
23962 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23964 input NaN values or generate a qNaN by arithmetic operation.
23966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23969 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23972 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23975 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23976 underflowed result.
23977 * math/s_cexpf.c (__cexpf): Likewise.
23978 * math/s_cexpl.c (__cexpl): Likewise.
23979 * math/libm-test.inc (cexp_test): Add more tests.
23981 2013-04-03 Andreas Schwab <schwab@suse.de>
23984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23985 order arrays from heap if bigger than alloca cutoff.
23987 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23989 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23990 (SNAN_TESTS_double): Refer to GCC PR56831.
23991 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23994 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23996 * Rules (bench): Move bench.out after the run is complete.
23998 * Rules (bench): Echo currently running benchmark.
24000 * benchtests/Makefile (bench): Add atan and slowatan.
24001 * benchtests/atan-inputs: New file.
24002 * benchtests/slowatan-inputs: New file.
24003 * benchtests/slowatan.c: New file.
24005 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24010 * sysdeps/unix/sysv/linux/kernel-features.h
24011 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24012 __ASSUME_XFS_RESTRICTED_CHOWN.
24013 * sysdeps/unix/sysv/linux/pathconf.c
24014 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24015 Save and restore errno.
24017 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24020 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24021 arguments using __kernel_casinh.
24022 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24023 arguments using __kernel_casinhf.
24024 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24025 arguments using __kernel_casinhl.
24026 * math/libm-test.inc (cacosh_test): Add more tests.
24027 * sysdeps/i386/fpu/libm-test-ulps: Update.
24028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24030 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24032 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24035 * bench/Makefile (bench): Add sin and slowsin.
24036 * benchtests/sin-inputs: New file.
24037 * benchtests/slowsin-inputs: New file.
24038 * benchtests/slowsin.c: New file.
24040 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24041 (bench): Add slowexp and slowpow.
24042 (exp-ITER): Increase iterations.
24043 (pow-ITER): Likewise.
24044 * benchtests/exp-inputs: Change input.
24045 * benchtests/pow-inputs: Likewise.
24046 * benchtests/slowexp-inputs: New file.
24047 * benchtests/slowexp.c: New file.
24048 * benchtests/slowpow-inputs: New file.
24049 * benchtests/slowpow.c: New file.
24051 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24053 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24055 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24058 * benchtests/Makefile: Add rint benchtest.
24059 * benchtests/rint-inputs: Input for rint benchtest.
24061 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24063 * Versions.def (libm): Add GLIBC_2.18.
24064 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24065 hidden libm prototypes.
24066 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24067 * math/Makefile (libm-calls): Add s_issignaling.
24068 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24069 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24070 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24072 * math/math.h [__USE_GNU] (issignaling): New macro.
24073 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24074 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24076 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24079 * manual/arith.texi (issignaling): New section.
24080 * manual/libm-err-tab.pl (@all_functions): Update comment.
24081 * math/gen-libm-test.pl (parse_args): Apply special handling for
24083 * math/libm-test.inc (print_float, issignaling_test): New
24085 (check_float_internal): Add issignaling checks.
24086 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24087 default definition.
24088 * sysdeps/powerpc/math-tests.h: New file.
24089 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24091 * math/test-snan.c (TEST_FUNC): Likewise.
24093 2013-03-30 David S. Miller <davem@davemloft.net>
24095 * po/de.po: Update from translation team.
24097 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24100 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24101 imaginary part less than 1.0 and real part less than 0.5
24103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24105 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24106 (cacos_test): Add more tests.
24107 (casin_test): Likewise.
24108 (casinh_test): Likewise.
24109 * sysdeps/i386/fpu/libm-test-ulps: Update.
24110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24112 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24114 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24115 ONE with its value.
24117 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24118 (__pow_mp): Replace ONE and MONE with their values.
24119 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24121 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24122 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24123 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24126 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24128 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24129 (__pow_mp): Replace ZERO and MZERO with their values.
24130 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24132 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24134 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24135 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24138 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24140 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24142 2013-03-28 Roland McGrath <roland@hack.frob.com>
24144 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24145 Declare with __attribute__ ((weak)).
24146 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24147 Call __call_tls_dtors only if it's not NULL.
24149 2013-03-28 Roland McGrath <roland@hack.frob.com>
24151 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24152 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24153 magic __ehdr_start linker symbol if it's defined.
24154 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24155 them up here if it was already done.
24157 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24158 (_dl_aux_init): Use const in cast when setting it.
24159 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24160 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24161 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24163 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24165 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24166 * csu/libc-tls.c: Nor here.
24167 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24169 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24170 (__libc_message): Never call vsyslog.
24172 2013-03-28 Alan Modra <amodra@gmail.com>
24174 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24176 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24179 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24186 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24189 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24190 Don't add gid passed as argument.
24192 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24194 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24198 imaginary part between 1.0 and 1.5 and real part less than 0.5
24200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24202 * math/libm-test.inc (cacos_test): Add more tests.
24203 (casin_test): Likewise.
24204 (casinh_test): Likewise.
24205 * sysdeps/i386/fpu/libm-test-ulps: Update.
24206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24208 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24210 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24213 (denorm): Likewise.
24214 (__dbl_mp): Likewise.
24215 (add_magnitudes): Likewise.
24216 (sub_magnitudes): Likewise.
24224 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24226 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24227 (__dubcos): Likewise.
24228 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24229 (__ieee754_acos): Likewise.
24230 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24231 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24232 (__exp1): Likewise.
24233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24236 (my_log2): Likewise.
24237 (checkint): Likewise.
24238 * sysdeps/ieee754/dbl-64/e_remainder.c
24239 (__ieee754_remainder): Likewise.
24240 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24242 (bsloww): Likewise.
24243 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24245 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24246 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24247 MANTISSA_STORE_T to store computations on mantissa. Use
24248 macros for rounding and division.
24249 (denorm): Likewise.
24250 (__dbl_mp): Likewise.
24251 (add_magnitudes): Likewise.
24252 (sub_magnitudes): Likewise.
24255 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24256 powers of two in terms of TWOPOW macro.
24257 (mp_no): Make type of mantissa as MANTISSA_T.
24258 [!RADIXI]: Define RADIXI.
24259 [!TWO52]: Define TWO52.
24260 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24262 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24264 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24265 llroundl symbol when building for PPC32.
24267 2013-03-24 Mark H Weaver <mhw@netris.org>
24269 * manual/arith.texi (Normalization Functions): Fix prototypes for
24270 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24272 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24276 high value to check if expl overflow.
24277 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24278 to check for underflow and overflow.
24279 * math/libm-test.inc: Add exp test.
24281 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24284 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24287 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24289 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24292 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24294 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24295 wrap blocks consisting of several statements.
24297 * sysdeps/generic/math-tests.h: New file.
24298 * sysdeps/i386/fpu/math-tests.h: Likewise.
24299 * math/test-snan.c: Include it.
24300 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24302 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24306 (__ieee754_j0l): Do not improve calculations using cos of twice
24307 input for inputs above LDBL_MAX / 2.0L.
24308 (__ieee754_y0l): Likewise.
24309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24310 (__ieee754_j1l): Do not improve calculations using cos of twice
24311 input for inputs above LDBL_MAX / 2.0L.
24312 (__ieee754_y1l): Likewise.
24313 * math/libm-test.inc (j0_test): Add another test.
24314 (j1_test): Likewise.
24315 (y0_test): Likewise.
24316 (y1_test): Likewise.
24317 * sysdeps/i386/fpu/libm-test-ulps: Update.
24319 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24321 * Rules ($(objpfx)bench-%.c): Include code from a C source
24324 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24327 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24328 imaginary part 1.0 and real part less than 0.5 specially.
24329 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24330 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24331 * math/libm-test.inc (cacos_test): Add more tests.
24332 (casin_test): Likewise.
24333 (casinh_test): Likewise.
24334 * sysdeps/i386/fpu/libm-test-ulps: Update.
24335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24337 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24339 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24340 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24342 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24344 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24345 * config.make.in (config-cflags-sse4): Remove variable.
24346 (config-cflags-avx): Likewise.
24347 (config-cflags-sse2avx): Likewise.
24348 (config-cflags-novzeroupper): Likewise.
24349 (config-asflags-i686): Likewise.
24350 (have-mfma4): Likewise.
24351 (have-as-vis3): Likewise.
24353 * configure.in (MIG): Do not AC_SUBST.
24354 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24355 (libc_cv_cc_sse4): Do not AC_SUBST.
24356 (libc_cv_cc_avx): Likewise.
24357 (libc_cv_cc_sse2avx): Likewise.
24358 (libc_cv_cc_novzeroupper): Likewise.
24359 (libc_cv_cc_fma4): Likewise.
24360 (libc_cv_as_i686): Likewise.
24361 (libc_cv_sparc_as_vis3): Likewise.
24362 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24364 (config-asflags-i686): Likewise.
24365 (config-cflags-avx): Likewise.
24366 (config-cflags-sse2avx): Likewise.
24367 (have-mfma4): Likewise.
24368 (config-cflags-novzeroupper): Likewise.
24369 * sysdeps/mach/configure.in (MIG): Likewise.
24370 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24371 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24373 (config-cflags-avx): Likewise.
24374 (config-cflags-sse2avx): Likewise.
24375 (have-mfma4): Likewise.
24376 (config-cflags-novzeroupper): Likewise.
24377 * configure: Regenerated.
24378 * sysdeps/i386/configure: Likewise.
24379 * sysdeps/mach/configure: Likewise.
24380 * sysdeps/sparc/configure: Likewise.
24381 * sysdeps/x86_64/configure: Likewise.
24383 2013-03-20 Roland McGrath <roland@hack.frob.com>
24386 * locale/programs/localedef.c (options): Put N_ translation marker
24387 on argument names, not just descriptions.
24389 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24391 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24393 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24396 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24398 2013-03-19 Roland McGrath <roland@hack.frob.com>
24400 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24401 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24402 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24403 [!BEFORE_ABORT] (before_abort): New function.
24404 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24405 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24406 (writev_for_fatal): New function.
24407 (WRITEV_FOR_FATAL): New macro; call that.
24408 (backtrace_and_maps): New function.
24409 (BEFORE_ABORT): New macro; call that.
24410 (struct str_list): Type removed.
24411 (__libc_message, __libc_fatal): Functions removed.
24412 Include <sysdeps/posix/libc_fatal.c> instead.
24414 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24416 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24418 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24421 2013-03-19 Andreas Schwab <schwab@suse.de>
24423 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24424 * sysdeps/gnu/configure: Regenerate.
24426 * configure.in: Substitute libc_cv_rtlddir.
24427 * configure: Regenerate.
24428 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24429 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24430 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24431 * elf/Makefile (install-others, CFLAGS-interp.c)
24432 (ldso_install, common-ldd-rewrite): Likewise.
24433 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24434 $(inst_slibdir)/$(rtld-installed-name).
24435 * scripts/rellns-sh: Add -p option.
24436 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24439 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24441 * manual/nptl.texi: Renamed to ...
24442 * manual/threads.texi: ... this.
24443 * manual/Makefile (chapters): Update.
24445 2013-03-18 Roland McGrath <roland@hack.frob.com>
24448 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24449 on argument names, not just descriptions.
24450 * malloc/memusagestat.c (options): Likewise.
24451 * nss/getent.c (options): Likewise.
24453 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24456 * iconv/iconv_prog.c (options): Put N_ translation marker
24457 on argument names, not just descriptions.
24458 * iconv/iconvconfig.c (options): Likewise.
24460 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24462 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24463 implementation which is faster on all x86_64 architectures.
24464 Tested on AMD, Intel Nehalem, SNB, IVB.
24465 * sysdeps/x86_64/strnlen.S: Likewise.
24467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24468 Remove all multiarch strlen and strnlen versions.
24469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24470 Remove strlen and strnlen related parts.
24472 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24473 Inline strlen part.
24474 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24476 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24477 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24478 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24479 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24480 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24481 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24483 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24485 * manual/memory.texi (Malloc Tunable Parameters):
24486 Sort parameters alphabetically. Add comments for missing entries.
24488 2013-03-17 David S. Miller <davem@davemloft.net>
24490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24492 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24495 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24496 for arguments at most half maximum finite value.
24497 * math/libm-test.inc (j0_test): Add more tests.
24498 (j1_test): Likewise.
24499 (y0_test): Likewise.
24500 (y1_test): Likewise.
24501 * sysdeps/i386/fpu/libm-test-ulps: Update.
24502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24505 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24506 1 / x and functions P and Q for arguments above 0x1p256L.
24507 (__ieee754_y0l): Likewise.
24508 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24509 (__ieee754_y1l): Likewise.
24510 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24511 (j1_test): Likewise.
24512 (y0_test): Likewise.
24513 (y1_test): Likewise.
24515 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24517 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24520 2013-03-15 Roland McGrath <roland@hack.frob.com>
24522 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24523 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24524 zero since it's initialized to EXEC_PAGESIZE.
24526 * sysdeps/unix/sysv/linux/ldsodefs.h
24527 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24528 * sysdeps/generic/ldsodefs.h: ... here.
24530 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24532 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24534 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24536 * math/test-snan.c: Renamed from
24537 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24538 * math/Makefile (tests): Add test-snan.
24539 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24542 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24543 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24545 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24546 __builtin_nan family of functions.
24547 * math/libm-test.inc (initialize): Initialize qnan_value with
24548 __builtin_nan family of functions.
24549 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24551 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24553 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24554 storage class. Initialize qNaN_var and sNaN_var with
24555 __builtin_nan and __builtin_nans families of functions,
24558 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24559 (sqrt_test): Remove duplicate test with qNaN input.
24560 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24561 (round_test, signbit_test, significand_test): Note missing +/-Inf
24562 as well as qNaN tests.
24564 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24565 qNaN_var. Fix a few strings, too.
24566 * math/libm-test.inc (nan_value): Rename to qnan_value.
24567 * math/gen-libm-test.pl (%beautify): Adjust to that.
24568 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24569 * math/test-misc.c (main): Likewise.
24570 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24571 to __qnan_bytes, and __qnan_union, respectively.
24572 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24574 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24575 and lqnanval, respectively.
24576 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24577 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24578 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24579 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24581 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24582 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24585 * math/test-misc.c (main): Fix copy'n'pastos.
24586 * misc/tst-efgcvt.c (special): Likewise.
24588 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24589 Remove declarations.
24591 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24593 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24594 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24595 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24596 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24598 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24601 macro to return vdso values correctly in IFUNC implementations.
24602 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24603 Optimization by using IFUNC.
24605 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24606 Richard Henderson <rth@redhat.com>
24607 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24609 * Makefile.in (bench): New target.
24610 * NEWS: Mention the benchmark framework.
24611 * Rules (bench): Likewise.
24612 (binaries-bench): Generate binaries for functions to
24614 * benchtests/Makefile: New makefile for benchmark tests.
24615 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24617 * benchtests/exp-inputs: New input file for EXP function.
24618 * benchtests/pow-inputs: New input file for POW function.
24619 * scripts/bench.pl: New script to generate source files for
24620 benchmark programs.
24622 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24624 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24625 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24626 computations on mantissa. Use macros for rounding and
24628 (denorm): Likewise.
24629 (__dbl_mp): Likewise.
24630 (add_magnitudes): Likewise.
24631 (sub_magnitudes): Likewise.
24634 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24635 powers of two in terms of TWOPOW macro.
24636 (mp_no): Make type of mantissa as MANTISSA_T.
24637 [!RADIXI]: Define RADIXI.
24638 [!TWO52]: Define TWO52.
24639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24641 * manual/nptl.texi (cindex): Modify threads to pthreads.
24643 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24645 * sysdeps/x86_64/preconfigure: Regenerated.
24647 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24650 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24652 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24653 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24655 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24656 * math/libm-test.inc (j0_test): Do not allow one spurious
24657 underflow exception.
24658 (y1_test): Likewise.
24660 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24662 * manual/Makefile (chapters): Add nptl.
24663 * manual/debug.texi (Debugging Support): Add link to Threads
24665 * manual/nptl.texi: New file.
24667 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24669 2013-03-14 Petr Baudis <pasky@ucw.cz>
24671 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24672 for non-NULL pointer before the memory validity test. Pointed
24673 out by Holger Brunck <holger.brunck@keymile.com>.
24675 2013-03-13 Andreas Schwab <schwab@suse.de>
24677 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24680 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24682 * timezone/zic.c: Update from tzcode 2013b.
24684 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24686 * manual/install.texi (Configuring and compiling):
24687 Mention i686 and i586.
24688 * INSTALL: Regenerate.
24690 2013-03-12 Roland McGrath <roland@hack.frob.com>
24692 * sysdeps/init_array/elf-init.c: New file.
24694 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24695 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24697 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24698 __gmon_start__ as global, but as static with a .preinit_array pointer.
24699 * sysdeps/init_array/gmon-start.c: New file. Use that.
24700 * sysdeps/init_array/crti.S: New file, empty except for comments.
24701 * sysdeps/init_array/crtn.S: Likewise.
24703 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24705 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24708 Remove Prefer_SSE_for_memop.
24709 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24710 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24711 HAS_PREFER_SSE_FOR_MEMOP.
24712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24715 Remove bzero, memset ifunc support.
24716 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24717 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24718 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24719 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24721 2013-03-11 Andreas Schwab <schwab@suse.de>
24724 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24727 (GLIBC_2.16): Remove pthread_atfork.
24729 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24731 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24732 (ptestcases.h): Likewise.
24734 2013-03-08 Roland McGrath <roland@hack.frob.com>
24736 * Makeconfig ($(common-objpfx)config.status): Depend on
24737 sysdeps/*/preconfigure{,.in} too.
24739 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24741 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24742 (__free_hook): Use void * instead of __malloc_ptr_t.
24743 (__malloc_hook): Likewise.
24744 (__realloc_hook): Likewise.
24745 (__memalign_hook): Likewise.
24746 (__after_morecore_hook): Likewise.
24747 * malloc/arena.c (save_malloc_hook): Likewise.
24748 (save_free_hook): Likewise.
24749 * malloc/hooks.c (malloc_hook_ini): Likewise.
24750 (realloc_hook_ini): Likewise.
24751 (memalign_hook_ini): Likewise.
24752 * malloc/malloc.c (malloc_hook_ini): Likewise.
24753 (realloc_hook_ini): Likewise.
24754 (memalign_hook_ini): Likewise.
24755 (__free_hook): Likewise.
24756 (__malloc_hook): Likewise.
24757 (__realloc_hook): Likewise.
24758 (__memalign_hook): Likewise.
24759 (__libc_malloc): Likewise.
24760 (__libc_free): Likewise.
24761 (__libc_realloc): Likewise.
24762 (__libc_memalign): Likewise.
24763 (__libc_valloc): Likewise.
24764 (__libc_pvalloc): Likewise.
24765 (__libc_calloc): Likewise.
24766 (__posix_memalign): Likewise.
24767 * malloc/morecore.c (__sbrk): Likewise.
24768 (__default_morecore): Likewise.
24770 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24772 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24773 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24774 __malloc_ptrdiff_t.
24776 * malloc/malloc.h (__malloc_size_t): Remove macro.
24777 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24779 (old_memalign_hook): Likewise.
24780 (old_realloc_hook): Likewise.
24781 (struct hdr): Likewise.
24783 (mallochook): Likewise.
24784 (memalignhook): Likewise.
24785 (reallochook): Likewise.
24786 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24787 (tr_old_realloc_hook): Likewise.
24788 (tr_old_memalign_hook): Likewise.
24789 (tr_mallochook): Likewise.
24790 (tr_reallochook): Likewise.
24791 (tr_memalignhook): Likewise.
24793 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24796 default_ldbl_pack and using as default implementation.
24797 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24799 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24800 redundant definition.
24801 (ldbl_insert_mantissa): Likewise.
24802 (ldbl_canonicalize): Likewise.
24803 (ldbl_nearbyint): Likewise.
24804 (ldbl_pack): Rename to ldbl_pack_ppc.
24805 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24806 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24807 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24809 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24812 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24813 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24814 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24816 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24817 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24818 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24820 2013-03-07 Andreas Jaeger <aj@suse.de>
24822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24825 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24827 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24828 Include mpa.h and declare __MPEXP.
24829 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24831 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24833 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24834 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24837 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24838 (__slowpow): Use long double EXPL and LOGL functions to
24840 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24841 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24843 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24844 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24845 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24848 intermediate variable to calculate exponent.
24850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24854 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24855 [!NO__SQR]: Define __sqr.
24856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24857 and NO__SQR. Remove all code except __mul and __sqr. Include
24858 sysdeps/ieee754/dbl-64/mpa.c.
24859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24862 * posix/Makefile (tests): Add tst-pathconf.
24863 * posix/tst-pathconf.c: New test case.
24864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24866 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24868 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
24870 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24872 2013-03-06 Andreas Jaeger <aj@suse.de>
24874 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24875 definition via __MAP_ANONYMOUS.
24877 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24878 it's not part of Linux headers.
24880 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24881 (MAP_HUGE_MASK): Define.
24883 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24888 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24889 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24896 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24897 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24898 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24899 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24900 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24901 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24907 Handle f2fs and efivarfs.
24909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24912 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24913 (EFIVARFS_MAGIC): Add.
24914 (F2FS_LINK_MAX): Add.
24916 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24918 * stdio-common/vfprintf.c: Replace __builtin_expect with
24921 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24924 * sysdeps/generic/bp-sym.h: Remove file.
24925 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24927 <bp-sym.h> and <bp-asm.h>.
24928 (__longjmp): Don't use BP_SYM.
24929 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24931 (memcpy): Don't use BP_SYM.
24932 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24933 <bp-sym.h> and <bp-asm.h>.
24934 (memcpy): Don't use BP_SYM.
24935 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24937 (memcpy): Don't use BP_SYM.
24938 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24940 (memset): Don't use BP_SYM.
24941 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24942 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24943 (__bzero): Don't use BP_SYM.
24944 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24945 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24946 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24947 <bp-sym.h> and <bp-asm.h>.
24948 (memcmp): Don't use BP_SYM. Remove comment about bounded
24950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24951 <bp-sym.h> and <bp-asm.h>.
24952 (memcpy): Don't use BP_SYM.
24953 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24954 <bp-sym.h> and <bp-asm.h>.
24955 (memset): Don't use BP_SYM.
24956 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24957 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24958 (__bzero): Don't use BP_SYM.
24959 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24960 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24961 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24962 <bp-sym.h> and <bp-asm.h>.
24963 (strncmp): Don't use BP_SYM. Remove comment about bounded
24965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24966 <bp-sym.h> and <bp-asm.h>.
24967 (memcpy): Don't use BP_SYM.
24968 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24969 <bp-sym.h> and <bp-asm.h>.
24970 (memset): Don't use BP_SYM.
24971 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24972 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24973 (__bzero): Don't use BP_SYM.
24974 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24975 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24977 <bp-sym.h> and <bp-asm.h>.
24978 (__memchr): Don't use BP_SYM.
24979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24980 <bp-sym.h> and <bp-asm.h>.
24981 (memcmp): Don't use BP_SYM. Remove comment about bounded
24983 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24984 <bp-sym.h> and <bp-asm.h>.
24985 (memcpy): Don't use BP_SYM.
24986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24987 <bp-sym.h> and <bp-asm.h>.
24988 (__mempcpy): Don't use BP_SYM.
24989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24990 <bp-sym.h> and <bp-asm.h>.
24991 (__memrchr): Don't use BP_SYM.
24992 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24993 <bp-sym.h> and <bp-asm.h>.
24994 (memset): Don't use BP_SYM.
24995 (__bzero): Likewise.
24996 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24997 <bp-sym.h> and <bp-asm.h>.
24998 (__rawmemchr): Don't use BP_SYM.
24999 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25000 <bp-sym.h> and <bp-asm.h>.
25001 (__STRCMP): Don't use BP_SYM.
25002 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25003 <bp-sym.h> and <bp-asm.h>.
25004 (strchr): Don't use BP_SYM.
25005 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25006 <bp-sym.h> and <bp-asm.h>.
25007 (__strchrnul): Don't use BP_SYM.
25008 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25009 <bp-sym.h> and <bp-asm.h>.
25010 (strlen): Don't use BP_SYM.
25011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25012 <bp-sym.h> and <bp-asm.h>.
25013 (strncmp): Don't use BP_SYM. Remove comment about bounded
25015 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25016 <bp-sym.h> and <bp-asm.h>.
25017 (__strnlen): Don't use BP_SYM.
25018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25019 <bp-sym.h> and <bp-asm.h>.
25020 (__GI__setjmp): Don't use BP_SYM.
25021 (_setjmp): Likewise.
25022 (__sigsetjmp): Likewise.
25023 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25024 (L(start_addresses)): Don't use BP_SYM.
25025 (_start): Likewise.
25026 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25028 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25029 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25030 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25031 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25032 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25034 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25035 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25036 about bounded pointers.
25037 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25038 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25039 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25041 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25042 about bounded pointers. Remove GKM FIXME comments.
25043 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25044 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25046 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25047 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25048 Remove GKM FIXME comments.
25049 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25050 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25051 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25053 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25054 about bounded pointers. Remove GKM FIXME comment.
25055 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25057 (strncmp): Don't use BP_SYM. Remove comment about bounded
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25060 <bp-sym.h> and <bp-asm.h>.
25061 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25063 <bp-sym.h> and <bp-asm.h>.
25064 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25067 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25069 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25072 2013-03-05 David S. Miller <davem@davemloft.net>
25074 * po/es.po: Update from translation team.
25076 2013-03-05 Andreas Jaeger <aj@suse.de>
25078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25079 <bits/mman-linux.h>.
25080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25082 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25083 <bits/mman-linux.h> to end of file.
25084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25086 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25087 <bits/mman-linux.h> to end of file.
25088 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25091 <bits/mman-linux.h> to end of file.
25093 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25094 (MCL_CURRENT, MCL_FUTURE): Define here.
25096 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25099 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25103 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25106 fourth parameter needed for rt_sigprocmask syscall.
25107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25109 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25110 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25112 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25114 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25117 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25118 comment about bounded pointers.
25119 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25120 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25122 2013-03-04 Andreas Jaeger <aj@suse.de>
25124 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25125 common definitions.
25127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25128 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25134 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25137 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25138 __ieee754_sqrl instead of __sqrl.
25140 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25142 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25143 * sysdeps/powerpc/fpu_control.h: ... here.
25144 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25145 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25146 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25147 * sysdeps/powerpc/bits/mathinline.h: ... here.
25149 2013-03-01 Roland McGrath <roland@hack.frob.com>
25151 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25152 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25153 to just [NEED_DL_SYSINFO_DSO].
25154 * elf/dl-support.c: Likewise.
25155 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25156 * elf/rtld.c (dl_main): Likewise.
25157 * elf/setup-vdso.h (setup_vdso): Likewise.
25158 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25159 * sysdeps/unix/sysv/linux/dl-sysdep.c
25160 (_dl_discover_osversion): Likewise.
25162 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25164 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25165 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25167 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25169 * NEWS: Mention libm performance improvements and non-x86 PI
25172 * csu/libc-start.c (__pthread_initialize_minimal): Change
25173 function arguments.
25174 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25176 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25179 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25180 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25181 <bp-sym.h> and <bp-asm.h>.
25182 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25183 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25185 (memcpy): Don't use BP_SYM.
25186 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25188 (__mpn_add_n): Don't use BP_SYM.
25189 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25190 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25192 (__mpn_addmul_1): Don't use BP_SYM.
25193 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25194 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25196 (_setjmp): Don't use BP_SYM.
25197 (__novmx_setjmp): Likewise.
25198 (__GI__setjmp): Likewise.
25199 (__vmx_setjmp): Likewise.
25200 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25202 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25203 (__bzero): Don't use BP_SYM.
25204 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25205 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25206 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25207 <bp-sym.h> and <bp-asm.h>.
25208 (memcpy): Don't use BP_SYM.
25209 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25210 <bp-sym.h> and <bp-asm.h>.
25211 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25212 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25213 <bp-sym.h> and <bp-asm.h>.
25214 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25215 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25217 (__mpn_lshift): Don't use BP_SYM.
25218 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25219 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25221 (memset): Don't use BP_SYM.
25222 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25223 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25224 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25226 (__mpn_mul_1): Don't use BP_SYM.
25227 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25229 <bp-sym.h> and <bp-asm.h>.
25230 (memcmp): Don't use BP_SYM.
25231 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25232 <bp-sym.h> and <bp-asm.h>.
25233 (memcpy): Don't use BP_SYM.
25234 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25235 <bp-sym.h> and <bp-asm.h>.
25236 (memset): Don't use BP_SYM.
25237 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25238 <bp-sym.h> and <bp-asm.h>.
25239 (strncmp): Don't use BP_SYM.
25240 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25241 <bp-sym.h> and <bp-asm.h>.
25242 (memcpy): Don't use BP_SYM.
25243 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25244 <bp-sym.h> and <bp-asm.h>.
25245 (memset): Don't use BP_SYM.
25246 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25247 <bp-sym.h> and <bp-asm.h>.
25248 (__memchr): Don't use BP_SYM.
25249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25250 <bp-sym.h> and <bp-asm.h>.
25251 (memcmp): Don't use BP_SYM.
25252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25253 <bp-sym.h> and <bp-asm.h>.
25254 (memcpy): Don't use BP_SYM.
25255 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25256 <bp-sym.h> and <bp-asm.h>.
25257 (__mempcpy): Don't use BP_SYM.
25258 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25259 <bp-sym.h> and <bp-asm.h>.
25260 (__memrchr): Don't use BP_SYM.
25261 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25262 <bp-sym.h> and <bp-asm.h>.
25263 (memset): Don't use BP_SYM.
25264 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25265 <bp-sym.h> and <bp-asm.h>.
25266 (__rawmemchr): Don't use BP_SYM.
25267 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25268 <bp-sym.h> and <bp-asm.h>.
25269 (__STRCMP): Don't use BP_SYM.
25270 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25271 <bp-sym.h> and <bp-asm.h>.
25272 (strchr): Don't use BP_SYM.
25273 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25274 <bp-sym.h> and <bp-asm.h>.
25275 (__strchrnul): Don't use BP_SYM.
25276 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25277 <bp-sym.h> and <bp-asm.h>.
25278 (strlen): Don't use BP_SYM.
25279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25280 <bp-sym.h> and <bp-asm.h>.
25281 (strncmp): Don't use BP_SYM.
25282 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25283 <bp-sym.h> and <bp-asm.h>.
25284 (__strnlen): Don't use BP_SYM.
25285 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25287 (__mpn_rshift): Don't use BP_SYM.
25288 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25289 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25290 <bp-sym.h> and <bp-asm.h>.
25291 (__sigsetjmp): Don't use BP_SYM.
25292 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25293 (L(start_addresses)): Don't use BP_SYM.
25294 (_start): Likewise.
25295 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25297 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25298 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25299 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25300 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25302 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25303 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25304 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25305 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25307 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25310 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25312 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25314 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25315 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25316 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25318 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25320 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25322 (strncmp): Don't use BP_SYM,
25323 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25325 (__mpn_sub_n): Don't use BP_SYM.
25326 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25327 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25329 (__mpn_submul_1): Don't use BP_SYM.
25330 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25332 <bp-sym.h> and <bp-asm.h>.
25333 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25335 <bp-sym.h> and <bp-asm.h>.
25336 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25339 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25342 Use ZK to minimize writes to Z.
25343 (sub_magnitudes): Simplify code a bit.
25344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25345 Use ZK to minimize writes to Z.
25346 (sub_magnitudes): Simplify code a bit.
25348 2013-02-27 Roland McGrath <roland@hack.frob.com>
25350 * csu/gmon-start.c: Add special exception to license text.
25352 2013-02-27 Richard Henderson <rth@redhat.com>
25354 * scripts/config.guess: Update from config.git.
25355 * scripts/config.sub: Likewise.
25357 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25361 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25363 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25365 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25367 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25369 2013-02-26 Roland McGrath <roland@hack.frob.com>
25371 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25372 [$(build-shared = yes].
25374 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25376 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25377 (__mul): Reduce iterations for calculating mantissa.
25379 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25381 (__mpranred): Likewise.
25384 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25385 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25387 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25389 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25390 Define __attribute__.
25392 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25394 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25396 * posix/regex_internal.h (__attribute): Remove.
25397 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25398 (re_string_context_at): Likewise.
25399 (bitset_not): Use __attribute__ and mark function as possibly
25401 (bitset_merge): Likewise.
25402 (bitset_mask): Likewise.
25403 (re_string_char_size_at): Likewise.
25404 (re_string_wchar_at): Likewise.
25405 (re_string_elem_size_at): Likewise.
25407 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25409 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25413 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25417 (denorm): Likewise.
25418 (__dbl_mp): Likewise.
25419 (add_magnitudes): Likewise.
25420 (sub_magnitudes): Likewise.
25424 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25427 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25430 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25434 up changes with default code.
25435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25438 2013-02-24 Allan McRae <allan@archlinux.org>
25440 * manual/socket.texi (The Internet Namespace): Order menu items
25441 to match that in the file.
25443 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25444 node listing of the info page menu.
25446 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25449 * sysdeps/i386/bp-asm.h: Remove file.
25450 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25451 (PARMS): Do not use macros from bp-asm.h.
25455 (__mpn_add_n): Do not use BP_SYM
25456 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25458 (PARMS): Do not use macros from bp-asm.h.
25461 (__mpn_addmul_1): Do not use BP_SYM
25462 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25464 (PARMS): Do not use macros from bp-asm.h.
25465 (SIGMSK): Likewise.
25466 (_setjmp): Likewise. Do not use BP_SYM.
25467 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25469 (PARMS): Do not use macros from bp-asm.h.
25470 (SIGMSK): Likewise.
25471 (setjmp): Likewise. Do not use BP_SYM.
25472 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25474 (PARMS): Do not use macros from bp-asm.h.
25475 (__frexp): Do not use BP_SYM.
25477 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25479 (PARMS): Do not use macros from bp-asm.h.
25480 (__frexpf): Do not use BP_SYM.
25481 (frexpf): Likewise.
25482 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25484 (PARMS): Do not use macros from bp-asm.h.
25485 (__frexpl): Do not use BP_SYM.
25486 (frexpl): Likewise.
25487 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25489 (PARMS): Do not use macros from bp-asm.h.
25490 (__remquo): Do not use BP_SYM.
25491 (remquo): Likewise.
25492 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25494 (PARMS): Do not use macros from bp-asm.h.
25495 (__remquof): Do not use BP_SYM.
25496 (remquof): Likewise.
25497 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25499 (PARMS): Do not use macros from bp-asm.h.
25500 (__remquol): Do not use BP_SYM.
25501 (remquol): Likewise.
25502 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25504 (PARMS): Do not use macros from bp-asm.h.
25507 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25508 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25510 (PARMS): Do not use macros from bp-asm.h.
25511 (strlen): Do not use BP_SYM.
25512 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25514 (PARMS): Do not use macros from bp-asm.h.
25518 (__mpn_add_n): Do not use BP_SYM.
25519 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25521 (PARMS): Do not use macros from bp-asm.h.
25524 (__mpn_addmul_1): Do not use BP_SYM.
25525 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25528 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25530 (PARMS): Do not use macros from bp-asm.h.
25533 (__mpn_lshift): Do not use BP_SYM.
25534 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25536 (PARMS): Do not use macros from bp-asm.h.
25540 (memcpy): Likewise. Do not use BP_SYM.
25541 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25542 libc_hidden_def and weak_alias.
25543 (mempcpy): Do not use BP_SYM in weak_alias.
25544 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25546 (PARMS): Do not use macros from bp-asm.h.
25549 [!BZERO_P] (CHR): Likewise.
25550 (memset): Likewise. Do not use BP_SYM.
25551 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25553 (PARMS): Do not use macros from bp-asm.h.
25556 (__mpn_mul_1): Do not use BP_SYM.
25557 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25559 (PARMS): Do not use macros from bp-asm.h.
25562 (__mpn_rshift): Do not use BP_SYM.
25563 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25565 (PARMS): Do not use macros from bp-asm.h.
25568 (strchr): Likewise. Do not use BP_SYM.
25569 (index): Do not use BP_SYM in weak_alias.
25570 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25572 (PARMS): Do not use macros from bp-asm.h.
25575 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25576 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25578 (PARMS): Do not use macros from bp-asm.h.
25579 (strlen): Do not use BP_SYM.
25580 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25582 (PARMS): Do not use macros from bp-asm.h.
25586 (__mpn_sub_n): Do not use BP_SYM.
25587 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25589 (PARMS): Do not use macros from bp-asm.h.
25592 (__mpn_submul_1): Do not use BP_SYM.
25593 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25595 (PARMS): Do not use macros from bp-asm.h.
25599 (__mpn_add_n): Do not use BP_SYM.
25600 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25603 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25605 (PARMS): Do not use macros from bp-asm.h.
25608 (memcmp): Do not use BP_SYM.
25609 (bcmp): Do not use BP_SYM in weak_alias.
25610 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25612 (PARMS): Do not use macros from bp-asm.h.
25616 (memcpy): Likewise. Do not use BP_SYM.
25617 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25619 (PARMS): Do not use macros from bp-asm.h.
25623 (memmove): Likewise. Do not use BP_SYM.
25624 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25626 (PARMS): Do not use macros from bp-asm.h.
25630 (__mempcpy): Likewise. Do not use BP_SYM.
25631 (mempcpy): Do not use BP_SYM in weak_alias.
25632 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25634 (PARMS): Do not use macros from bp-asm.h.
25637 [!BZERO_P] (CHR): Likewise.
25638 (memset): Likewise. Do not use BP_SYM.
25639 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25641 (PARMS): Do not use macros from bp-asm.h.
25643 (strcmp): Do not use BP_SYM.
25644 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25646 (PARMS): Do not use macros from bp-asm.h.
25649 [USE_AS_STRTOK_R] (SAVE): Likewise.
25650 (FUNCTION): Likewise. Do not use BP_SYM.
25651 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25653 (strtok_r): Likewise.
25654 (__GI___strtok_r): Likewise.
25655 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25656 (PARMS): Do not use macros from bp-asm.h.
25659 (__mpn_lshift): Do not use BP_SYM.
25660 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25661 (PARMS): Do not use macros from bp-asm.h.
25664 (__memchr): Do not use BP_SYM.
25665 (memchr): Do not use BP_SYM in weak_alias.
25666 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25667 (PARMS): Do not use macros from bp-asm.h.
25670 (memcmp): Do not use BP_SYM.
25671 (bcmp): Do not use BP_SYM in weak_alias.
25672 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25673 (PARMS): Do not use macros from bp-asm.h.
25676 (__mpn_mul_1): Do not use BP_SYM.
25677 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25679 (PARMS): Do not use macros from bp-asm.h.
25682 (__rawmemchr): Do not use BP_SYM.
25683 (rawmemchr): Do not use BP_SYM in weak_alias.
25684 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25685 (PARMS): Do not use macros from bp-asm.h.
25688 (__mpn_rshift): Do not use BP_SYM.
25689 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25690 (PARMS): Do not use macros from bp-asm.h.
25691 (SIGMSK): Likewise.
25692 (__sigsetjmp): Likewise. Do not use BP_SYM.
25693 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25694 (_start): Do not use BP_SYM.
25695 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25696 (PARMS): Do not use macros from bp-asm.h.
25699 (__stpcpy): Likewise. Do not use BP_SYM.
25700 (stpcpy): Do not use BP_SYM in weak_alias.
25701 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25703 (PARMS): Do not use macros from bp-asm.h.
25707 (__stpncpy): Likewise. Do not use BP_SYM.
25708 (stpncpy): Do not use BP_SYM in weak_alias.
25709 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25710 (PARMS): Do not use macros from bp-asm.h.
25713 (strchr): Likewise. Do not use BP_SYM.
25714 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25716 (PARMS): Do not use macros from bp-asm.h.
25719 (__strchrnul): Likewise. Do not use BP_SYM.
25720 (strchrnul): Do not use BP_SYM in weak_alias.
25721 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25723 (PARMS): Do not use macros from bp-asm.h.
25725 (strcspn): Do not use BP_SYM.
25726 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25728 (PARMS): Do not use macros from bp-asm.h.
25731 (strpbrk): Likewise. Do not use BP_SYM.
25732 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25734 (PARMS): Do not use macros from bp-asm.h.
25737 (strrchr): Likewise. Do not use BP_SYM.
25738 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25739 (PARMS): Do not use macros from bp-asm.h.
25741 (strspn): Do not use BP_SYM.
25742 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25743 (PARMS): Do not use macros from bp-asm.h.
25747 (FUNCTION): Likewise. Do not use BP_SYM.
25748 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25750 (strtok_r): Likewise.
25751 (__GI___strtok_r): Likewise.
25752 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25753 (PARMS): Do not use macros from bp-asm.h.
25757 (__mpn_sub_n): Do not use BP_SYM.
25758 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25760 (PARMS): Do not use macros from bp-asm.h.
25763 (__mpn_submul_1): Do not use BP_SYM.
25764 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25766 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25768 (PARMS): Do not use macros from bp-asm.h.
25773 (__clone): Do not use BP_SYM.
25774 (clone): Do not use BP_SYM in weak_alias.
25775 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25777 (PARMS): Do not use macros from bp-asm.h.
25779 (__mmap64): Do not use BP_SYM.
25780 (mmap64): Do not use BP_SYM in weak_alias.
25781 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25782 <bp-sym.h> and <bp-asm.h>.
25783 (PARMS): Do not use macros from bp-asm.h.
25784 (__posix_fadvise64_l64): Do not use BP_SYM.
25785 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25786 (PARMS): Do not use macros from bp-asm.h.
25788 (semtimedop): Do not use BP_SYM.
25789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25792 2013-02-21 Allan McRae <allan@archlinux.org>
25794 * manual/message.texi (Charset conversion in gettext):
25795 Move @end statement to beginning of line.
25797 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25805 (denorm): Likewise.
25806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25809 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25811 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25812 tail-call to the resolved function if pltexit isn't needed.
25814 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25817 or Y being zero as being unlikely.
25818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25821 2013-02-20 Carlos O'Donell <carlos@redhat.com>
25823 * manual/nss.texi (System Databases and Name Service Switch):
25824 Remove frobnicate @pxref.
25826 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25828 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25829 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25831 2013-02-20 Petr Machata <pmachata@redhat.com>
25833 * elf/elf.h (R_ARM_TARGET1): New macro.
25834 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25835 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25836 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25837 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25838 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25839 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25840 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25841 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25842 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25843 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25844 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25845 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25846 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25847 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25848 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25849 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25850 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25851 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25852 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25853 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25854 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25855 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25856 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25857 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25858 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25859 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25860 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25861 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25862 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25863 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25864 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25865 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25866 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25867 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25868 (R_ARM_THM_GOT_BREL12): Likewise.
25869 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25870 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25871 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25872 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25873 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25874 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25875 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25876 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25877 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25879 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25881 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25882 __attribute_used__ to __attribute__ ((unused)).
25884 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25886 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25889 comment formatting.
25890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25892 2013-02-19 Joseph Myers <joseph@codesourcery.com>
25895 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25897 (ENTER): Remove both macro definitions.
25899 (CHECK_BOUNDS_LOW): Likewise.
25900 (CHECK_BOUNDS_HIGH): Likewise.
25901 (CHECK_BOUNDS_BOTH): Likewise.
25902 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25903 (RETURN_BOUNDED_POINTER): Likewise.
25904 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25905 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25906 (POP_ERRNO_LOCATION_RETURN): Likewise.
25907 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25908 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25909 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25911 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25912 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25913 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25914 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25915 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25916 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25917 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25918 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25919 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25920 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25921 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25922 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25923 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25924 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25926 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25927 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25929 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25930 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25931 * sysdeps/i386/i586/memset.S (memset): Likewise.
25932 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25933 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25934 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25936 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25937 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25938 Change uses of L(2) to L(out).
25939 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25940 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25941 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25942 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25943 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25945 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25946 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25948 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25949 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25950 (RETURN): Do not use macro LEAVE.
25951 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25952 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25953 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25954 * sysdeps/i386/i686/memset.S (memset): Likewise.
25955 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25956 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25957 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25958 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25960 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25961 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25962 L(1_2) and L(1_3) into L(1).
25963 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25964 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25966 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25967 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25968 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25969 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25970 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25971 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25973 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25974 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25975 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25976 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25977 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25978 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25979 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25980 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25981 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25982 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25983 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25984 * sysdeps/i386/strspn.S (strspn): Likewise.
25985 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25987 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25988 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25989 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25990 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25991 L(1_3) into L(1_1).
25992 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25994 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25996 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25998 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26000 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26003 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26005 * math/atest-exp.c (exp_mpn): Remove ROUND.
26006 * math/atest-exp2.c (exp_mpn): Likewise.
26007 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26009 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26010 * stdlib/tst-tls-atexit-lib.c: Likewise.
26011 * stdlib/tst-tls-atexit.c: Likewise.
26013 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26015 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26016 and __attribute_alloc_size__.
26018 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26020 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26021 __attribute_alloc_size__.
26022 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26023 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26025 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26027 * include/programs/xmalloc.h: New file.
26028 * catgets/gencat.c: Include it.
26029 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26030 * elf/pldd.c: Likewise.
26031 * iconv/iconv_charmap.c: Likewise.
26032 * iconv/iconvconfig.c: Likewise.
26033 * iconv/strtab.c: Likewise.
26034 * locale/programs/locale.c: Likewise.
26035 * locale/programs/localedef.h: Likewise.
26036 * locale/programs/simple-hash.c: Likewise.
26037 * nscd/nscd.h: Likewise.
26038 * nss/makedb.c: Likewise.
26039 * sysdeps/generic/ldconfig.h: Likewise.
26041 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26043 * Versions.def: Add GLIBC_2.18.
26044 * include/link.h (struct link_map): New member l_tls_dtor_count.
26045 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26046 (__call_tls_dtors): Likewise.
26047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26048 __cxa_thread_atexit_impl.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26065 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26066 (tests): Add test case tst-tls-atexit.
26067 (modules-names): Add shared library for tst-tls-atexit.
26068 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26069 (GLIBC_PRIVATE): Add __call_tls_dtors.
26070 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26072 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26073 * stdlib/tst-tls-atexit.c: New test case.
26074 * stdlib/tst-tls-atexit-lib.c: New test case.
26076 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26078 * elf/Versions (ld): Add _dl_find_dso_for_object.
26079 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26080 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26081 (dl_open_worker): Use _dl_find_dso_for_object.
26082 * elf/dl-sym.c (do_sym): Likewise.
26083 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26085 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26087 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26088 Syntactic changes only.
26089 (_dl_runtime_profile): Do a tail-call to the resolved function.
26091 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26094 * sysdeps/x86_64/bp-asm.h: Remove file.
26095 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26096 <bp-sym.h> and <bp-asm.h>.
26097 (__clone): Do not use BP_SYM.
26098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26099 <bp-sym.h> and <bp-asm.h>.
26100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26101 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26103 (_setjmp): Do not use BP_SYM.
26104 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26106 (setjmp): Do not use BP_SYM.
26107 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26109 (mempcpy): Do not use BP_SYM in weak_alias.
26110 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26112 (strchr): Do not use BP_SYM.
26113 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26115 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26116 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26117 (_start): Do not use BP_SYM.
26118 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26120 (strcat): Do not use BP_SYM.
26121 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26123 (STRCMP): Do not use BP_SYM.
26124 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26126 (STRCPY): Do not use BP_SYM.
26127 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26129 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26131 (FUNCTION): Do not use BP_SYM.
26132 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26134 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26136 2013-02-17 Andreas Jaeger <aj@suse.de>
26138 * time/Versions: Sort entries.
26139 * string/Versions: Likewise.
26140 * resolv/Versions: Likewise.
26141 * posix/Versions: Likewise.
26142 * iconv/Versions: Likewise.
26143 * elf/Versions: Likewise.
26144 * wcsmbs/Versions: Likewise.
26146 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26148 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26149 loop termination condition.
26151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26152 variable to calculate EZ.
26155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26156 the lower precision input.
26158 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26161 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26162 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26163 (run-via-rtld-prefix): Do not handle %-bp tests.
26164 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26165 (all-object-suffixes): Remove .ob.
26166 (bppfx): Remove variable.
26167 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26168 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26169 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26170 [$(build-bounded) = yes] (libtype.ob): Likewise.
26171 * Makerules (elide-routines.ob): Remove variable.
26172 (do-tests-clean): Do not handle *-bp.out.
26173 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26174 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26175 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26176 (tests): Do not include $(tests-bp.out).
26177 (xtests): Do not include $(xtests-bp.out).
26178 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26179 [$(build-bounded) = yes] ($(addprefix
26180 $(objpfx),$(binaries-bounded))): Remove rule.
26181 ($(objpfx)%-bp.out): Remove rule.
26182 * config.make.in (build-bounded): Remove variable.
26183 * crypt/Makefile [$(build-bounded) = yes]
26184 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26185 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26186 append to variable.
26187 [$(build-bounded) = yes] (install-lib): Likewise.
26188 [$(build-bounded) = yes] (generated): Likewise.
26189 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26191 * intl/Makefile [$(build-bounded) = yes]
26192 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26193 * math/Makefile [$(build-bounded) = yes]
26194 ($(tests:%=$(objpfx)%-bp): Likewise.
26195 * misc/Makefile [$(build-bounded) = yes]
26196 ($(objpfx)tst-tsearch-bp): Likewise.
26197 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26198 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26200 * string/Makefile (o-objects.ob): Remove variable.
26201 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26202 (CFLAGS-.ob): Remove variable.
26203 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26204 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26205 both definitions of variable.
26206 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26207 (ASFLAGS-.ob): Remove variable.
26209 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26212 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26213 Remove __BOUNDED_POINTERS__ from condition.
26214 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26215 * string/bits/string2.h [!__NO_STRING_INLINES &&
26216 !__BOUNDED_POINTERS__]: Likewise.
26217 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26219 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26220 Remove conditional code.
26221 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26222 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26223 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26227 * csu/libc-start.c: Do not include <bp-sym.h>.
26228 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26229 * elf/dl-open.c: Do not include <bp-sym.h>.
26230 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26231 * math/fegetenv.c: Do not include <bp-sym.h>.
26232 (fegetenv): Do not use BP_SYM in versioned symbols.
26233 * nptl/sysdeps/pthread/bits/libc-lockP.h
26234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26237 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26239 (__pthread_mutex_destroy): Likewise.
26240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26241 (__pthread_mutex_lock): Likewise.
26242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26243 (__pthread_mutex_trylock): Likewise.
26244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26245 (__pthread_mutex_unlock): Likewise.
26246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26247 (__pthread_mutexattr_init): Likewise.
26248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26249 (__pthread_mutexattr_destroy): Likewise.
26250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26251 (__pthread_mutexattr_settype): Likewise.
26252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26253 (__pthread_rwlock_init): Likewise.
26254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26255 (__pthread_rwlock_destroy): Likewise.
26256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26257 (__pthread_rwlock_rdlock): Likewise.
26258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26259 (__pthread_rwlock_tryrdlock): Likewise.
26260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26261 (__pthread_rwlock_wrlock): Likewise.
26262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26263 (__pthread_rwlock_trywrlock): Likewise.
26264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26265 (__pthread_rwlock_unlock): Likewise.
26266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26267 (__pthread_key_create): Likewise.
26268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26269 (__pthread_setspecific): Likewise.
26270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26271 (__pthread_getspecific): Likewise.
26272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26275 (_pthread_cleanup_push_defer): Likewise.
26276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26277 (_pthread_cleanup_pop_restore): Likewise.
26278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26279 (pthread_setcancelstate): Likewise.
26280 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26282 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26283 (memchr): Do not use BP_SYM in weak_alias.
26284 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26285 (fegetenv): Do not use BP_SYM in versioned symbols.
26286 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26287 (fesetenv): Do not use BP_SYM in versioned symbols.
26288 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26289 (feupdateenv): Do not use BP_SYM in versioned symbols.
26290 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26291 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26292 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26293 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26294 (open64): Do not use BP_SYM in weak_alias.
26295 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26296 (fegetenv): Do not use BP_SYM in versioned symbols.
26297 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26298 (fesetenv): Do not use BP_SYM in versioned symbols.
26299 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26300 (feupdateenv): Do not use BP_SYM in versioned symbols.
26301 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26302 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26303 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26304 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26305 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26306 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26307 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26309 (__libc_start_main): Do not use BP_SYM.
26311 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26314 redundant return line.
26316 (denorm): Likewise.
26317 (dbl_mp): Likewise.
26318 (sub_magnitudes): Likewise.
26324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26326 (denorm): Likewise.
26327 (dbl_mp): Likewise.
26328 (sub_magnitudes): Likewise.
26335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26338 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26341 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26342 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26344 of __mul for squares.
26345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26350 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26352 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26355 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26357 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26358 prototype or function definition. Rename ubp_* variables and
26359 parameters. Remove argv definitions conditional on
26360 [__BOUNDED_POINTERS__].
26361 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26362 * elf/dl-runtime.c (_dl_fixup): Likewise.
26363 * include/set-hooks.h (RUN_HOOK): Likewise.
26364 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26366 * string/strcpy.c (strcpy): Do not use __unbounded.
26367 * sysdeps/generic/frame.h (struct layout): Likewise.
26368 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26369 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26370 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26371 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26372 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26373 (__backtrace): Likewise.
26374 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26376 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26378 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26380 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26381 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26382 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26383 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26384 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26385 Do not use __unbounded.
26386 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26387 Rename __unboundedrlimits parameter to rlimits in prototype.
26388 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26389 Do not use __unbounded.
26390 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26391 not use __ptrvalue.
26392 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26393 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26394 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26395 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26396 __ptrvalue or __unbounded.
26397 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26398 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26400 (__new_msgctl): Do not use __ptrvalue.
26401 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26403 (__libc_msgrcv): Do not use __ptrvalue.
26404 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26405 startup_info): Do not use __unbounded.
26406 (__libc_start_main): Likewise. Rename ubp_* variables and
26407 parameters. Remove argv definitions conditional on
26408 [__BOUNDED_POINTERS__].
26409 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26411 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26415 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26417 (__new_shmctl): Do not use __ptrvalue.
26418 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26419 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26421 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26423 (__libc_sigaction): Likewise.
26424 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26425 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26427 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26429 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26431 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26433 * string/mempcpy.c: Implement by calling memcpy.
26435 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26443 values in the mantissa.
26445 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26446 minimize writes to Z.
26447 (sub_magnitudes): Simplify code a bit.
26449 2013-02-12 Roland McGrath <roland@hack.frob.com>
26451 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26452 from the message. The linker prefixes all warnings with that already.
26454 2013-02-12 Andreas Schwab <schwab@suse.de>
26457 * posix/regexec.c (extend_buffers): Add parameter min_len.
26458 (check_matching): Pass minimum needed length.
26459 (clean_state_log_if_needed): Likewise.
26460 (get_subexp): Likewise.
26461 * posix/Makefile (tests): Add bug-regex34.
26462 (bug-regex34-ENV): Define.
26463 * posix/bug-regex34.c: New file.
26466 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26467 elements compare against the byte sequence of it, not its name.
26468 * posix/Makefile (tests): Add bug-regex35.
26469 (bug-regex35-ENV): Define.
26470 * posix/bug-regex35.c: New file.
26472 2013-02-11 Tom de Vries <tom@codesourcery.com>
26474 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26476 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26477 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26478 (CHECK_EOL): Add undef.
26480 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26482 * bits/stdlib-bsearch.h: New file.
26483 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26484 * stdlib/stdlib.h: Likewise.
26486 2013-02-11 Roland McGrath <roland@hack.frob.com>
26488 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26489 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26491 * manual/search.texi (Array Search Function): Add missing const in
26493 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26494 declaration to use rlim_t.
26495 (Basic Scheduling Functions): Remove erroneous const from
26496 sched_getparam prototype. Remove erroneous * from
26497 sched_get_priority_max and sched_get_priority_min prototypes.
26498 (Resource Usage): Fix summary @comment on vtimes to refer to
26499 sys/vtimes.h rather than vtimes.h.
26500 Add missing *s in vtimes prototype.
26501 (Limits on Resources): Fix ulimit prototype to return long int.
26502 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26503 prototypes to use long int rather than double.
26504 (BSD Random): Fix initstate and setstate to use char *, not void *.
26505 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26506 prototype to make second argument 'struct aiocb64 *const[]'.
26507 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26508 (Status of AIO Operations): Remove erroneous const in aio_return and
26509 aio_return64 prototypes.
26510 (Synchronizing I/O): Fix sync prototype to return void.
26511 * manual/startup.texi (Suboptions): Remove an erroneous const in
26512 getsubopt prototype.
26513 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26514 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26515 use size_t rather than int.
26516 (Scanning All Users): Likewise for getpwent_r.
26517 (Setting Groups): Add missing const to setgroups prototype.
26518 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26519 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26520 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26521 'const void *' rather than 'const char *'.
26522 (Host Address Functions): Likewise for inet_ntop.
26523 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26524 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26525 ssize_t for return value.
26526 (Sending Data): Likewise for send, sendto, sendmsg.
26527 (Socket Option Functions): Add a missing const in setsockopt prototype.
26528 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26529 use wchar_t for the argument.
26530 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26531 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26533 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26534 double/float/long double for second argument.
26535 Fix return types of significand, significandf, significandl.
26536 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26537 argument in fchmod prototype.
26538 (File Owner): Use uid_t and gid_t in fchown prototype.
26539 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26540 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26541 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26542 use 'const struct dirent **' as argument types to CMP function pointer
26544 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26545 (File Times): Fix summary magic @comment for struct utimbuf and utime
26546 to refer to utime.h, not time.h.
26547 * manual/string.texi (Argz Functions): Add missing const in
26548 argz_extract and argz_next prototypes.
26549 (Finding Tokens in a String): Likewise for basename.
26550 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26551 (Copying and Concatenation): Fix typo in wmemmove prototype.
26552 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26553 (Signal Stack): Remove erroneous const in sigstack prototype.
26554 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26556 (Simple Calendar Time): Likewise for stime.
26557 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26559 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26560 say sys/sysctl.h instead.
26561 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26562 and vsyslog prototypes.
26564 2013-02-11 Tom de Vries <tom@codesourcery.com>
26566 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26569 2013-02-11 Roland McGrath <roland@hack.frob.com>
26571 * misc/sys/mman.h: Fix typo in mremap comment.
26573 2013-02-08 Roland McGrath <roland@hack.frob.com>
26575 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26576 the '\0' terminator.
26578 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26581 * debug/segfault.c: Don't include <bp-checks.h>.
26582 * sysdeps/generic/bp-checks.h: Remove file.
26583 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26584 (__GETDENTS): Don't use CHECK_N.
26585 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26586 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26587 (__getgroups): Don't use CHECK_N.
26588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26589 (setgroups): Don't use CHECK_N.
26590 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26591 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26592 (__libc_msgrcv): Don't use CHECK_N.
26593 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26594 (__libc_msgsnd): Don't use CHECK_N.
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26597 (__libc_pread): Don't use CHECK_N.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26599 include <bp-checks.h>.
26600 (__libc_pread64): Don't use CHECK_N.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26602 include <bp-checks.h>.
26603 (__libc_pwrite): Don't use CHECK_N.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26605 include <bp-checks.h>.
26606 (__libc_pwrite64): Don't use CHECK_N.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26609 (__libc_pread): Don't use CHECK_N.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26611 include <bp-checks.h>.
26612 (__libc_pread64): Don't use CHECK_N.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26614 include <bp-checks.h>.
26615 (__libc_pwrite): Don't use CHECK_N.
26616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26617 include <bp-checks.h>.
26618 (__libc_pwrite64): Don't use CHECK_N.
26619 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26620 (do_pread): Don't use CHECK_N.
26621 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26622 (do_pread64): Don't use CHECK_N.
26623 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26624 (do_pwrite): Don't use CHECK_N.
26625 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26626 (do_pwrite64): Don't use CHECK_N.
26627 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26628 (__libc_readv): Don't use CHECK_N.
26629 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26630 (semop): Don't use CHECK_N.
26631 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26633 (semtimedop): Don't use CHECK_N.
26634 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26635 (__libc_pread): Don't use CHECK_N.
26636 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26638 (__libc_pread64): Don't use CHECK_N.
26639 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26641 (__libc_pwrite): Don't use CHECK_N.
26642 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26644 (__libc_pwrite64): Don't use CHECK_N.
26645 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26647 (__libc_msgrcv): Don't use CHECK_N.
26648 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26649 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26650 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26651 (__libc_writev): Don't use CHECK_N.
26653 2013-02-08 Roland McGrath <roland@hack.frob.com>
26655 * string/strcpy.c: Removed unused variable.
26657 * Makeconfig (+sysdep-includes): Define with := rather than =.
26658 Use an existing include/ subdir of each sysdeps dir before it.
26660 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26662 * nscd/connection.c (register_traced_file): Comment function.
26663 [HAVE_INOTIFY] (union __inev): Define.
26664 [HAVE_INOTIFY] (inotify_check_files): New function.
26665 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26666 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26668 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26670 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26672 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26673 loaded if not already and that a failure is permanent.
26675 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26678 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26679 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26681 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26684 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26685 (CHECK_1_NULL_OK): Likewise.
26686 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26687 (__fxstat): Do not use CHECK_1.
26688 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26690 (___fxstat64): Do not use CHECK_1.
26691 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26693 (__fxstatat): Do not use CHECK_1.
26694 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26696 (__fxstatat64): Do not use CHECK_1.
26697 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26699 (__fxstat): Do not use CHECK_1.
26700 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26702 (__fxstatat): Do not use CHECK_1.
26703 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26705 (__getresgid): Do not use CHECK_1.
26706 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26708 (__getresuid): Do not use CHECK_1.
26709 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26711 (__lxstat): Do not use CHECK_1.
26712 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26714 (__old_msgctl): Do not use CHECK_1.
26715 (__new_msgctl): Likewise.
26716 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26718 (__new_setrlimit): Do not use CHECK_1.
26719 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26721 (__old_shmctl): Do not use CHECK_1.
26722 (__new_shmctl): Likewise.
26723 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26725 (__xstat): Do not use CHECK_1.
26726 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26727 (__lxstat): Do not use CHECK_1.
26728 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26730 (___lxstat64): Do not use CHECK_1.
26731 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26732 (__old_msgctl): Do not use CHECK_1.
26733 (__new_msgctl): Likewise.
26734 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26736 (__gettimeofday): Do not use CHECK_1.
26737 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26738 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26739 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26741 (__gettimeofday): Do not use CHECK_1.
26742 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26743 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26744 (__new_shmctl): Do not use CHECK_1.
26745 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26747 (do_sigtimedwait): Do not use CHECK_1.
26748 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26750 (do_sigwaitinfo): Do not use CHECK_1.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26753 (msgctl): Do not use CHECK_1.
26754 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26756 (shmctl): Do not use CHECK_1.
26757 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26758 (ustat): Do not use CHECK_1.
26759 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26761 (__fxstat): Do not use CHECK_1.
26762 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26764 (__fxstatat): Do not use CHECK_1.
26765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26767 (__lxstat): Do not use CHECK_1.
26768 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26770 (__xstat): Do not use CHECK_1.
26771 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26772 (__xstat): Do not use CHECK_1.
26773 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26774 (___xstat64): Do not use CHECK_1.
26777 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26779 (CHECK_BOUNDS_HIGH): Likewise.
26780 * string/strcpy.c: Do not include <bp-checks.h>.
26781 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26783 2013-02-07 Roland McGrath <roland@hack.frob.com>
26785 * nscd/nscd-client.h (__nscd_drop_map_ref):
26786 Add __attribute__ ((unused)).
26787 * nis/nss-nisplus.h (niserr2nss): Likewise.
26789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26790 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26792 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26793 Remove inline keyword.
26794 * include/rounding-mode.h (round_away): Likewise.
26795 * libio/wfileops.c (adjust_wide_data): Likewise.
26796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26797 (__m128i_strloadu_tolower): Likewise.
26798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26799 (__m128i_strloadu_tolower): Likewise.
26800 * time/mktime.c (ydhms_diff): Likewise.
26801 * locale/elem-hash.h (elem_hash): Likewise.
26802 * locale/setlocale.c (setdata): Likewise.
26803 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26804 (re_string_wchar_at): Likewise.
26805 (bitset_not, bitset_merge, bitset_mask): Likewise.
26806 [!(__GNUC__ > 3)] (inline): Remove macro.
26807 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26808 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26809 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26810 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26811 * string/memcmp.c (memcmp_bytes): Likewise.
26812 * locale/programs/locarchive.c (compute_hashval): Likewise.
26813 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26814 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26815 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26816 * nss/getent.c (print_rpc, print_protocols): Likewise.
26817 (print_passwd, print_group, print_aliases): Likewise.
26818 * nis/nss-nisplus.h (niserr2nss): Likewise.
26819 * nscd/connections.c (restart_p): Likewise.
26820 Change return type to bool.
26822 2013-02-05 Roland McGrath <roland@hack.frob.com>
26824 * Makeconfig (all-Depend-files): Add existing
26825 $(sorted-subdirs:=/Depend) files.
26826 (all-subdirs): Remove nss.
26827 * sysdeps/unix/inet/Subdirs: Add it here instead.
26828 * hesiod/Depend: New file.
26830 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26831 instead of calling alloca.
26833 * io/lseek.c (__lseek): Rename to __libc_lseek.
26834 Define __lseek as an alias.
26836 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26838 2013-02-04 Carlos O'Donell <carlos@redhat.com>
26840 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26841 else clause and remove check for non-standard endianness.
26843 2013-02-04 David S. Miller <davem@davemloft.net>
26845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26847 2013-02-04 Joseph Myers <joseph@codesourcery.com>
26850 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26851 (__ubp_memchr): Remove prototype.
26852 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26853 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26854 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26855 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26856 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26858 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26859 (__ubp_memchr): Likewise.
26860 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26861 (__ubp_memchr): Likewise.
26862 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26863 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26864 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26865 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26867 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26868 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26869 (__getcwd): Do not use CHECK_STRING.
26870 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26872 (__real_chown): Do not use CHECK_STRING.
26873 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26875 (fchownat): Do not use CHECK_STRING.
26876 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26878 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26880 (__lchown): Do not use CHECK_STRING.
26881 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26882 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26883 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26884 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26886 include <bp-checks.h>.
26887 (truncate64): Do not use CHECK_STRING.
26888 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26890 (__real_chown): Do not use CHECK_STRING.
26891 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26893 (__lchown): Do not use CHECK_STRING.
26894 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26896 (__chown): Do not use CHECK_STRING.
26897 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26899 (truncate64): Do not use CHECK_STRING.
26900 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26902 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26903 (__xmknod): Do not use CHECK_STRING.
26904 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26906 (__xmknodat): Do not use CHECK_STRING.
26907 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26908 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26910 2013-02-04 Andreas Schwab <schwab@suse.de>
26913 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26914 * include/netdb.h: Likewise for h_errno.
26915 * elf/tst-stackguard1.c: Include <tls.h>.
26917 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26919 * elf/link.h (struct link_map): Extend the l_addr comment.
26920 * include/link.h (struct link_map): Likewise.
26922 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26925 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26926 (BOUNDED_1): Remove macro.
26927 * debug/backtrace.c: Don't include <bp-checks.h>.
26928 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26929 (__backtrace): Likewise.
26930 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26932 (__backtrace): Don't use BOUNDED_1.
26933 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26935 (__backtrace): Don't use BOUNDED_1.
26936 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26937 (__backtrace): Don't use BOUNDED_1.
26938 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26939 (shmat): Don't use BOUNDED_N.
26941 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26944 * sysdeps/generic/bp-start.h: Remove file.
26945 * csu/libc-start.c: Don't include <bp-start.h>.
26946 (LIBC_START_MAIN): Set up __environ directly instead of using
26947 INIT_ARGV_and_ENVIRON.
26948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26952 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26954 (CHECK_FCNTL): Likewise.
26955 (CHECK_N_PAGES): Likewise.
26958 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26960 (CHECK_SIGSET_NULL_OK): Likewise.
26961 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26963 (sigpending): Don't use CHECK_SIGSET.
26964 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26966 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26967 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26969 (do_sigsuspend): Don't use CHECK_SIGSET.
26970 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26972 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26973 (do_sigwait): Don't use CHECK_SIGSET.
26974 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26977 include <bp-checks.h>.
26978 (sigpending): Don't use CHECK_SIGSET.
26979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26980 include <bp-checks.h>.
26981 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26982 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26984 (sigpending): Don't use CHECK_SIGSET.
26985 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26990 * sysdeps/generic/bp-semctl.h: Remove file.
26991 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26992 <bp-checks.h> and <bp-semctl.h>.
26993 (__old_semctl): Don't use CHECK_SEMCTL.
26994 (__new_semctl): Likewise.
26995 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26997 (__old_semctl): Don't use CHECK_SEMCTL.
26998 (__new_semctl): Likewise.
26999 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27000 <bp-checks.h> and <bp-semctl.h>.
27001 (__old_semctl): Don't use CHECK_SEMCTL.
27002 (__new_semctl): Likewise.
27003 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27004 <bp-checks.h> and <bp-semctl.h>.
27005 (semctl): Don't use CHECK_SEMCTL.
27008 * Makerules (elide-bp-thunks): Remove variable.
27009 (elide-routines.oS): Don't use $(elide-bp-thunks).
27010 (elide-routines.os): Likewise.
27011 (elide-routines.o): Likewise.
27012 (elide-routines.op): Likewise.
27013 (elide-routines.og): Likewise.
27014 (objects): Don't use $(bp-thunks).
27015 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27017 (common-generated): Do not add s-proto-bp.d.
27018 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27021 Do not generate makefile rules for bounded-pointer thunks.
27022 * sysdeps/generic/bp-thunks.h: Remove file.
27023 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27024 * sysdeps/unix/s-proto-bp.S: Likewise.
27027 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27028 parts of result separately when argument is not close to line from
27029 -i to i and one part of argument is small.
27030 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27031 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27032 * math/libm-test.inc (cacos_test): Add more tests.
27033 (casin_test): Likewise.
27034 (casinh_test): Likewise.
27035 * sysdeps/i386/fpu/libm-test-ulps: Update.
27036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27038 2013-01-31 David S. Miller <davem@davemloft.net>
27040 * po/de.po: Update from translation team.
27042 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27044 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27046 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27048 * configure.in (_AC_PROG_CC_C89): New definition.
27049 * configure: Regenerate.
27051 * configure.in (AC_PROG_CPP): New definition.
27052 * configure: Regenerate.
27054 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27056 * debug/tst-backtrace.h: New file.
27057 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27058 (ret): Remove variable.
27060 (FAIL): Remove macro.
27061 (NO_INLINE): Likewise.
27062 (fn1): Use match function instead of strstr.
27063 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27064 (ret): Remove variable.
27066 (FAIL): Remove macro.
27067 (NO_INLINE): Likewise.
27068 (fn): Use match function instead of strstr.
27069 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27070 (ret): Remove variable.
27072 (FAIL): Remove macro.
27073 (NO_INLINE): Likewise.
27074 (handle_signal): Use match function instead of strstr.
27075 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27076 (ret): Remove variable.
27078 (FAIL): Remove macro.
27079 (NO_INLINE): Likewise.
27080 (handle_signal): Use match function instead of strstr.
27082 2013-01-23 Roland McGrath <roland@hack.frob.com>
27084 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27086 2013-01-23 David S. Miller <davem@davemloft.net>
27088 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27089 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27090 argument of CAS if possible.
27091 * sysdeps/sparc/sparc64/bits/atomic.h
27092 (__arch_compare_and_exchange_val_32_acq): Likewise.
27093 (__arch_compare_and_exchange_val_64_acq): Likewise.
27095 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27097 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27098 * sysdeps/posix/ulimit.c: ... this.
27099 Include <limits.h>.
27100 * sysdeps/unix/bsd/ulimit.c: Remove file.
27102 2013-01-23 Adam Conrad <adconrad@0c3.net>
27104 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27105 (LDFLAGS-tst-array5): Likewise.
27107 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27110 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27111 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27112 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27113 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27115 2013-01-21 David S. Miller <davem@davemloft.net>
27117 * sysdeps/sparc/backtrace.c: New file.
27118 * sysdeps/sparc/sparc32/backtrace.h: New file.
27119 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27120 * sysdeps/sparc/sparc64/backtrace.h: New file.
27121 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27122 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27125 2013-01-21 Andreas Schwab <schwab@suse.de>
27128 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27131 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27137 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27138 Mark Mitchell <mark@codesourcery.com>
27139 Tom de Vries <tom@codesourcery.com>
27140 Paul Pluzhnikov <ppluzhnikov@google.com>
27142 * debug/tst-backtrace2.c: New file.
27143 * debug/tst-backtrace3.c: Likewise.
27144 * debug/tst-backtrace4.c: Likewise.
27145 * debug/tst-backtrace5.c: Likewise.
27146 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27147 (CFLAGS-tst-backtrace3.c): Likewise.
27148 (CFLAGS-tst-backtrace4.c): Likewise.
27149 (CFLAGS-tst-backtrace5.c): Likewise.
27150 (LDFLAGS-tst-backtrace2): Likewise.
27151 (LDFLAGS-tst-backtrace3): Likewise.
27152 (LDFLAGS-tst-backtrace4): Likewise.
27153 (LDFLAGS-tst-backtrace5): Likewise.
27154 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27155 tst-backtrace4 and tst-backtrace5.
27157 2013-01-18 Anton Blanchard <anton@samba.org>
27158 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27160 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27161 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27162 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27163 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27165 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27166 "+r" and remove output regs list as redundant. Add explicit inline
27167 asm to specify register of return val to work around compiler codegen
27168 bug. Remove (int) cast on return value. Add return type parameter to
27169 use in macro so that this macro does not truncate return value for
27171 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27172 pass to INTERNAL_VSYSCALL_NCS.
27173 (INLINE_VSYSCALL): Add 'long int' as return type to
27174 INTERNAL_VSYSCALL_NCS macro invocation.
27175 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27176 INTERNAL_VSYSCALL_NCS macro invocation.
27177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27179 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27182 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27183 Fix application of SIMD FP exception mask.
27185 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27186 mp_no from a power of two.
27187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27188 __mpexp_twomm1. Use __pow_mp.
27190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27193 2013-01-17 David S. Miller <davem@davemloft.net>
27195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27197 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27200 * include/complex.h: Condition contents on [!_COMPLEX_H].
27201 (__kernel_casinhf): New prototype.
27202 (__kernel_casinh): Likewise.
27203 (__kernel_casinhl): Likewise.
27204 * math/Makefile (libm_calls): Add k_casinh.
27205 * math/k_casinh.c: New file.
27206 * math/k_casinhf.c: Likewise.
27207 * math/k_casinhl.c: Likewise.
27208 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27209 finite nonzero arguments.
27210 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27211 finite nonzero arguments.
27212 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27213 finite nonzero arguments.
27214 * math/s_casinh.c: Do not include <float.h>.
27215 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27216 * math/s_casinhf.c: Do not include <float.h>.
27217 (__casinhf): Move code for finite nonzero arguments to
27219 * math/s_casinhl.c: Do not include <float.h>.
27220 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27222 (__casinhl): Move code for finite nonzero arguments to
27224 * math/libm-test.inc (cacos_test): Add more tests.
27225 * sysdeps/i386/fpu/libm-test-ulps: Update.
27226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27228 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27230 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27231 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27232 [!HAVE_MREMAP]: Remove [defined linux] case.
27233 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27235 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27237 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27239 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27241 * elf/elf.h (R_386_SIZE32): New relocation.
27242 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27244 (elf_machine_rela): Likewise.
27245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27246 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27248 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27250 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27251 (FP_FAST_FMA): Do not define.
27252 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27253 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27254 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27255 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27256 !_SOFT_FLOAT]: Likewise.
27257 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27261 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27262 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27264 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27265 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27268 2013-01-16 Andreas Schwab <schwab@suse.de>
27271 * include/stdlib.h (__mktemp): Add declaration.
27272 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27273 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27275 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27277 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27279 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27280 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27281 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27283 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27284 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27286 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27288 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27289 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27292 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27293 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27295 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27297 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27299 2013-01-15 David S. Miller <davem@davemloft.net>
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27302 trunc{,f} to libm-sysdep_routes.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27313 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27314 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27315 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27316 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27317 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27318 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27321 nearbyint{,f} to libm-sysdep_routes.
27322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27335 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27338 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27339 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27340 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27342 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27343 libc_feholdexcept and libc_fesetenv.
27345 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27347 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27349 2013-01-14 David S. Miller <davem@davemloft.net>
27351 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27352 (SPARC_ASM_VIS2_IFUNC): Likewise.
27353 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27355 use of 'siam' instruction.
27356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27389 routines to libm-sysdep_routines.
27390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27393 fdim/fdimf to libm-sysdep_routines.
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27402 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27403 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27404 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27405 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27407 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27409 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27410 to optimize copies.
27412 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27417 local variable MPTWO.
27418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27421 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27423 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27426 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27428 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27430 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27432 * manual/pattern.texi (glob_t): Document gl_flags.
27433 (glob64_t): Likewise.
27435 2013-01-11 David S. Miller <davem@davemloft.net>
27437 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27438 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27439 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27440 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27441 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27442 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27443 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27444 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27445 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27446 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27447 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27448 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27449 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27451 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27452 sparc V9 rather than using V8 code.
27453 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27454 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27456 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27458 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27461 2013-01-11 Roland McGrath <roland@hack.frob.com>
27463 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27464 not in the main loop.
27465 * configure: Regenerated.
27467 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27469 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27470 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27472 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27473 [!__GLIBC_HAVE_LONG_LONG] case.
27474 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27475 condition to just #else.
27476 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27477 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27478 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27479 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27481 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27482 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27483 #elif condition to just #else.
27484 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27485 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27486 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27487 #elif condition to just #else.
27489 2013-01-11 Steve Ellcey <sellcey@mips.com>
27491 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27492 (EF_MIPS_ARCH_64): Fix value.
27493 (EF_MIPS_ARCH_32R2): New.
27494 (EF_MIPS_ARCH_64R2): New.
27496 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27498 * Makeconfig (+link-pie-before-libc): New.
27499 (+link-pie-after-libc): Likewise.
27500 (+link-pie-tests): Likewise.
27501 (+link-pie): Rewritten.
27502 (link-before-libc): Remove $(config-LDFLAGS).
27503 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27504 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27505 (config-LDFLAGS): Renamed to ...
27506 (rtld-LDFLAGS): This.
27507 (rtld-tests-LDFLAGS): New macro.
27508 (link-libc-rpath-link): Likewise.
27509 (link-libc-tests-rpath-link): Likewise.
27510 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27511 (link-libc): Prepand $(link-libc-rpath-link).
27512 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27513 (test-program-prefix): New macro.
27514 (test-via-rtld-prefix): Likewise.
27515 (test-program-cmd): Likewise.
27516 (host-test-program-cmd): Likewise.
27517 * Makefile ($(common-objpfx)testrun.sh): Replace
27518 $(run-program-prefix) with $(test-program-prefix).
27519 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27521 ($(common-objpfx)shlib.lds): Likewise.
27522 (build-module-helper): Likewise.
27523 ($(common-objpfx)format.lds): Likewise.
27524 * Rules (binaries-pie-tests): New.
27525 (binaries-pie-notests): Likewise.
27526 (binaries-pie): Rewritten.
27527 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27528 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27529 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27530 (make-test-out): Replace $(host-built-program-cmd) with
27531 $(host-test-program-cmd).
27532 * config.make.in (build-hardcoded-path-in-tests): New variable.
27533 * configure.in (--enable-hardcoded-path-in-tests): New configure
27535 (hardcoded_path_in_tests): New AC_SUBST.
27536 * configure: Regenerated.
27537 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27538 $(built-program-cmd) with $(test-program-cmd).
27539 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27540 (test_program_cmd): This.
27541 * elf/Makefile ($(objpfx)order.out): Run test with
27542 $(test-program-prefix).
27543 ($(objpfx)order2.out): Likewise.
27544 ($(objpfx)tst-initorder.out): Likewise.
27545 ($(objpfx)tst-initorder2.out): Likewise.
27546 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27547 $(test-program-cmd).
27548 ($(objpfx)tst-array1-static.out): Likewise.
27549 ($(objpfx)tst-array2.out): Likewise.
27550 ($(objpfx)tst-array3.out): Likewise.
27551 ($(objpfx)tst-array4.out): Likewise.
27552 ($(objpfx)tst-array5.out): Likewise.
27553 ($(objpfx)tst-array5-static.out): Likewise.
27554 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27555 $(test-program-cmd).
27556 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27557 $(run-program-prefix) with $(test-program-prefix).
27558 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27559 (test_program_prefix): This.
27560 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27561 $(run-program-prefix) with $(test-program-prefix).
27562 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27563 (test_program_prefix): This.
27564 * iconvdata/tst-tables.sh: Likewise.
27565 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27566 $(run-program-prefix) with $(test-program-prefix).
27567 ($(objpfx)tst-translit.out): Likewise.
27568 ($(objpfx)tst-gettext2.out): Likewise.
27569 ($(objpfx)tst-gettext4.out): Likewise.
27570 ($(objpfx)tst-gettext6.out): Likewise.
27571 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27572 (test_program_prefix): This.
27573 * intl/tst-gettext2.sh: Likewise.
27574 * intl/tst-gettext4.sh Likewise.
27575 * intl/tst-gettext6.sh: Likewise.
27576 * intl/tst-translit.sh: Likewise.
27577 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27578 with $(test-program-cmd).
27579 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27580 $(run-program-prefix) with $(test-program-prefix).
27581 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27582 (test_program_prefix): This.
27583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27584 $(run-program-prefix) with $(test-program-prefix).
27585 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27586 (test_program_prefix): This.
27587 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27588 * posix/Makefile ($(objpfx)globtest.out): Replace
27589 $(run-via-rtld-prefix) and $(test-wrapper) with
27590 $(test-program-prefix) and $(test-via-rtld-prefix).
27591 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27592 $(test-program-prefix).
27593 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27594 $(host-test-program-cmd).
27595 (tst-spawn-ARGS): Likewise.
27596 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27597 $(test-program-prefix).
27598 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27599 (test_via_rtld_prefix): This.
27600 (test_wrapper): Renamed to ...
27601 (test_program_prefix): This.
27602 (run_program_prefix): Replaced by test_program_prefix.
27603 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27604 (test_program_prefix): This.
27605 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27606 with $(host-test-program-cmd).
27607 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27608 $(run-program-prefix) with $(test-program-prefix).
27609 ($(objpfx)tst-printf.out): Likewise.
27610 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27611 $(test-program-cmd).
27612 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27613 (test_program_prefix): This.
27614 * stdio-common/tst-unbputc.sh: Likewise.
27615 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27616 $(run-program-prefix) with $(test-program-prefix).
27617 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27618 (test_program_prefix): This.
27619 * string/Makefile ($(objpfx)tst-svc.out): Replace
27620 $(built-program-cmd) with $(test-program-cmd).
27622 2013-01-11 Andreas Jaeger <aj@suse.de>
27625 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27626 value. Sync with Linux 3.7.
27628 2013-01-10 David S. Miller <davem@davemloft.net>
27630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27631 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27632 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27634 2013-01-10 Roland McGrath <roland@hack.frob.com>
27636 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27638 * configure: Regenerated.
27640 2013-01-10 David S. Miller <davem@davemloft.net>
27642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27643 sparc V9 rather than using V8 code.
27644 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27645 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27647 2013-01-10 Roland McGrath <roland@hack.frob.com>
27649 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27650 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27651 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27652 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27653 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27654 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27655 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27656 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27657 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27658 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27659 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27660 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27661 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27662 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27663 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27664 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27665 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27666 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27667 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27668 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27669 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27670 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27671 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27672 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27673 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27674 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27675 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27677 2013-01-10 David S. Miller <davem@davemloft.net>
27679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27681 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27683 * posix/Makefile (tests-static): New variable.
27684 (tests): Add $(tests-static).
27685 (tst-exec-static-ARGS): New variable.
27686 (tst-spawn-static-ARGS): Likewise.
27687 * posix/tst-exec-static.c: New file.
27688 * posix/tst-spawn-static.c: Likewise.
27689 * posix/tst-exec.c: Support run directly.
27690 * posix/tst-spawn.c: Likewise.
27692 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27694 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27696 * math/bits/mathcalls.h (llrint): Likewise.
27697 (llround): Likewise.
27698 * stdlib/stdlib.h (struct drand48_data): Likewise.
27699 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27700 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27701 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27703 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27705 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27706 (elf_greg_t): Likewise.
27707 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27708 (__jmp_buf): Likewise.
27709 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27711 (llrint): Likewise, for all definitions.
27712 (llrintl): Likewise.
27714 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27715 Remove [__GNUC__] condition.
27716 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27717 condition to just [__USE_ISOC99].
27718 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27720 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27723 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27724 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27726 (_POSIX_V6_ILP32_OFF32): Likewise.
27727 (_XBS5_ILP32_OFF32): Likewise.
27728 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27729 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27731 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27733 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27736 doubles __mpexp_twomm1. Adjust usage.
27737 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27740 2013-01-10 Andreas Schwab <schwab@suse.de>
27743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27744 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27746 2013-01-09 David S. Miller <davem@davemloft.net>
27749 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27750 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27751 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27752 (TCP_FASTOPEN): Define.
27753 (tcp_repair_opt): New structure.
27754 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27756 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27757 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27758 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27759 (tcp_cookie_transactions): New structure.
27761 2013-01-09 Anton Blanchard <anton@samba.org>
27763 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27764 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27765 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27768 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27770 * include/features.h (__USE_ANSI): Remove.
27772 2013-01-09 Roland McGrath <roland@hack.frob.com>
27774 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27776 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27778 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27780 * sysdeps/s390/fpu/libm-test-ulps: Update.
27782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27784 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27788 (denorm): Likewise.
27789 (__mp_dbl): Likewise.
27790 (__dbl_mp): Likewise.
27791 (add_magnitudes): Likewise.
27792 (sub_magnitudes): Likewise.
27798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27802 (denorm): Likewise.
27803 (__mp_dbl): Likewise.
27804 (__dbl_mp): Likewise.
27805 (add_magnitudes): Likewise.
27806 (sub_magnitudes): Likewise.
27812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27816 (denorm): Likewise.
27817 (__mp_dbl): Likewise.
27818 (__dbl_mp): Likewise.
27819 (add_magnitudes): Likewise.
27820 (sub_magnitudes): Likewise.
27827 2013-01-08 Joseph Myers <joseph@codesourcery.com>
27829 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27830 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27831 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27832 2 && __USE_EXTERN_INLINES]: Likewise.
27834 2013-01-08 Andreas Jaeger <aj@suse.de>
27837 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27839 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27840 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27842 2013-01-07 Anton Blanchard <anton@samba.org>
27844 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27845 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27846 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27847 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27848 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27849 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27850 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27851 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27855 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27858 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27861 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27862 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27865 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27867 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27868 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27869 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27870 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27871 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27873 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27874 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27876 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27877 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27878 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27879 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27880 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27881 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27882 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27884 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27886 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27888 2013-01-07 Joseph Myers <joseph@codesourcery.com>
27890 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27891 (__MALLOC_PMT): Likewise.
27892 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27893 [__GNUC__], only on [_LIBC].
27894 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27895 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27896 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27897 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27898 forward declaration.
27899 (realloc_hook_ini): Likewise.
27900 (memalign_hook_ini): Likewise.
27901 (__libc_memalign): Do not use __MALLOC_PMT in variable
27903 (__libc_valloc): Likewise.
27904 (__libc_pvalloc): Likewise.
27905 (__libc_calloc): Likewise.
27906 (__posix_memalign): Likewise.
27909 * math/s_casinh.c: Include <float.h>.
27910 (__casinh): Do not do computation with squaring and square root
27911 for large arguments.
27912 * math/s_casinhf.c: Include <float.h>.
27913 (__casinhf): Do not do computation with squaring and square root
27914 for large arguments.
27915 * math/s_casinhl.c: Include <float.h>.
27916 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27917 (__casinhl): Do not do computation with squaring and square root
27918 for large arguments.
27919 * math/libm-test.inc (casin_test): Add more tests.
27920 (casinh_test): Likewise.
27921 * sysdeps/i386/fpu/libm-test-ulps: Update.
27922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27924 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27926 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27927 (__x86_64_raw_data_cache_size): Likewise.
27928 (__x86_64_data_cache_size_half): Likewise.
27929 (__x86_64_raw_data_cache_size_half): Likewise.
27930 (__x86_64_shared_cache_size): Likewise.
27931 (__x86_64_raw_shared_cache_size): Likewise.
27932 (__x86_64_shared_cache_size_half): Likewise.
27933 (__x86_64_raw_shared_cache_size_half): Likewise.
27934 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27936 (__x86_data_cache_size): This.
27937 (__x86_64_raw_data_cache_size): Renamed to ...
27938 (__x86_raw_data_cache_size): This.
27939 (__x86_64_data_cache_size_half): Renamed to ...
27940 (__x86_data_cache_size_half): This.
27941 (__x86_64_raw_data_cache_size_half): Renamed to ...
27942 (__x86_raw_data_cache_size_half): This.
27943 (__x86_64_shared_cache_size): Renamed to ...
27944 (__x86_shared_cache_size): This.
27945 (__x86_64_raw_shared_cache_size): Renamed to ...
27946 (__x86_raw_shared_cache_size): This.
27947 (__x86_64_shared_cache_size_half): Renamed to ...
27948 (__x86_shared_cache_size_half): This.
27949 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27950 (__x86_raw_shared_cache_size_half): This.
27951 * sysdeps/x86_64/memcpy.S: Updated.
27952 * sysdeps/x86_64/memset.S: Likewise.
27953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27957 2013-01-04 David S. Miller <davem@davemloft.net>
27959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27961 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27963 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27964 1 to avoid redefinition warning.
27965 (__USE_GNU): Don't define.
27966 (init_signaling_nan): Protoize.
27968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27970 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27972 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27974 (__cpymn): Likewise.
27975 (norm): Remove commented code.
27976 (denorm): Likewise.
27977 (__mp_dbl): Likewise.
27979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27980 (__cpymn): Likewise.
27981 (norm): Remove commented code.
27982 (denorm): Likewise.
27983 (__mp_dbl): Likewise.
27986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27987 mp_no value for 1.0 and 2.0.
27988 (norm): Use RADIXI instead of radixi.d.
27989 (denorm): Likewise.
27990 (__mul): Use 0.0 instead of zero.d.
27991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27992 mp_no value for 1.0 and 2.0.
27993 (norm): Use RADIXI instead of radixi.d.
27994 (denorm): Likewise.
27995 (__mul): Use 0.0 instead of zero.d.
27997 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28000 * math/s_casinh.c (__casinh): Reduce finite argument to first
28001 quadrant then set signs of results at the end.
28002 * math/s_casinhf.c (__casinhf): Likewise.
28003 * math/s_casinhl.c (__casinhl): Likewise.
28004 * math/libm-test.inc (casin_test): Add more tests.
28005 (casinh_test): Likewise.
28006 * sysdeps/i386/fpu/libm-test-ulps: Update.
28007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28009 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28011 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28013 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28015 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28017 (denorm): Likewise.
28018 (__mp_dbl): Likewise.
28021 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28022 and adjust the header comment.
28024 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28025 variable name from declaration.
28027 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28030 Initialize COMMON_CPUID_INDEX_7 element.
28031 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28032 (CPUID_RTM): Likewise.
28033 (HAS_RTM): Likewise.
28034 (COMMON_CPUID_INDEX_7): New enum.
28036 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28039 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28040 size is zero, record memory as freed.
28042 2013-01-03 Andreas Jaeger <aj@suse.de>
28044 * po/ia.po: Add new Interlingua translation.
28046 2012-01-03 Allan McRae <allan@archlinux.org>
28048 * locale/programs/localedef.c: Fix description of '--posix' flag.
28050 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28052 * NEWS: Update dates in second copyright notice.
28053 * README: Update copyright dates in example.
28054 * manual/libc.texinfo: Update copyright dates.
28055 * scripts/test-installation.pl: Update copyright date in --version
28058 * hurd/ctty-input.c: Fix copyright notice formatting.
28059 * hurd/ctty-output.c: Likewise.
28060 * hurd/dtable.c: Likewise.
28061 * hurd/hurd-raise.c: Likewise.
28062 * hurd/hurdprio.c: Likewise.
28063 * hurd/msgportdemux.c: Likewise.
28064 * misc/sys/file.h: Likewise.
28065 * misc/sys/ioctl.h: Likewise.
28066 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28067 * sysdeps/mach/hurd/chdir.c: Likewise.
28068 * sysdeps/mach/hurd/fchdir.c: Likewise.
28069 * sysdeps/mach/hurd/rename.c: Likewise.
28070 * sysdeps/mach/hurd/rmdir.c: Likewise.
28071 * sysdeps/mach/hurd/seekdir.c: Likewise.
28072 * sysdeps/mach/hurd/setsid.c: Likewise.
28073 * sysdeps/posix/wait3.c: Likewise.
28075 * All files with FSF copyright notices: Update copyright dates
28076 using scripts/update-copyrights.
28077 * intl/plural.c: Regenerated.
28078 * locale/programs/charmap-kw.h: Likewise.
28079 * locale/programs/locfile-kw.h: Likewise.
28081 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28087 calculation loop and add branch prediction.
28089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28090 check access beyond bounds of m1np.
28092 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28094 (__inv): Remove local variable MPTWO to use the global
28096 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28097 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28100 MP3HALFS static const.
28102 2013-01-01 David S. Miller <davem@davemloft.net>
28104 * po/ca.po: Update from translation team.
28106 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28108 * scripts/update-copyrights: New file.
28109 * Makeconfig: Reformat copyright notice.
28110 * ctype/ctype.h: Likewise.
28111 * debug/swprintf_chk.c: Likewise.
28112 * elf/dl-cache.c: Likewise.
28113 * elf/dl-debug.c: Likewise.
28114 * elf/dl-object.c: Likewise.
28115 * grp/initgroups.c: Likewise.
28116 * hurd/Makefile: Likewise.
28117 * hurd/hurd/signal.h: Likewise.
28118 * hurd/hurdfault.c: Likewise.
28119 * hurd/hurdioctl.c: Likewise.
28120 * hurd/hurdlookup.c: Likewise.
28121 * hurd/intr-msg.c: Likewise.
28122 * iconv/gconv_open.c: Likewise.
28123 * libio/swprintf.c: Likewise.
28124 * locale/lc-ctype.c: Likewise.
28125 * locale/nl_langinfo.c: Likewise.
28126 * mach/Machrules: Likewise.
28127 * mach/Makefile: Likewise.
28128 * malloc/obstack.h: Likewise.
28129 * manual/Makefile: Likewise.
28130 * manual/tsort.awk: Likewise.
28131 * misc/bits/stab.def: Likewise.
28132 * nis/nis_print_group_entry.c: Likewise.
28133 * nis/nis_table.c: Likewise.
28134 * nis/nss_compat/compat-pwd.c: Likewise.
28135 * nis/nss_compat/compat-spwd.c: Likewise.
28136 * po/Makefile: Likewise.
28137 * posix/fnmatch.c: Likewise.
28138 * posix/regex.h: Likewise.
28139 * resolv/Makefile: Likewise.
28140 * resolv/nss_dns/dns-network.c: Likewise.
28141 * resolv/res_hconf.c: Likewise.
28142 * scripts/gen-sorted.awk: Likewise.
28143 * soft-fp/soft-fp.h: Likewise.
28144 * stdio-common/printf.h: Likewise.
28145 * stdlib/monetary.h: Likewise.
28146 * stdlib/random.c: Likewise.
28147 * stdlib/random_r.c: Likewise.
28148 * sysdeps/generic/Makefile: Likewise.
28149 * sysdeps/gnu/Makefile: Likewise.
28150 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28178 * sysdeps/mach/hurd/errnos.awk: Likewise.
28179 * sysdeps/mach/hurd/fork.c: Likewise.
28180 * sysdeps/mach/hurd/getcwd.c: Likewise.
28181 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28182 * sysdeps/mach/hurd/mmap.c: Likewise.
28183 * sysdeps/mach/hurd/utimes.c: Likewise.
28184 * sysdeps/mach/hurd/xmknod.c: Likewise.
28185 * sysdeps/posix/profil.c: Likewise.
28186 * sysdeps/posix/readdir_r.c: Likewise.
28187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28188 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28189 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28190 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28192 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28193 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28194 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28196 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28198 * sysdeps/pthread/lio_listio.c: Likewise.
28199 * sysdeps/sparc/dl-procinfo.h: Likewise.
28200 * sysdeps/unix/i386/sysdep.S: Likewise.
28201 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28202 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28203 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28204 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28206 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28207 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28208 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28209 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28210 * sysdeps/wordsize-32/divdi3.c: Likewise.
28211 * time/sys/time.h: Likewise.
28212 * wcsmbs/Makefile: Likewise.
28214 2013-01-01 David S. Miller <davem@davemloft.net>
28216 * po/fr.po: Update from translation team.
28218 * catgets/gencat.c: Update copyright year.
28219 * csu/version.c: Likewise.
28220 * debug/catchsegv.sh: Likewise.
28221 * debug/pcprofiledump.c: Likewise.
28222 * debug/xtrace.sh: Likewise.
28223 * elf/ldconfig.c: Likewise.
28224 * elf/ldd.bash.in: Likewise.
28225 * elf/pldd.c: Likewise.
28226 * elf/sotruss.ksh: Likewise.
28227 * elf/sprof.c: Likewise.
28228 * iconv/iconv_prog.c: Likewise.
28229 * iconv/iconvconfig.c: Likewise.
28230 * locale/programs/locale.c: Likewise.
28231 * locale/programs/localedef.c: Likewise.
28232 * login/programs/pt_chown.c: Likewise.
28233 * malloc/memusage.sh: Likewise.
28234 * malloc/memusagestat.c: Likewise.
28235 * malloc/mtrace.pl: Likewise.
28236 * nscd/nscd.c: Likewise.
28237 * nss/getent.c: Likewise.
28238 * nss/makedb.c: Likewise.
28239 * posix/getconf.c: Likewise.
28241 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28243 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28246 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28248 * math/bits/mathcalls.h (modf): Use __nonnull.
28250 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28252 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28253 (split): Use macro CN instead of the bare value.
28254 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28257 instead of the bare value.
28258 (power1): Likewise.
28260 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28262 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28264 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28266 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28268 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28270 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28271 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28273 2012-12-28 Andreas Jaeger <aj@suse.de>
28275 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28276 values are from Linux 3.7.
28278 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28279 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28281 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28283 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28286 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28288 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28289 variables with preprocessor constants.
28290 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28291 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28292 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28294 2012-12-27 Bruno Haible <bruno@clisp.org>
28297 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28300 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28303 and use variable directly.
28304 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28306 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28308 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28313 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28314 include directive. Remove local variable MPONE.
28315 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28316 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28319 2012-12-25 David S. Miller <davem@davemloft.net>
28321 * version.h (RELEASE): Set to "development".
28322 (VERSION): Set to "2.17.90".
28323 * NEWS: Add 2.18 section.
28325 2012-12-21 David S. Miller <davem@davemloft.net>
28327 * po/hr.po: Update from translation team.
28329 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28331 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28333 2012-12-19 Steve Ellcey <sellcey@mips.com>
28335 * NEWS: Mention new memcpy for MIPS.
28337 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28339 * manual/contrib.texi (Contributors): Spelling correction.
28341 2012-12-15 David S. Miller <davem@davemloft.net>
28343 * po/ru.po: Update from translation team.
28345 2012-12-13 David S. Miller <davem@davemloft.net>
28347 * NEWS: Mention IFUNC testsuite enhancements.
28349 * po/pl.po: Update from translation team.
28350 * po/bg.po: Likewise.
28352 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28353 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28355 2012-12-11 David S. Miller <davem@davemloft.net>
28357 * po/sv.po: Update from translation team.
28359 * po/vi.po: Update from translation team.
28361 * po/cs.po: Update from translation team.
28363 * po/de.po: Update from translation team.
28364 * po/eo.po: Likewise.
28365 * po/nl.po: Likewise.
28367 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28370 * manual/argp.texi (Argp Helper Functions): Move node to follow
28371 Argp Parsing State.
28374 * manual/conf.texi (Limits on File System Capacity): Mention if
28375 terminating null is included in the max size.
28377 2012-12-10 Andreas Jaeger <aj@suse.de>
28379 * po/cs.po: Update from translation team.
28381 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28383 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28384 void pointer and cast to uintptr_t.
28385 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28387 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28388 * sysdeps/s390/s390-64/memset.S: Likewise.
28390 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28393 * menual/message.texi (Message Translation): Fix typos.
28394 (Helper programs for gettext): Likewise.
28396 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28399 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28402 2012-12-07 David S. Miller <davem@davemloft.net>
28404 * po/libc.pot: Update.
28406 2012-12-07 Richard Henderson <rth@redhat.com>
28409 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28410 normal/normal case to before the switch.
28411 (_FP_DIV): Likewise.
28413 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28414 Mike Frysinger <vapier@gentoo.org>
28416 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28417 check for __NR_fadvise64_64.
28419 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28421 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28422 0, not just to plain "0" as a statement.
28423 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28426 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28428 * NEWS: Use sourceware.org in Bugzilla URL.
28430 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28433 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28435 * stdio-common/tst-put-error.c (do_test): Add newline to the
28436 padded test to ensure flush.
28438 2012-12-05 Jeff Law <law@redhat.com>
28440 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28442 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28444 * README: Don't refer to ports add-on as distributed separately.
28445 Mention AArch64 in list of systems supported in the ports add-on.
28447 * LICENSES: Add more non-FSF copyright and license notices.
28449 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28454 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28455 10000 as width of padded output.
28457 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28459 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28461 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28462 variable LX with __attribute__ ((unused)).
28463 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28465 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28468 with __attribute__ ((unused)).
28470 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28472 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28474 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28476 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28477 (CFLAGS-nldbl-acos.c): New variable.
28478 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28496 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28497 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28498 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28499 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28500 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28501 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28502 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28503 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28504 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28505 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28506 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28509 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28510 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28511 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28512 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28513 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28514 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28515 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28516 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28517 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28518 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28519 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28520 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28521 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28522 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28523 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28524 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28525 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28526 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28527 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28528 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28529 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28530 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28531 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28532 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28533 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28534 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28535 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28536 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28537 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28538 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28539 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28540 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28541 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28542 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28543 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28544 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28545 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28546 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28547 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28548 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28549 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28550 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28551 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28552 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28553 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28554 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28555 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28556 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28557 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28558 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28559 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28560 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28561 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28562 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28563 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28564 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28565 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28566 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28567 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28568 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28569 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28570 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28571 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28572 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28573 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28574 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28577 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28580 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28581 whole low double instead of just low 47 bits when splitting values
28584 2012-12-03 Allan McRae <allan@archlinux.org>
28586 * manual/stdio.texi (Predefined Printf Handlers): Remove
28587 @hsep and @vsep usage.
28589 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28591 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28592 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28594 2012-12-03 Jeff Law <law@redhat.com>
28596 * time/sys/time.h (settimeofday): Do not mark TV argument
28599 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28601 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28602 when currently writing and seek to current position when not.
28603 * libio/Makefile (tests): Remove bug-fclose1.
28604 * libio/bug-fclose1.c: Delete.
28606 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28608 * manual/arith.texi (feenableexcept): Fix typo.
28609 (fedisableexcept): Likewise.
28611 2012-11-30 Roland McGrath <roland@hack.frob.com>
28613 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28614 second, differently-typed declaration, rather than a cast.
28616 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28618 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28619 * include/rpc/svc.h: ... here.
28621 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28624 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28625 depending n and resplen2 to catch cases where answer
28628 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28630 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28631 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28633 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28637 2012-11-29 Roland McGrath <roland@hack.frob.com>
28639 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28641 2012-11-28 Jeff Law <law@redhat.com>
28644 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28645 dataset_temporary. Track alloca usage into alloca_used.
28646 If dataset is large allocate and release it via malloc/free.
28648 2012-06-04 Florian Weimer <fweimer@redhat.com>
28651 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28653 2012-11-28 David S. Miller <davem@davemloft.net>
28655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28657 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28660 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28661 of pi/2 rounded to nearest to 64 bits.
28662 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28663 nearest to 64 bits.
28664 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28667 2012-11-28 Jeff Law <law@redhat.com>
28668 Martin Osvald <mosvald@redhat.com>
28671 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28672 * sunrpc/svc.c: Include time.h.
28673 (__svc_accept_failed): New function.
28674 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28675 any reason other than EINTR, call __svc_accept_failed.
28676 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28677 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28679 2012-11-28 Andreas Schwab <schwab@suse.de>
28681 * scripts/abilist.awk: Also handle indirect functions in .opd
28684 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28687 * sysdeps/x86/fpu/powl_helper.c: New file.
28688 * sysdeps/x86/fpu/Makefile: Likewise.
28689 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28691 (__ieee754_powl): Use __powl_helper for finite arguments except
28692 integer exponents below 8.
28693 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28695 (__ieee754_powl): Use __powl_helper for finite arguments except
28696 integer exponents below 8.
28697 * math/libm-test.inc (pow_test): Add more tests and enable some
28698 previously disabled tests.
28699 * sysdeps/i386/fpu/libm-test-ulps: Update.
28700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28702 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28703 Carlos O'Donell <carlos_odonell@mentor.com>
28705 * nss/makedb.c (is_prime): Assert that input is odd and greater
28706 than 4. Note that fact in a comment too.
28707 (next_prime): Add 4 to input.
28709 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28712 * libio/Makefile (tests): Add test case tst-fwrite-error.
28713 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28714 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28715 * libio/tst-fwrite-error.c: New test case.
28717 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28719 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28720 before casting to void *.
28721 * include/libc-internal.h (__pointer_type): New macro.
28722 (__integer_if_pointer_type_sub): Likewise.
28723 (__integer_if_pointer_type): Likewise.
28724 (cast_to_integer): Likewise.
28725 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28726 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28727 before casting to atomic64_t.
28728 (atomic_exchange_acq): Likewise.
28729 (__arch_exchange_and_add_body): Likewise.
28730 (__arch_add_body): Likewise.
28731 (atomic_add_negative): Likewise.
28732 (atomic_add_zero): Likewise.
28734 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28736 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28737 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28738 (add_fdes): Likewise.
28739 (linear_search_fdes): Likewise.
28740 (binary_search_unencoded_fdes): Likewise.
28742 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28744 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28746 2012-11-24 Adam Conrad <adconrad@0c3.net>
28748 * configure.in: Autodetect C++ header directories.
28749 * configure: Regenerated.
28751 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28753 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28755 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28759 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28761 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28762 LDBL_MANT_DIG == 106]: Disable some tests.
28763 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28765 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28770 input for small inputs. Return +/- pi/2 for large inputs.
28771 * math/libm-test.inc (atan_test): Add more tests.
28773 * sysdeps/generic/unwind-dw2-fde-glibc.c
28774 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28775 __attribute__ ((unused)).
28778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28779 x * y if x and y are nonzero and z is zero.
28782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28783 nonzero exponents with absolute value below 0x1p-117 to +/-
28787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28788 up arguments below 2**-450, not just those below 2**-500.
28789 * math/libm-test.inc (hypot_test): Add another test.
28792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28793 Return a+b for ratio over 2**120, not 2**60.
28794 * math/libm-test.inc (hypot_test): Add another test.
28796 * math/libm-test.inc (clog_test): Use
28797 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28798 (clog10_test): Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28803 2012-11-22 Andreas Schwab <schwab@suse.de>
28805 * sysdeps/i386/fpu/libm-test-ulps: Update.
28807 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28809 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28810 printf output with newline.
28812 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28815 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28816 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28817 -z nodlopen, -z initfirst and -z execstack support.
28818 * configure: Regenerated.
28820 * elf/elf.h (DF_1_NODIRECT): New macro.
28821 (DF_1_IGNMULDEF): Likewise.
28822 (DF_1_NOKSYMS): Likewise.
28823 (DF_1_NOHDR): Likewise.
28824 (DF_1_EDITED): Likewise.
28825 (DF_1_NORELOC): Likewise.
28826 (DF_1_SYMINTPOSE): Likewise.
28827 (DF_1_GLOBAUDIT): Likewise.
28828 (DF_1_SINGLETON): Likewise.
28829 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28830 DT_1_SUPPORTED_MASK bits.
28831 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28833 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28835 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28837 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28839 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28842 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28843 (sendmmsg): Move declarations...
28844 * socket/sys/socket.h: ... here.
28845 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28846 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28848 * socket/recvmmsg.c: ... this new file.
28849 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28850 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28851 definition of __sendmmsg hidden.
28852 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28853 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28854 Move ENOSYS stub into and include it from...
28855 * socket/sendmmsg.c: ... this new file.
28856 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28857 (sysdep_routines): Move recvmmsg and sendmmsg...
28858 * socket/Makefile (routines): ... here.
28859 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28860 (GLIBC_PRIVATE): Add __sendmmsg.
28861 * include/sys/socket.h (__sendmmsg): Add declarations.
28862 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28865 2012-11-20 Joseph Myers <joseph@codesourcery.com>
28867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28868 variable I1 with __attribute__ ((unused)).
28869 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28871 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28873 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28874 DUMMY variables with __attribute__ ((unused)).
28876 * bits/byteswap.h: Include <bits/types.h>.
28877 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28879 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28881 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28882 string_t. Do not manually set errno.
28883 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28884 length with __strnlen. Make sure to both set errno and return it on
28887 2012-11-19 David S. Miller <davem@davemloft.net>
28889 With help from Joseph Myers.
28890 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28891 very large arguments properly.
28892 * math/libm-test.inc (atan_test): New tests.
28893 (atan2_test): New tests.
28894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28897 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28900 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28903 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28904 [POSIX] (EADDRNOTAVAIL): Likewise.
28905 [POSIX] (EAFNOSUPPORT): Likewise.
28906 [POSIX] (EALREADY): Likewise.
28907 [POSIX] (ECONNABORTED): Likewise.
28908 [POSIX] (ECONNREFUSED): Likewise.
28909 [POSIX] (ECONNRESET): Likewise.
28910 [POSIX] (EDESTADDRREQ): Likewise.
28911 [POSIX] (EDQUOT): Likewise.
28912 [POSIX] (EHOSTUNREACH): Likewise.
28913 [POSIX] (EIDRM): Likewise.
28914 [POSIX] (EISCONN): Likewise.
28915 [POSIX] (ELOOP): Likewise.
28916 [POSIX] (EMULTIHOP): Likewise.
28917 [POSIX] (ENETDOWN): Likewise.
28918 [POSIX] (ENETUNREACH): Likewise.
28919 [POSIX] (ENOBUFS): Likewise.
28920 [POSIX] (ENODATA): Likewise.
28921 [POSIX] (ENOLINK): Likewise.
28922 [POSIX] (ENOMSG): Likewise.
28923 [POSIX] (ENOPROTOOPT): Likewise.
28924 [POSIX] (ENOSR): Likewise.
28925 [POSIX] (ENOSTR): Likewise.
28926 [POSIX] (ENOTCONN): Likewise.
28927 [POSIX] (ENOTSOCK): Likewise.
28928 [POSIX] (EOPNOTSUPP): Likewise.
28929 [POSIX] (EOVERFLOW): Likewise.
28930 [POSIX] (EPROTO): Likewise.
28931 [POSIX] (EPROTONOSUPPORT): Likewise.
28932 [POSIX] (EPROTOTYPE): Likewise.
28933 [POSIX] (ESTALE): Likewise.
28934 [POSIX] (ETIME): Likewise.
28935 [POSIX] (ETXTBSY): Likewise.
28936 [POSIX] (EWOULDBLOCK): Likewise.
28937 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28938 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28939 [POSIX] (SEEK_CUR): Likewise.
28940 [POSIX] (SEEK_END): Likewise.
28941 [POSIX || UNIX98] (mode_t): Do not require.
28942 [POSIX] (off_t): Likewise.
28943 [POSIX] (pid_t): Likewise.
28944 [POSIX] (sys/stat.h): Do not allow header.
28945 [POSIX] (unistd.h): Likewise.
28946 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28947 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28948 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28949 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28951 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28952 sigevent): Specify elements.
28953 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28955 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28956 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28958 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28959 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28960 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28961 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28962 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28963 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28964 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28965 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28966 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28967 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28968 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28969 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28970 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28977 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28979 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28982 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28983 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28984 Specify lower bound on value.
28985 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28986 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28987 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28988 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28989 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28990 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28991 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28992 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28994 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28996 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28997 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28998 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28999 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29000 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29001 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29002 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29003 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29004 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29005 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29006 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29007 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29008 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29009 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29010 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29011 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29013 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29015 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29016 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29017 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29018 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29019 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29022 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29023 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29024 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29025 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29026 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29027 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29032 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29033 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29034 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29035 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29036 specify as optional.
29037 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29038 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29039 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29040 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29041 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29042 [XPG3] (NL_LANGMAX): Likewise.
29043 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29044 [POSIX || XPG3] (NL_NMAX): Likewise.
29045 [POSIX || XPG3] (NL_SETMAX): Likewise.
29046 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29047 [XPG3] (NZERO): Likewise.
29048 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29049 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29050 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29051 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29052 (REG_ERANGE): Expect.
29053 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29055 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29056 Use (void) in prototype.
29057 [POSIX] (*_t): Allow.
29058 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29059 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29060 (WRDE_BADVAL): Expect.
29062 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29064 [XPG3 || XPG4] (O_RSYNC): Likewise.
29065 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29067 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29068 [XPG3 || XPG4] (sigqueue): Likewise.
29069 [XPG3 || XPG4] (sigtimedwait): Likewise.
29070 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29071 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29072 [XPG3 || XPG4] (vsnprintf): Likewise.
29073 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29075 [XPG3 || XPG4] (blksize_t): Likewise.
29076 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29078 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29079 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29080 [XPG3 || XPG4] (struct itimerspec): Likewise.
29081 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29082 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29083 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29084 [XPG3 || XPG4] (clockid_t): Likewise.
29085 [XPG3 || XPG4] (timer_t): Likewise.
29086 [XPG3 || XPG4] (clock_getres): Likewise.
29087 [XPG3 || XPG4] (clock_gettime): Likewise.
29088 [XPG3 || XPG4] (clock_settime): Likewise.
29089 [XPG3 || XPG4] (nanosleep): Likewise.
29090 [XPG3 || XPG4] (timer_create): Likewise.
29091 [XPG3 || XPG4] (timer_delete): Likewise.
29092 [XPG3 || XPG4] (timer_gettime): Likewise.
29093 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29094 [XPG3 || XPG4] (timer_settime): Likewise.
29095 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29096 [XPG3 || XPG4] (getlogin_r): Likewise.
29097 [XPG3 || XPG4] (pread): Likewise.
29098 [XPG3 || XPG4] (pthread_atfork): Likewise.
29099 [XPG3 || XPG4] (pwrite): Likewise.
29102 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29105 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29107 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29108 finalizing MALLSTREAM.
29110 * sysdeps/mach/hurd/syncfs.c: New file.
29112 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29115 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29116 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29118 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29119 (_nss_dns_gethostbyname4_r): Likewise.
29120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29121 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29123 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29126 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29128 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29130 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29131 * elf/cache.c (print_entry): Print ",AArch64" for
29134 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29135 * elf/cache.c (print_entry): Print ",hard-float" for
29138 2012-11-18 David S. Miller <davem@davemloft.net>
29140 With help from Joseph Myers.
29141 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29143 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29145 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29146 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29148 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29149 * math/libm-test.inc (y0_test): New tests.
29150 (y1_test): New tests.
29151 * sysdeps/i386/fpu/libm-test-ulps: Update.
29152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29155 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29157 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29159 * configure: Regenerated.
29161 2012-11-17 David S. Miller <davem@davemloft.net>
29164 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29165 nonzero exponents with absolute value below 0x1p-128 to +/-
29168 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29170 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29172 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29174 * posix/getconf-speclist.c: New file.
29175 * posix/posix-envs.def: Likewise.
29176 * posix/confstr.c (START_ENV_GROUP): New macro.
29177 (END_ENV_GROUP): Likewise.
29178 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29179 (KNOWN_PRESENT_ENV_STRING): Likewise.
29180 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29181 (UNKNOWN_ENVIRONMENT): Likewise.
29182 (confstr): Include posix-envs.def instead of handling
29183 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29184 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29185 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29186 (END_ENV_GROUP): Likewise.
29187 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29188 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29189 (UNKNOWN_ENVIRONMENT): Likewise.
29190 (__sysconf): Include posix-envs.def instead of handling associated
29191 cases directly here.
29192 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29193 preprocessing getconf-speclist.c rather than running getconf or
29194 generating empty file.
29196 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29198 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29200 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29203 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29205 2012-11-16 David S. Miller <davem@davemloft.net>
29207 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29208 smaller than LDBL_EPSILON/2.0L, just return xm1.
29210 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29212 * elf/tst-array1.c (init): Set constructor priority to 1000.
29213 (fini): Set destructor priority to 1000.
29214 * elf/tst-array2dep.c: Likewise.
29216 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29219 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29220 (_IO_new_file_xsputn): Also return EOF if none of the input
29221 data was written when overflow failed.
29222 * libio/iopadn.c (_IO_padn): Likewise.
29223 * libio/iowpadn.c (_IO_wpadn): Likewise.
29224 * stdio-common/tst-put-error.c: Add copyright notice.
29225 (do_test): Add case for printing padded string.
29226 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29227 _IO_padn returned error.
29228 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29229 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29232 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29234 * libio/libioP.h: Add comment note that the references to C++
29235 bits are now obsolete.
29237 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29239 * math/libm-test.inc (check_complex): Use asprintf.
29241 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29243 * debug/pcprofiledump.c (print_version): Update copyright year.
29244 * malloc/memusagestat.c (print_version): Likewise.
29246 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29249 * elf/Makefile (tests): Add tst-audit8.
29250 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29251 ($(objpfx)tst-audit8.out): New target.
29252 (tst-audit8-ENV): New variable.
29253 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29254 audit if l_reloc_result is NULL.
29255 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29256 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29257 * elf/tst-audit8.c: New file.
29259 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29261 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29262 * misc/Makefile (CFLAGS-select.c): Define.
29263 * posix/Makefile (CFLAGS-pause.c): Define.
29265 2012-11-13 David S. Miller <davem@davemloft.net>
29267 * crypt/Makefile: Move test targets after toplevel Rules
29268 inclusion. Grab any necessary sysdep routines when linking.
29269 * crypt/md5.c (md5_process_block): Remove define, we will always
29270 name it __md5_process_block.
29271 (md5_finish_ctx): Update md5_process_block call.
29272 (md5_stream): Likewise.
29273 (md5_process_bytes): Likewise.
29274 (md5_process_block): Rename to __md5_process_block and move to ...
29275 * crypt/md5-block.c: ... here.
29276 * crypt/sha256.c (sha256_process_block): Move to ...
29277 * crypt/sha256-block.c: ... here.
29278 * crypt/sha512.c (sha512_process_block): Move to ...
29279 * crypt/sha512-block.c: ... here.
29280 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29282 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29283 * sysdeps/sparc/sparc64/multiarch/Makefile
29284 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29286 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29287 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29289 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29290 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29291 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29292 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29293 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29294 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29295 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29296 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29299 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29302 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29304 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29306 * timezone/tzselect.ksh: Update from tzcode git revision
29307 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29308 * timezone/zdump.c: Likewise.
29309 * timezone/zic.c: Likewise.
29310 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29311 in TZVERSION setting, not $(PKGVERSION).
29312 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29313 REPORT_BUGS_TO settings.
29316 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29319 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29321 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29322 detection to immediately after _FP_ROUND().
29323 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29326 2012-11-11 David S. Miller <davem@davemloft.net>
29328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29330 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29331 __close rather than their public counterparts.
29333 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29335 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29337 [UNIX98] (sem_timedwait): Do not expect.
29338 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29339 [XPG4 || UNIX98] (sockatmark): Do not expect.
29340 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29341 (clock_getcpuclockid): Do not expect.
29342 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29343 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29345 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29346 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29347 [UNIX98] (vwscanf): Likewise.
29348 [UNIX98] (vswscanf): Likewise.
29350 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29352 * timezone/version.h: Remove file.
29353 * timezone/README: Do not refer to version.h.
29354 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29355 $(objpfx)version.h.
29356 ($(objpfx)zdump.o): Likewise.
29357 ($(objpfx)version.h): New target.
29359 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29361 * timezone/README: Don't mention modification to tzselect.ksh.
29362 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29363 work on unmodified tzselect.ksh. Substitute version numbers in
29366 * Makefile (format-me): Remove.
29367 (INSTALL): Adjust indentation. Use commands directly instead of
29368 using $(format-me).
29370 * aclocal.m4 (ACX_PKGVERSION): New macro.
29371 (ACX_BUGURL): Likewise.
29372 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29373 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29374 (REPORT_BUGS_TO): Likewise.
29375 * configure: Regenerated.
29376 * config.h.in (PKGVERSION): New macro.
29377 (REPORT_BUGS_TO): Likewise.
29378 * config.make.in (PKGVERSION): New variable.
29379 (PKGVERSION_TEXI): Likewise.
29380 (REPORT_BUGS_TO): Likewise.
29381 (REPORT_BUGS_TEXI): Likewise.
29382 * Makefile (format-me): Use -I$(common-objpfx)manual.
29383 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29384 ($(common-objpfx)manual/%): New target.
29385 (manual/%): Remove target.
29386 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29387 (print_version): Use PKGVERSION.
29388 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29389 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29390 and REPORT_BUGS_TO.
29391 ($(objpfx)xtrace): Likewise.
29392 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29393 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29394 (print_version): Use PKGVERSION.
29395 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29396 (do_version): Use PKGVERSION.
29397 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29399 (common-ldd-rewrite): Likewise.
29400 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29401 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29402 (print_version): Use PKGVERSION.
29403 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29404 * elf/pldd.c (argp_program_bug_address): Remove variable.
29405 (more_help): New function.
29406 (argp): Use more_help.
29407 (print_version): Use PKGVERSION.
29408 * elf/sln.c (main): Use PKGVERSION.
29409 (usage): Use REPORT_BUGS_TO.
29410 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29411 (top level): Use PKGVERSION.
29412 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29413 (print_version): Use PKGVERSION.
29414 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29415 (print_version): Use PKGVERSION.
29416 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29417 (print_version): Use PKGVERSION.
29418 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29419 (print_version): Use PKGVERSION.
29420 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29421 (print_version): Use PKGVERSION.
29422 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29423 (print_version): Use PKGVERSION.
29424 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29426 ($(objpfx)memusage): Likewise.
29427 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29428 (do_version): Use PKGVERSION.
29429 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29430 (print_version): Use PKGVERSION.
29431 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29432 ($PKGVERSION): New variable.
29433 ($REPORT_BUGS_TO): Likewise.
29434 (usage): Use $REPORT_BUGS_TO.
29435 (top level): Use $PKGVERSION.
29436 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29437 ($(objpfx)pkgvers.texi): New rule.
29438 ($(objpfx)stamp-pkgvers): Likewise.
29439 * manual/install.texi: Include pkgvers.texi.
29440 (--with-pkgversion): Document new configure option.
29441 (--with-bugurl): Likewise.
29442 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29443 than necessarily for this particular distribution. Use
29444 REPORT_BUGS_TO for where to report bugs.
29445 * INSTALL: Regenerated.
29446 * manual/libc.texinfo: Include pkgvers.texi.
29447 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29448 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29449 (print_version): Use PKGVERSION.
29450 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29451 (print_version): Use PKGVERSION.
29452 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29453 (print_version): Use PKGVERSION.
29454 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29455 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29457 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29458 (print_version): Use PKGVERSION.
29459 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29460 (print_version): Use PKGVERSION.
29461 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29464 * timezone/checktab.awk: Update from tzcode 2012i.
29465 * timezone/ialloc.c: Likewise.
29466 * timezone/private.h: Likewise.
29467 * timezone/scheck.c: Likewise.
29468 * timezone/tzfile.h: Likewise.
29469 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29470 (TZVERSION): Hardcode tzcode version number.
29471 * timezone/zdump.c: Update from tzcode 2012i.
29472 * timezone/zic.c: Likewise.
29473 * timezone/version.h: New file.
29474 * timezone/README: Describe version.h. Update upstream location.
29477 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29478 (mktemp): Enable declaration.
29479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29496 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29497 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29498 for copies of such integer values.
29499 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29500 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29502 2012-11-09 Andreas Jaeger <aj@suse.de>
29504 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29505 definitions and declarations that are provided by
29506 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29508 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29510 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29511 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29512 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29515 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29517 * elf/elf.h: Update comment before AArch64 relocations.
29519 2012-11-07 David S. Miller <davem@davemloft.net>
29521 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29522 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29523 (__start_context): Declare.
29524 (__makecontext_ret): Delete.
29525 (__makecontext): Hook up __start_context instead of
29527 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29528 (sysdep_routines): Add __start_context when in stdlib.
29530 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29532 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29533 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29534 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29536 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29537 (READELF): New variable. Use it instead of hardcoded "readelf".
29539 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29541 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29542 * sysdeps/x86/Makefile: Here.
29543 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29544 * sysdeps/x86/tst-xmmymm.sh: This.
29546 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29548 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29550 [UNIX98] (pthread_barrier_t): Do not expect.
29551 [UNIX98] (pthread_barrierattr_t): Likewise.
29552 [UNIX98] (pthread_spinlock_t): Likewise.
29553 [UNIX98] (pthread_barrier_destroy): Likewise.
29554 [UNIX98] (pthread_barrier_init): Likewise.
29555 [UNIX98] (pthread_barrier_wait): Likewise.
29556 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29557 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29558 [UNIX98] (pthread_barrierattr_init): Likewise.
29559 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29560 [UNIX98] (pthread_getcpuclockid): Likewise.
29561 [UNIX98] (pthread_mutex_timedlock): Likewise.
29562 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29563 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29564 [UNIX98] (pthread_sigmask): Likewise.
29565 [UNIX98] (pthread_spin_destroy): Likewise.
29566 [UNIX98] (pthread_spin_init): Likewise.
29567 [UNIX98] (pthread_spin_lock): Likewise.
29568 [UNIX98] (pthread_spin_trylock): Likewise.
29569 [UNIX98] (pthread_spin_unlock): Likewise.
29570 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29572 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29574 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29575 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29576 [XPG3 || XPG4] (pthread_key_t): Likewise.
29577 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29578 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29579 [XPG3 || XPG4] (pthread_once_t): Likewise.
29580 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29581 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29582 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29583 [XPG3 || XPG4] (pthread_t): Likewise.
29585 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29587 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29589 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29590 Change function return type to int.
29592 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29593 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29594 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29595 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29596 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29597 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29598 [!POSIX] (posix_madvise): Likewise.
29599 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29601 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29602 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29603 (mode_t): Likewise.
29604 (posix_mem_offset): Likewise.
29605 (posix_typed_mem_get_info): Likewise.
29606 (posix_typed_mem_open): Likewise.
29608 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29609 Change condition to [XOPEN2K8].
29611 * conform/conformtest.pl: Preprocess allow-header data with -x c
29612 instead of from stdin.
29613 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29614 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29615 [C99-based standards] (cerfc): Likewise.
29616 [C99-based standards] (cexp2): Likewise.
29617 [C99-based standards] (cexpm1): Likewise.
29618 [C99-based standards] (clog10): Likewise.
29619 [C99-based standards] (clog1p): Likewise.
29620 [C99-based standards] (clog2): Likewise.
29621 [C99-based standards] (clgamma): Likewise.
29622 [C99-based standards] (ctgamma): Likewise.
29623 [C99-based standards] (cerff): Likewise.
29624 [C99-based standards] (cerfcf): Likewise.
29625 [C99-based standards] (cexp2f): Likewise.
29626 [C99-based standards] (cexpm1f): Likewise.
29627 [C99-based standards] (clog10f): Likewise.
29628 [C99-based standards] (clog1pf): Likewise.
29629 [C99-based standards] (clog2f): Likewise.
29630 [C99-based standards] (clgammaf): Likewise.
29631 [C99-based standards] (ctgammaf): Likewise.
29632 [C99-based standards] (cerfl): Likewise.
29633 [C99-based standards] (cerfcl): Likewise.
29634 [C99-based standards] (cexp2l): Likewise.
29635 [C99-based standards] (cexpm1l): Likewise.
29636 [C99-based standards] (clog10l): Likewise.
29637 [C99-based standards] (clog1pl): Likewise.
29638 [C99-based standards] (clog2l): Likewise.
29639 [C99-based standards] (clgammal): Likewise.
29640 [C99-based standards] (ctgammal): Likewise.
29641 * conform/data/inttypes.h-data [C99-based standards]: Include
29642 stdint.h-data. Remove all expectations for stdint.h contents.
29643 [C99-based standards] (PRI*): Do not allow.
29644 [C99-based standards] (SCN*): Likewise.
29645 [C99-based standards] (*_t): Likewise.
29646 [C99-based-standards] (PRId8): Expect macro.
29647 [C99-based-standards] (PRIi8): Likewise.
29648 [C99-based-standards] (PRIo8): Likewise.
29649 [C99-based-standards] (PRIu8): Likewise.
29650 [C99-based-standards] (PRIx8): Likewise.
29651 [C99-based-standards] (PRIX8): Likewise.
29652 [C99-based-standards] (SCNd8): Likewise.
29653 [C99-based-standards] (SCNi8): Likewise.
29654 [C99-based-standards] (SCNo8): Likewise.
29655 [C99-based-standards] (SCNu8): Likewise.
29656 [C99-based-standards] (SCNx8): Likewise.
29657 [C99-based-standards] (PRIdLEAST8): Likewise.
29658 [C99-based-standards] (PRIiLEAST8): Likewise.
29659 [C99-based-standards] (PRIoLEAST8): Likewise.
29660 [C99-based-standards] (PRIuLEAST8): Likewise.
29661 [C99-based-standards] (PRIxLEAST8): Likewise.
29662 [C99-based-standards] (PRIXLEAST8): Likewise.
29663 [C99-based-standards] (SCNdLEAST8): Likewise.
29664 [C99-based-standards] (SCNiLEAST8): Likewise.
29665 [C99-based-standards] (SCNoLEAST8): Likewise.
29666 [C99-based-standards] (SCNuLEAST8): Likewise.
29667 [C99-based-standards] (SCNxLEAST8): Likewise.
29668 [C99-based-standards] (PRIdFAST8): Likewise.
29669 [C99-based-standards] (PRIiFAST8): Likewise.
29670 [C99-based-standards] (PRIoFAST8): Likewise.
29671 [C99-based-standards] (PRIuFAST8): Likewise.
29672 [C99-based-standards] (PRIxFAST8): Likewise.
29673 [C99-based-standards] (PRIXFAST8): Likewise.
29674 [C99-based-standards] (SCNdFAST8): Likewise.
29675 [C99-based-standards] (SCNiFAST8): Likewise.
29676 [C99-based-standards] (SCNoFAST8): Likewise.
29677 [C99-based-standards] (SCNuFAST8): Likewise.
29678 [C99-based-standards] (SCNxFAST8): Likewise.
29679 [C99-based-standards] (PRId16): Likewise.
29680 [C99-based-standards] (PRIi16): Likewise.
29681 [C99-based-standards] (PRIo16): Likewise.
29682 [C99-based-standards] (PRIu16): Likewise.
29683 [C99-based-standards] (PRIx16): Likewise.
29684 [C99-based-standards] (PRIX16): Likewise.
29685 [C99-based-standards] (SCNd16): Likewise.
29686 [C99-based-standards] (SCNi16): Likewise.
29687 [C99-based-standards] (SCNo16): Likewise.
29688 [C99-based-standards] (SCNu16): Likewise.
29689 [C99-based-standards] (SCNx16): Likewise.
29690 [C99-based-standards] (PRIdLEAST16): Likewise.
29691 [C99-based-standards] (PRIiLEAST16): Likewise.
29692 [C99-based-standards] (PRIoLEAST16): Likewise.
29693 [C99-based-standards] (PRIuLEAST16): Likewise.
29694 [C99-based-standards] (PRIxLEAST16): Likewise.
29695 [C99-based-standards] (PRIXLEAST16): Likewise.
29696 [C99-based-standards] (SCNdLEAST16): Likewise.
29697 [C99-based-standards] (SCNiLEAST16): Likewise.
29698 [C99-based-standards] (SCNoLEAST16): Likewise.
29699 [C99-based-standards] (SCNuLEAST16): Likewise.
29700 [C99-based-standards] (SCNxLEAST16): Likewise.
29701 [C99-based-standards] (PRIdFAST16): Likewise.
29702 [C99-based-standards] (PRIiFAST16): Likewise.
29703 [C99-based-standards] (PRIoFAST16): Likewise.
29704 [C99-based-standards] (PRIuFAST16): Likewise.
29705 [C99-based-standards] (PRIxFAST16): Likewise.
29706 [C99-based-standards] (PRIXFAST16): Likewise.
29707 [C99-based-standards] (SCNdFAST16): Likewise.
29708 [C99-based-standards] (SCNiFAST16): Likewise.
29709 [C99-based-standards] (SCNoFAST16): Likewise.
29710 [C99-based-standards] (SCNuFAST16): Likewise.
29711 [C99-based-standards] (SCNxFAST16): Likewise.
29712 [C99-based-standards] (PRId32): Likewise.
29713 [C99-based-standards] (PRIi32): Likewise.
29714 [C99-based-standards] (PRIo32): Likewise.
29715 [C99-based-standards] (PRIu32): Likewise.
29716 [C99-based-standards] (PRIx32): Likewise.
29717 [C99-based-standards] (PRIX32): Likewise.
29718 [C99-based-standards] (SCNd32): Likewise.
29719 [C99-based-standards] (SCNi32): Likewise.
29720 [C99-based-standards] (SCNo32): Likewise.
29721 [C99-based-standards] (SCNu32): Likewise.
29722 [C99-based-standards] (SCNx32): Likewise.
29723 [C99-based-standards] (PRIdLEAST32): Likewise.
29724 [C99-based-standards] (PRIiLEAST32): Likewise.
29725 [C99-based-standards] (PRIoLEAST32): Likewise.
29726 [C99-based-standards] (PRIuLEAST32): Likewise.
29727 [C99-based-standards] (PRIxLEAST32): Likewise.
29728 [C99-based-standards] (PRIXLEAST32): Likewise.
29729 [C99-based-standards] (SCNdLEAST32): Likewise.
29730 [C99-based-standards] (SCNiLEAST32): Likewise.
29731 [C99-based-standards] (SCNoLEAST32): Likewise.
29732 [C99-based-standards] (SCNuLEAST32): Likewise.
29733 [C99-based-standards] (SCNxLEAST32): Likewise.
29734 [C99-based-standards] (PRIdFAST32): Likewise.
29735 [C99-based-standards] (PRIiFAST32): Likewise.
29736 [C99-based-standards] (PRIoFAST32): Likewise.
29737 [C99-based-standards] (PRIuFAST32): Likewise.
29738 [C99-based-standards] (PRIxFAST32): Likewise.
29739 [C99-based-standards] (PRIXFAST32): Likewise.
29740 [C99-based-standards] (SCNdFAST32): Likewise.
29741 [C99-based-standards] (SCNiFAST32): Likewise.
29742 [C99-based-standards] (SCNoFAST32): Likewise.
29743 [C99-based-standards] (SCNuFAST32): Likewise.
29744 [C99-based-standards] (SCNxFAST32): Likewise.
29745 [C99-based-standards] (PRId64): Likewise.
29746 [C99-based-standards] (PRIi64): Likewise.
29747 [C99-based-standards] (PRIo64): Likewise.
29748 [C99-based-standards] (PRIu64): Likewise.
29749 [C99-based-standards] (PRIx64): Likewise.
29750 [C99-based-standards] (PRIX64): Likewise.
29751 [C99-based-standards] (SCNd64): Likewise.
29752 [C99-based-standards] (SCNi64): Likewise.
29753 [C99-based-standards] (SCNo64): Likewise.
29754 [C99-based-standards] (SCNu64): Likewise.
29755 [C99-based-standards] (SCNx64): Likewise.
29756 [C99-based-standards] (PRIdLEAST64): Likewise.
29757 [C99-based-standards] (PRIiLEAST64): Likewise.
29758 [C99-based-standards] (PRIoLEAST64): Likewise.
29759 [C99-based-standards] (PRIuLEAST64): Likewise.
29760 [C99-based-standards] (PRIxLEAST64): Likewise.
29761 [C99-based-standards] (PRIXLEAST64): Likewise.
29762 [C99-based-standards] (SCNdLEAST64): Likewise.
29763 [C99-based-standards] (SCNiLEAST64): Likewise.
29764 [C99-based-standards] (SCNoLEAST64): Likewise.
29765 [C99-based-standards] (SCNuLEAST64): Likewise.
29766 [C99-based-standards] (SCNxLEAST64): Likewise.
29767 [C99-based-standards] (PRIdFAST64): Likewise.
29768 [C99-based-standards] (PRIiFAST64): Likewise.
29769 [C99-based-standards] (PRIoFAST64): Likewise.
29770 [C99-based-standards] (PRIuFAST64): Likewise.
29771 [C99-based-standards] (PRIxFAST64): Likewise.
29772 [C99-based-standards] (PRIXFAST64): Likewise.
29773 [C99-based-standards] (SCNdFAST64): Likewise.
29774 [C99-based-standards] (SCNiFAST64): Likewise.
29775 [C99-based-standards] (SCNoFAST64): Likewise.
29776 [C99-based-standards] (SCNuFAST64): Likewise.
29777 [C99-based-standards] (SCNxFAST64): Likewise.
29778 [C99-based-standards] (PRIdMAX): Likewise.
29779 [C99-based-standards] (PRIiMAX): Likewise.
29780 [C99-based-standards] (PRIoMAX): Likewise.
29781 [C99-based-standards] (PRIuMAX): Likewise.
29782 [C99-based-standards] (PRIxMAX): Likewise.
29783 [C99-based-standards] (PRIXMAX): Likewise.
29784 [C99-based-standards] (SCNdMAX): Likewise.
29785 [C99-based-standards] (SCNiMAX): Likewise.
29786 [C99-based-standards] (SCNoMAX): Likewise.
29787 [C99-based-standards] (SCNuMAX): Likewise.
29788 [C99-based-standards] (SCNxMAX): Likewise.
29789 [C99-based-standards] (PRIdPTR): Likewise.
29790 [C99-based-standards] (PRIiPTR): Likewise.
29791 [C99-based-standards] (PRIoPTR): Likewise.
29792 [C99-based-standards] (PRIuPTR): Likewise.
29793 [C99-based-standards] (PRIxPTR): Likewise.
29794 [C99-based-standards] (PRIXPTR): Likewise.
29795 [C99-based-standards] (SCNdPTR): Likewise.
29796 [C99-based-standards] (SCNiPTR): Likewise.
29797 [C99-based-standards] (SCNoPTR): Likewise.
29798 [C99-based-standards] (SCNuPTR): Likewise.
29799 [C99-based-standards] (SCNxPTR): Likewise.
29800 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29802 * conform/data/stdint.h-data: Update comments to clarify
29804 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29806 [C99-based standards] (INT8_MAX): Likewise.
29807 [C99-based standards] (INT16_MIN): Likewise.
29808 [C99-based standards] (INT16_MAX): Likewise.
29809 [C99-based standards] (INT32_MIN): Likewise.
29810 [C99-based standards] (INT32_MAX): Likewise.
29811 [C99-based standards] (INT64_MIN): Likewise.
29812 [C99-based standards] (INT64_MAX): Likewise.
29813 [C99-based standards] (UINT8_MAX): Likewise.
29814 [C99-based standards] (UINT16_MAX): Likewise.
29815 [C99-based standards] (UINT32_MAX): Likewise.
29816 [C99-based standards] (UINT64_MAX): Likewise.
29817 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29818 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29819 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29820 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29821 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29822 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29823 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29824 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29825 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29826 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29827 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29828 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29829 [C99-based standards] (INT_FAST8_MIN): Likewise.
29830 [C99-based standards] (INT_FAST8_MAX): Likewise.
29831 [C99-based standards] (INT_FAST16_MIN): Likewise.
29832 [C99-based standards] (INT_FAST16_MAX): Likewise.
29833 [C99-based standards] (INT_FAST32_MIN): Likewise.
29834 [C99-based standards] (INT_FAST32_MAX): Likewise.
29835 [C99-based standards] (INT_FAST64_MIN): Likewise.
29836 [C99-based standards] (INT_FAST64_MAX): Likewise.
29837 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29838 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29839 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29840 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29841 [C99-based standards] (INTPTR_MIN): Likewise.
29842 [C99-based standards] (INTPTR_MAX): Likewise.
29843 [C99-based standards] (UINTPTR_MAX): Likewise.
29844 [C99-based standards] (INTMAX_MIN): Likewise.
29845 [C99-based standards] (INTMAX_MAX): Likewise.
29846 [C99-based standards] (UINTMAX_MAX): Likewise.
29847 [C99-based standards] (PTRDIFF_MIN): Likewise.
29848 [C99-based standards] (PTRDIFF_MAX): Likewise.
29849 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29850 [C99-based standards] (SIZE_MAX): Likewise.
29851 [C99-based standards] (WCHAR_MAX): Likewise.
29852 [C99-based standards] (WINT_MAX): Likewise.
29853 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29854 constraint on value.
29855 [C99-based standards] (WCHAR_MIN): Likewise.
29856 [C99-based standards] (WINT_MIN): Likewise.
29857 [C99-based standards] (*_t): Allow.
29858 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29859 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29860 Include math.h-data and complex.h-data. Remove all expectations
29861 of math.h and complex.h contents.
29862 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29864 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29865 (struct tm): Expect tag.
29866 [C99-based-standards] (wcstof): Expect function.
29867 [C99-based-standards] (wcstold): Likewise.
29868 [C99-based-standards] (wcstoll): Likewise.
29869 [C99-based-standards] (wcstoull): Likewise.
29870 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29871 macro-int-constant. Specify type.
29872 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29873 constraint on value.
29874 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29876 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29878 [ISO C standards]: Do not allow headers.
29879 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29880 wcs[abcdefghijklmnopqrstuvwxyz]*.
29881 [ISO C standards] (*_t): Do not allow.
29882 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29884 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29885 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29887 [ISO C standards]: Do not allow headers.
29888 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29889 is[abcdefghijklmnopqrstuvwxyz]*.
29890 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29891 to[abcdefghijklmnopqrstuvwxyz]*.
29892 [ISO C standards] (*_t): Do not allow.
29893 * conform/data/stdalign.h-data: New file.
29894 * conform/data/stdbool.h-data: Likewise.
29895 * conform/data/stdnoreturn.h-data: Likewise.
29897 2012-11-07 Roland McGrath <roland@hack.frob.com>
29900 * manual/filesys.texi (Directory Entries): Typo fix.
29901 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29903 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29905 * elf/elf.h (EM_AARCH64): New macro.
29906 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29907 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29908 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29909 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29910 (R_AARCH64_TLSDESC): Likewise.
29911 (NT_ARM_TLS): Likewise.
29912 (NT_ARM_HW_BREAK): Likewise.
29913 (NT_ARM_HW_WATCH): Likewise.
29915 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29918 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29919 (__ieee754_powl): Saturate nonzero exponents with absolute value
29920 below 0x1p-79 to +/- 0x1p-79.
29921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29922 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29923 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29924 nonzero exponents with absolute value below 0x1p-32 to +/-
29926 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29927 (__ieee754_powl): Saturate nonzero exponents with absolute value
29928 below 0x1p-79 to +/- 0x1p-79.
29929 * math/libm-test.inc (pow_test): Add more tests.
29931 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29933 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29934 _dl_s390_cap_flags with kernel. Increase string length.
29935 (_dl_s390_platforms): Add z196 and zEC12.
29937 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29939 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29940 Change XOPEN21K to XOPEN2K.
29942 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29944 * string/memmove.c: Use memcpy when possible.
29946 2012-11-06 Andreas Jaeger <aj@suse.de>
29948 * po/eo.po: Update from translation team.
29950 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29954 exponent and small x and y exponents, scale x or y up. Increase
29955 by 2 the exponent used in scaling up.
29956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29958 * math/libm-test.inc (fma_test): Add more tests.
29959 (fma_test_towardzero): Likewise.
29960 (fma_test_downward): Likewise.
29961 (fma_test_upward): Likewise.
29963 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29966 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29970 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29971 namespace for names of struct fields.
29972 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29974 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29975 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29977 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29980 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29982 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29984 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29988 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29991 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29995 definitely overflow as x * y not x * y + z.
29996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29998 * math/libm-test.inc (fma_test): Add more tests.
29999 (fma_test_towardzero): Likewise.
30000 (fma_test_downward): Likewise.
30001 (fma_test_upward): Likewise.
30003 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30007 * include/stub-tag.h: Remove file.
30008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30010 * manual/maint.texi (Porting): Don't reference it.
30011 * Makerules ($(objpfx)stubs): Likewise.
30012 * dirent/closedir.c: Don't include <stub-tag.h>.
30013 * dirent/dirfd.c: Likewise.
30014 * dirent/fdopendir.c: Likewise.
30015 * dirent/getdents.c: Likewise.
30016 * dirent/getdents64.c: Likewise.
30017 * dirent/opendir.c: Likewise.
30018 * dirent/readdir.c: Likewise.
30019 * dirent/readdir64.c: Likewise.
30020 * dirent/readdir64_r.c: Likewise.
30021 * dirent/readdir_r.c: Likewise.
30022 * dirent/rewinddir.c: Likewise.
30023 * dirent/seekdir.c: Likewise.
30024 * dirent/telldir.c: Likewise.
30025 * gmon/profil.c: Likewise.
30026 * grp/setgroups.c: Likewise.
30027 * inet/if_index.c: Likewise.
30028 * io/access.c: Likewise.
30029 * io/chdir.c: Likewise.
30030 * io/chmod.c: Likewise.
30031 * io/chown.c: Likewise.
30032 * io/close.c: Likewise.
30033 * io/dup.c: Likewise.
30034 * io/dup2.c: Likewise.
30035 * io/dup3.c: Likewise.
30036 * io/euidaccess.c: Likewise.
30037 * io/faccessat.c: Likewise.
30038 * io/fchdir.c: Likewise.
30039 * io/fchmod.c: Likewise.
30040 * io/fchmodat.c: Likewise.
30041 * io/fchown.c: Likewise.
30042 * io/fchownat.c: Likewise.
30043 * io/fcntl.c: Likewise.
30044 * io/flock.c: Likewise.
30045 * io/fstatfs.c: Likewise.
30046 * io/fstatfs64.c: Likewise.
30047 * io/fstatvfs.c: Likewise.
30048 * io/fstatvfs64.c: Likewise.
30049 * io/futimens.c: Likewise.
30050 * io/fxstat.c: Likewise.
30051 * io/fxstat64.c: Likewise.
30052 * io/fxstatat.c: Likewise.
30053 * io/fxstatat64.c: Likewise.
30054 * io/getcwd.c: Likewise.
30055 * io/isatty.c: Likewise.
30056 * io/lchmod.c: Likewise.
30057 * io/lchown.c: Likewise.
30058 * io/link.c: Likewise.
30059 * io/linkat.c: Likewise.
30060 * io/lseek.c: Likewise.
30061 * io/lseek64.c: Likewise.
30062 * io/lxstat64.c: Likewise.
30063 * io/mkdir.c: Likewise.
30064 * io/mkdirat.c: Likewise.
30065 * io/mkfifo.c: Likewise.
30066 * io/mkfifoat.c: Likewise.
30067 * io/open.c: Likewise.
30068 * io/open64.c: Likewise.
30069 * io/openat.c: Likewise.
30070 * io/openat64.c: Likewise.
30071 * io/pipe.c: Likewise.
30072 * io/pipe2.c: Likewise.
30073 * io/poll.c: Likewise.
30074 * io/posix_fadvise.c: Likewise.
30075 * io/posix_fadvise64.c: Likewise.
30076 * io/posix_fallocate.c: Likewise.
30077 * io/posix_fallocate64.c: Likewise.
30078 * io/read.c: Likewise.
30079 * io/readlink.c: Likewise.
30080 * io/readlinkat.c: Likewise.
30081 * io/rmdir.c: Likewise.
30082 * io/sendfile.c: Likewise.
30083 * io/sendfile64.c: Likewise.
30084 * io/statfs.c: Likewise.
30085 * io/statfs64.c: Likewise.
30086 * io/statvfs.c: Likewise.
30087 * io/statvfs64.c: Likewise.
30088 * io/symlink.c: Likewise.
30089 * io/symlinkat.c: Likewise.
30090 * io/ttyname.c: Likewise.
30091 * io/ttyname_r.c: Likewise.
30092 * io/umask.c: Likewise.
30093 * io/unlink.c: Likewise.
30094 * io/unlinkat.c: Likewise.
30095 * io/utime.c: Likewise.
30096 * io/utimensat.c: Likewise.
30097 * io/write.c: Likewise.
30098 * io/xmknod.c: Likewise.
30099 * io/xmknodat.c: Likewise.
30100 * io/xstat.c: Likewise.
30101 * io/xstat64.c: Likewise.
30102 * login/getpt.c: Likewise.
30103 * login/grantpt.c: Likewise.
30104 * login/unlockpt.c: Likewise.
30105 * math/e_acoshl.c: Likewise.
30106 * math/e_acosl.c: Likewise.
30107 * math/e_asinl.c: Likewise.
30108 * math/e_atan2l.c: Likewise.
30109 * math/e_atanhl.c: Likewise.
30110 * math/e_coshl.c: Likewise.
30111 * math/e_expl.c: Likewise.
30112 * math/e_fmodl.c: Likewise.
30113 * math/e_gammal_r.c: Likewise.
30114 * math/e_hypotl.c: Likewise.
30115 * math/e_j0l.c: Likewise.
30116 * math/e_j1l.c: Likewise.
30117 * math/e_jnl.c: Likewise.
30118 * math/e_lgammal_r.c: Likewise.
30119 * math/e_log10l.c: Likewise.
30120 * math/e_log2l.c: Likewise.
30121 * math/e_logl.c: Likewise.
30122 * math/e_powl.c: Likewise.
30123 * math/e_rem_pio2l.c: Likewise.
30124 * math/e_sinhl.c: Likewise.
30125 * math/e_sqrtl.c: Likewise.
30126 * math/fclrexcpt.c: Likewise.
30127 * math/fedisblxcpt.c: Likewise.
30128 * math/feenablxcpt.c: Likewise.
30129 * math/fegetenv.c: Likewise.
30130 * math/fegetexcept.c: Likewise.
30131 * math/fegetround.c: Likewise.
30132 * math/feholdexcpt.c: Likewise.
30133 * math/fesetenv.c: Likewise.
30134 * math/fesetround.c: Likewise.
30135 * math/feupdateenv.c: Likewise.
30136 * math/fgetexcptflg.c: Likewise.
30137 * math/fraiseexcpt.c: Likewise.
30138 * math/fsetexcptflg.c: Likewise.
30139 * math/ftestexcept.c: Likewise.
30140 * math/k_cosl.c: Likewise.
30141 * math/k_rem_pio2l.c: Likewise.
30142 * math/k_sinl.c: Likewise.
30143 * math/k_tanl.c: Likewise.
30144 * math/s_asinhl.c: Likewise.
30145 * math/s_atanl.c: Likewise.
30146 * math/s_cbrtl.c: Likewise.
30147 * math/s_erfl.c: Likewise.
30148 * math/s_expm1l.c: Likewise.
30149 * math/s_log1pl.c: Likewise.
30150 * math/s_tanhl.c: Likewise.
30151 * misc/acct.c: Likewise.
30152 * misc/brk.c: Likewise.
30153 * misc/chflags.c: Likewise.
30154 * misc/chroot.c: Likewise.
30155 * misc/fchflags.c: Likewise.
30156 * misc/fgetxattr.c: Likewise.
30157 * misc/flistxattr.c: Likewise.
30158 * misc/fremovexattr.c: Likewise.
30159 * misc/fsetxattr.c: Likewise.
30160 * misc/fsync.c: Likewise.
30161 * misc/ftruncate.c: Likewise.
30162 * misc/futimes.c: Likewise.
30163 * misc/futimesat.c: Likewise.
30164 * misc/getdomain.c: Likewise.
30165 * misc/getdtsz.c: Likewise.
30166 * misc/gethostid.c: Likewise.
30167 * misc/gethostname.c: Likewise.
30168 * misc/getloadavg.c: Likewise.
30169 * misc/getpagesize.c: Likewise.
30170 * misc/getsysstats.c: Likewise.
30171 * misc/getxattr.c: Likewise.
30172 * misc/gtty.c: Likewise.
30173 * misc/ioctl.c: Likewise.
30174 * misc/lgetxattr.c: Likewise.
30175 * misc/listxattr.c: Likewise.
30176 * misc/llistxattr.c: Likewise.
30177 * misc/lremovexattr.c: Likewise.
30178 * misc/lsetxattr.c: Likewise.
30179 * misc/lutimes.c: Likewise.
30180 * misc/madvise.c: Likewise.
30181 * misc/mincore.c: Likewise.
30182 * misc/mlock.c: Likewise.
30183 * misc/mlockall.c: Likewise.
30184 * misc/mmap.c: Likewise.
30185 * misc/mprotect.c: Likewise.
30186 * misc/msync.c: Likewise.
30187 * misc/munlock.c: Likewise.
30188 * misc/munlockall.c: Likewise.
30189 * misc/munmap.c: Likewise.
30190 * misc/preadv.c: Likewise.
30191 * misc/preadv64.c: Likewise.
30192 * misc/ptrace.c: Likewise.
30193 * misc/pwritev.c: Likewise.
30194 * misc/pwritev64.c: Likewise.
30195 * misc/readv.c: Likewise.
30196 * misc/reboot.c: Likewise.
30197 * misc/remap_file_pages.c: Likewise.
30198 * misc/removexattr.c: Likewise.
30199 * misc/revoke.c: Likewise.
30200 * misc/select.c: Likewise.
30201 * misc/setdomain.c: Likewise.
30202 * misc/setegid.c: Likewise.
30203 * misc/seteuid.c: Likewise.
30204 * misc/sethostid.c: Likewise.
30205 * misc/sethostname.c: Likewise.
30206 * misc/setregid.c: Likewise.
30207 * misc/setreuid.c: Likewise.
30208 * misc/setxattr.c: Likewise.
30209 * misc/sstk.c: Likewise.
30210 * misc/stty.c: Likewise.
30211 * misc/swapoff.c: Likewise.
30212 * misc/swapon.c: Likewise.
30213 * misc/sync.c: Likewise.
30214 * misc/syncfs.c: Likewise.
30215 * misc/syscall.c: Likewise.
30216 * misc/truncate.c: Likewise.
30217 * misc/ualarm.c: Likewise.
30218 * misc/usleep.c: Likewise.
30219 * misc/ustat.c: Likewise.
30220 * misc/utimes.c: Likewise.
30221 * misc/vhangup.c: Likewise.
30222 * misc/writev.c: Likewise.
30223 * posix/_exit.c: Likewise.
30224 * posix/alarm.c: Likewise.
30225 * posix/execve.c: Likewise.
30226 * posix/fexecve.c: Likewise.
30227 * posix/fork.c: Likewise.
30228 * posix/fpathconf.c: Likewise.
30229 * posix/getaddrinfo.c: Likewise.
30230 * posix/getegid.c: Likewise.
30231 * posix/geteuid.c: Likewise.
30232 * posix/getgid.c: Likewise.
30233 * posix/getgroups.c: Likewise.
30234 * posix/getlogin.c: Likewise.
30235 * posix/getlogin_r.c: Likewise.
30236 * posix/getpgid.c: Likewise.
30237 * posix/getpid.c: Likewise.
30238 * posix/getppid.c: Likewise.
30239 * posix/getresgid.c: Likewise.
30240 * posix/getresuid.c: Likewise.
30241 * posix/getsid.c: Likewise.
30242 * posix/getuid.c: Likewise.
30243 * posix/glob64.c: Likewise.
30244 * posix/nanosleep.c: Likewise.
30245 * posix/pathconf.c: Likewise.
30246 * posix/pause.c: Likewise.
30247 * posix/posix_madvise.c: Likewise.
30248 * posix/pread.c: Likewise.
30249 * posix/pread64.c: Likewise.
30250 * posix/pwrite.c: Likewise.
30251 * posix/pwrite64.c: Likewise.
30252 * posix/sched_getaffinity.c: Likewise.
30253 * posix/sched_getp.c: Likewise.
30254 * posix/sched_gets.c: Likewise.
30255 * posix/sched_primax.c: Likewise.
30256 * posix/sched_primin.c: Likewise.
30257 * posix/sched_rr_gi.c: Likewise.
30258 * posix/sched_setaffinity.c: Likewise.
30259 * posix/sched_setp.c: Likewise.
30260 * posix/sched_sets.c: Likewise.
30261 * posix/sched_yield.c: Likewise.
30262 * posix/setgid.c: Likewise.
30263 * posix/setlogin.c: Likewise.
30264 * posix/setpgid.c: Likewise.
30265 * posix/setresgid.c: Likewise.
30266 * posix/setresuid.c: Likewise.
30267 * posix/setsid.c: Likewise.
30268 * posix/setuid.c: Likewise.
30269 * posix/sleep.c: Likewise.
30270 * posix/spawni.c: Likewise.
30271 * posix/sysconf.c: Likewise.
30272 * posix/times.c: Likewise.
30273 * posix/wait.c: Likewise.
30274 * posix/wait3.c: Likewise.
30275 * posix/wait4.c: Likewise.
30276 * posix/waitpid.c: Likewise.
30277 * resolv/gai_sigqueue.c: Likewise.
30278 * resource/getpriority.c: Likewise.
30279 * resource/getrlimit.c: Likewise.
30280 * resource/getrusage.c: Likewise.
30281 * resource/nice.c: Likewise.
30282 * resource/setpriority.c: Likewise.
30283 * resource/setrlimit.c: Likewise.
30284 * resource/ulimit.c: Likewise.
30285 * rt/aio_cancel.c: Likewise.
30286 * rt/aio_fsync.c: Likewise.
30287 * rt/aio_read.c: Likewise.
30288 * rt/aio_sigqueue.c: Likewise.
30289 * rt/aio_suspend.c: Likewise.
30290 * rt/aio_write.c: Likewise.
30291 * rt/clock_getres.c: Likewise.
30292 * rt/clock_gettime.c: Likewise.
30293 * rt/clock_nanosleep.c: Likewise.
30294 * rt/clock_settime.c: Likewise.
30295 * rt/lio_listio.c: Likewise.
30296 * rt/mq_close.c: Likewise.
30297 * rt/mq_getattr.c: Likewise.
30298 * rt/mq_notify.c: Likewise.
30299 * rt/mq_open.c: Likewise.
30300 * rt/mq_receive.c: Likewise.
30301 * rt/mq_send.c: Likewise.
30302 * rt/mq_setattr.c: Likewise.
30303 * rt/mq_timedreceive.c: Likewise.
30304 * rt/mq_timedsend.c: Likewise.
30305 * rt/mq_unlink.c: Likewise.
30306 * rt/shm_open.c: Likewise.
30307 * rt/shm_unlink.c: Likewise.
30308 * rt/timer_create.c: Likewise.
30309 * rt/timer_delete.c: Likewise.
30310 * rt/timer_getoverr.c: Likewise.
30311 * rt/timer_gettime.c: Likewise.
30312 * rt/timer_settime.c: Likewise.
30313 * setjmp/__longjmp.c: Likewise.
30314 * setjmp/setjmp.c: Likewise.
30315 * signal/kill.c: Likewise.
30316 * signal/killpg.c: Likewise.
30317 * signal/raise.c: Likewise.
30318 * signal/sigaction.c: Likewise.
30319 * signal/sigaltstack.c: Likewise.
30320 * signal/sigblock.c: Likewise.
30321 * signal/sigignore.c: Likewise.
30322 * signal/sigintr.c: Likewise.
30323 * signal/signal.c: Likewise.
30324 * signal/sigpause.c: Likewise.
30325 * signal/sigpending.c: Likewise.
30326 * signal/sigqueue.c: Likewise.
30327 * signal/sigreturn.c: Likewise.
30328 * signal/sigset.c: Likewise.
30329 * signal/sigsetmask.c: Likewise.
30330 * signal/sigstack.c: Likewise.
30331 * signal/sigsuspend.c: Likewise.
30332 * signal/sigtimedwait.c: Likewise.
30333 * signal/sigvec.c: Likewise.
30334 * signal/sigwait.c: Likewise.
30335 * signal/sigwaitinfo.c: Likewise.
30336 * signal/sysv_signal.c: Likewise.
30337 * socket/accept.c: Likewise.
30338 * socket/accept4.c: Likewise.
30339 * socket/bind.c: Likewise.
30340 * socket/connect.c: Likewise.
30341 * socket/getpeername.c: Likewise.
30342 * socket/getsockname.c: Likewise.
30343 * socket/getsockopt.c: Likewise.
30344 * socket/isfdtype.c: Likewise.
30345 * socket/listen.c: Likewise.
30346 * socket/recv.c: Likewise.
30347 * socket/recvfrom.c: Likewise.
30348 * socket/recvmsg.c: Likewise.
30349 * socket/send.c: Likewise.
30350 * socket/sendmsg.c: Likewise.
30351 * socket/sendto.c: Likewise.
30352 * socket/setsockopt.c: Likewise.
30353 * socket/shutdown.c: Likewise.
30354 * socket/sockatmark.c: Likewise.
30355 * socket/socket.c: Likewise.
30356 * socket/socketpair.c: Likewise.
30357 * stdio-common/ctermid.c: Likewise.
30358 * stdio-common/cuserid.c: Likewise.
30359 * stdio-common/remove.c: Likewise.
30360 * stdio-common/rename.c: Likewise.
30361 * stdio-common/renameat.c: Likewise.
30362 * stdio-common/tempname.c: Likewise.
30363 * stdlib/getcontext.c: Likewise.
30364 * stdlib/makecontext.c: Likewise.
30365 * stdlib/setcontext.c: Likewise.
30366 * stdlib/swapcontext.c: Likewise.
30367 * stdlib/system.c: Likewise.
30368 * streams/fattach.c: Likewise.
30369 * streams/fdetach.c: Likewise.
30370 * streams/getmsg.c: Likewise.
30371 * streams/getpmsg.c: Likewise.
30372 * streams/putmsg.c: Likewise.
30373 * streams/putpmsg.c: Likewise.
30374 * sysdeps/unix/bsd/getpt.c: Likewise.
30375 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30376 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30377 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30380 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30381 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30382 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30383 * sysvipc/msgctl.c: Likewise.
30384 * sysvipc/msgget.c: Likewise.
30385 * sysvipc/msgrcv.c: Likewise.
30386 * sysvipc/msgsnd.c: Likewise.
30387 * sysvipc/semctl.c: Likewise.
30388 * sysvipc/semget.c: Likewise.
30389 * sysvipc/semop.c: Likewise.
30390 * sysvipc/semtimedop.c: Likewise.
30391 * sysvipc/shmat.c: Likewise.
30392 * sysvipc/shmctl.c: Likewise.
30393 * sysvipc/shmdt.c: Likewise.
30394 * sysvipc/shmget.c: Likewise.
30395 * termios/tcdrain.c: Likewise.
30396 * termios/tcflow.c: Likewise.
30397 * termios/tcflush.c: Likewise.
30398 * termios/tcgetattr.c: Likewise.
30399 * termios/tcgetpgrp.c: Likewise.
30400 * termios/tcsendbrk.c: Likewise.
30401 * termios/tcsetattr.c: Likewise.
30402 * termios/tcsetpgrp.c: Likewise.
30403 * time/adjtime.c: Likewise.
30404 * time/clock.c: Likewise.
30405 * time/getitimer.c: Likewise.
30406 * time/gettimeofday.c: Likewise.
30407 * time/setitimer.c: Likewise.
30408 * time/settimeofday.c: Likewise.
30409 * time/stime.c: Likewise.
30410 * time/time.c: Likewise.
30412 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30414 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30417 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30419 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30421 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30425 FE_TONEAREST before applying Dekker multiplication and Knuth
30426 addition. Clear inexact exceptions and check for exact zero
30427 results afterwards.
30428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30429 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30431 * math/libm-test.inc (fma_test): Add more tests.
30432 (fma_test_towardzero): Likewise.
30433 (fma_test_downward): Likewise.
30434 (fma_test_upward): Likewise.
30435 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30437 (libc_fesetround): New macro.
30438 (libc_fesetroundf): Likewise.
30439 (libc_fesetroundl): Likewise.
30440 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30442 (libc_fesetround_387): Likewise.
30443 (libc_fesetroundf): New macro.
30444 (libc_fesetround): Likewise.
30445 (libc_fesetroundl): Likewise.
30446 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30448 (libc_fesetroundf): New macro.
30449 (libc_fesetround): Likewise.
30450 (libc_fesetroundl): Likewise.
30451 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30452 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30453 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30455 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30456 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30458 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30459 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30461 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30465 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30466 integer constant usable in #if and use that to give value to enum
30468 (FE_DIVBYZERO): Likewise.
30469 (FE_UNDERFLOW): Likewise.
30470 (FE_OVERFLOW): Likewise.
30471 (FE_INVALID): Likewise.
30472 (FE_INVALID_SNAN): Likewise.
30473 (FE_INVALID_ISI): Likewise.
30474 (FE_INVALID_IDI): Likewise.
30475 (FE_INVALID_ZDZ): Likewise.
30476 (FE_INVALID_IMZ): Likewise.
30477 (FE_INVALID_COMPARE): Likewise.
30478 (FE_INVALID_SOFTWARE): Likewise.
30479 (FE_INVALID_SQRT): Likewise.
30480 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30481 (FE_TONEAREST): Likewise.
30482 (FE_TOWARDZERO): Likewise.
30483 (FE_UPWARD): Likewise.
30484 (FE_DOWNWARD): Likewise.
30485 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30486 (FE_DIVBYZERO): Likewise.
30487 (FE_OVERFLOW): Likewise.
30488 (FE_UNDERFLOW): Likewise.
30489 (FE_INEXACT): Likewise.
30490 (FE_TONEAREST): Likewise.
30491 (FE_DOWNWARD): Likewise.
30492 (FE_UPWARD): Likewise.
30493 (FE_TOWARDZERO): Likewise.
30494 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30495 (FE_UNDERFLOW): Likewise.
30496 (FE_OVERFLOW): Likewise.
30497 (FE_DIVBYZERO): Likewise.
30498 (FE_INVALID): Likewise.
30499 (FE_TONEAREST): Likewise.
30500 (FE_TOWARDZERO): Likewise.
30501 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30502 (FE_OVERFLOW): Likewise.
30503 (FE_UNDERFLOW): Likewise.
30504 (FE_DIVBYZERO): Likewise.
30505 (FE_INEXACT): Likewise.
30506 (FE_TONEAREST): Likewise.
30507 (FE_TOWARDZERO): Likewise.
30508 (FE_UPWARD): Likewise.
30509 (FE_DOWNWARD): Likewise.
30510 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30511 (FE_DIVBYZERO): Likewise.
30512 (FE_OVERFLOW): Likewise.
30513 (FE_UNDERFLOW): Likewise.
30514 (FE_INEXACT): Likewise.
30515 (FE_TONEAREST): Likewise.
30516 (FE_DOWNWARD): Likewise.
30517 (FE_UPWARD): Likewise.
30518 (FE_TOWARDZERO): Likewise.
30520 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30522 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30524 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30526 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30527 commands. Quote $PWD.
30528 (blacklist_exports): Don't use remove_newlines. Replace "declare
30530 (remove_newlines): Remove.
30532 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30534 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30535 * stdlib/stdlib.h (atof): Moved to ...
30536 * include/bits/stdlib-float.h: Here. New file.
30537 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30538 * stdlib/bits/stdlib-float.h: New file.
30539 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30544 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30546 * conform/conformtest.pl (@headers): Add fenv.h.
30547 * conform/data/fenv.h-data: New file.
30548 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30549 include of <math/fenv.h>.
30551 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30552 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30553 && !UNIX98]. Enables tests for XOPEN2K8.
30554 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30555 POSIX2008]: Likewise.
30557 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30558 (struct rusage): Do not expect type or its members.
30561 * math/math.h (FP_NAN): Define macro to integer constant usable in
30562 #if and use that to give value to enum constant.
30563 (FP_INFINITE): Likewise.
30564 (FP_ZERO): Likewise.
30565 (FP_SUBNORMAL): Likewise.
30566 (FP_NORMAL): Likewise.
30568 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30570 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30571 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30574 2012-11-02 Roland McGrath <roland@hack.frob.com>
30576 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30577 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30578 autoconf-time if not.
30579 * configure.in: Remove AC_PREREQ.
30581 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30583 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30584 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30585 of the internal implementation.
30587 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30589 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30590 except include of <misc/sys/syslog.h>.
30592 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30595 function returns with a NULL context exit with zero.
30597 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30599 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30601 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30603 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30604 (run_program_cmd): This.
30605 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30606 (tst_langinfo): New variable. Use it.
30608 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30610 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30611 floating point opcodes.
30613 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30615 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30618 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30620 * sysdeps/mach/hurd/powerpc: Remove directory.
30621 * sysdeps/mach/powerpc: Likewise.
30623 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30625 * scripts/check-local-headers.sh: Ignore c++ headers.
30627 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30629 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30630 __libc_cleanup_region_start argument.
30632 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30637 x * y using scaling, not as x * y + z.
30638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30640 * math/libm-test.inc (fma_test): Add more tests.
30641 (fma_test_towardzero): Likewise.
30642 (fma_test_downward): Likewise.
30643 (fma_test_upward): Likewise.
30645 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30647 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30649 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30651 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30654 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30656 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30658 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30665 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30668 Fix the order of the list for glibc 2.17.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30672 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30676 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30679 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30680 for low part of x being zero before using __atanl (y).
30681 * math/libm-test.inc (atan2_test): Add another test.
30683 * manual/install.texi (Configuring and compiling): Document
30684 general use of test-wrapper and test-wrapper-env.
30685 * INSTALL: Regenerated.
30687 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30688 (__fma): Do not extract and scale down low bits on after-rounding
30689 systems when result rounded to normal precision would have normal
30691 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30692 (__fmal): Do not extract and scale down low bits on after-rounding
30693 systems when result rounded to normal precision would have normal
30695 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30696 (__fmal): Do not extract and scale down low bits on after-rounding
30697 systems when result rounded to normal precision would have normal
30699 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30701 (fma_test): Add more tests.
30702 (fma_test_towardzero): Likewise.
30703 (fma_test_downward): Likewise.
30704 (fma_test_upward): Likewise.
30706 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30708 * sysdeps/i386/tininess.h: Renamed to ...
30709 * sysdeps/x86/tininess.h: This.
30710 * sysdeps/x86_64/tininess.h: Removed.
30712 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30714 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30715 input. Use $(build-program-cmd).
30716 ($(objpfx)tst-array1-static.out): Likewise.
30717 ($(objpfx)tst-array2.out): Likewise.
30718 ($(objpfx)tst-array3.out): Likewise.
30719 ($(objpfx)tst-array4.out): Likewise.
30720 ($(objpfx)tst-array5.out): Likewise.
30721 ($(objpfx)tst-array5-static.out): Likewise.
30723 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30725 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30728 * nss/nsswitch.h (nss_interface_function): Provide new
30729 macro for use with NSS functions.
30730 * grp/initgroups.c: Use new macro.
30731 * nss/getXXbyYY.c: Likewise.
30732 * nss/getXXbyYY_r.c: Likewise.
30733 * nss/getXXent.c: Likewise.
30734 * nss/getXXent_r.c: Likewise.
30735 * sysdeps/posix/getaddrinfo.c: Likewise.
30737 2012-10-30 Andreas Jaeger <aj@suse.de>
30739 * po/ru.po: Update Russion translation from translation project.
30741 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30746 result and shift together with sticky bit instead of replicating
30747 round-to-nearest rounding.
30748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30750 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30751 missing underflow exceptions.
30752 (fma_test_towardzero): Add more tests.
30753 (fma_test_downward): Likewise.
30754 (fma_test_upward): Likewise.
30757 * sysdeps/generic/tininess.h: New file.
30758 * sysdeps/i386/tininess.h: Likewise.
30759 * sysdeps/sh/tininess.h: Likewise.
30760 * sysdeps/x86_64/tininess.h: Likewise.
30761 * stdlib/tst-strtod-underflow.c: Likewise.
30762 * stdlib/tst-tininess.c: Likewise.
30763 * stdlib/strtod_l.c: Include <tininess.h>.
30764 (round_and_return): Do not set errno for exact underflow cases.
30765 Force an underflow exception when setting errno for underflow.
30766 Determine underflow based on rounding to normal precision if
30767 TININESS_AFTER_ROUNDING.
30768 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30769 ERANGE for exact underflow cases.
30770 * stdlib/Makefile (tests): Add tst-tininess and
30771 tst-strtod-underflow.
30772 ($(objpfx)tst-tininess): Use $(link-libm).
30773 ($(objpfx)tst-strtod-underflow): Likewise.
30775 2012-10-30 Andreas Jaeger <aj@suse.de>
30778 * elf/Makefile (tests): Remove conditional for have-initfini-array
30779 since this is now always required and the variable does not exist
30781 (tests-static): Likewise.
30782 (modules-names): Likewise.
30784 * po/eo.po: Add Esperanto translation from translation project.
30786 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30787 merged with constructor/destructor.
30788 (init_array): Likewise.
30789 * elf/tst-array2dep.c (fini_array): Likewise.
30790 (init_array): Likewise.
30792 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30794 * manual/message.texi: Delete @cartouche tags.
30796 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30798 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30800 * sysdeps/mach/hurd/fsync.c: Likewise.
30802 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30803 [_POSIX_REALTIME_SIGNALS]: Change condition to
30804 [_POSIX_REALTIME_SIGNALS > 0].
30806 2012-10-27 Andreas Jaeger <aj@suse.de>
30808 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30809 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30811 [__WORDSIZE != 64]: Likewise.
30813 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30815 * iconvdata/tst-table.sh: Remove ${SHELL}.
30816 * iconvdata/tst-tables.sh: Likewise.
30818 2012-10-25 David S. Miller <davem@davemloft.net>
30820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30821 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30827 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30828 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30831 2012-10-25 Roland McGrath <roland@hack.frob.com>
30833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30834 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30837 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30838 Jim Blandy <jimb@codesourcery.com>
30840 * scripts/cross-test-ssh.sh: New file.
30841 * manual/install.texi (Configuring and compiling): Document use of
30843 * INSTALL: Regenerated.
30845 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30847 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30850 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30852 * Makeconfig (run-program-prefix): Fix comment.
30854 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30855 Jim Blandy <jimb@codesourcery.com>
30857 * Makeconfig (test-wrapper): New variable,
30858 (test-wrapper-env): Likewise.
30859 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30860 (run-built-tests): Define to yes.
30861 (run-program-prefix): Use $(test-wrapper).
30862 (built-program-cmd): Likewise.
30863 * Rules (make-test-out): Use $(test-wrapper-env) and
30864 $(host-built-program-cmd).
30865 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30866 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30868 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30869 $(test-wrapper-env) to tst-rtld-load-self.sh.
30870 ($(objpfx)order2.out): Use $(test-wrapper).
30871 ($(objpfx)tst-initorder.out): Likewise.
30872 ($(objpfx)tst-initorder2.out): Likewise.
30873 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30874 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30875 (test_wrapper_env): New variable. Use it to run ld.so.
30876 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30877 Use it to run ld.so.
30878 (test_wrapper_env): Likewise.
30879 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30880 $(test-wrapper) to run-iconv-test.sh.
30881 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30882 (ICONV): Use $test_wrapper.
30883 * posix/Makefile ($(objpfx)globtest.out): Pass
30884 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30885 globtest.sh, not $(run-program-prefix).
30886 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30887 (test_wrapper): Likewise.
30888 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30889 set together with run_via_rtld_prefix.
30890 (run_program_prefix): Define in terms of test_wrapper and
30891 run_via_rtld_prefix.
30893 2012-10-24 Roland McGrath <roland@hack.frob.com>
30895 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30896 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30900 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30901 Declare __clock_getres, __clock_gettime, __clock_settime,
30902 __clock_nanosleep, and __clock_getcpuclockid.
30903 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30904 Remove librt_hidden_def (clock_gettime).
30905 * sysdeps/unix/clock_gettime.c: Likewise.
30906 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30908 * rt/clock_getres.c: Define __clock_getres as an alias.
30909 * sysdeps/posix/clock_getres.c: Likewise.
30910 * rt/clock_settime.c: Define __clock_settime as an alias.
30911 * sysdeps/unix/clock_settime.c: Likewise.
30912 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30913 * sysdeps/unix/clock_nanosleep.c: Likewise.
30914 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30915 * rt/clock-compat.c: New file.
30916 * rt/Makefile (librt-routines): Add clock-compat and move
30917 $(clock-routines) to ...
30918 (routines): ... here, new variable.
30919 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30920 Don't add get_clockfreq here.
30921 * rt/Versions (libc: GLIBC_2.17): New version set.
30922 Add clock_* symbols here.
30923 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30925 (GLIBC_2.17): Add clock_* symbols.
30926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30937 * NEWS: Mention the move.
30939 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30940 Use __open, __read, __close rather than their public counterparts.
30941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30942 (__get_clockfreq_via_cpuinfo): Likewise.
30943 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30944 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30946 * config.h.in (HAVE_IFUNC): New #undef.
30947 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30949 * configure: Regenerated.
30951 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30953 * configure.in: Move READELF check to start of file.
30954 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30955 libc_cv_asm_gnu_indirect_function in the process.
30956 * configure: Regenerated.
30958 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30960 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30961 send the output to /dev/null.
30962 (libc_cv_cc_with_libunwind): Likewise.
30963 (libc_cv_as_noexecstack): Likewise.
30964 * configure: Regenerate.
30966 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30968 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30970 * posix/globtest.sh (TMPDIR): Do not set.
30971 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30972 (testout): Likewise.
30974 2012-10-24 Andreas Jaeger <aj@suse.de>
30976 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30977 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30978 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30979 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30980 posix_fadvise64, posix_fallocate64.
30982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30983 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30984 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30986 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30988 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30991 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30992 <bits/fcntl-linux.h>.
30993 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30996 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30997 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30998 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30999 [__WORDSIZE != 64]: Likewise.
31001 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31003 * Makeconfig (run-built-tests): New variable.
31004 * Rules [$(cross-compiling) = yes]: Change condition to
31005 [$(run-built-tests) = no].
31006 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31007 to [$(run-built-tests) = yes].
31008 * elf/Makefile [$(cross-compiling) = no]: Likewise
31009 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31010 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31011 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31012 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31013 * io/Makefile [$(cross-compiling) = no]: Likewise.
31014 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31015 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31016 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31017 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31018 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31019 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31020 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31021 * string/Makefile [$(cross-compiling) = no]: Likewise.
31023 * posix/Makefile ($(objpfx)globtest.out): Pass
31024 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31025 $(rtld-installed-name).
31026 * posix/globtest.sh (elf_objpfx): Remove variable.
31027 (rtld_installed_name): Likewise.
31028 (library_path): Likewise.
31029 (run_program_prefix): New variable. Use for running globtest
31032 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31033 Joseph Myers <joseph@codesourcery.com>
31035 * Makeconfig (host-built-program-cmd): New variable.
31036 * elf/Makefile (tst-stackguard1-ARGS): Use
31037 $(host-built-program-cmd).
31038 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31039 (tst-spawn-ARGS): Likewise.
31040 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31042 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31043 Jim Blandy <jimb@codesourcery.com>
31045 * Makeconfig (run-via-rtld-prefix): New variable.
31046 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31047 (built-program-cmd): Likewise.
31049 2012-10-22 Andreas Jaeger <aj@suse.de>
31051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31052 __O_RSYNC if it exists, otherwise to O_SYNC.
31054 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31055 Joseph Myers <joseph@codesourcery.com>
31057 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31059 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31061 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31064 2012-10-22 Andreas Jaeger <aj@suse.de>
31066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31071 bits/fcntl-linux.h.
31073 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31074 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31081 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31082 Joseph Myers <joseph@codesourcery.com>
31084 * config.make.in (NM): New variable.
31086 2012-10-21 Andreas Jaeger <aj@suse.de>
31088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31089 definitions and declarations that are provided by
31090 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31092 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31095 * elf/Makefile (tests-static): Add tst-leaks1-static.
31096 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31097 ($(objpfx)tst-leaks1-static): New rule.
31098 ($(objpfx)tst-leaks1-static-mem): Likewise.
31099 (tst-leaks1-static-ENV): New macro.
31100 * elf/dl-open.c (dl_open_worker): Check the main application
31101 only if SHARED is defined.
31102 * elf/tst-leaks1-static.c: New file.
31104 2012-10-20 Andreas Jaeger <aj@suse.de>
31106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31107 generic values for Linux.
31108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31109 and declarations that are provided by <bits/fcntl-linux.h> and
31110 include <bits/fcntl-linux.h>.
31111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31114 2012-10-20 Roland McGrath <roland@hack.frob.com>
31116 * io/fcntl.h: Move include of <bits/types.h> to the top and
31117 include it unconditionally.
31119 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31121 * wcsmbs/Makefile (tests-ifunc): New variable.
31122 (tests): Add $(tests-ifunc).
31123 * wcsmbs/test-wcschr-ifunc.c: New file.
31124 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31125 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31126 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31127 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31128 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31130 * string/Makefile (tests-ifunc): New variable.
31131 (tests): Add $(tests-ifunc).
31132 * string/test-memccpy.c (TEST_NAME): New macro.
31133 * string/test-memchr.c (TEST_NAME): Likewise.
31134 * string/test-memcmp.c (TEST_NAME): Likewise.
31135 * string/test-memcpy.c (TEST_NAME): Likewise.
31136 * string/test-memmem.c (TEST_NAME): Likewise.
31137 * string/test-memmove.c (TEST_NAME): Likewise.
31138 * string/test-memset.c (TEST_NAME): Likewise.
31139 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31140 * string/test-stpcpy.c (TEST_NAME): Likewise.
31141 * string/test-stpncpy.c (TEST_NAME): Likewise.
31142 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31143 * string/test-strcasestr.c (TEST_NAME): Likewise.
31144 * string/test-strcat.c (TEST_NAME): Likewise.
31145 * string/test-strchr.c (TEST_NAME): Likewise.
31146 * string/test-strcmp.c(TEST_NAME): Likewise.
31147 * string/test-strcpy.c (TEST_NAME): Likewise.
31148 * string/test-strcspn.c (TEST_NAME): Likewise.
31149 * string/test-strlen.c (TEST_NAME): Likewise.
31150 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31151 * string/test-strncmp.c (TEST_NAME): Likewise.
31152 * string/test-strncpy.c (TEST_NAME): Likewise.
31153 * string/test-strnlen.c (TEST_NAME): Likewise.
31154 * string/test-strpbrk.c (TEST_NAME): Likewise.
31155 * string/test-strrchr.c (TEST_NAME): Likewise.
31156 * string/test-strspn.c (TEST_NAME): Likewise.
31157 * string/test-strstr.c (TEST_NAME): Likewise.
31158 * string/test-bcopy-ifunc.c: New file.
31159 * string/test-bzero-ifunc.c: Likewise.
31160 * string/test-memccpy-ifunc.c: Likewise.
31161 * string/test-memchr-ifunc.c: Likewise.
31162 * string/test-memcmp-ifunc.c: Likewise.
31163 * string/test-memcpy-ifunc.c: Likewise.
31164 * string/test-memmem-ifunc.c: Likewise.
31165 * string/test-memmove-ifunc.c: Likewise.
31166 * string/test-mempcpy-ifunc.c: Likewise.
31167 * string/test-memset-ifunc.c: Likewise.
31168 * string/test-rawmemchr-ifunc.c: Likewise.
31169 * string/test-stpcpy-ifunc.c: Likewise.
31170 * string/test-stpncpy-ifunc.c: Likewise.
31171 * string/test-strcasecmp-ifunc.c: Likewise.
31172 * string/test-strcasestr-ifunc.c: Likewise.
31173 * string/test-strcat-ifunc.c: Likewise.
31174 * string/test-strchr-ifunc.c: Likewise.
31175 * string/test-strchrnul-ifunc.c: Likewise.
31176 * string/test-strcmp-ifunc.c: Likewise.
31177 * string/test-strcpy-ifunc.c: Likewise.
31178 * string/test-strcspn-ifunc.c: Likewise.
31179 * string/test-strlen-ifunc.c: Likewise.
31180 * string/test-strncasecmp-ifunc.c: Likewise.
31181 * string/test-strncat-ifunc.c: Likewise.
31182 * string/test-strncmp-ifunc.c: Likewise.
31183 * string/test-strncpy-ifunc.c: Likewise.
31184 * string/test-strnlen-ifunc.c: Likewise.
31185 * string/test-strpbrk-ifunc.c: Likewise.
31186 * string/test-strrchr-ifunc.c: Likewise.
31187 * string/test-strspn-ifunc.c: Likewise.
31188 * string/test-strstr-ifunc.c: Likewise.
31190 * debug/Makefile (tests-ifunc): New variable.
31191 (tests): Add $(tests-ifunc).
31192 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31193 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31194 * debug/test-stpcpy_chk-ifunc.c: New file.
31195 * debug/test-strcpy_chk-ifunc.c: Likewise.
31197 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31200 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31201 header is not read in.
31203 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31205 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31206 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31207 directly. Pass built executable to script as
31208 $(built-program-cmd).
31209 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31210 $testprogram without using LD_LIBRARY_PATH and $ldso.
31212 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31213 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31214 $(rtld-installed-name).
31215 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31216 (rtld_installed_name): Likewise.
31217 (library_path): Likewise.
31218 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31219 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31220 $(run-program-prefix) to tst-tables.sh.
31221 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31222 it to run tst-table-from and tst-table-to.
31223 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31224 Pass it to tst-table.sh.
31225 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31226 $(run-program-prefix) to tst-gettext.sh.
31227 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31229 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31231 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31232 to run tst-gettext.
31233 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31234 to run tst-gettext2.
31235 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31236 to run tst-translit.
31237 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31238 $(run-program-prefix) to tst-mtrace.sh.
31239 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31241 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31242 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31243 $(rtld-installed-name).
31244 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31245 (rtld_installed_name): Likewise.
31246 (run_program_prefix): New variable. Use it to run wordexp-test.
31248 * Makeconfig (ARCH): Remove all definitions.
31249 (machine): Likewise.
31250 [ARCH]: Remove conditional code.
31251 [!objdir]: Give error.
31252 [!objdir] (objpfx): Remove.
31253 [!objdir] (common-objpfx): Likewise.
31254 [!objdir] (common-objdir): Likewise.
31255 * configure.in (config_makefile): Remove. Hardcode Makefile in
31256 AC_CONFIG_FILES call.
31257 * configure: Regenerated.
31260 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31262 (testout): Likewise.
31264 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31265 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31266 $(rtld-installed-name).
31267 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31268 (rtld_installed_name): Likwise.
31269 (runit): Remove function.
31270 (run_getconf): New variable, Use it for running getconf binary.
31272 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31275 * string/test-memmem.c (check_result): New function.
31276 (do_one_test): Use it.
31277 (check1): New function.
31278 (test_main): Use it.
31280 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31282 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31284 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31286 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31287 (_G_LSEEK64): Likewise.
31288 (_G_MMAP64): Likewise.
31289 (_G_FSTAT64): Likewise.
31290 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31291 (_G_LSEEK64): Likewise.
31292 (_G_MMAP64): Likewise.
31293 (_G_FSTAT64): Likewise.
31294 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31295 unconditional. Call __mmap64 directly.
31296 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31297 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31298 __lseek64 directly.
31299 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31300 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31302 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31303 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31304 __lseek64 directly.
31305 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31306 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31307 __lseek64 directly.
31308 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31309 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31310 __lseek64 directly.
31311 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31312 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31313 __fxstat64 directly.
31314 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31315 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31317 (freopen64) [!_G_OPEN64]: Remove conditional code.
31318 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31320 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31321 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31323 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31324 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31326 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31327 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31329 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31330 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31332 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31333 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31335 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31336 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31338 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31340 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31343 * manual/memory.texi (Malloc Tunable Parameters): Add note
31344 about free list pointers overwriting some perturb bytes.
31345 Wording suggested by Roland McGrath.
31347 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31349 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31350 (lgamma_test): Likewise.
31351 (tgamma_test): Likewise.
31353 2012-10-16 Florian Weimer <fweimer@redhat.com>
31356 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31357 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31359 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31361 * NEWS: Mention BZ #14716.
31362 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31363 when removing AVAILABLE1_USES_J macro.
31365 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31367 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31368 (__bswap_64): __uint64_t for unsigned 64-bit int.
31370 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31372 * include/string.h (memmem): Declare libc hidden alias.
31373 * string/memmem.c (memmem): Define libc hidden alias.
31374 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31375 __read, __close instead of open, read, close.
31377 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31380 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31382 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31383 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31384 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31386 (__rawmemchr_sse2): Likewise.
31387 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31388 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31389 (__strchr_sse2): Likewise.
31390 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31391 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31392 (__strcasecmp_sse2): Likewise.
31393 (__strncasecmp_sse2): Likewise.
31394 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31395 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31396 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31397 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31398 (__strrchr_sse2): Likewise.
31399 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31401 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31402 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31403 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31404 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31405 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31406 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31407 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31408 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31409 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31410 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31411 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31412 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31413 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31414 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31415 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31416 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31417 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31418 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31419 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31420 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31421 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31422 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31423 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31424 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31425 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31427 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31428 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31429 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31430 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31432 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31434 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31435 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31436 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31437 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31439 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31441 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31442 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31443 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31444 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31446 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31447 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31448 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31449 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31450 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31451 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31452 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31453 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31454 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31455 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31456 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31457 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31458 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31459 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31460 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31461 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31462 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31463 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31464 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31465 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31467 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31468 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31469 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31471 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31472 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31473 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31474 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31475 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31476 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31477 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31478 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31479 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31486 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31488 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31489 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31490 * include/ifunc-impl-list.h: New file.
31491 * misc/ifunc-impl-list.c: Likewise.
31492 * misc/Makefile (routines): Add ifunc-impl-list.
31493 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31494 * string/test-string.h: Include <ifunc-impl-list.h>.
31495 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31496 TEST_NAME]: New variables.
31497 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31499 (test_init): Call __libc_ifunc_impl_list to initialize
31500 func_list if TEST_IFUNC and TEST_NAME are defined.
31502 * string/Makefile (strop-tests): Add bcopy and bzero.
31503 * string/test-bcopy.c: New file.
31504 * string/test-bzero.c: Likewise.
31505 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31507 * string/test-memset.c: Support bzero test if TEST_BZERO is
31509 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31511 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31513 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31516 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31518 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31519 * configure: Regenerated.
31521 * Makeconfig (+link-static-before-libc): Don't include
31522 $(link-static-libc).
31524 * libio/libio.h (_IO_pos_t): Remove.
31526 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31528 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31531 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31533 * crypt/crypt-entry.c: Include fips-private.h.
31534 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31535 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31536 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31537 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31539 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31541 * crypt/crypt-private.h: Include stdbool.h.
31542 (_ufc_setup_salt_r): Return bool.
31543 * crypt/crypt-entry.c: Include errno.h.
31544 (__crypt_r): Return NULL with EINVAL for bad salt.
31545 * crypt/crypt_util.c (bad_for_salt): New.
31546 (_ufc_setup_salt_r): Check that salt is long enough and within
31547 the specified alphabet.
31548 * crypt/badsalttest.c: New file.
31549 * crypt/Makefile (tests): Add it.
31550 ($(objpfx)badsalttest): New.
31552 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31554 * NEWS: Add entry for BZ #14602.
31556 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31558 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31560 * math/libm-test.inc: Update comment listing what functions and
31562 (isgreater_test): New function.
31563 (isgreaterequal_test): Likewise.
31564 (isless_test): Likewise.
31565 (islessequal_test): Likewise.
31566 (islessgreater_test): Likewise.
31567 (isunordered_test): Likewise.
31568 (main): Call the new functions.
31570 2012-10-09 Roland McGrath <roland@hack.frob.com>
31572 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31573 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31574 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31575 * sysdeps/i386/configure: Regenerated.
31576 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31577 * sysdeps/mach/configure: Regenerated.
31578 * sysdeps/mach/hurd/configure: Regenerated.
31579 * sysdeps/powerpc/configure: Regenerated.
31580 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31581 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31582 * sysdeps/s390/s390-32/configure: Regenerated.
31583 * sysdeps/s390/s390-64/configure: Regenerated.
31584 * sysdeps/sh/configure: Regenerated.
31585 * sysdeps/sparc/configure: Regenerated.
31586 * sysdeps/unix/sysv/linux/configure: Regenerated.
31587 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31588 * sysdeps/x86_64/configure: Regenerated.
31590 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31591 defined. Don't check if MAP is NULL.
31593 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31595 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31596 (_G_stat64): Likewise.
31597 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31598 (_G_stat64): Likewise.
31599 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31600 instead of struct _G_stat64.
31601 * libio/fileops.c (mmap_remap_check): Likewise.
31602 (decide_maybe_mmap): Likewise.
31603 (_IO_new_file_seekoff): Likewise.
31604 (_IO_file_stat): Likewise.
31605 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31607 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31608 instead of struct _G_stat64.
31609 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31611 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31614 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31616 (CHECK_EOL): New macro.
31617 (two_way_short_needle): Check beginning of haystack for EOL. Use
31619 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31620 Replace with CHECK_EOL.
31621 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31622 Replace with CHECK_EOL.
31624 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31626 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31628 * math/libm-test.inc: Update comment listing what functions and
31630 (finite_test): New function.
31631 (isinf_test): Likewise.
31632 (isnan_test): Likewise.
31633 (fpclassify_test): Test subnormal input.
31634 (isfinite_test): Likewise.
31635 (isnormal_test): Likewise.
31636 (main): Call the new functions.
31638 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31641 * Makerules (%.dynsym): Force C locale when running
31642 $(OBJDUMP) --dynamic-syms.
31644 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31649 2012-10-06 David S. Miller <davem@davemloft.net>
31651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31652 upper 32-bits of the length value in %o2 since we use branch-on-register
31653 tests which consider the entire 64-bit register.
31655 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31657 * string/test-strstr.c (check2): Add a test for page boundary.
31659 2012-10-05 David S. Miller <davem@davemloft.net>
31661 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31662 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31664 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31666 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31667 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31668 and bzero when HWCAP_SPARC_CRYPTO is present.
31670 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31673 * string/test-strstr.c (check2): New function.
31674 (test_main): Call check2.
31676 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31678 * string/bug-strcasestr1.c (do_test): Moved to ...
31679 * string/test-strcasestr.c (check1): Here. New function.
31680 (do_one_test): Break out result checking code into ...
31681 (check_result): This. New function.
31682 (do_one_test): Call check_result.
31683 (test_main): Call check1.
31684 * string/bug-strchr1.c (do_test): Moved to ...
31685 * string/test-strchr.c (check1): Here. New function.
31686 (do_one_test): Break out result checking code into ...
31687 (check_result): This. New function.
31688 (do_one_test): Call check_result.
31689 (test_main): Call check1.
31690 * string/bug-strstr1.c (main): Moved to ...
31691 * string/test-strstr.c (check1): Here. New function.
31692 (do_one_test): Break out result checking code into ...
31693 (check_result): This. New function.
31694 (do_one_test): Call check_result.
31695 (test_main): Call check1.
31696 * string/bug-strcasestr1.c: Removed.
31697 * string/bug-strchr1.c: Likewise.
31698 * string/bug-strstr1.c: Likewise.
31700 * elf/Makefile (dl-routines): Add hwcaps.
31701 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31702 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31703 (_dl_important_hwcaps): Moved to ...
31704 * elf/dl-hwcaps.c: Here. New file.
31705 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31708 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31709 if IS_IN_rtld isn't defined.
31711 * elf/dl-support.c (_dl_sysinfo_map): New.
31712 Include "get-dynamic-info.h" and "setup-vdso.h".
31713 (_dl_non_dynamic_init): Call setup_vdso.
31714 * elf/dynamic-link.h: Don't include <assert.h>.
31715 (elf_get_dynamic_info): Moved to ...
31716 * elf/get-dynamic-info.h: Here. New file.
31717 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31718 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31719 * elf/setup-vdso.h: Here. New file.
31720 * elf/rtld.c: Include "setup-vdso.h".
31721 (dl_main): Call setup_vdso.
31723 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31725 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31726 creal in comment listing functions tested. List finite, isinf,
31727 isnan, isless, islessequal, isgreater, isgreaterequal,
31728 islessgreater, isunordered, lgamma_r and pow10 as functions and
31729 macros not tested. Mention which functions not tested are aliases
31730 for other functions. Fix typo. Note that signs of NaNs are not
31733 * scripts/config.guess: Update from config.git.
31734 * scripts/config.sub: Likewise.
31736 2012-10-04 Roland McGrath <roland@hack.frob.com>
31738 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31739 * misc/madvise.c (madvise): Renamed to __madvise.
31740 Make madvise a weak alias.
31741 * include/sys/mman.h: Declare __madvise.
31742 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31743 * sysdeps/unix/syscalls.list
31744 (madvise): Make __madvise the strong name, and madvise a weak alias.
31745 * sysdeps/unix/sysv/linux/syscalls.list
31746 (madvise, mmap): Remove redundant entries.
31747 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31748 * malloc/malloc.c (mtrim): Likewise.
31749 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31751 2012-10-03 Roland McGrath <roland@hack.frob.com>
31753 * sysdeps/mach/hurd/dl-cache.c: File removed.
31754 * config.h.in (USE_LDCONFIG): New #undef.
31755 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31756 * configure: Regenerated.
31757 * elf/Makefile (dl-routines): Add dl-cache only under
31758 [$(use-ldconfig) = yes].
31759 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31760 cache on [USE_LDCONFIG].
31761 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31763 * elf/rtld.c (dl_main): Likewise.
31765 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31767 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31768 _SC_LEVEL4_CACHE_LINESIZE.
31770 2012-10-03 Roland McGrath <roland@hack.frob.com>
31772 * sysdeps/unix/bsd/confstr.h: File removed.
31774 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31776 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31779 2012-10-02 Roland McGrath <roland@hack.frob.com>
31781 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31782 Make 'mapoff' field ElfW(Off) rather than off_t.
31784 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31786 * nscd/Makefile: Remove nscd-cflags and all its users.
31787 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31788 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31791 * malloc.c (malloc_printerr): Clarify error message.
31793 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31797 Set bit_FMA_Usable if FMA is supported.
31798 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31800 (bit_FMA4_Usable): Updated.
31801 (index_FMA_Usable): New macro.
31802 (CPUID_FMA): Likewise
31803 (HAS_FMA): Defined with bit_FMA_Usable.
31805 2012-10-01 Roland McGrath <roland@hack.frob.com>
31807 * bits/types.h (__swblk_t): Type removed.
31808 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31809 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31811 (__SWBLK_T_TYPE): Likewise.
31812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31813 (__SWBLK_T_TYPE): Likewise.
31814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31815 (__SWBLK_T_TYPE): Likewise.
31816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31817 (__SWBLK_T_TYPE): Likewise.
31819 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
31820 Honza Horak <hhorak@redhat.com>
31822 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31823 (xdr_mapname): Use YPMAXMAP as maxsize.
31824 (xdr_peername): Use YPMAXPEER as maxsize.
31825 (xdr_keydat): Use YPAXRECORD as maxsize.
31826 (xdr_valdat): Use YPMAXRECORD as maxsize.
31828 2012-10-01 Roland McGrath <roland@hack.frob.com>
31830 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31832 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31833 * csu/init-first.c: ... here.
31834 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31835 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31836 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31837 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31838 * sysdeps/i386/init-first.c: File removed.
31839 * sysdeps/sh/init-first.c: File removed.
31841 2012-10-01 Joseph Myers <joseph@codesourcery.com>
31844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31845 if x * y might underflow to zero and z is zero.
31846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31848 * math/libm-test.inc (min_subnorm_value): New variable.
31849 (fma_test): Add more tests.
31850 (fma_test_towardzero): Likewise.
31851 (fma_test_downward): Likewise
31852 (fma_test_upward): Likewise.
31853 (initialize): Set min_subnorm_value.
31855 2012-09-29 Joseph Myers <joseph@codesourcery.com>
31858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31861 mode for addition resulting in exact zero.
31862 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31867 * math/libm-test.inc (fma_test): Add more tests.
31868 (fma_test_towardzero): New function.
31869 (fma_test_downward): Likewise.
31870 (fma_test_upward): Likewise.
31871 (main): Call the new functions.
31873 2012-09-28 David S. Miller <davem@davemloft.net>
31875 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31877 2012-09-28 Roland McGrath <roland@hack.frob.com>
31879 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31880 instead of SIGALRM.
31882 * sysdeps/gnu/_G_config.h: Moved to ...
31883 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31884 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31885 * sysdeps/generic/_G_config.h: ... here.
31887 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31889 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31891 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31892 Conditionalize target on [libnss_test1.so-version].
31894 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31896 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31897 (elfobjdir): Move out of conditionals.
31899 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31900 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31901 (__nss_lookup_function): Conditionalize label remove_from_tree on
31902 [!DO_STATIC_NSS || SHARED], matching its only use.
31904 2012-09-28 David S. Miller <davem@davemloft.net>
31906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31907 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31909 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31911 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31913 when HWCAP_SPARC_CRYPTO is present.
31915 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31917 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31919 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31922 * stdio-common/vfprintf.c (process_string_arg): Revert
31925 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31927 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31929 * stdio-common/tst-sprintf.c: Include <locale.h>
31930 (main): Test sprintf's handling of incomplete multibyte
31933 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31935 * elf/dl-runtime.c (VERSYMIDX): Removed.
31936 * elf/dl-version.c (VERSYMIDX): Likewise.
31937 * elf/do-rel.h (VERSYMIDX): Likewise.
31938 (VALIDX): Likewise.
31939 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31940 * elf/rtld.c (VALIDX): Likewise.
31941 (ADDRIDX): Likewise.
31942 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31943 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31944 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31945 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31946 (VALIDX): Likewise.
31947 (ADDRIDX): Likewise.
31949 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31951 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31953 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31956 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31958 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31959 addresses are in the same scope as 192.0.2/24.
31960 * posix/gai.conf: Document new scope table defaults.
31962 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31965 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31966 for ftell. Compute offsets from write pointers instead.
31967 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31969 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31972 * libio/Makefile (tests): New test case tst-fseek.
31973 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31974 combination works in wide mode.
31975 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31976 state when the external buffer state changes.
31978 2012-09-27 David S. Miller <davem@davemloft.net>
31981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31982 pass reloc->r_addend in as the 'high' argument to
31983 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31987 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31989 * rt/tst-aio2.c: Include <pthread.h>.
31990 * rt/tst-aio3.c: Likewise.
31992 2012-09-27 Steve Ellcey <sellcey@mips.com>
31994 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31996 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31998 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31999 contents on [SHARED].
32001 2012-09-26 Marek Polacek <polacek@redhat.com>
32005 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32006 for C++ and GCC <4.3 as well as for non GCC compilers.
32008 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32012 2012-09-25 Roland McGrath <roland@hack.frob.com>
32014 * Makefile.in (all, install): Declare with .PHONY.
32015 Reported by Michael Hope <michael.hope@linaro.org>.
32017 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32019 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32020 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32022 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32024 (sydep_routines): Add the new and the internal functions.
32025 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32026 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32028 (GLIBC_2.17): Add the new function.
32029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32030 (GLIBC_2.17): Likewise.
32031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32032 (GLIBC_2.17): Likewise.
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32034 (GLIBC_2.17): Likewise.
32035 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32037 2012-09-25 Alan Modra <amodra@gmail.com>
32039 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32040 Add release barrier before setting once_control to say
32041 initialisation is done. Add hints on lwarx. Use macro in
32043 (clear_once_control): Add release barrier.
32045 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32048 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32050 * math/s_clog10.c (__clog10): Likewise.
32051 * math/s_clog10f.c (__clog10f): Likewise.
32052 * math/s_clog10l.c (__clog10l): Likewise.
32053 * math/s_clogf.c (__clogf): Likewise.
32054 * math/s_clogl.c (__clogl): Likewise.
32055 * math/Makefile (libm-calls): Add x2y2m1.
32056 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32057 (__x2y2m1): Likewise.
32058 (__x2y2m1l): Likewise.
32059 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32060 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32063 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32064 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32065 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32066 * sysdeps/i386/fpu/libm-test-ulps: Update.
32067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32070 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32071 int as type of variable DEPTH.
32072 (glob): Use size_t instead of int as type of variables NEWCOUNT
32075 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32077 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32078 Add s_sincosf-sse2.
32079 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32080 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32081 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32082 macros for using routine as __sincosf_ia32.
32083 Use macro for function declaration and weak_alias.
32084 * sysdeps/i386/fpu/libm-test-ulps: Update.
32086 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32089 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32090 subnormal argument.
32091 * math/s_cexpf.c (__cexpf): Likewise.
32092 * math/s_csinf.c (__csinf): Likewise.
32093 * math/s_csinhf.c (__csinhf): Likewise.
32094 * math/s_ctanf.c (__ctanf): Likewise.
32095 * math/s_ctanhf.c (__ctanhf): Likewise.
32096 * math/s_ccosh.c (__ccoshf): Likewise.
32097 * math/s_cexp.c (__cexpl): Likewise.
32098 * math/s_csin.c (__csin): Likewise.
32099 * math/s_csinh.c (__csinh): Likewise.
32100 * math/s_ctan.c (__ctan): Likewise.
32101 * math/s_ctanh.c (ctanh): Likewise.
32102 * math/s_ccoshl.c (__ccoshl): Likewise.
32103 * math/s_cexpl.c (__cexpl): Likewise.
32104 * math/s_csinl.c (__csinl): Likewise.
32105 * math/s_csinhl.c (__csinhl): Likewise.
32106 * math/s_ctanl.c (__ctanl): Likewise.
32107 * math/s_ctanhl.c (__ctanhl): Likewise.
32109 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32111 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32112 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32113 (_IO_off_t): Define to __off_t, not _G_off_t.
32114 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32115 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32116 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32117 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32118 type of __dummy and __dummy2 fields.
32119 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32120 (_G_ssize_t): Likewise.
32121 (_G_off_t): Likewise.
32122 (_G_pid_t): Likewise.
32123 (_G_uid_t): Likewise.
32124 (_G_wchar_t): Likewise.
32125 (_G_wint_t): Likewise.
32126 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32127 (_G_ssize_t): Likewise.
32128 (_G_off_t): Likewise.
32129 (_G_pid_t): Likewise.
32130 (_G_uid_t): Likewise.
32131 (_G_wchar_t): Likewise.
32132 (_G_wint_t): Likewise.
32133 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32134 (_G_ssize_t): Likewise.
32135 (_G_off_t): Likewise.
32136 (_G_pid_t): Likewise.
32137 (_G_uid_t): Likewise.
32138 (_G_wchar_t): Likewise.
32139 (_G_wint_t): Likewise.
32141 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32143 * malloc/arena.c: Include malloc-sysdep.h.
32144 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32145 is sufficient to shrink the heap or an unmap is needed.
32146 * sysdeps/generic/malloc-sysdep.h: New file. Define
32147 new function check_may_shrink_heap.
32148 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32149 new function check_may_shrink_heap.
32151 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32153 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32156 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32158 * catgets/test-gencat.sh: Add "set -e".
32159 * elf/tst-pathopt.sh: Likewise.
32160 * grp/tst_fgetgrent.sh: Likewise.
32161 * iconvdata/run-iconv-test.sh: Likewise.
32162 * intl/tst-gettext.sh: Likewise.
32163 * intl/tst-gettext2.sh: Likewise.
32164 * intl/tst-gettext4.sh: Likewise.
32165 * intl/tst-gettext6.sh: Likewise.
32166 * intl/tst-translit.sh: Likewise.
32167 * io/ftwtest-sh: Likewise.
32168 * libio/test-freopen.sh: Likewise.
32169 * malloc/tst-mtrace.sh: Likewise.
32170 * posix/globtest.sh: Likewise.
32171 * posix/tst-getconf.sh: Likewise.
32172 * posix/wordexp-tst.sh: Likewise.
32173 * stdio-common/tst-printf.sh: Likewise.
32174 * stdio-common/tst-unbputc.sh: Likewise.
32175 * stdlib/tst-fmtmsg.sh: Likewise.
32176 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32177 * catgets/Makefile: Do not specify -e option when running
32178 testsuite shell scripts.
32179 * elf/Makefile: Likewise.
32180 * grp/Makefile: Likewise.
32181 * iconvdata/Makefile: Likewise.
32182 * intl/Makefile: Likewise.
32183 * io/Makefile: Likewise.
32184 * libio/Makefile: Likewise.
32185 * malloc/Makefile: Likewise.
32186 * posix/Makefile: Likewise.
32187 * stdio-common/Makefile: Likewise.
32188 * stdlib/Makefile: Likewise.
32189 * sysdeps/x86_64/Makefile: Likewise.
32191 * io/ftwtest-sh: Add copyright header.
32192 * posix/globtest.sh: Likewise.
32193 * posix/tst-getconf.sh: Likewise.
32194 * posix/wordexp-tst.sh: Likewise.
32195 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32197 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32200 * Makeconfig (+link): Defined as $(+link-static) if
32201 $(build-shared) isn't yes.
32202 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32204 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32206 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32209 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32210 new chunk size with MALLOC_ALIGN_MASK.
32212 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32215 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32217 (__printf_fphex): Determine rounding using get_rounding_mode and
32219 * stdio-common/tst-printf-round.c (struct hex_test): New
32221 (hex_tests): New variable.
32222 (test_hex_in_one_mode): New function.
32223 (do_test): Also run tests for hex float output.
32225 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32227 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32228 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32229 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32230 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32231 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32232 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32233 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32236 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32238 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32239 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32240 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32241 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32243 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32246 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32248 * elf/tst-rtld-load-self.sh: New test.
32249 * elf/Makefile: Run it.
32251 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32253 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32254 (tst-writev-ENV): Remove.
32255 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32257 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32259 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32261 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32263 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32265 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32267 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32268 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32272 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32275 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32276 * config.make.in (have-cpp-asm-debuginfo): Removed.
32277 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32278 * configure: Regenerated.
32280 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32283 * stdio-common/printf_fp.c: Include <stdbool.h> and
32285 (___printf_fp): Determine rounding using get_rounding_mode and
32287 * stdio-common/tst-printf-round.c: New file.
32288 * stdio-common/Makefile (tests): Add tst-printf-round.
32289 (link-libm): New variable.
32290 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32292 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32295 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32296 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32298 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32301 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32303 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32304 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32305 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32306 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32308 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32311 * include/rounding-mode.h: New file.
32312 * sysdeps/generic/get-rounding-mode.h: Likewise.
32313 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32314 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32315 (MAX_VALUE): New macro.
32316 (MIN_VALUE): Likewise.
32317 (overflow_value): New function.
32318 (underflow_value): Likewise.
32319 (round_and_return): Use overflow_value and underflow_value to
32320 determine return values in overflow and underflow cases. Use
32321 round_away to determine rounding depending on rounding mode.
32322 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32323 determine return values in overflow and underflow cases.
32324 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32325 (struct test_results): New structure.
32326 (struct test): Use struct test_results to store expected results
32327 for all rounding modes.
32328 (TEST): Include expected results for all rounding modes.
32329 (test_in_one_mode): New function.
32330 (do_test): Use test_in_one_mode to compute and check results.
32331 Check results for all rounding modes.
32332 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32335 2012-12-09 Allan McRae <allan@archlinux.org>
32337 * sysdeps/i386/fpu/libm-test-ulps: Update
32339 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32341 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32342 (_G_int32_t): Likewise.
32343 (_G_uint16_t): Likewise.
32344 (_G_uint32_t): Likewise.
32345 (_G_HAVE_BOOL): Likewise.
32346 (_G_HAVE_ATEXIT): Likewise.
32347 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32348 (_G_HAVE_IO_FILE_OPEN): Likewise.
32349 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32350 (_G_int32_t): Likewise.
32351 (_G_uint16_t): Likewise.
32352 (_G_uint32_t): Likewise.
32353 (_G_HAVE_BOOL): Likewise.
32354 (_G_HAVE_ATEXIT): Likewise.
32355 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32356 (_G_HAVE_IO_FILE_OPEN): Likewise.
32357 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32358 (_G_int32_t): Likewise.
32359 (_G_uint16_t): Likewise.
32360 (_G_uint32_t): Likewise.
32361 (_G_HAVE_BOOL): Likewise.
32362 (_G_HAVE_ATEXIT): Likewise.
32363 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32364 (_G_HAVE_IO_FILE_OPEN): Likewise.
32366 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32368 * csu/libc-tls.c: Update copyright years.
32370 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32372 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32373 [!_G_USING_THUNKS]: Remove conditional code.
32374 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32375 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32377 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32378 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32379 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32380 (_G_VTABLE_LABEL_PREFIX): Likewise.
32381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32382 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32384 (_G_VTABLE_LABEL_PREFIX): Likewise.
32385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32386 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32388 (_G_VTABLE_LABEL_PREFIX): Likewise.
32389 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32391 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32393 * libio/Makefile: Include ../Makeconfig before tests.
32394 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32395 only if $(build-shared) is yes.
32397 * iconv/gconv_db.c: Update copyright years.
32399 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32401 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32402 unwind info if defined PIC. Fix special cases description.
32403 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32405 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32407 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32409 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32411 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32413 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32416 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32417 (LDLIBS-tst-chk4): This.
32418 (LDFLAGS-tst-chk5): Renamed to ...
32419 (LDLIBS-tst-chk5): This.
32420 (LDFLAGS-tst-chk6): Renamed to ...
32421 (LDLIBS-tst-chk6): This.
32422 (LDFLAGS-tst-lfschk4): Renamed to ...
32423 (LDLIBS-tst-lfschk4): This.
32424 (LDFLAGS-tst-lfschk5): Renamed to ...
32425 (LDLIBS-tst-lfschk5): This.
32426 (LDFLAGS-tst-lfschk6): Renamed to ...
32427 (LDLIBS-tst-lfschk6): This.
32429 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32430 on $(common-objpfx)soversions.mk.
32432 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32435 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32438 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32440 * malloc/arena.c (arena_get_retry): New function that gets
32441 another arena for the caller to try its request on.
32442 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32443 current arena cannot fulfill the request.
32444 (__libc_memalign): Likewise.
32445 (__libc_memalign): Likewise.
32446 (__libc_pvalloc): Likewise.
32447 (__libc_calloc): Likewise.
32449 2012-09-05 John Tobey <john.tobey@gmail.com>
32452 * manual/arith.texi (Operations on Complex): Fix description
32453 of carg branch cut.
32455 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32458 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32462 * manual/memory.texi (Memory): Make order of menu items match
32465 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32467 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32468 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32469 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32471 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32473 * csu/libc-tls.c (static_dtv): Renamed to ...
32474 (_dl_static_dtv): This. Make it global.
32475 (_dl_initial_dtv): Removed.
32476 (__libc_setup_tls): Updated.
32477 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32478 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32481 2012-09-06 Petr Machata <pmachata@redhat.com>
32483 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32484 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32485 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32486 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32488 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32491 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32492 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32495 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32498 * Makeconfig (link-static-before-libc): Replace $(+prector)
32500 (link-static-after-libc): Replace $(+postctor) with
32502 (link-bounded): Replace $(+prector)/$(+postctor) with
32503 $(+prectorT)/$(+postctorT).
32504 (+prectorT): New macro.
32505 (+postctorT): Likewise.
32507 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32509 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32510 (round_str): Handle values above the maximum for IBM long double
32512 * stdlib/tst-strtod-round.c (tests): Regenerated.
32514 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32516 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32518 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32519 zarch_nohighgprs around the zarch optimized routines.
32520 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32521 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32525 2012-09-05 David S. Miller <davem@davemloft.net>
32527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32529 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32530 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32531 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32532 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32535 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32537 * malloc/arena.c: Fold copyright years.
32538 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32540 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32542 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32544 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32546 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32548 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32550 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32551 change internal state upon failure.
32553 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32555 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32556 * malloc/memusage.c (mmap): Likewise.
32557 (mmap64, mremap): Likewise. Adjust name in comment.
32559 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32561 * libio/fileops.c: Fix typos in comments.
32562 * libio/oldfileops.c: Likewise.
32563 * libio/wfileops.c: Likewise.
32565 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32568 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32569 (tst-malloc-usable-ENV): Set environment for test case.
32570 * malloc/hooks.c (malloc_check_get_size): New function to get
32572 * malloc/malloc.c (musable): Use malloc_check_get_size.
32573 * malloc/tst-malloc-usable.c: New test case.
32575 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32577 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32579 2012-09-05 Allan McRae <allan@archlinux.org>
32582 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32583 determine header location.
32584 * configure: Regenerated.
32586 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32588 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32590 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32591 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32593 (test): Regenerate.
32595 2012-09-04 David S. Miller <davem@davemloft.net>
32597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32599 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32601 2012-09-04 Florian Weimer <fweimer@redhat.com>
32603 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32606 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32608 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32611 * libio/iogetdelim.c: Include <limits.h>.
32612 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32613 + len + 1 would overflow.
32615 2012-09-03 Andreas Jaeger <aj@suse.de>
32617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32618 * sysdeps/i386/fpu/libm-test-ulps: Update.
32620 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32622 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32623 Add s_sinf-sse2, s_conf-sse2.
32625 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32626 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32627 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32628 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32630 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32631 for using routine as __sinf_ia32.
32632 Use macro for function declaration and weak_alias.
32633 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32634 for using routine as __cosf_ia32.
32635 Use macro for function declaration and weak_alias.
32637 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32638 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32640 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32641 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32644 * math/libm-test.inc (cos_test): Add more test cases.
32645 (sin_test): Likewise.
32646 (sincos_test): Likewise.
32648 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32651 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32653 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32655 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32658 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32659 first element of the GOT.
32660 (elf_machine_load_address): Return the difference between
32661 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32663 2012-09-01 Allan McRae <allan@archlinux.org>
32666 * configure.in (AWK): Require gawk version 3.0 or later.
32667 * configure: Regenerated.
32669 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32671 * sysdeps/unix/sysv/linux/kernel-features.h
32672 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32674 [__NR_clock_getres]: Make code unconditional.
32675 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32676 (clock_getcpuclockid): Remove code left unreachable by removal of
32678 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32679 code unconditional.
32680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32682 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32683 Make code unconditional.
32684 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32686 * sysdeps/unix/sysv/linux/clock_settime.c
32687 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32689 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32692 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32695 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32696 scripts/test-installation.pl.
32698 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32699 and $ld_so_version if it is set.
32701 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32705 failure if reading from procfs failed.
32706 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32708 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32710 * sysdeps/unix/sysv/linux/kernel-features.h
32711 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32712 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32713 Remove conditional code.
32714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32715 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32716 Remove conditional code.
32717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32718 * sysdeps/unix/sysv/linux/i386/fxstat.c
32719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32722 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32724 * sysdeps/unix/sysv/linux/i386/lxstat.c
32725 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32727 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32728 Remove conditional code.
32729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32731 Remove conditional code.
32732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32734 <kernel-features.h>.
32735 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32737 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32738 Remove conditional code.
32739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32741 Remove conditional.
32743 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32746 * NEWS: Add fixed bug number.
32748 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32751 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32752 underflowing exponent in case of negative sign.
32753 * stdlib/tst-strtod-round-data: Add more tests.
32754 * stdlib/tst-strtod-round.c (tests): Regenerated.
32757 * stdlib/strtod_l.c (NDIG): Remove.
32758 (HEXNDIG): Likewise.
32759 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32760 smallest representable value.
32761 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32762 lie within an exact representation of 1/2 ulp of the result.
32763 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32765 (TENS_P9_IDX): Define unconditionally.
32766 (TENS_P9_SIZE): Likewise.
32767 (TENS_P10_IDX): Likewise.
32768 (TENS_P10_SIZE): Likewise.
32769 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32770 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32772 entries for 10^2^13 and 10^2^14.
32773 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32774 (TENS_P13_IDX): Define.
32775 (TENS_P13_SIZE): Likewise.
32776 (TENS_P14_IDX): Likewise.
32777 (TENS_P14_SIZE): Likewise.
32778 (_fpioconst_pow10): Change array size to
32779 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32781 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32782 1024]: Add entries for 10^2^13 and 10^2^14.
32783 [LAST_POW10 > _LAST_POW10]: Remove #error.
32784 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32785 (_fpioconst_pow10): Change array size to
32786 FPIOCONST_POW10_ARRAY_SIZE.
32787 * stdlib/gen-fpioconst.c: New file.
32788 * stdlib/gen-tst-strtod-round.c: Likewise.
32789 * stdlib/tst-strtod-round-data: Likewise.
32790 * stdlib/tst-strtod-round.c: Likewise.
32791 * stdlib/Makefile (tests): Add tst-strtod-round.
32794 * stdlib/strtod_l.c: Include <stdint.h>.
32795 (NDEBUG): Do not define.
32796 (round_and_return): Change EXPONENT parameter to type intmax_t.
32797 Rearrange calculations to avoid internal overflow possibilities.
32798 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32799 Rearrange calculations to avoid internal overflow possibilities.
32800 Assert that number fits inside MPNSIZE limbs.
32801 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32802 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32803 calculations and add assertions to avoid internal overflow
32804 possibilities. Add casts to avoid signed/unsigned operations.
32805 * stdlib/tst-strtod-overflow.c: New file.
32806 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32808 2012-08-25 Marek Polacek <polacek@redhat.com>
32810 * time/time.h: Fix some typos in comments.
32812 2012-08-23 Roland McGrath <roland@hack.frob.com>
32814 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32815 * posix/tst-rfc3484-2.c: Likewise.
32816 * posix/tst-rfc3484-3.c: Likewise.
32818 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32820 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32821 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32823 2012-08-23 Joseph Myers <joseph@codesourcery.com>
32825 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32826 #include of fxstatat64.c.
32828 2012-08-22 Roland McGrath <roland@hack.frob.com>
32830 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32831 * shadow/getspent_r.c: Likewise.
32832 * shadow/getspnam.c: Likewise.
32833 * shadow/getspnam_r.c: Likewise.
32834 * gshadow/getsgent.c: Likewise.
32835 * gshadow/getsgent_r.c: Likewise.
32836 * gshadow/getsgnam.c: Likewise.
32837 * gshadow/getsgnam_r.c: Likewise.
32838 * inet/getnetbyad.c: Likewise.
32839 * inet/getnetbyad_r.c: Likewise.
32840 * inet/getnetbynm.c: Likewise.
32841 * inet/getnetbynm_r.c: Likewise.
32842 * inet/getnetent.c: Likewise.
32843 * inet/getnetent_r.c: Likewise.
32844 * inet/getproto.c: Likewise.
32845 * inet/getproto_r.c: Likewise.
32846 * inet/getprtent.c: Likewise.
32847 * inet/getprtent_r.c: Likewise.
32848 * inet/getprtname.c: Likewise.
32849 * inet/getprtname_r.c: Likewise.
32850 * inet/getrpcbyname.c: Likewise.
32851 * inet/getrpcbyname_r.c: Likewise.
32852 * inet/getrpcbynumber.c: Likewise.
32853 * inet/getrpcbynumber_r.c: Likewise.
32854 * inet/getrpcent.c: Likewise.
32855 * inet/getrpcent_r.c: Likewise.
32856 * inet/getaliasent.c: Likewise.
32857 * inet/getaliasent_r.c: Likewise.
32858 * inet/getaliasname.c: Likewise.
32859 * inet/getaliasname_r.c: Likewise.
32860 * nscd/getgrgid_r.c: Likewise.
32861 * nscd/getgrnam_r.c: Likewise.
32862 * nscd/gethstbyad_r.c: Likewise.
32863 * nscd/gethstbynm3_r.c: Likewise.
32864 * nscd/getpwnam_r.c: Likewise.
32865 * nscd/getpwuid_r.c: Likewise.
32866 * nscd/getsrvbynm_r.c: Likewise.
32867 * nscd/getsrvbypt_r.c: Likewise.
32868 * nscd/gai.c: Likewise.
32870 * configure.in (build_nscd): New substituted variable, set
32871 by --disable-build-nscd and defaults to $use_nscd.
32872 * configure: Regenerated.
32873 * config.make.in (build-nscd): New substituted variable.
32874 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32875 Change conditional to require [$(build-nscd) = yes] as well.
32876 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32879 * configure.in (use_nscd): New substituted variable, set by
32880 --disable-nscd. If enabled, define USE_NSCD.
32881 * configure: Regenerated.
32882 * config.h.in: Add USE_NSCD.
32883 * config.make.in (use-nscd): New substituted variable.
32884 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32885 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32886 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32887 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32888 (CFLAGS-getgrnam_r.c): Likewise.
32889 (CFLAGS-initgroups.c): Likewise.
32890 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32891 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32893 * inet/getnetgrent_r.c
32894 (nscd_setnetgrent): New function, broken out of ...
32895 (setnetgrent): ... here. Call it.
32896 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32897 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32898 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32899 * nscd/Makefile (routines, aux): Move definitions after include of
32900 Makeconfig. Conditionalize on [$(use-nscd) != no].
32901 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32902 Conditionalize on [USE_NSCD].
32903 (is_nscd, nscd_init_cb): Likewise.
32904 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32905 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32906 * nss/nss_db/db-init.c: Likewise.
32907 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32909 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32910 (make_request): Use it.
32911 (cache_valid_p): New function.
32912 (__check_pf): Use it.
32913 * NEWS: Add item for --disable-nscd.
32915 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32917 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32918 to support sed >= 4.2.1-20-ga9bf076.
32919 * configure: Regenerated.
32921 2012-08-22 Roland McGrath <roland@hack.frob.com>
32923 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32924 Conditionalize whole body on [IREL].
32926 2012-08-22 Jeff Law <law@redhat.com>
32929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32930 if the family is PF_UNSPEC.
32932 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32934 * Makerules (lib-version): Rename from V.
32935 (install-lib-nosubdir): Change V to lib-version.
32937 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32940 * powerpc32/power6/wcschr.c: New file.
32941 * powerpc32/power6/wcscpy.c: New file.
32942 * powerpc32/power6/wcsrchr.c: New file.
32943 * powerpc64/power6/wcschr.c: New file.
32944 * powerpc64/power6/wcscpy.c: New file.
32945 * powerpc64/power6/wcsrchr.c: New file.
32947 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32949 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32950 (two_way_short_needle): Use it.
32951 * string/strstr.c (AVAILABLE1_USES_J): Define.
32952 * string/strcasestr.c: Likewise.
32954 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32956 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32959 * NEWS: Add an entry.
32960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32961 define their defaults.
32962 (two_way_short_needle): Detect end-of-string on-the-fly.
32963 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32964 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32965 * string/bug-strcasestr1.c: New test.
32966 * string/Makefile: Run it.
32968 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32971 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32972 the first character.
32974 2012-08-21 Roland McGrath <roland@hack.frob.com>
32976 * csu/elf-init.c (__libc_csu_irel): Function removed.
32977 * csu/libc-start.c (apply_irel): New function.
32978 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32980 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32982 * sysdeps/unix/sysv/linux/kernel-features.h
32983 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32984 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32985 <kernel-features.h>.
32986 [__NR_fadvise64_64]: Make code unconditional.
32987 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32988 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32989 !__NR_fadvise64_64)]: Likewise.
32990 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32991 !__NR_fadvise64_64))]: Likewise.
32992 [__NR_fadvise64]: Make code unconditional.
32993 [!__NR_fadvise64]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32995 <kernel-features.h>.
32996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33001 not include <kernel-features.h>.
33002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33006 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33007 include <kernel-features.h>.
33008 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33010 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33013 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33016 slight instruction rearrangements per scrollpipe analysis.
33017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33019 2012-08-20 Roland McGrath <roland@hack.frob.com>
33021 * manual/syslog.texi (syslog; vsyslog, closelog):
33022 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33023 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33025 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33026 DSOCAPS to match condition on defining it.
33028 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33030 * sysdeps/unix/sysv/linux/kernel-features.h
33031 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33036 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33037 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33039 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33040 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33042 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33043 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33045 * sysdeps/unix/sysv/linux/kernel-features.h
33046 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33047 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33049 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33050 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33051 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33052 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33053 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33054 Make code unconditional.
33055 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33056 (__mmap64) [!__NR_mmap2]: Likewise.
33057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33058 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33059 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33060 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33061 [__NR_mmap2]: Make code unconditional.
33062 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33063 (__mmap64) [!__NR_mmap2]: Likewise.
33065 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33067 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33069 2012-08-18 Andreas Jaeger <aj@suse.de>
33071 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33073 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33075 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33076 * include/unistd.h (__have_sock_cloexec): Likewise.
33077 (__have_pipe2): Likewise.
33078 (__have_dup3): Likewise.
33080 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33083 * include/unistd.h (__have_pipe2): Change define into an extern int.
33084 (__have_dup3): Likewise.
33085 * socket/have_sock_cloexec.c: Include fcntl.h.
33086 (__have_pipe2): New variable.
33087 (__have_dup3): Likewise.
33089 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33091 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33093 2012-08-17 Marek Polacek <polacek@redhat.com>
33095 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33096 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33098 2012-08-17 Roland McGrath <roland@hack.frob.com>
33100 * configure.in: Add AC_SUBST for sysheaders.
33101 * configure: Regenerated.
33102 * config.make.in (sysheaders): New substituted variable.
33104 * sysdeps/unix/mkfifo.c: Moved ...
33105 * sysdeps/posix/mkfifo.c: ... here.
33106 * sysdeps/unix/mkfifoat.c: Moved ...
33107 * sysdeps/posix/mkfifoat.c: ... here.
33109 * sysdeps/unix/utime.c: Moved ...
33110 * sysdeps/posix/utime.c: ... here.
33112 * sysdeps/unix/time.c: Moved ...
33113 * sysdeps/posix/time.c: ... here.
33114 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33115 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33117 * sysdeps/unix/nice.c: Moved ...
33118 * sysdeps/posix/nice.c: ... here.
33120 * sysdeps/unix/alarm.c: Moved ...
33121 * sysdeps/posix/alarm.c: ... here.
33123 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33125 2012-08-17 Jeff Law <law@redhat.com>
33127 * intl/Makefile (codeset_mo): New variable.
33128 ($(codeset_mo)): New target.
33129 (tst-codeset.out): Depend on that. Remove explicit rule.
33130 (tst-gettext3.out, tst-gettext5.out): Likewise.
33131 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33132 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33133 * intl/tst-codeset.sh: Remove.
33134 * intl/tst-gettext3.sh: Likewise.
33135 * intl/tst-gettext5.sh: Likewise.
33137 2012-08-17 Roland McGrath <roland@hack.frob.com>
33139 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33140 * sysdeps/unix/syscalls.list: ... here.
33142 * sysdeps/posix/getaddrinfo.c
33143 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33144 (gaiconf_init, gaiconf_reload): Use them.
33145 [!_STATBUF_ST_NSEC]
33146 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33147 Define using time_t rather than struct timespec.
33149 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33150 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33152 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33154 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33155 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33158 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33159 __libc_cleanup_push argument.
33161 * bits/param.h: New file.
33162 * misc/sys/param.h: New file.
33163 * include/sys/param.h: New file.
33164 * misc/Makefile (headers): Add bits/param.h.
33165 * sysdeps/generic/sys/param.h: File removed.
33166 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33167 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33168 * sysdeps/mach/hurd/bits/param.h: New file.
33169 * sysdeps/mach/hurd/sys/param.h: File removed.
33171 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33174 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33176 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33177 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33180 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33181 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33182 rather than -D_IO_MTSAFE_IO conditionally.
33183 * stdio-common/Makefile (CPPFLAGS): Likewise.
33184 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33185 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33186 Use $(libio-mtsafe).
33187 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33188 of -D_IO_MTSAFE_IO.
33189 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33190 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33191 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33192 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33193 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33194 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33195 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33196 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33197 (CFLAGS-fread_u_chk.c): Likewise.
33198 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33199 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33200 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33201 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33202 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33203 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33204 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33205 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33206 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33208 * libio/Makefile: Test [$(libc-reentrant) = yes]
33209 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33212 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33213 * sysdeps/pthread/configure: File removed.
33214 * sysdeps/pthread/Makeconfig: New file.
33215 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33216 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33218 2012-08-16 Gary Benson <gbenson@redhat.com>
33220 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33221 unmapping the first object in a namespace.
33223 2012-08-16 Roland McGrath <roland@hack.frob.com>
33225 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33226 (__internal_setnetgrent): ... this. Add internal_function to
33227 definition. Add libc_hidden_def.
33228 (setnetgrent): Update caller.
33229 (internal_endnetgrent): Renamed to ...
33230 (__internal_endnetgrent): ... this. Add internal_function to
33231 definition. Add libc_hidden_def.
33232 (endnetgrent): Update caller.
33233 (internal_getnetgrent_r): Renamed to ...
33234 (__internal_getnetgrent_r): ... this. Add internal_function to
33235 definition. Add libc_hidden_def.
33236 (__getnetgrent_r): Update caller.
33237 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33239 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33241 * stdlib/longlong.h: Update from GCC.
33243 2012-08-16 Roland McGrath <roland@hack.frob.com>
33245 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33246 on _QL, which is set by umul_ppmm but never used.
33247 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33248 variables, which are set by GMP macros but never used.
33249 * stdio-common/_itowa.c (_itowa): Likewise.
33250 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33251 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33253 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33255 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33256 struct La_sh_regs is not constant.
33257 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33258 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33259 and struct La_sparc64_regs are not constant.
33261 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33263 * sysdeps/unix/sysv/linux/kernel-features.h
33264 (__ASSUME_POSIX_TIMERS): Remove.
33265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33267 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33268 Make code unconditional.
33269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33270 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33271 Make code unconditional.
33272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33273 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33274 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33276 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33277 Make code unconditional.
33278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33279 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33280 (__libc_missing_posix_timers): Remove.
33282 2012-08-15 Roland McGrath <roland@hack.frob.com>
33284 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33285 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33287 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33289 * elf/dl-sym.c: Include <stdlib.h>.
33291 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33292 constants, which avoids warnings in 32-bit builds.
33294 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33295 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33297 * misc/lseek.c: File moved to ...
33298 * io/lseek.c: ... here.
33300 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33302 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33303 shifting LEN more than 31 bits at once.
33305 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33308 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33309 segmentation fault for a case of two empty input strings.
33310 * string/test-strncasecmp.c (check1): Renamed to...
33311 (bz12205): ...this.
33312 (bz14195): Add new testcase for two empty input strings and N > 0.
33313 (test_main): Call new testcase, adapt for renamed function.
33315 2012-08-15 Andreas Jaeger <aj@suse.de>
33318 * crypt/md5test2.c: New test, based on test supplied by Serge
33319 Belyshev <belyshev@depni.sinp.msu.ru>.
33320 * crypt/Makefile (xtests): Add md5test-giant..
33321 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33323 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33326 * crypt/md5.c (md5_process_block): Don't assume the buffer
33327 length is less than 2**32.
33328 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33329 length is less than 2**64.
33331 2012-08-15 Roland McGrath <roland@hack.frob.com>
33333 * string/str-two-way.h: Include <sys/param.h>.
33334 (MAX): Macro removed.
33336 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33337 Move #define and #undef of memmove to just before and after
33338 including <string.h>.
33340 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33341 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33342 and after including <string.h>. Move declarations of
33343 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33344 to before #include "string/memmove.c".
33346 * include/dirent.h: Declare __getdirentries.
33348 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33349 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33351 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33353 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33354 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33355 * sysdeps/i386/configure: Regenerated.
33356 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33357 STABS_CURRENT_FILE, and STABS_FUN.
33358 (END): Remove call to STABS_FUN_END.
33359 (STABS_CURRENT_FILE1): Delete.
33360 (STABS_CURRENT_FILE): Likewise.
33361 (STABS_FUN): Likewise.
33362 (STABS_FUN_END): Likewise.
33363 (STABS_FUN2): Likewise.
33364 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33365 * sysdeps/x86_64/configure: Regenerated.
33367 2012-08-14 Roland McGrath <roland@hack.frob.com>
33369 * elf/dl-open.c: Include <atomic.h>.
33370 * elf/dl-lookup.c: Likewise.
33372 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33374 * sysdeps/unix/sysv/linux/kernel-features.h
33375 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33376 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33378 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33380 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33381 condition on __ASSUME_CLONE_THREAD_FLAGS.
33383 2012-08-14 Andreas Jaeger <aj@suse.de>
33385 * sysdeps/i386/fpu/libm-test-ulps: Update.
33387 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33389 * include/atomic.h (atomic_exchange_and_add): Split into ...
33390 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33393 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33397 2012-08-13 Jeff Law <law@redhat.com>
33399 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33400 null byte in the output string.
33402 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33404 * sysdeps/unix/sysv/linux/kernel-features.h
33405 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33406 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33407 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33409 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33410 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33411 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33413 2012-08-09 Jeff Law <law@redhat.com>
33416 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33417 When avoid_arena is set, don't retry in the that arena. Pick the
33418 next one, whatever it might be.
33419 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33420 (arena_lock): Pass in new parameter to arena_get2.
33421 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33423 (__libc_malloc): Unify retrying after main arena failure with
33424 __libc_memalign version.
33425 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33427 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33430 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33431 to __redirect_strstr.
33432 (__strstr_sse42): Use typeof __redirect_strstr.
33433 (__strstr_ia32): Likewise.
33434 (__libc_strstr): New prototype.
33435 (strstr): Renamed to ...
33436 (__libc_strstr): This.
33437 (strstr): New strong alias of __libc_strstr.
33438 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33439 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33442 (__libc_time): New prototype.
33443 (time_ifunc): Replace time with __libc_time.
33444 (time): New strong alias and hidden definition of __libc_time.
33445 (__GI_time): Remove strong alias.
33446 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33447 Include <stddef.h>.
33448 (memmove): Redefined to __redirect_memmove.
33449 (__memmove_sse2): Use typeof __redirect_memmove.
33450 (__memmove_ssse3): Likewise.
33451 (__memmove_ssse3_back): Likewise.
33452 (__libc_memmove): New prototype.
33453 (memmove): Renamed to ...
33454 (__libc_memmove): This.
33455 (memmove): New strong alias of __libc_memmove.
33457 2012-08-08 Mark Salter <msalter@redhat.com>
33460 (R_MN10300_TLS_GD): Define.
33461 (R_MN10300_TLS_LD): Likewise.
33462 (R_MN10300_TLS_LDO): Likewise.
33463 (R_MN10300_TLS_GOTIE): Likewise.
33464 (R_MN10300_TLS_IE): Likewise.
33465 (R_MN10300_TLS_LE): Likewise.
33466 (R_MN10300_TLS_DTPMOD): Likewise.
33467 (R_MN10300_TLS_DTPOFF): Likewise.
33468 (R_MN10300_TLS_TPOFF): Likewise.
33469 (R_MN10300_SYM_DIFF): Likewise.
33470 (R_MN10300_ALIGN): Likewise.
33471 (R_MN10300_NUM): Update.
33473 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33475 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33478 2012-08-08 Roland McGrath <roland@hack.frob.com>
33480 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33482 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33483 sysdeps/unix -> sysdeps/posix move.
33484 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33486 2012-08-07 Allan McRae <allan@archlinux.org>
33489 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33490 (SUNOS_CPP): Likewise.
33491 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33493 (open_input): Call CPP using execvp.
33495 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33497 * sysdeps/unix/sysv/linux/kernel-features.h
33498 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33499 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33500 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33501 (__ASSUME_WAITID_SYSCALL): Likewise.
33502 * sysdeps/unix/sysv/linux/dl-execstack.c
33503 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33504 code unconditional.
33505 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33508 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33509 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33511 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33513 [__ASSUME_WAITID_SYSCALL]: Likewise.
33514 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33516 2012-08-07 Roland McGrath <roland@hack.frob.com>
33518 * sysdeps/unix/closedir.c: Renamed to ...
33519 * sysdeps/posix/closedir.c: ... here.
33520 * sysdeps/unix/dirfd.c: Renamed to ...
33521 * sysdeps/posix/dirfd.c: ... here.
33522 * sysdeps/unix/dirstream.h: Renamed to ...
33523 * sysdeps/posix/dirstream.h: ... here.
33524 * sysdeps/unix/fdopendir.c: Renamed to ...
33525 * sysdeps/posix/fdopendir.c: ... here.
33526 * sysdeps/unix/opendir.c: Renamed to ...
33527 * sysdeps/posix/opendir.c: ... here.
33528 * sysdeps/unix/readdir.c: Renamed to ...
33529 * sysdeps/posix/readdir.c: ... here.
33530 * sysdeps/unix/readdir_r.c: Renamed to ...
33531 * sysdeps/posix/readdir_r.c: ... here.
33532 * sysdeps/unix/rewinddir.c: Renamed to ...
33533 * sysdeps/posix/rewinddir.c: ... here.
33534 * sysdeps/unix/seekdir.c: Renamed to ...
33535 * sysdeps/posix/seekdir.c: ... here.
33536 * sysdeps/unix/telldir.c: Renamed to ...
33537 * sysdeps/posix/telldir.c: ... here.
33538 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33539 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33540 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33541 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33543 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33544 * bits/fcntl.h: ... here.
33546 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33548 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33549 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33550 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33551 (struct flock): Move l_start, l_len to the beginning.
33552 Use __pid_t for l_pid.
33553 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33554 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33555 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33556 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33557 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33558 [__USE_LARGEFILE64] (struct flock64): New type.
33559 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33561 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33562 * bits/dirent.h: ... here.
33564 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33565 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33567 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33570 Change from 2.6.0 to 2.6.16.
33571 * sysdeps/unix/sysv/linux/configure: Regenerated.
33572 * sysdeps/unix/sysv/linux/kernel-features.h
33573 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33574 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33576 (__ASSUME_UTIMES): Likewise.
33577 (__ASSUME_CLONE_STOPPED): Remove.
33578 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33579 architectures, not kernel version.
33580 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33583 (__ASSUME_WAITID_SYSCALL): Likewise.
33584 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33585 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33586 * README: State 2.6.16 as minimum Linux kernel version. Do not
33587 refer to older versions.
33589 2012-08-06 Roland McGrath <roland@hack.frob.com>
33591 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33592 Define alphasort64 as an alias.
33593 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33594 Define versionsort64 as an alias.
33595 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33596 Define scandir64 as an alias.
33597 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33598 Define scandirat64 as an alias.
33599 * dirent/alphasort64.c (alphasort64):
33600 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33601 * dirent/versionsort64.c: Likewise.
33602 * dirent/scandir64.c: Likewise.
33603 * dirent/scandirat64.c: Likewise.
33604 * sysdeps/wordsize-64/alphasort.c: File removed.
33605 * sysdeps/wordsize-64/alphasort64.c: File removed.
33606 * sysdeps/wordsize-64/scandir.c: File removed.
33607 * sysdeps/wordsize-64/scandir64.c: File removed.
33608 * sysdeps/wordsize-64/scandirat.c: File removed.
33609 * sysdeps/wordsize-64/scandirat64.c: File removed.
33610 * sysdeps/wordsize-64/versionsort.c: File removed.
33611 * sysdeps/wordsize-64/versionsort64.c: File removed.
33612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33621 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33623 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33625 [defined __arch64__ || defined __sparcv9]
33626 (__INO_T_MATCHES_INO64_T): New macro.
33627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33628 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33629 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33630 * sysdeps/unix/sysv/linux/bits/dirent.h
33631 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33632 (_DIRENT_MATCHES_DIRENT64): New macro.
33634 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33635 Define lockf64 as an alias.
33636 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33637 Define fseeko64 as an alias.
33638 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33639 Define ftello64 as an alias.
33640 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33641 Define _IO_fgetpos64 and fgetpos64 as aliases.
33642 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33643 Define _IO_fsetpos64 and fsetpos64 as aliases.
33644 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33645 Conditionalize body on this.
33646 * libio/fseeko64.c: Likewise.
33647 * libio/ftello64.c: Likewise.
33648 * libio/iofgetpos64.c: Likewise.
33649 * libio/iofsetpos64.c: Likewise.
33650 * sysdeps/wordsize-64/lockf.c: File removed.
33651 * sysdeps/wordsize-64/lockf64.c: File removed.
33652 * sysdeps/wordsize-64/fseeko.c: File removed.
33653 * sysdeps/wordsize-64/fseeko64.c: File removed.
33654 * sysdeps/wordsize-64/ftello.c: File removed.
33655 * sysdeps/wordsize-64/ftello64.c: File removed.
33656 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33657 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33658 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33659 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33667 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33671 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33673 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33675 [defined __arch64__ || defined __sparcv9]
33676 (__OFF_T_MATCHES_OFF64_T): New macro.
33677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33678 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33680 (__OFF_T_MATCHES_OFF64_T): New macro.
33682 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33684 * stdlib/secure-getenv.c (__secure_getenv): Replace
33685 GLIBC_2_16 with GLIBC_2_17.
33687 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33692 2012-08-03 David S. Miller <davem@davemloft.net>
33694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33696 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33700 (__ASSUME_CORRECT_SI_PID): Likewise.
33701 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33702 (__ASSUME_TMPFS_NAME): Likewise.
33703 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33704 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33705 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33706 (HAVE_AUX_SECURE): Make definition unconditional.
33707 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33708 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33710 2012-08-03 Roland McGrath <roland@hack.frob.com>
33712 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33713 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33714 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33715 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33716 __eloop_threshold instead of SYMLOOP_MAX.
33718 * sysdeps/generic/eloop-threshold.h: New file.
33719 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33721 * elf/chroot_canon.c (chroot_canon): Likewise.
33723 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33727 Change to 2.6.0 everywhere.
33728 * sysdeps/unix/sysv/linux/configure: Regenerated.
33729 * sysdeps/unix/sysv/linux/kernel-features.h
33730 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33731 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33733 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33734 (__ASSUME_FUTEX_REQUEUE): Remove.
33735 (__ASSUME_STATFS64): Define unconditionally.
33736 (__ASSUME_AT_SECURE): Likewise.
33737 (__ASSUME_CORRECT_SI_PID): Likewise.
33738 (__ASSUME_TGKILL): Define without depending on kernel version for
33740 (__ASSUME_UTIMES): Likewise.
33741 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33743 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33744 (__ASSUME_TMPFS_NAME): Likewise.
33745 * README: Update reference to Linux kernel versions.
33747 2012-08-02 Marek Polacek <polacek@redhat.com>
33750 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33751 libc_cv_asm_type_prefix with %.
33752 * configure: Regenerated.
33753 * include/libc-symbols.h: Remove comment about
33754 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33755 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33756 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33757 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33758 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33759 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33760 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33761 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33762 * elf/tst-unique2mod1.c: Likewise.
33763 * elf/tst-unique1mod2.c: Likewise.
33764 * elf/tst-unique1mod1.c: Likewise.
33765 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33766 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33767 Replace ASM_TYPE_DIRECTIVE with .type.
33768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33769 * sysdeps/i386/sysdep.h: Likewise.
33770 * sysdeps/x86_64/sysdep.h: Likewise.
33771 * sysdeps/sh/sysdep.h: Likewise.
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33773 Do not define ASM_TYPE_DIRECTIVE.
33774 * sysdeps/powerpc/sysdep.h: Likewise.
33775 * sysdeps/powerpc/powerpc32/sysdep.h:
33776 Replace ASM_TYPE_DIRECTIVE with .type.
33777 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33778 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33779 * sysdeps/i386/fpu/e_powf.S: Likewise.
33780 * sysdeps/i386/fpu/e_expl.S: Likewise.
33781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33782 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33783 * sysdeps/i386/fpu/e_pow.S: Likewise.
33784 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33785 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33786 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33787 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33788 * sysdeps/i386/fpu/e_log2.S: Likewise.
33789 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33791 * sysdeps/i386/fpu/e_powl.S: Likewise.
33792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33793 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33794 * sysdeps/i386/fpu/e_logl.S: Likewise.
33795 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33796 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33797 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33798 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33799 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33800 * sysdeps/i386/fpu/e_log.S: Likewise.
33801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33802 * sysdeps/i386/fpu/e_logf.S: Likewise.
33803 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33804 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33805 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33806 * sysdeps/i386/fpu/e_log10.S: Likewise.
33807 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33809 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33810 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33812 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33813 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33814 * sysdeps/i386/i686/strtok.S: Likewise.
33815 * sysdeps/i386/i386-mcount.S: Likewise.
33816 * sysdeps/i386/strtok.S: Likewise.
33817 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33821 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33826 * sysdeps/x86_64/_mcount.S: Likewise.
33827 * sysdeps/x86_64/strtok.S: Likewise.
33828 * sysdeps/sh/_mcount.S: Likewise.
33830 2012-08-01 Roland McGrath <roland@hack.frob.com>
33832 * libio/iofopen.c: Include <fcntl.h>.
33833 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33834 (_IO_fopen64, fopen64): Define as aliases.
33835 * libio/iofopen64.c: Include <fcntl.h>.
33836 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33837 Conditionalize body on this.
33838 * sysdeps/wordsize-64/iofopen.c: File removed.
33839 * sysdeps/wordsize-64/iofopen64.c: File removed.
33841 2012-08-01 Marek Polacek <polacek@redhat.com>
33843 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33844 Use dlfcn directly instead of a variable.
33845 (binfmt-subdir): Do not define.
33848 2012-08-01 Joseph Myers <joseph@codesourcery.com>
33850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33851 Remove all definitions.
33852 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33853 <kernel-features.h>.
33854 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33855 (miss_F_GETOWN_EX): Remove all definitions.
33856 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33858 [!__ASSUME_FCNTL64]: Remove conditional code.
33859 [__ASSUME_FCNTL64]: Make code unconditional.
33860 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33861 <kernel-features.h>.
33862 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33863 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33864 (lockf64) [__NR_fcntl64]: Make code unconditional.
33865 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33867 * sysdeps/unix/sysv/linux/kernel-features.h
33868 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33869 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33870 Make code unconditional.
33871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33874 [__NR_vfork]: Make code unconditional.
33875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33878 [__NR_vfork]: Make code unconditional.
33879 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33880 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33882 2012-08-01 Roland McGrath <roland@hack.frob.com>
33884 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33885 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33887 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33888 Define mkstemp64 as an alias.
33889 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33890 Define mkstemps64 as an alias.
33891 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33892 Define mkostemp64 as an alias.
33893 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33894 Define mkostemps64 as an alias.
33895 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33896 Conditionalize body on this.
33897 * misc/mkostemp64.c: Likewise.
33898 * misc/mkostemps64.c: Likewise.
33899 * misc/mkstemps64.c: Likewise.
33900 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33901 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33902 * sysdeps/wordsize-64/mkostemp.c: File removed.
33903 * sysdeps/wordsize-64/mkstemp.c: File removed.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33910 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33911 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33912 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33913 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33915 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33916 compat_symbol macros from <shlib-compat.h> rather than the underlying
33917 default_symbol_version and symbol_version macros, so that DEFAULT
33918 lines in shlib-versions are respected.
33919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33921 2012-08-01 Florian Weimer <fweimer@redhat.com>
33923 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33924 Declare with warn_unused_result.
33925 (setgid, setregid, setegid, setresgid): Likewise.
33926 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33928 * WUR-REPORT: Remove set*id functions.
33930 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33932 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33934 2012-07-31 Roland McGrath <roland@hack.frob.com>
33937 * include/sys/socket.h (__libc_accept, __libc_accept4):
33938 Add attribute_hidden.
33939 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33941 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33943 * inet/getnetgrent_r.c (setup): Likewise.
33945 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33947 2012-07-31 David S. Miller <davem@davemloft.net>
33949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33951 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33954 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33955 value between 1.0 and 2.0 and smaller part has absolute value less
33957 * math/s_clog10.c (__clog10): Likewise.
33958 * math/s_clog10f.c (__clog10f): Likewise.
33959 * math/s_clog10l.c (__clog10l): Likewise.
33960 * math/s_clogf.c (__clogf): Likewise.
33961 * math/s_clogl.c (__clogl): Likewise.
33962 * math/libm-test.inc (clog_test): Add more tests.
33963 (clog10_test): Likewise.
33964 * sysdeps/i386/fpu/libm-test-ulps: Update.
33965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33967 2012-07-31 Florian Weimer <fweimer@redhat.com>
33969 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33970 Exit with zero in case no suitable GID is found, and write a
33971 message to standard error.
33973 2012-07-30 Roland McGrath <roland@hack.frob.com>
33975 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33977 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33978 (MAXPATHLEN): Removed.
33979 (NOGROUP, NODEV): New macros.
33980 (setbit, clrbit, isset, isclr): New macros.
33981 (howmany, roundup, powerof2): New macros.
33982 (DEV_BSIZE): New macro.
33984 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33985 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33987 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33988 definition on [!__NO_LONG_DOUBLE_MATH].
33990 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33991 PTR_MANGLE and PTR_DEMANGLE.
33993 * socket/accept4.c (accept4): Rename to __libc_accept4.
33994 Define accept4 as a weak alias.
33996 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33997 on [_DIRENT_HAVE_D_TYPE].
33998 * io/ftw.c (ftw_dir): Likewise.
34000 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34002 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34004 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34005 Use the BSD numbers rather than the arbitrary ones we had.
34006 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34007 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34008 (SIGXCPU, SIGXFSZ): New macros.
34011 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34012 initializer on [_LIBC_REENTRANT].
34014 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34015 definitions inside [_POSIX_MAPPED_FILES].
34017 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34019 * dirent/opendir.c: Include <fcntl.h>.
34021 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34022 (__libc_getspecific): Likewise.
34023 (__libc_key_create): Likewise.
34025 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34026 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34027 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34028 (tmpfile64): Define as alias.
34029 * sysdeps/wordsize-64/tmpfile.c: File removed.
34030 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34032 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34034 * stdio-common/vfscanf.c: Include <stdbool.h>.
34035 * nss/makedb.c: Likewise.
34036 * stdio-common/_i18n_number.h: Likewise.
34037 * argp/argp-help.c: Likewise.
34038 * posix/wordexp.c: Likewise.
34039 * sysdeps/posix/spawni.c: Likewise.
34040 * nss/nss_files/files-initgroups.c: Likewise.
34041 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34042 * nss/nss_files/files-initgroups.c: Likewise.
34043 * nss/nss_db/db-netgrp.c: Likewise.
34044 * nss/nss_db/db-initgroups.c: Likewise.
34045 * io/fchmodat.c: Include <sys/stat.h>.
34047 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34048 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34050 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34053 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34054 Add multiple inclusion protection.
34056 2012-07-27 David S. Miller <davem@davemloft.net>
34058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34060 2012-07-27 Gary Benson <gbenson@redhat.com>
34063 * elf/rtld.c: Include <stap-probe.h>.
34064 (dl_main): Added static probes "init_start" and "init_complete".
34065 * elf/dl-load.c: Include <stap-probe.h>.
34066 (lose): Take new parameter "nsid".
34067 Added static probe "map_failed".
34068 (_dl_map_object_from_fd): Pass namespace id to lose.
34069 Added static probe "map_start".
34070 (open_verify): Pass namespace id to lose.
34071 * elf/dl-open.c: Include <stap-probe.h>.
34072 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34073 and "reloc_complete".
34074 * elf/dl-close.c: Include <stap-probe.h>.
34075 (_dl_close_worker): Added static probes "unmap_start" and
34077 * elf/rtld-debugger-interface.txt: New file documenting the above.
34079 2012-07-26 Roland McGrath <roland@hack.frob.com>
34081 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34082 rather than a string variable.
34083 * sunrpc/rpc_main.c (h_output): Likewise.
34084 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34086 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34088 * inet/check_native.c: New file.
34090 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34093 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34094 if larger part has absolute value 1.0.
34095 * math/s_clog10.c (__clog10): Likewise.
34096 * math/s_clog10f.c (__clog10f): Likewise.
34097 * math/s_clog10l.c (__clog10l): Likewise.
34098 * math/s_clogf.c (__clogf): Likewise.
34099 * math/s_clogl.c (__clogl): Likewise.
34100 * math/libm-test.inc (clog_test): Add more tests.
34101 (clog10_test): Likewise.
34102 * sysdeps/i386/fpu/libm-test-ulps: Update.
34103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34105 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34106 (pltexit): Likewise.
34107 (La_regs): Likewise.
34108 (La_retval): Likewise.
34109 (int_retval): Likewise.
34110 Update #error for removed macros to refer only to definitions in
34112 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34114 (pltexit): Likewise.
34115 (La_regs): Likewise.
34116 (La_retval): Likewise.
34117 (int_retval): Likewise.
34118 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34120 (pltexit): Likewise.
34121 (La_regs): Likewise.
34122 (La_retval): Likewise.
34123 (int_retval): Likewise.
34124 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34126 (pltexit): Likewise.
34127 (La_regs): Likewise.
34128 (La_retval): Likewise.
34129 (int_retval): Likewise.
34130 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34132 (pltexit): Likewise.
34133 (La_regs): Likewise.
34134 (La_retval): Likewise.
34135 (int_retval): Likewise.
34136 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34138 (pltexit): Likewise.
34139 (La_regs): Likewise.
34140 (La_retval): Likewise.
34141 (int_retval): Likewise.
34142 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34144 (pltexit): Likewise.
34145 (La_regs): Likewise.
34146 (La_retval): Likewise.
34147 (int_retval): Likewise.
34148 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34149 macro definitions in tst-audit.h.
34150 * sysdeps/i386/tst-audit.h: New file.
34151 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34152 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34153 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34154 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34155 * sysdeps/sh/tst-audit.h: Likewise.
34156 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34157 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34158 * sysdeps/x86_64/tst-audit.h: Likewise.
34160 2012-07-26 Andreas Jaeger <aj@suse.de>
34162 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34165 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34166 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34167 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34169 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34170 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34171 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34173 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34176 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34178 (si_call_addr, si_syscall, si_arch): Define new macro.
34179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34181 (si_call_addr, si_syscall, si_arch): Define new marcro.
34182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34184 (si_call_addr, si_syscall, si_arch): Define new macro.
34185 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34187 (si_call_addr, si_syscall, si_arch): Define new macro.
34189 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34193 Change to 2.4.21 where previously 2.4.1.
34194 * sysdeps/unix/sysv/linux/configure: Regenerated.
34195 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34196 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34197 Linux kernel version.
34198 (__ASSUME_STD_AUXV): Remove.
34199 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34201 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34202 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34203 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34204 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34205 (__ASSUME_NETLINK_SUPPORT): Likewise.
34206 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34207 (__no_netlink_support): Remove conditional definition.
34208 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34210 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34211 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34212 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34213 (if_nameindex_ioctl): Remove.
34214 (if_nameindex_netlink): Do not handle __no_netlink_support.
34215 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34217 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34218 Remove conditional code.
34219 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34221 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34223 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34224 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34225 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34227 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34228 [!__ASSUME_STD_AUXV]: Remove conditional code.
34229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34230 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34231 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34233 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34234 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34236 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34238 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34239 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34241 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34243 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34246 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34249 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34250 code unconditional.
34251 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34253 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34255 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34258 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34260 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34263 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34264 code unconditional.
34265 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34267 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34269 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34272 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34273 code unconditional.
34274 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34276 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34278 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34281 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34283 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34284 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34285 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34286 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34287 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34288 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34289 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34290 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34291 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34292 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34293 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34294 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34295 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34296 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34298 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34299 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34301 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34303 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34304 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34305 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34307 2012-07-25 Florian Weimer <fweimer@redhat.com>
34309 * Versions.def: Add GLIBC_2.17.
34310 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34311 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34312 Introduce __libc_secure_getenv.
34313 * stdlib/Versions (2.17): Add secure_getenv
34314 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34315 * stdlib/secure-getenv.c: Rename __secure_getenv to
34316 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34317 symbol __secure_getenv for GLIBC_2.0.
34318 * stdlib/tst-secure-getenv.c: New.
34319 * stdlib/Makefile (tests): Add testcase.
34320 * manual/startup.texi (Environment Access): Document
34322 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34323 __libc_secure_getenv.
34324 * inet/ruserpass.c (ruserpass): Likewise.
34325 * malloc/mtrace.c (mtrace): Likewise.
34326 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34327 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34328 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34329 * sysdeps/posix/tempname.c: Likewise. Evaluate
34330 HAVE_SECURE_GETENV.
34331 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34332 __secure_getenv to __libc_secure_getenv.
34333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34346 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34348 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34349 (struct La_i86_retval): Likewise.
34350 (struct La_x86_64_regs): Likewise.
34351 (struct La_x86_64_retval): Likewise.
34352 (struct La_x32_regs): Likewise.
34353 (struct La_x32_retval): Likewise.
34354 (struct La_ppc32_regs): Likewise.
34355 (struct La_ppc32_retval): Likewise.
34356 (struct La_ppc64_regs): Likewise.
34357 (struct La_ppc64_retval): Likewise.
34358 (struct La_sh_regs): Likewise.
34359 (struct La_sh_retval): Likewise.
34360 (struct La_s390_32_regs): Likewise.
34361 (struct La_s390_32_retval): Likewise.
34362 (struct La_s390_64_regs): Likewise.
34363 (struct La_s390_64_retval): Likewise.
34364 (struct La_sparc32_regs): Likewise.
34365 (struct La_sparc32_retval): Likewise.
34366 (struct La_sparc64_regs): Likewise.
34367 (struct La_sparc64_retval): Likewise.
34368 (struct audit_ifaces): Remove architecture-specific pltenter and
34370 * sysdeps/i386/ldsodefs.h: New file.
34371 * sysdeps/powerpc/ldsodefs.h: Likewise.
34372 * sysdeps/s390/ldsodefs.h: Likewise.
34373 * sysdeps/sh/ldsodefs.h: Likewise.
34374 * sysdeps/sparc/ldsodefs.h: Likewise.
34375 * sysdeps/x86_64/ldsodefs.h: Likewise.
34377 2012-07-25 Marek Polacek <polacek@redhat.com>
34380 * math/libm-test.inc (yn_test): Add another test.
34381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34382 to ERANGE when the result is +-Inf.
34383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34384 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34385 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34386 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34388 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34390 * conform/data/time.h-data (NULL): Use macro-constant. Require
34392 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34394 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34396 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34398 * configure.in <sysdeps resolving>: Correct printing
34400 * configure: Regenerate.
34402 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34404 * math/w_ilogb.c: Include <limits.h>.
34405 * math/w_ilogbl.c: Likewise.
34407 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34409 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34410 va_copy. Document allowing for unavailable va_copy only as
34411 pre-C99 compatibility.
34412 * manual/string.texi (Copying and Concatenation): Use va_copy
34413 instead of __va_copy in concat example.
34415 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34417 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34418 (__sendto): Use create_address_port. Initialize APORT and deallocate
34421 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34422 with O_NOLINK passed to __file_name_lookup.
34424 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34425 with O_NOLINK passed to __file_name_lookup.
34427 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34428 negative N or less than NGIDS.
34430 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34431 type to string_t. Set ERANGE as errno and return it if NAME is not big
34432 enough. Use memcpy instead of strncpy.
34434 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34436 * elf/Makefile (check-data): Remove.
34437 (localplt.data): New vpath directive.
34438 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34439 instead of $(check-data).
34440 * scripts/data/localplt-generic.data: Move to ...
34441 * sysdeps/generic/localplt.data: ... here.
34442 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34443 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34444 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34447 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34450 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34453 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34456 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34459 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34463 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34465 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34466 PPC32 and PPC64 files.
34467 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34468 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34470 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34472 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34473 __makecontext_ret to ...
34474 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34475 ... here and call exit if uc_link is NULL. New file.
34476 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34477 __makecontext_ret.S.
34478 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34479 __makecontext_ret to ...
34480 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34481 ... here and call exit if uc_link is NULL. New file.
34482 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34483 __makecontext_ret.S.
34485 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34487 * elf/elf.h (R_390_IRELATIVE): New definition.
34488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34489 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34490 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34491 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34492 (elf_machine_lazy_rel): Likewise.
34493 * sysdeps/s390/dl-irel.h: New file.
34494 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34495 * sysdeps/s390/s390-64/memset.S: New asm code.
34496 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34497 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34498 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34499 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34500 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34501 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34503 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34504 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34505 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34506 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34507 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34508 * sysdeps/s390/s390-32/memset.S: New asm code.
34509 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34511 2012-07-17 Marek Polacek <polacek@redhat.com>
34514 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34515 * sysdeps/s390/s390-64/configure.in: Likewise.
34516 * sysdeps/sparc/configure.in: Likewise.
34517 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34518 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34519 * sysdeps/i386/configure.in: Likewise.
34520 * sysdeps/x86_64/configure.in: Likewise.
34521 * sysdeps/sh/configure.in: Likewise.
34522 * sysdeps/s390/s390-32/configure: Regenerated.
34523 * sysdeps/s390/s390-64/configure: Likewise.
34524 * sysdeps/x86_64/configure: Likewise.
34525 * sysdeps/sh/configure: Likewise.
34526 * sysdeps/powerpc/powerpc64/configure: Likewise.
34527 * sysdeps/powerpc/powerpc32/configure: Likewise.
34528 * sysdeps/sparc/configure: Likwise.
34529 * sysdeps/i386/configure: Likewise.
34531 * elf/dl-open.c: Comment fixes.
34533 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34535 * Makefile [CXX] (check-data): Remove.
34536 [CXX] (c++-types.data): New vpath directive.
34537 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34538 vpath. Do not allow for C++ type data being missing.
34539 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34540 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34541 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34542 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34543 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34544 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34545 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34548 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34551 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34554 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34557 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34560 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34563 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34566 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34569 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34570 definitions to architecture-specific files.
34571 (TLS_IE): Likewise.
34572 (TLS_LD): Likewise.
34573 (TLS_GD): Likewise.
34574 * sysdeps/i386/tls-macros.h: New file.
34575 * sysdeps/powerpc/tls-macros.h: Likewise.
34576 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34577 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34578 * sysdeps/sh/tls-macros.h: Likewise.
34579 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34580 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34581 * sysdeps/x86_64/tls-macros.h: Likewise.
34583 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34586 zero value for regular exit case.
34588 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34589 (__start_context): Preserve zero value for regular exit case.
34591 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34592 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34594 * manual/setjmp.texi (setcontext): Clarify normal process
34595 termination when uc_link is the null pointer.
34596 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34599 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34601 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34602 preprocessor. Test for each exception mask separately.
34604 2012-07-16 Andreas Jaeger <aj@suse.de>
34606 * po/ru.po: Update from translation team.
34608 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34610 * conform/data/string.h-data (NULL): Use macro-constant. Require
34612 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34613 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34614 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34615 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34618 2012-07-13 Andreas Jaeger <aj@suse.de>
34620 * po/fr.po: Update from translation team.
34622 2012-07-12 Marek Polacek <polacek@redhat.com>
34625 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34626 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34629 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34633 Change to 2.4.1 where previously 2.4.0.
34634 * sysdeps/unix/sysv/linux/configure: Regenerated.
34635 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34636 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34638 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34639 (__ASSUME_AT_CLKTCK): Remove.
34640 (__ASSUME_AT_PAGESIZE): Likewise.
34641 (__ASSUME_AT_XID): Likewise.
34642 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34643 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34644 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34646 (HAVE_AUX_PAGESIZE): Likewise.
34647 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34648 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34649 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34651 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34655 the temporary buffer used to invoke __gethostbyname2_r,
34656 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34657 host_data / struct gaih_addrtuple.
34658 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34659 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34660 header file nss/nsswitch.h.
34661 * nss/nsswitch.h (global scope): Add definition of implementation
34662 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34663 resolv/nss_dns/dns-host.c).
34665 2012-07-11 Andreas Jaeger <aj@suse.de>
34667 * po/fr.po: Update from translation team.
34669 * po/sv.po: Update from translation team
34670 * po/fr.po: Another update from translation team.
34672 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34675 for subnormals or multiply small sinh result by itself.
34676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34679 2012-07-11 David S. Miller <davem@davemloft.net>
34681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34683 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34686 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34687 (INTERNAL_MARK): Shift it here.
34689 2012-07-10 Marek Polacek <polacek@redhat.com>
34692 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34693 libc_cv_asm_global_directive with .globl.
34694 * configure: Regenerated.
34695 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34697 * sysdeps/i386/configure: Regenerated.
34698 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34700 * sysdeps/x86_64/configure: Regenerated.
34701 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34702 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34703 * elf/tst-unique2mod2.c: Likewise.
34704 * elf/tst-unique2mod1.c: Likewise.
34705 * elf/tst-unique1mod2.c: Likewise.
34706 * elf/tst-unique1mod1.c: Likewise.
34707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34708 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34711 * sysdeps/mach/sysdep.h: Likewise.
34712 * sysdeps/i386/sysdep.h: Likewise.
34713 * sysdeps/i386/i386-mcount.S: Likewise.
34714 * sysdeps/x86_64/_mcount.S: Likewise.
34715 * sysdeps/x86_64/sysdep.h: Likewise.
34716 * sysdeps/sh/_mcount.S: Likewise.
34717 * sysdeps/sh/sysdep.h: Likewise.
34718 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34719 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34720 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34721 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34722 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34723 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34724 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34725 * locale/localeinfo.h: Likewise.
34726 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34727 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34729 2012-07-09 Roland McGrath <roland@hack.frob.com>
34732 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34734 * manual/message.texi (The Uniforum approach): Likewise.
34735 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34736 (glibc iconv Implementation): Likewise.
34738 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34741 * math/s_clog.c (__clog): Avoid scaling a value down where that
34742 could result in underflow.
34743 * math/s_clog10.c (__clog10): Likewise.
34744 * math/s_clog10f.c (__clog10f): Likewise.
34745 * math/s_clog10l.c (__clog10l): Likewise.
34746 * math/s_clogf.c (__clogf): Likewise.
34747 * math/s_clogl.c (__clogl): Likewise.
34748 * math/libm-test.inc (clog_test): Add more tests.
34749 (clog10_test): Likewise.
34750 * sysdeps/i386/fpu/libm-test-ulps: Update.
34751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34753 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34757 by 7 not 8 to examine high bit of fractional part.
34760 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34761 for call to __mcount_internal.
34762 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34763 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34764 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34766 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34769 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34770 approximation for values within 0x1p-13f of an odd multiple of
34772 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34773 exception. Add more tests.
34774 * sysdeps/i386/fpu/libm-test-ulps: Update.
34777 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34778 inputs and return -1 for them. Do not check for +Inf in case not
34779 reachable for +Inf.
34780 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34781 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34783 and return -1 for them. Do not check for +Inf in case not
34784 reachable for +Inf.
34785 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34787 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34788 and return -1 for them. Do not check for +Inf in case not
34789 reachable for +Inf.
34790 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34791 spurious underflow.
34792 * sysdeps/i386/fpu/libm-test-ulps: Update.
34793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34795 2012-07-06 Mike Frysinger <vapier@gentoo.org>
34797 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34799 2012-07-05 Joseph Myers <joseph@codesourcery.com>
34803 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34804 could result in spurious underflow. Scale down values above
34805 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34806 * math/s_csqrtf.c (__csqrtf): Likewise.
34807 * math/s_csqrtl.c (__csqrtl): Likewise.
34808 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34809 spurious underflow.
34810 * sysdeps/i386/fpu/libm-test-ulps: Update.
34811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34813 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34815 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34817 * catgets/xopen-msg.awk: New file.
34818 * catgets/xopen-msg.sed: Removed.
34820 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34822 * intl/po2test.awk: New file.
34823 * intl/po2test.sed: Removed.
34825 2012-07-04 Joseph Myers <joseph@codesourcery.com>
34828 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34829 or multiply small sinh result by itself.
34830 * math/s_ctanf.c (__ctanf): Likewise.
34831 * math/s_ctanh.c (__ctanh): Likewise.
34832 * math/s_ctanhf.c (__ctanhf): Likewise.
34833 * math/s_ctanhl.c (__ctanhl): Likewise.
34834 * math/s_ctanl.c (__ctanl): Likewise.
34835 * math/libm-test.inc (ctan_test_tonearest): New function.
34836 (ctan_test_towardzero): Likewise.
34837 (ctan_test_downward): Likewise.
34838 (ctan_test_upward): Likewise.
34839 (ctanh_test_tonearest): Likewise.
34840 (ctanh_test_towardzero): Likewise.
34841 (ctanh_test_downward): Likewise.
34842 (ctanh_test_upward): Likewise.
34843 (main): Call these new functions.
34844 * sysdeps/i386/fpu/libm-test-ulps: Update.
34845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34847 2012-07-03 Mike Frysinger <vapier@gentoo.org>
34849 * .gitignore: Delete /ports entry.
34851 2012-07-03 Andreas Jaeger <aj@suse.de>
34853 * po/bg.po: Update from translation team.
34854 * po/cs.po: Likewise.
34855 * po/de.po: Likewise.
34856 * po/hr.po: Likewise.
34857 * po/nl.pl: Likewise.
34858 * po/pl.po: Likewise.
34859 * po/vi.po: Likewise.
34861 2012-07-03 Joseph Myers <joseph@codesourcery.com>
34863 * Makeconfig [!+link] (+link-before-libc): New variable.
34864 [!+link] (+link-after-libc): Likewise.
34865 [!+link] (+link-tests): Likewise.
34866 [!+link] (+link): Define in terms of $(+link-before-libc) and
34867 $(+link-after-libc).
34868 [!+link-static] (+link-static-before-libc): New variable.
34869 [!+link-static] (+link-static-after-libc): Likewise.
34870 [!+link-static] (+link-static-tests): Likewise.
34871 [!+link-static] (+link-static): Define in terms of
34872 $(+link-static-before-libc) and $(+link-static-after-libc).
34873 [build-shared] (link-libc-before-gnulib): New variable.
34874 [build-shared] (link-libc-tests): Likewise.
34875 [build-shared] (link-libc): Define in terms of
34876 $(link-libc-before-gnulib).
34877 [!build-shared] (link-libc-tests): New variable.
34878 (link-libc-static-tests): New variable.
34879 [!gnulib] (gnulib-arch): New variable.
34880 [!gnulib] (gnulib-tests): Likewise.
34881 [!gnulib] (static-gnulib-arch): Likewise.
34882 [!gnulib] (static-gnulib-tests): Likewise.
34883 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34884 Define with "=" instead of ":=".
34885 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34886 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34887 * Rules (binaries-all-notests): New variable.
34888 (binaries-all-tests): Likewise.
34889 (binaries-static-notests): Likewise.
34890 (binaries-static-tests): Likewise.
34891 (binaries-all): Define using $(binaries-all-notests) and
34892 $(binaries-all-tests).
34893 (binaries-static): Define using $(binaries-static-notests) and
34894 $(binaries-static-tests).
34895 (binaries-shared-tests): New variable.
34896 (binaries-shared-notests): Likewise.
34897 (binaries-shared): Remove variable.
34898 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34899 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34900 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34901 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34902 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34903 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34904 * elf/Makefile (sln-modules): New variable.
34905 (extra-objs): Add $(sln-modules:=.o).
34906 (ldconfig-modules): Add static-stubs.
34907 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34908 * elf/static-stubs.c: New file.
34911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34912 by 7 not 8 to examine high bit of fractional part. Use volatile
34913 variables when splitting into final array of floats if
34914 __FLT_EVAL_METHOD__ != 0.
34915 * math/libm-test.inc (cos_test): Add another test.
34916 (sin_test): Likewise.
34917 * sysdeps/i386/fpu/libm-test-ulps: Update.
34920 * math/libm-test.inc (cosh_test): Add more tests.
34922 * version.h (RELEASE): Set to "development".
34923 (VERSION): Set to "2.16.90".
34925 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34927 * NEWS: Update copyright. Remove last-updated date.
34928 Mention math library bug fixes and timezone data changes.
34929 * README: Mention GNU/Hurd, x32, and HPPA support status.
34931 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34933 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34935 2012-06-27 Andreas Jaeger <aj@suse.de>
34937 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34939 2012-06-25 Andreas Jaeger <aj@suse.de>
34941 * sysdeps/s390/fpu/libm-test-ulps: Update.
34943 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34944 Thomas Schwinge <thomas@codesourcery.com>
34946 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34947 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34951 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34953 * sysdeps/mach/start.c: Remove file.
34954 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34955 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34956 * sysdeps/sh/init-first.c: Likewise.
34958 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34959 registers for frame unwinding purposes, add CFI directives.
34960 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34962 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34965 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34966 __fortify_fail returning.
34967 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34969 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34970 sysdeps/sh/____longjmp_chk.S.
34971 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34972 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34973 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34974 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34976 * sysdeps/sh/abort-instr.h: New file.
34977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34978 process in case exit returns.
34980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34981 initialize the GOT register before use.
34983 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34984 calculation of ARGC > 4.
34986 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34987 meaningful names to some local labels.
34989 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34990 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34992 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34993 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34994 (__arch_compare_and_exchange_val_16_acq): Likewise.
34995 (__arch_compare_and_exchange_val_32_acq): Likewise.
34996 (atomic_exchange_and_add): Fix gUSA sequence.
34997 (atomic_add): Likewise.
34998 (atomic_add_negative): Likewise.
34999 (atomic_add_zero): Likewise.
35000 (atomic_bit_test_set): Likewise.
35002 2012-06-22 Andreas Schwab <schwab@redhat.com>
35005 * include/link.h (struct link_map): Add l_free_initfini.
35006 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35008 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35009 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35010 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35013 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35015 * configure.in: Use AC_LANG_SOURCE.
35016 * configure: Regenerate.
35018 2012-06-22 Roland McGrath <roland@hack.frob.com>
35020 * configure.in (libc_cv_localstatedir): New substituted variable.
35021 * configure: Regenerated.
35022 * config.make.in (localstatedir): New variable, substituted from
35023 libc_cv_localstatedir.
35024 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35025 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35026 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35027 * sysdeps/gnu/configure: Regenerated.
35029 2012-06-21 Jeff Law <law@redhat.com>
35032 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35033 free. Simplify list management for _LIBC case.
35035 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35038 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35039 Clear sign bit of 64-bit integer value before comparing against
35042 * sysdeps/mach/configure: Regenerated.
35044 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35047 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35049 2012-06-21 Jeff Law <law@redhat.com>
35052 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35053 uint16_t for elements in the "seen" array to avoid char overflows.
35054 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35055 * elf/dl-open.c (dl_open_worker): Likewise.
35057 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35059 * scripts/list-sources.sh: Scan PORTS for translations.
35060 * po/libc.pot: Regenerated.
35062 2012-06-21 Andreas Jaeger <aj@suse.de>
35065 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35067 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35068 * bits/byteswap-16.h (__bswap_16): Likewise.
35069 * bits/byteswap.h (__bswap_constant_16): Likewise.
35071 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35074 * sysdeps/i386/fpu_control.h: Removed.
35075 * sysdeps/x86_64/fpu_control.h: Moved to ...
35076 * sysdeps/x86/fpu_control.h: Here.
35078 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35079 (_FPU_SETCW): Likewise.
35081 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35084 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35085 * sysdeps/x86/fpu/bits/mathinline.h: This.
35086 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35090 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35091 functions if __x86_64__ is defined.
35093 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35095 * string/endian.h: Add !__ASSEMBLER__ condition for including
35096 conversion interfaces.
35098 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35102 of ABS(x) in calculating zero to negative powers other than odd
35104 * math/libm-test.inc (pow_test): Add more tests.
35106 2012-06-15 Andreas Jaeger <aj@suse.de>
35108 * manual/contrib.texi (Contributors): Update entry of Liubov
35109 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35112 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35114 * string/string.h: Add __wur to GNU version of strerror_r.
35116 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35119 * string/Makefile (tests): Add tst-strtok_r.
35120 * string/tst-strtok_r.c: New file.
35121 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35122 RAX_LP/RDX_LP on SAVE_PTR.
35124 2012-06-14 Roland McGrath <roland@hack.frob.com>
35126 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35128 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35130 * libm_test.inc (csqrt_test): Allow more spurious underflow
35132 (j0_test): Likewise.
35133 (j1_test): Likewise.
35134 (y0_test): Likewise.
35135 (y1_test): Likewise.
35137 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35139 * po/Makefile (libc.pot): Use UTF-8 charset.
35141 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35144 Suppress sign-conversion warning from FD_SET.
35145 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35146 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35147 not unsigned long int.
35148 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35150 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35154 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35155 __extern_always_inline instead of __extern_inline.
35156 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35157 (__signbit): Likewise.
35158 (__signbitl): Support C++ namespace.
35159 (lrintf): New inline function.
35161 (llrintf): Likewise.
35162 (llrint): Likewise.
35172 (floorf): Likewise.
35173 (nearbyint): Likewise.
35174 (nearbyintf): Likewise.
35176 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35179 non-default versions.
35181 2012-06-11 Roland McGrath <roland@hack.frob.com>
35184 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35186 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35188 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35189 (FE_UPWARD, FE_DOWNWARD): Don't define.
35190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35191 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35193 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35195 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35198 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35200 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35202 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35203 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35205 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35208 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35209 * sysdeps/i386/fpu/Implies: New file.
35210 * sysdeps/x86_64/fpu/Implies: Likewise.
35211 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35212 * sysdeps/x86/fpu/bits/fenv.h: This.
35214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35217 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35220 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35221 character 0xffff that matches the last element of the
35224 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35229 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35232 values higher than 25.6283.
35234 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35237 subnormal exponent extraction and add some __builtin_expect.
35238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35239 Fix for subnormal mantissa calculation.
35241 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35243 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35244 cpu2 is -1 and errno is not ENOSYS.
35246 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35249 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35250 * sysdeps/x86/bits/string.h: This.
35251 * sysdeps/x86_64/bits/string.h: Removed.
35253 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35254 if not compiling for x86-64, but compiling for >= i486.
35256 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35257 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35259 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35260 New macro from Linux kernel 3.4.0.
35261 (FP_XSTATE_MAGIC2): Likewise.
35262 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35263 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35264 (struct _fpx_sw_bytes): New struct.
35265 (struct _xsave_hdr): Likewise.
35266 (struct _ymmh_state): Likewise.
35267 (struct _xstate): Likewise.
35269 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35270 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35272 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35274 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35276 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35277 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35278 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35279 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35280 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35281 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35283 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35286 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35287 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35288 (sysdep_headers): Include sys/platform/ppc.h.
35289 * sysdeps/powerpc/test-gettimebase.c: Test for
35290 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35291 * manual/Makefile (appendices): Include platform.texi.
35292 * manual/contrib.texi (Contributors): Update @node pointers.
35293 * manual/maint.texi (Maintenance): Likewise.
35294 (Platform): New node.
35295 * manual/platform.texi: New file. Document the new features.
35297 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35298 Jakub Jelinek <jakub@redhat.com>
35301 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35302 where __builtin_expect is unavailable.
35304 2012-06-03 David S. Miller <davem@davemloft.net>
35306 * stdlib/longlong.h: Updated from GCC.
35308 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35311 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35312 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35315 (GLIBC_2.16): Likewise.
35317 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35321 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35324 (default-abi): New variable.
35325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35326 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35330 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35332 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35335 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35336 definition. Document in comment.
35338 2012-06-01 David S. Miller <davem@davemloft.net>
35340 * stdlib/longlong.h: Updated from GCC.
35342 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35345 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35346 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35347 sys/debugreg.h sys/io.h here.
35348 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35349 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35351 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35352 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35353 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35354 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35355 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35356 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35359 Define only if __x86_64__ is defined.
35361 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35364 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35365 Use int64_t for variable i.
35366 * math/libm-test.inc (fmod_test): Add more tests.
35368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35369 z computation is not scheduled after fetestexcept.
35370 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35371 Use math_force_eval instead of asm to ensure calculation scheduled
35372 before exception test.
35373 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35374 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35376 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35379 computation is not scheduled after fetestexcept.
35381 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35384 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35385 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35387 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35389 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35390 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35392 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35395 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35397 (__WCHAR_MIN): Support __WORDSIZE == 64.
35398 (__WCHAR_MAX): Likewise.
35400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35405 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35408 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35409 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35412 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35414 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35415 Defined to 1 if __x86_64__ isn't defined.
35416 (_STAT_VER_LINUX_OLD): New.
35417 (st_atime): Remove duplicate.
35418 (st_mtime): Likewise.
35419 (st_ctime): Likewise.
35421 2012-05-31 David S. Miller <davem@davemloft.net>
35423 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35426 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35428 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35432 * elf/dl-reloc.c: Include <_itoa.h>.
35433 (_dl_reloc_bad_type): Remove use of INTUSE.
35434 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35435 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35436 * stdio-common/psiginfo.c (psiginfo): Likewise.
35437 * stdio-common/psignal.c (psignal): Likewise.
35438 * string/strsignal.c (strsignal): Likewise.
35439 * include/signal.h (_sys_siglist): Declare hidden proto.
35440 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35441 INTVARDEF with libc_hidden_data_def.
35442 * stdio-common/itoa-udigits.c: Likewise.
35443 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35444 (_itoa_lower_digits_internal): Remove declaration.
35445 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35446 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35447 (_sys_sigabbrev_internal): Remove aliases.
35448 (_sys_siglist): Define hidden alias.
35450 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35455 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35458 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35459 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35461 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35462 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35463 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35464 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35466 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35468 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35469 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35470 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35472 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35480 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35482 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35484 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35485 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35486 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35487 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35488 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35489 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35491 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35492 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35494 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35495 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35497 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35501 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35502 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35504 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35506 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35507 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35508 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35510 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35512 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35514 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35516 * math/math.h (M_El): Use two more decimal places.
35517 (M_LOG2El): Likewise.
35518 (M_LOG10El): Likewise.
35519 (M_LN2l): Likewise.
35520 (M_LN10l): Likewise.
35522 (M_PI_2l): Likewise.
35523 (M_PI_4l): Likewise.
35524 (M_1_PIl): Likewise.
35525 (M_2_PIl): Likewise.
35526 (M_2_SQRTPIl): Likewise.
35527 (M_SQRT2l): Likewise.
35528 (M_SQRT1_2l): Likewise.
35530 2012-05-31 David S. Miller <davem@davemloft.net>
35532 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35533 values between float registers.
35534 * sysdeps/sparc/sparc64/memset.S: Likewise.
35535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35537 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35539 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35540 -D_FORTIFY_SOURCE=1.
35541 (CPPFLAGS-tst-longjmp_chk.c): Define.
35542 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35543 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35544 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35545 CFLAGS-tst-wchar-h.c.
35547 2012-05-31 Marek Polacek <polacek@redhat.com>
35550 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35551 __endmntent_internal): Remove declaration.
35552 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35553 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35554 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35556 2012-05-30 David S. Miller <davem@davemloft.net>
35558 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35559 (___Q_simulate_exceptions): Use real FP ops rather than writing
35561 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35564 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35567 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35568 * sysdeps/x86/bits/xtitypes.h: This.
35570 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35571 * sysdeps/x86/bits/wordsize.h: This.
35573 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35574 * sysdeps/x86/bits/huge_vall.h: This.
35576 * sysdeps/i386/bits/select.h: Removed.
35577 * sysdeps/x86_64/bits/select.h: Renamed to ...
35578 * sysdeps/x86/bits/select.h: This.
35580 * sysdeps/i386/bits/setjmp.h: Removed.
35581 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35582 * sysdeps/x86/bits/setjmp.h: This.
35584 * sysdeps/i386/bits/mathdef.h: Removed.
35585 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35586 * sysdeps/x86/bits/mathdef.h: This.
35588 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35591 * include/sys/socket.h (__connect_internal)
35592 (__libc_sa_len_internal): Remove declaration.
35593 (__connect, __libc_sa_len): Declare hidden_proto.
35594 (SA_LEN): Remove use of INTUSE.
35595 * socket/connect.c: Add libc_hidden_def.
35596 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35597 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35598 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35600 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35602 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35603 of adding _internal alias.
35605 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35608 * sysdeps/i386/bits/link.h: Removed.
35609 * sysdeps/i386/bits/linkmap.h: Likewise.
35610 * sysdeps/x86_64/bits/link.h: Renamed to ...
35611 * sysdeps/x86/bits/link.h: This.
35612 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35613 * sysdeps/x86/bits/linkmap.h: This.
35615 * sysdeps/i386/bits/endian.h: Removed.
35616 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35617 * sysdeps/x86/bits/endian.h: This.
35619 * sysdeps/i386/bits/byteswap.h: Removed.
35620 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35621 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35622 * sysdeps/x86/bits/byteswap.h: This.
35623 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35624 * sysdeps/x86/bits/byteswap-16.h: This.
35625 * sysdeps/i386/Implies: Add x86.
35626 * sysdeps/x86_64/Implies: Likewise.
35628 2012-05-30 David S. Miller <davem@davemloft.net>
35630 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35631 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35633 (FP_TRAPPING_EXCEPTIONS): Define.
35634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35635 (FP_TRAPPING_EXCEPTIONS): Define.
35636 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35637 subnormals only when inexact has been signalled or underflow
35638 exceptions are enabled.
35639 (_FP_PACK_CANONICAL): Likewise.
35641 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35644 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35645 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35647 2012-05-30 Richard Henderson <rth@twiddle.net>
35649 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35650 with #ifndef NOT_IN_libc.
35652 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35653 marked to avoid plt entry.
35655 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35658 * Makeconfig (default-abi): New macro.
35659 (abi-includes): Likewise.
35660 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35661 $(abi-$(default-abi)-lib-soname) for soname if defined.
35662 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35664 * Makefile (installed-stubs): Likewise.
35665 * include/stubs-biarch.h: Removed.
35666 * scripts/lib-names.awk: Only handle one library at a time.
35667 * scripts/soversions.awk: Remove WORDSIZE support.
35668 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35670 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35672 (syscall-list-default-condition): Likewise.
35673 (syscall-list-default-condition): Likewise.
35674 (syscall-list-includes): Likewise.
35675 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35676 syscall-list-* with abi-*. Handle undefined abi-variants.
35677 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35678 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35679 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35680 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35681 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35682 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35684 (syscall-list-32-options): Likewise.
35685 (syscall-list-32-condition): Likewise.
35686 (syscall-list-64-options): Likewise.
35687 (syscall-list-64-condition): Likewise.
35688 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35690 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35693 (abi-64-ld-soname): New macro.
35694 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35695 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35698 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35699 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35701 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35703 * sysdeps/unix/sysv/linux/kernel-features.h
35704 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35705 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35706 include <kernel-features.h>.
35707 [!__NR_ftruncate64]: Remove conditional code.
35708 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35709 [__NR_ftruncate64]: Make code unconditional.
35710 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35711 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35712 include <kernel-features.h>.
35713 [!__NR_ftruncate64]: Remove conditional code.
35714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35715 [__NR_ftruncate64]: Make code unconditional.
35716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35718 include <kernel-features.h>.
35719 [!__NR_ftruncate64]: Remove conditional code.
35720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35721 [__NR_ftruncate64]: Make code unconditional.
35722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35724 include <kernel-features.h>.
35725 [!__NR_ftruncate64]: Remove conditional code.
35726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35727 [__NR_ftruncate64]: Make code unconditional.
35728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35730 * configure.in (libc_cv_fpie): Weaken to a compile test using
35731 LIBC_TRY_CC_OPTION.
35732 * configure: Regenerated.
35734 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35749 2012-05-27 David S. Miller <davem@davemloft.net>
35751 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35753 (__Q_simulate_exceptions): Return void. Change to simulate
35754 exceptions by writing into the %fsr.
35755 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35756 (__Qp_handle_exceptions): Likewise.
35758 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35759 __Qp_handle_exceptions.
35760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35761 __Qp_handle_exceptions.
35762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35763 as unused and give dummy FP_RND_NEAREST initializer.
35764 (FP_INHIBIT_RESULTS): Define.
35765 (___Q_simulate_exceptions): Update declaration.
35766 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35768 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35769 as unused and give dummy FP_RND_NEAREST initializer.
35770 (__Qp_handle_exceptions): Update declaration.
35771 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35774 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35776 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35777 the temporary FPU control word.
35778 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35779 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35781 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35782 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35783 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35784 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35785 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35786 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35787 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35788 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35790 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35792 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35795 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35797 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35798 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35799 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35800 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35802 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35803 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35806 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35808 * po/h.po: Update from translation team.
35810 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35812 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35814 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35815 handling of denormals.
35816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35817 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35818 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35819 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35825 2012-05-26 Marek Polacek <polacek@redhat.com>
35828 * math/libm-test.inc (fma_test): Don't always expect underflow
35831 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35834 * elf/tst-execstack.c: Include stackinfo.h.
35835 (do_test): Adjust test case to ensure that pthread_getattr_np
35836 behaviour remains the same after marking stack executable.
35838 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35840 * sysdeps/unix/sysv/linux/kernel-features.h
35841 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35842 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35844 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35845 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35846 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35848 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35849 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35851 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35853 * configure.in: Define the default includes to being none.
35854 * configure: Regenerated.
35856 2012-05-25 Roland McGrath <roland@hack.frob.com>
35858 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35859 * sysdeps/x86_64/setjmp.S: Likewise.
35860 * sysdeps/i386/bsd-setjmp.S: Likewise.
35861 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35862 * sysdeps/i386/setjmp.S: Likewise.
35863 * sysdeps/i386/__longjmp.S: Likewise.
35864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35865 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35867 * include/stap-probe.h: New file.
35868 * configure.in: Handle --enable-systemtap.
35869 * configure: Regenerated.
35870 * config.h.in (USE_STAP_PROBE): New #undef.
35871 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35872 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35873 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35875 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35879 to 2.4.0 where earlier.
35880 * sysdeps/unix/sysv/linux/configure: Regenerated.
35881 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35882 <kernel-features.h>.
35883 [__ASSUME_32BITUIDS]: Make code unconditional.
35884 [!__ASSUME_32BITUIDS]: Remove conditional code.
35885 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35886 <kernel-features.h>.
35887 [__ASSUME_32BITUIDS]: Make code unconditional.
35888 [!__ASSUME_32BITUIDS]: Remove conditional code.
35889 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35890 [__ASSUME_32BITUIDS]: Make code unconditional.
35891 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35892 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35893 <kernel-features.h>.
35894 [__ASSUME_32BITUIDS]: Make code unconditional.
35895 [!__ASSUME_32BITUIDS]: Remove conditional code.
35896 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35897 <kernel-features.h>.
35898 [__ASSUME_32BITUIDS]: Make code unconditional.
35899 [!__ASSUME_32BITUIDS]: Remove conditional code.
35900 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35901 <kernel-features.h>.
35902 [__ASSUME_32BITUIDS]: Make code unconditional.
35903 [!__ASSUME_32BITUIDS]: Remove conditional code.
35904 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35905 <kernel-features.h>.
35906 [__ASSUME_32BITUIDS]: Make code unconditional.
35907 [!__ASSUME_32BITUIDS]: Remove conditional code.
35908 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35909 <kernel-features.h>.
35910 [__ASSUME_32BITUIDS]: Make code unconditional.
35911 [!__ASSUME_32BITUIDS]: Remove conditional code.
35912 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35913 <kernel-features.h>.
35914 [__ASSUME_32BITUIDS]: Make code unconditional.
35915 [!__ASSUME_32BITUIDS]: Remove conditional code.
35916 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35917 <kernel-features.h>.
35918 [__ASSUME_32BITUIDS]: Make code unconditional.
35919 [!__ASSUME_32BITUIDS]: Remove conditional code.
35920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35921 <kernel-features.h>.
35922 [__ASSUME_32BITUIDS]: Make code unconditional.
35923 [!__ASSUME_32BITUIDS]: Remove conditional code.
35924 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35925 <kernel-features.h>.
35926 [__ASSUME_32BITUIDS]: Make code unconditional.
35927 [!__ASSUME_32BITUIDS]: Remove conditional code.
35928 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35929 <kernel-features.h>.
35930 [__ASSUME_32BITUIDS]: Make code unconditional.
35931 [!__ASSUME_32BITUIDS]: Remove conditional code.
35932 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35933 <kernel-features.h>.
35934 [__NR_setresgid] (__setresgid): Do not declare.
35935 [__ASSUME_32BITUIDS]: Make code unconditional.
35936 [!__ASSUME_32BITUIDS]: Remove conditional code.
35937 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35938 <kernel-features.h>.
35939 [__NR_setresuid] (__setresuid): Do not declare.
35940 [__ASSUME_32BITUIDS]: Make code unconditional.
35941 [!__ASSUME_32BITUIDS]: Remove conditional code.
35942 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35943 <kernel-features.h>.
35944 [__ASSUME_32BITUIDS]: Make code unconditional.
35945 [!__ASSUME_32BITUIDS]: Remove conditional code.
35946 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35947 <kernel-features.h>.
35948 [__ASSUME_32BITUIDS]: Make code unconditional.
35949 [!__ASSUME_32BITUIDS]: Remove conditional code.
35950 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35951 <kernel-features.h>.
35952 [__ASSUME_32BITUIDS]: Make code unconditional.
35953 [!__ASSUME_32BITUIDS]: Remove conditional code.
35954 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35955 <kernel-features.h>.
35956 [__ASSUME_32BITUIDS]: Make code unconditional.
35957 [!__ASSUME_32BITUIDS]: Remove conditional code.
35958 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35959 <kernel-features.h>.
35960 [__ASSUME_32BITUIDS]: Make code unconditional.
35961 [!__ASSUME_32BITUIDS]: Remove conditional code.
35962 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35963 <kernel-features.h>.
35964 [__ASSUME_32BITUIDS]: Make code unconditional.
35965 [!__ASSUME_32BITUIDS]: Remove conditional code.
35966 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35967 <kernel-features.h>.
35968 [__ASSUME_32BITUIDS]: Make code unconditional.
35969 [!__ASSUME_32BITUIDS]: Remove conditional code.
35970 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35971 <kernel-features.h>.
35972 [__ASSUME_32BITUIDS]: Make code unconditional.
35973 [!__ASSUME_32BITUIDS]: Remove conditional code.
35974 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35975 <kernel-features.h>.
35976 [__ASSUME_32BITUIDS]: Make code unconditional.
35977 [!__ASSUME_32BITUIDS]: Remove conditional code.
35978 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35979 <kernel-features.h>.
35980 [__ASSUME_32BITUIDS]: Make code unconditional.
35981 [!__ASSUME_32BITUIDS]: Remove conditional code.
35982 * sysdeps/unix/sysv/linux/kernel-features.h
35983 (__ASSUME_SETRESUID_SYSCALL): Remove.
35984 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35985 (__ASSUME_32BITUIDS): Likewise.
35986 (__ASSUME_LDT_WORKS): Likewise.
35987 (__ASSUME_O_DIRECTORY): Likewise.
35988 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35989 architecture but not kernel version.
35990 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35991 (__ASSUME_MMAP2_SYSCALL): Likewise.
35992 (__ASSUME_STAT64_SYSCALL): Likewise.
35993 (__ASSUME_IPC64): Likewise.
35994 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35995 <kernel-features.h>.
35996 [__ASSUME_32BITUIDS]: Make code unconditional.
35997 [!__ASSUME_32BITUIDS]: Remove conditional code.
35998 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35999 <kernel-features.h>.
36000 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36001 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36002 132096]: Remove conditional code.
36003 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36004 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36005 <kernel-features.h>.
36006 [__ASSUME_32BITUIDS]: Make code unconditional.
36007 [!__ASSUME_32BITUIDS]: Remove conditional code.
36008 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36009 <kernel-features.h>.
36010 [__ASSUME_32BITUIDS]: Make code unconditional.
36011 [!__ASSUME_32BITUIDS]: Remove conditional code.
36012 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36013 <kernel-features.h>.
36014 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36016 (__setresgid): Do not declare.
36017 [__ASSUME_32BITUIDS]: Make code unconditional.
36018 [!__ASSUME_32BITUIDS]: Remove conditional code.
36019 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36020 <kernel-features.h>.
36021 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36023 (__setresuid): Do not declare.
36024 [__ASSUME_32BITUIDS]: Make code unconditional.
36025 [!__ASSUME_32BITUIDS]: Remove conditional code.
36026 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36027 <kernel-features.h>.
36028 [__ASSUME_32BITUIDS]: Make code unconditional.
36029 [!__ASSUME_32BITUIDS]: Remove conditional code.
36030 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36031 <kernel-features.h>.
36032 [__ASSUME_32BITUIDS]: Make code unconditional.
36033 [!__ASSUME_32BITUIDS]: Remove conditional code.
36035 2012-05-25 Richard Henderson <rth@twiddle.net>
36037 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36038 dl_hwcap to ifunc resolver.
36039 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36041 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36042 dl_hwcap to ifunc resolver.
36043 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36045 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36048 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36049 for |x| <= 2**-26, not 2**-57.
36050 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36053 2012-05-24 Jeff Law <law@redhat.com>
36055 * stdio-common/Makefile (tests): Add bug25.
36056 * stdio-common/bug25.c: New test.
36058 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36061 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36062 multiple of MALLOC_ALIGNMENT in size.
36063 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36065 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36067 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36069 (FILENAME_MAX): Use macro-int-constant.
36070 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36071 (_IOFBF): Use macro-int-constant.
36072 (_IOLBF): Likewise.
36073 (_IONBF): Likewise.
36074 (SEEK_CUR): Likewise.
36075 (SEEK_END): Likewise.
36076 (SEEK_SET): Likewise.
36077 (TMP_MAX): Likewise.
36078 (EOF): Use macro-int-constant. Require < 0.
36079 (NULL): Use macro-constant. Require == 0.
36080 (stdin): Require type to be FILE *.
36081 (stdout): Likewise.
36082 (stderr): Likewise.
36083 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36084 macro-int-constant.
36085 (EXIT_SUCCESS): Likewise.
36086 (NULL): Use macro-constant. Require == 0.
36087 (RAND_MAX): Use macro-int-constant.
36088 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36089 [C99-based standards] (strtof): Require function.
36090 [C99-based standards] (strtold): Likewise.
36091 [C99-based standards] (strtoll): Likewise.
36092 [C99-based standards] (strtoull): Likewise.
36093 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36094 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36095 [ISO || ISO99 || ISO11] (math.h): Likewise.
36096 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36097 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36100 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36103 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36104 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36105 * intl/dgettext.c (DCGETTEXT): Likewise.
36106 * intl/gettext.c (DCGETTEXT): Likewise.
36107 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36108 * posix/regex_internal.h (gettext): Likewise.
36109 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36110 Remove declaration.
36111 * include/argz.h (__argz_count_internal)
36112 (__argz_stringify_internal): Remove declaration.
36113 (__argz_count, __argz_stringify): Declare hidden proto.
36114 * intl/dcgettext.c: Remove use of INTDEF.
36115 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36116 * string/argz-stringify.c: Likewise.
36117 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36118 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36119 Declare hidden proto.
36120 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36121 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36122 Declare hidden proto.
36123 * include/stdio.h (__asprintf_internal): Don't declare.
36124 (__asprintf): Don't define as macro. Declare hidden proto.
36125 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36126 (__fsetlocking): Declare hidden proto.
36127 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36128 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36130 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36131 (_IO_setlinebuf): Remove use of INTUSE.
36132 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36133 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36134 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36135 Remove declaration.
36136 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36137 (_IO_do_flush): Remove use of INTUSE.
36138 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36139 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36140 (_IO_adjust_column, _IO_least_wmarker)
36141 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36142 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36143 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36144 (_IO_default_doallocate, _IO_wdefault_doallocate)
36145 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36146 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36147 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36148 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36149 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36150 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36151 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36152 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36153 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36154 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36155 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36156 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36157 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36159 (_IO_flush_all_internal, _IO_adjust_column_internal)
36160 (_IO_default_uflow_internal, _IO_default_finish_internal)
36161 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36162 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36163 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36164 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36165 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36166 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36167 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36168 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36169 (_IO_file_close_internal, _IO_file_close_it_internal)
36170 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36171 (_IO_file_init_internal, _IO_file_attach_internal)
36172 (_IO_file_fopen_internal, _IO_file_read_internal)
36173 (_IO_file_sync_internal, _IO_file_seek_internal)
36174 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36175 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36176 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36177 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36178 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36179 (_IO_list_all_internal, _IO_link_in_internal)
36180 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36181 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36182 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36183 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36184 (_IO_do_write_internal, _IO_padn_internal)
36185 (_IO_getline_info_internal, _IO_getline_internal)
36186 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36187 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36188 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36189 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36190 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36191 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36192 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36193 with libc_hidden_ver, remove use of INTUSE.
36194 * libio/genops.c: Likewise.
36195 * libio/freopen.c: Likewise.
36196 * libio/freopen64.c: Likewise.
36197 * libio/iofclose.c: Likewise.
36198 * libio/iofdopen.c: Likewise.
36199 * libio/iofflush.c: Likewise.
36200 * libio/iofflush_u.c: Likewise.
36201 * libio/iofgets.c: Likewise.
36202 * libio/iofgets_u.c: Likewise.
36203 * libio/iofopen.c: Likewise.
36204 * libio/iofopncook.c: Likewise.
36205 * libio/iofread.c: Likewise.
36206 * libio/iofread_u.c: Likewise.
36207 * libio/ioftell.c: Likewise.
36208 * libio/iofwrite.c: Likewise.
36209 * libio/iogetline.c: Likewise.
36210 * libio/iogets.c: Likewise.
36211 * libio/iogetwline.c: Likewise.
36212 * libio/iopadn.c: Likewise.
36213 * libio/iopopen.c: Likewise.
36214 * libio/ioseekoff.c: Likewise.
36215 * libio/ioseekpos.c: Likewise.
36216 * libio/iosetbuffer.c: Likewise.
36217 * libio/iosetvbuf.c: Likewise.
36218 * libio/ioungetc.c: Likewise.
36219 * libio/ioungetwc.c: Likewise.
36220 * libio/iovdprintf.c: Likewise.
36221 * libio/iovsprintf.c: Likewise.
36222 * libio/iovsscanf.c: Likewise.
36223 * libio/memstream.c: Likewise.
36224 * libio/obprintf.c: Likewise.
36225 * libio/oldfileops.c: Likewise.
36226 * libio/oldiofclose.c: Likewise.
36227 * libio/oldiofdopen.c: Likewise.
36228 * libio/oldiofopen.c: Likewise.
36229 * libio/oldiopopen.c: Likewise.
36230 * libio/oldstdfiles.c: Likewise.
36231 * libio/putc.c: Likewise.
36232 * libio/setbuf.c: Likewise.
36233 * libio/setlinebuf.c: Likewise.
36234 * libio/stdfiles.c: Likewise.
36235 * libio/strops.c: Likewise.
36236 * libio/vasprintf.c: Likewise.
36237 * libio/vscanf.c: Likewise.
36238 * libio/vsnprintf.c: Likewise.
36239 * libio/vswprintf.c: Likewise.
36240 * libio/wfiledoalloc.c: Likewise.
36241 * libio/wfileops.c: Likewise.
36242 * libio/wgenops.c: Likewise.
36243 * libio/wmemstream.c: Likewise.
36244 * libio/wstrops.c: Likewise.
36245 * libio/__fpurge.c: Likewise.
36246 * libio/__fsetlocking.c: Likewise.
36247 * assert/assert.c: Likewise.
36248 * debug/fgets_chk.c: Likewise.
36249 * debug/fgets_u_chk.c: Likewise.
36250 * debug/fread_chk.c: Likewise.
36251 * debug/fread_u_chk.c: Likewise.
36252 * debug/gets_chk.c: Likewise.
36253 * debug/obprintf_chk.c: Likewise.
36254 * debug/vasprintf_chk.c: Likewise.
36255 * debug/vdprintf_chk.c: Likewise.
36256 * debug/vsnprintf_chk.c: Likewise.
36257 * debug/vsprintf_chk.c: Likewise.
36258 * malloc/mtrace.c: Likewise.
36259 * misc/error.c: Likewise.
36260 * misc/syslog.c: Likewise.
36261 * stdio-common/asprintf.c: Likewise.
36262 * stdio-common/fxprintf.c: Likewise.
36263 * stdio-common/getw.c: Likewise.
36264 * stdio-common/isoc99_fscanf.c: Likewise.
36265 * stdio-common/isoc99_scanf.c: Likewise.
36266 * stdio-common/isoc99_vfscanf.c: Likewise.
36267 * stdio-common/isoc99_vscanf.c: Likewise.
36268 * stdio-common/isoc99_vsscanf.c: Likewise.
36269 * stdio-common/printf-prs.c: Likewise.
36270 * stdio-common/printf_fp.c: Likewise.
36271 * stdio-common/printf_fphex.c: Likewise.
36272 * stdio-common/printf_size.c: Likewise.
36273 * stdio-common/putw.c: Likewise.
36274 * stdio-common/scanf.c: Likewise.
36275 * stdio-common/sprintf.c: Likewise.
36276 * stdio-common/tmpfile.c: Likewise.
36277 * stdio-common/vfprintf.c: Likewise.
36278 * stdio-common/vfscanf.c: Likewise.
36279 * stdlib/strfmon_l.c: Likewise.
36280 * sunrpc/openchild.c: Likewise.
36281 * sunrpc/xdr_stdio.c: Likewise.
36282 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36283 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36285 2012-05-24 Roland McGrath <roland@hack.frob.com>
36287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36289 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36290 in the third column, to generate for the shared library an IFUNC
36291 that uses _dl_vdso_vsym.
36292 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36293 * Makeconfig (object-suffixes-noshared): New variable.
36295 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36296 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36297 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36298 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36301 * include/sys/time.h (__gettimeofday): Remove macro.
36302 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36303 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36305 (__gettimeofday): Add libc_hidden_def.
36306 (gettimeofday): Add libc_hidden_weak.
36307 * sysdeps/mach/gettimeofday.c: Likewise.
36308 * sysdeps/posix/gettimeofday.c: Likewise.
36309 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36312 (__gettimeofday_internal): Remove strong_alias.
36313 (__gettimeofday): Add libc_hidden_def.
36314 (gettimeofday): Add libc_hidden_weak.
36315 * sysdeps/unix/syscalls.list (gettimeofday):
36316 Remove __gettimeofday_internal alias.
36318 2012-05-24 Daniel Jacobowitz <drow@false.org>
36319 H.J. Lu <hongjiu.lu@intel.com>
36322 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36323 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36324 (largebin_index_32_big): New.
36325 (largebin_index): Use it for 16-byte alignment.
36326 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36327 correction with front_misalign.
36329 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36357 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36358 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36360 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36364 * math/libm-test.inc (exp_test): Add test from bug 14036.
36365 (pow_test): Add test from bug 10846.
36367 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36369 (special_function): Do not include flags in test name.
36370 (parse_args): Likewise.
36371 * sysdeps/i386/fpu/libm-test-ulps: Update.
36372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36373 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36374 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36377 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36379 * math/libm-test.inc ("Philosophy"): Update comment about
36381 (UNDERFLOW_EXCEPTION): New macro.
36382 (UNDERFLOW_EXCEPTION_OK): Likewise.
36383 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36384 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36385 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36386 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36387 (INVALID_EXCEPTION_OK): Update value.
36388 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36389 (OVERFLOW_EXCEPTION_OK): Likewise.
36390 (IGNORE_ZERO_INF_SIGN): Likewise.
36391 (test_exceptions): Handle underflow exceptions.
36392 (acos_test): Update for underflow exception expectations.
36393 (cexp_test): Likewise.
36394 (clog_test): Likewise.
36395 (clog10_test): Likewise.
36396 (csqrt_test): Likewise.
36397 (ctan_test): Likewise.
36398 (ctanh_test): Likewise.
36399 (exp_test): Likewise.
36400 (exp10_test): Likewise.
36401 (exp2_test): Likewise.
36402 (expm1_test): Likewise.
36403 (fma_test): Likewise.
36404 (j0_test): Likewise.
36405 (jn_test): Likewise.
36406 (nexttoward_test): Likewise.
36407 (pow_test): Likewise.
36408 (scalbn_test): Likewise.
36409 (scalbln_test): Likewise.
36410 (tan_test): Likewise.
36411 (y1_test): Likewise.
36412 * sysdeps/i386/fpu/libm-test-ulps: Update.
36413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36415 2012-05-23 David S. Miller <davem@davemloft.net>
36417 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36418 (__libc_sigaction): Remove unused local variables.
36420 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36422 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36424 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36426 mktime: avoid signed integer overflow
36427 * time/mktime.c (__mktime_internal): Do not mishandle the case
36428 where diff == INT_MIN.
36430 mktime: simplify computation of average
36431 * time/mktime.c (ranged_convert): Use new time_t_avg function
36432 instead of rolling our own (probably-slower) code.
36434 mktime: do not assume signed right shift propagates sign bit
36435 * time/mktime.c (isdst_differ): New static function.
36436 (__mktime_internal): No need to normalize tm_isdst now.
36437 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36440 mktime: merge another wrapv change from gnulib
36441 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36442 from some compilers.
36444 mktime: remove incorrect attempt at unusual arithmetics
36445 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36446 The code didn't really work on such machines anyway.
36447 (TYPE_MINIMUM): Assume two's complement.
36448 (twos_complement_arithmetic): Verify that long_int and time_t
36449 are two's complement (or unsigned, in the latter case).
36451 mktime: check signed shifts on long_int and time_t, too
36452 * time/mktime.c (SHR): Check that shifts work as desired
36453 on the types long_int and time_t too, as SHR is used on
36456 mktime: do not assume 'long' is wide enough
36457 * time/mktime.c (verify): Move decl up.
36458 (long_int): New type.
36459 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36460 to remove assumption in the code that 'long' is wide enough to
36461 store year values. This assumption is not true on x32 and on
36462 some non-glibc platforms.
36464 mktime: merge wrapv change from gnulib
36465 * time/mktime.c (WRAPV): New macro.
36466 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36467 (guess_time_tm, __mktime_internal): Do not assume that signed
36468 integer overflow wraps around; modern compilers generate code
36469 where this assumption is no longer valid.
36471 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36473 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36474 Replace "jmp L(pseudo_end)" with "ret".
36475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36478 2012-05-23 Andreas Jaeger <aj@suse.de>
36480 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36481 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36483 2012-05-23 Andreas Jaeger <aj@suse.de>
36484 Maximilian Attems <max@stro.at>
36486 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36489 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36492 code so that pseudo_end is just ret and the stack pointer is
36493 correct also for static library in error case.
36495 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36497 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36498 move to syscalls.list.
36499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36504 * manual/install.texi (Running make install): Do not mention Linux
36505 kernel version for which pt_chown is not needed.
36506 (Linux): Do not mention problems with nscd with 2.0 kernels.
36507 * INSTALL: Regenerated.
36509 2012-05-23 Andreas Jaeger <aj@suse.de>
36511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36512 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36514 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36516 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36518 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36522 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36524 * sysdeps/unix/sysv/linux/bits/in.h
36525 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36527 2012-05-22 Roland McGrath <roland@hack.frob.com>
36529 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36530 (PREPARE_VERSION): Just use assert instead, it will be elided
36531 under [NDEBUG] anyway.
36533 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36535 * sysdeps/unix/sysv/linux/Makefile: Include
36536 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36537 (sysdep_routines): Remove sysctl.
36538 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36539 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36540 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36541 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36542 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36544 2012-05-22 Andreas Jaeger <aj@suse.de>
36546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36547 that pseudo_end is just ret and the stack pointer is correct also
36548 for static library in error case.
36550 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36553 * nss/nsswitch.c (defconfig_entries): New variable.
36554 (__nss_database_lookup): Don't leak defconfig entries.
36555 (nss_parse_service_list): Don't leak on error paths.
36556 (free_database_entries): New function.
36557 (free_defconfig): New function.
36558 (free_mem): Move common code to free_database_entries.
36560 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36562 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36564 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36566 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36567 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36570 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36571 (INTERNAL_SYSCALL_TYPES): Likewise.
36572 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36573 (LOAD_REGS_TYPES_[1-6]): Likewise.
36574 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36575 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36577 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36579 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36580 copysignl for GLIBC_2_0.
36581 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36582 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36584 logbl for GLIBC_2_0.
36585 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36586 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36588 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36591 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36593 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36596 * time/mktime.c: Update copyright years.
36598 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36600 mktime: merge comment-quoting-style change from gnulib
36601 * time/mktime.c: Quote 'like this' in comments.
36602 The GNU coding standards suggest that we no longer quote `like this',
36603 as "`" and "'" are typically rendered asymmetrically nowadays.
36604 The typical gnulib style is to quote 'like this' when quoting
36605 code, and "like this" when quoting English.
36607 * time/mktime.c (compile-command): Add "-I.".
36609 mktime: merge mktime-internal.h change from gnulib
36610 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36612 mktime: merge time_r change from gnulib
36613 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36615 mktime: merge DEBUG change from gnulib
36616 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36617 case system <time.h> has a #define.
36619 mktime: merge <sys/types.h> change from gnulib
36620 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36621 since <time.t> is now guaranteed to define time_t.
36623 mktime: merge HAVE_CONFIG_H change from gnulib
36624 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36626 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36631 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36633 (struct rusage): Use anonymous union to pad each field to
36636 2012-05-21 David S. Miller <davem@davemloft.net>
36638 * Makefules (o-iterator): Remove .s cases.
36639 (compile-command.s): Delete.
36640 (COMPILE.s): Delete.
36641 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36643 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36645 * configure.in (libc_cv_predef_stack_protector): Only consider
36646 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36647 * configure: Regenerated.
36649 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36652 New macro. Use R*LP on int and pointer.
36653 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36654 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36655 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36656 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36658 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36659 [__WORDSIZE_TIME64_COMPAT32] instead of
36660 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36661 (struct utmp): Likewise.
36662 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36663 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36665 (__WORDSIZE_TIME64_COMPAT32): This.
36666 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36667 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36668 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36669 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36670 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36671 (__WORDSIZE_TIME64_COMPAT32): New macro.
36673 2012-05-21 Andreas Jaeger <aj@suse.de>
36675 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36676 only if [SHARED]. Add prototype for __wcschr_ia32.
36678 2012-05-21 Roland McGrath <roland@hack.frob.com>
36680 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36681 of %rbp unmolested in the jmp_buf while mangling the low bits.
36682 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36683 unmolested high bits of %rbp while demangling the low bits.
36684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36686 2012-05-21 Andreas Jaeger <aj@suse.de>
36688 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36689 * sunrpc/svc_simple.c: Use it for registerrpc.
36690 * sunrpc/xcrypt.c: Use it for passwd2des.
36692 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36694 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36696 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36697 Don't define if [__SYSCALL_WORDSIZE != 32].
36698 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36701 2012-05-21 Bruno Haible <bruno@clisp.org>
36702 Andreas Jaeger <aj@suse.de>
36704 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36705 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36706 inptr and inend for must_buffer_ch.
36707 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36708 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36709 * stdio-common/Makefile (tests): Remove bug15.
36710 (bug15-ENV): Remove macro.
36711 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36714 2012-05-19 Andreas Jaeger <aj@suse.de>
36715 Roland McGrath <roland@hack.frob.com>
36717 * manual/contrib.texi: Completely rewritten. It contains now an
36718 alphabetical list of contributors and their contributions.
36720 2012-05-21 Richard Henderson <rth@twiddle.net>
36722 * misc/getauxval.c (__getauxval): Use unsigned long int.
36723 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36724 (getauxval): Use unsigned long int.
36726 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36728 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36730 2012-05-21 Roland McGrath <roland@hack.frob.com>
36732 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36733 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36734 __alignof__ (long double).
36736 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36740 2012-05-20 Richard Henderson <rth@twiddle.net>
36742 * misc/getauxval.c: New file.
36743 * misc/sys/auxv.h: New file.
36744 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36745 (routines): Add getauxval.
36746 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36747 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36748 * elf/dl-sysdep.c (_dl_auxv): Remove.
36749 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36750 * elf/dl-support.c (_dl_auxv): New variable.
36751 (_dl_aux_init): Initialize it.
36752 * manual/startup.texi (Auxiliary Vector): New node.
36753 * sysdeps/generic/bits/hwcap.h: New file.
36754 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36755 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36756 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36757 * sysdeps/sparc/sysdep.h: ... here. Include it.
36758 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36771 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36775 2012-05-19 David S. Miller <davem@davemloft.net>
36777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36779 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36782 * math/s_ccosh.c: Include <float.h>
36783 (__ccosh): Avoid internal overflow calculating sinh and cosh
36784 values before multiplying by sin and cos values.
36785 * math/s_ccoshf.c: Likewise.
36786 * math/s_ccoshl.c: Likewise.
36787 * math/s_csin.c: Likewise.
36788 * math/s_csinf.c: Likewise.
36789 * math/s_csinl.c: Likewise.
36790 * math/s_csinh.c: Likewise.
36791 * math/s_csinhf.c: Likewise.
36792 * math/s_csinhl.c: Likewise.
36793 * math/libm-test.inc (ccos_test): Add more tests.
36794 (ccosh_test): Likewise.
36795 (csin_test): Likewise.
36796 (csinh_test): Likewise.
36797 * sysdeps/i386/fpu/libm-test-ulps: Update.
36798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36800 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36802 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36803 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36805 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36807 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36809 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36810 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36811 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36812 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36813 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36814 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36815 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36816 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36817 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36818 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36819 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36820 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36821 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36822 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36823 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36824 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36825 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36826 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36827 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36828 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36829 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36830 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36831 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36832 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36833 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36834 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36835 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36836 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36837 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36838 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36839 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36841 2012-05-18 Andreas Jaeger <aj@suse.de>
36843 * csu/.gitignore: Delete.
36845 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36847 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36848 (timex): Use __syscall_slong_t.
36850 2012-05-18 Andreas Jaeger <aj@suse.de>
36851 Carlos O'Donell <carlos_odonell@mentor.com>
36853 * manual/install.texi (Configuring and compiling): Update
36854 description about files modified in the source directory.
36855 * INSTALL: Regenerated.
36857 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36859 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36860 value. Use "or" to set return value to -1.
36861 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36862 negate return value.
36864 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36866 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36867 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36868 failure if the compiler has Graphite support disabled.
36869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36871 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36872 (CFLAGS-memmove.c): Likewise.
36873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36876 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36878 * sysdeps/x86_64/x32/_itoa.h: New file.
36880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36881 getdents system call only if kernel and user dirents have the
36882 same d_ino and d_off.
36884 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36885 LLONG_MAX != LONG_MAX.
36886 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36887 (_fitoa_word): Likewise.
36889 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36892 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36893 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36896 include <bits/wordsize.h>. Check __x86_64__ instead of
36898 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36899 if __x86_64__ is defined. Use anonymous union on fpstate.
36901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36904 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36906 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36907 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36909 Refer to _rtld_local_ro instead of _rtld_global_ro.
36910 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36912 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36914 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36916 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36917 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36918 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36920 * sysdeps/powerpc/powerpc32/dl-machine.c
36921 (__elf_machine_runtime_setup) [PROF]: Don't reference
36924 2012-05-18 Andreas Jaeger <aj@suse.de>
36926 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36927 function only available for GCCs before 3.4 since GCC 3.4
36928 introduced a builtin.
36930 (llrintf): Likewise.
36931 (llrint): Likewise.
36938 (nearbyint): Likewise.
36939 (nearbyintf): Likewise.
36943 (floorf): Likewise.
36945 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36947 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36948 on both fields and cast pointer to __syscall_ulong_t.
36950 * bits/types.h (__fsword_t): New type.
36951 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36952 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36954 (__FSWORD_T_TYPE): Likewise.
36955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36956 (__FSWORD_T_TYPE): Likewise.
36957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36958 (__FSWORD_T_TYPE): Likewise.
36959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36960 (__FSWORD_T_TYPE): Likewise.
36961 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36962 __SWORD_TYPE with __fsword_t.
36963 (statfs64): Likewise.
36965 2012-05-17 David S. Miller <davem@davemloft.net>
36967 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36969 2012-05-17 Andreas Jaeger <aj@suse.de>
36971 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36974 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36976 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36978 2012-05-17 Andreas Jaeger <aj@suse.de>
36980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36983 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36985 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36987 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36989 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36990 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36992 2012-05-17 Andreas Jaeger <aj@suse.de>
36993 Carlos O'Donell <carlos_odonell@mentor.com>
36996 * sysdeps/x86_64/multiarch/init-arch.h
36997 (bit_YMM_Usable): Rename to...
36998 (bit_AVX_Usable): ... this.
36999 (bit_FMA4_Usable): New macro.
37000 (bit_XMM_state): New macro.
37001 (bit_YMM_state): New macro.
37002 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37003 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37004 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37005 (CPUID_OSXSAVE): New macro.
37006 (CPUID_AVX): New macro.
37007 (CPUID_FMA4): New macro.
37008 (index_YMM_Usable): Rename to...
37009 (index_AVX_Usable): ... this.
37010 (HAS_AVX): Use HAS_ARCH_FEATURE.
37011 (HAS_FMA4): Likewise.
37012 (HAS_YMM_USABLE): Remove.
37013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37014 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37016 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37017 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37018 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37019 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37020 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37022 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37024 * math/libm-test.c: Support platforms without multiple rounding modes.
37025 * math/bug-nextafter.c: Support platforms without FP exceptions.
37026 * math/bug-nexttoward.c: Likewise.
37027 * math/test-fenv.c: Likewise.
37028 * math/test-misc.c: Likewise.
37029 * stdlib/bug-getcontext.c: Likewise.
37031 2012-05-17 Andreas Jaeger <aj@suse.de>
37033 * manual/examples/search.c (critter_cmp): Change signature to
37035 * manual/string.texi (Collation Functions): Likewise.
37037 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37039 * bits/types.h: Fold copyright years.
37040 * bits/typesizes.h: Likewise.
37041 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37045 * time/time.h: Likewise.
37047 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37050 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37051 in instead of returning them. Return void.
37052 (__libc_mallinfo): Accumulate over all arenas.
37053 (__malloc_stats): Adjust for change in int_mallinfo interface.
37055 2012-05-16 Roland McGrath <roland@hack.frob.com>
37058 * configure.in (NM): Add AC_CHECK_TOOL for it.
37059 (libc_extra_cflags): New substituted variable.
37060 Check for -fstack-protector being used implicitly.
37061 * configure: Regenerated.
37062 * config.make.in (config-extra-cflags): New variable,
37063 gets @libc_extra_cflags@.
37064 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37067 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37068 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37069 * configure: Regenerated.
37070 * config.make.in (CPPUNDEFS): New substituted variable.
37071 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37072 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37073 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37075 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37077 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37078 (mq_attr): Use __syscall_slong_t.
37080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37082 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37083 Check __x86_64__ instead of __WORDSIZE.
37084 (_STAT_VER_LINUX): Likewise.
37085 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37086 __syscall_ulong_t and __syscall_slong_t.
37087 (stat64): Likewise.
37089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37093 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37095 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37097 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37099 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37102 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37103 include <bits/wordsize.h>. Check __x86_64__ instead of
37105 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37107 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37110 include <bits/wordsize.h>. Check __x86_64__ instead of
37112 (user_regs_struct): Use "__extension__ unsigned long long"
37113 instead of "unsigned long" if __x86_64__ is defined.
37114 (user): Likewise. Pad after pointer field if __ILP32__ is
37117 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37119 * configure.in (makeinfo): Require version 4.5 or later. Allow
37121 * configure: Regenerated.
37122 * manual/install.texi (texinfo): Increase version requirement to
37124 * INSTALL: Regenerated.
37126 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37130 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37132 * sysdeps/x86_64/x32/ffs.c: New file.
37134 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37136 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37137 defined. Use __syscall_ulong_t.
37138 (shminfo): Use __syscall_ulong_t.
37139 (shm_info): Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37144 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37146 (msgqnum_t): Use __syscall_ulong_t.
37147 (msglen_t): Likewise.
37148 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37151 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37154 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37156 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37157 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37159 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37163 include <bits/wordsize.h>. Check __x86_64__ instead of
37166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37167 "unsigned long long int" if __x86_64__ is defined.
37168 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37172 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37174 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37176 (GET_PC): Cast to uintptr_t first.
37177 (GET_FRAME): Likewise.
37178 (GET_STACK): Likewise.
37180 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37181 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37182 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37183 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37184 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37185 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37186 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37187 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37188 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37189 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37190 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37192 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37193 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37195 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37196 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37210 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37212 * Makerules (+depfiles): Also collect depfiles from .oS in
37214 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37215 .oS, $(libnldbl-routines)).
37217 * Makerules (native-compile-mkdep-flags): Define.
37218 * sunrpc/Makefile (extra-objs): Add $(addprefix
37219 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37220 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37221 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37222 calling $(make-target-directory).
37224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37226 * bits/types.h (__snseconds_t): Removed.
37227 * time/time.h (struct timespec): Replace __snseconds_t with
37229 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37230 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37233 (__SNSECONDS_T_TYPE): Likewise.
37234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37235 (__SNSECONDS_T_TYPE): Likewise.
37236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37237 (__SNSECONDS_T_TYPE): Likewise.
37239 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37241 * sysdeps/mach/hurd/bits/typesizes.h
37242 (__SYSCALL_SLONG_TYPE): New macro.
37243 (__SYSCALL_ULONG_TYPE): Likewise.
37245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37247 * bits/types.h (__syscall_slong_t): New type.
37248 (__syscall_ulong_t): Likewise.
37250 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37251 (__SYSCALL_ULONG_TYPE): Likewise.
37252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37253 (__SYSCALL_SLONG_TYPE): Likewise.
37254 (__SYSCALL_ULONG_TYPE): Likewise.
37255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37256 (__SYSCALL_SLONG_TYPE): Likewise.
37257 (__SYSCALL_ULONG_TYPE): Likewise.
37258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37259 (__SYSCALL_SLONG_TYPE): Likewise.
37260 (__SYSCALL_ULONG_TYPE): Likewise.
37262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37264 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37265 Add sigaltstack-offsets.sym.
37266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37267 <sigaltstack-offsets.h>.
37268 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37269 longjmp_msg pointer.
37270 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37271 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37273 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37275 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37277 * elf/stackguard-macros.h: Remove file.
37278 * sysdeps/generic/stackguard-macros.h: New file.
37279 * sysdeps/i386/stackguard-macros.h: Likewise.
37280 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37281 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37282 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37283 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37284 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37285 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37286 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37287 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37288 <elf/stackguard-macros.h>.
37291 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37292 __aligned__ in attribute.
37293 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37294 (gregset_t): Likewise.
37296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37298 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37299 * sysdeps/x86_64/64/Implies-after: Here. New file.
37300 * sysdeps/x86_64/x32/Implies-after: New file.
37302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37304 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37305 and access return value for _dl_profile_fixup. Use R10_LP to
37308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37310 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37314 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37315 * sysdeps/x86_64/x32/sysdep.h: New file.
37317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37319 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37320 * sysdeps/x86_64/setjmp.S: Likewise.
37322 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37324 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37326 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37327 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37328 remove unused global constant.
37330 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37332 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37333 include of <not-cancel.h>.
37335 2012-05-15 Roland McGrath <roland@hack.frob.com>
37337 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37339 2012-05-15 Jeff Law <law@redhat.com>
37340 Andreas Jaeger <aj@suse.de>
37343 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37345 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37346 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37348 code changing __hst_map_handle.map.
37350 2012-05-15 Roland McGrath <roland@hack.frob.com>
37352 * configure.in (sysnames): Look for Implies-before and Implies-after
37354 * configure: Regenerated.
37356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37359 8-byte data alignment with LP_SIZE alignment.
37361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37363 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37368 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37372 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37373 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37374 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37380 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37381 (stackinfo_sub_sp): Likewise.
37383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37400 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37404 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37405 into R11_LP and load __x86_64_shared_cache_size_half into
37408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37410 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37413 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37422 powerpc32/power7/fpu/s_logb.c via #include.
37423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37424 powerpc32/power7/fpu/s_logbf.c via #include.
37425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37426 powerpc32/power7/fpu/s_logbl.c via #include.
37428 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37430 * README.libm: Remove file.
37432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37434 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37435 count for x32. Use R*_LP and omit operand-size suffix.
37437 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37439 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37440 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37441 * sysdeps/x86_64/x32/shlib-versions: New file.
37443 2012-05-14 Roland McGrath <roland@hack.frob.com>
37445 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37446 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37447 Use _dl_fatal_printf instead.
37449 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37451 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37452 set if not set by the user. Do not allow for being unset.
37453 * sysdeps/unix/sysv/linux/configure: Regenerated.
37455 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37457 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37458 the `q' suffix from lea and replace .quad with ASM_ADDR.
37460 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37463 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37465 (PTR_DEMANGLE): Likewise.
37467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37469 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37471 (ASM_ADDR): Likewise.
37472 (RAX_LP): Likewise.
37473 (RBP_LP): Likewise.
37474 (RBX_LP): Likewise.
37475 (RCX_LP): Likewise.
37476 (RDI_LP): Likewise.
37477 (RSI_LP): Likewise.
37478 (RSP_LP): Likewise.
37481 (R10_LP): Likewise.
37482 (R10_LP): Likewise.
37483 (R11_LP): Likewise.
37484 (R12_LP): Likewise.
37485 (R13_LP): Likewise.
37486 (R14_LP): Likewise.
37487 (R15_LP): Likewise.
37489 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37491 * sysdeps/x86_64/x32/dl-machine.h: New file.
37493 2012-05-14 Andreas Jaeger <aj@suse.de>
37495 * manual/Makefile (subdir): Remove export of subdir.
37496 (all): Remove target.
37497 (.PHONY): Remove all from list.
37498 (mkinstalldirs): Remove.
37499 (.PHONY): Remove installdirs from list.
37500 ($(inst_infodir)/libc.info): Use make-target-directory.
37501 (installdirs): Remove.
37502 (subdir_%): Remove.
37503 (glibc-targets): Remove.
37506 ($(objpfx)stubs ../po/manual.pot): Remove.
37507 ($(objpfx)stamp%): Remove.
37508 (make-target-directory): Remove.
37509 (subdir_install): Remove.
37510 (routines): Remove.
37517 * manual/.gitignore: Remove, it's not needed anymore.
37518 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37520 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37522 (texis): Renamed to $(objpfx)texis.
37523 (texis-path): New, contains path to generated files.
37524 (chapters.%): Use texis-path for complete path, add extra argument
37526 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37527 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37528 (summary,texi, stamp-summary): Use complete path of
37529 files. Generate files in build dir.
37530 (dir-add.texi): Build in build dir.
37531 (libm-err.texi,stamp-libm-err): Likewise.
37532 (version.texi, stamp-version): Likewise.
37533 (.%c.texi): Likewise.
37534 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37535 (mostlyclean): Remove target.
37536 (realclean): Remove target.
37537 (generated): Add new variable with contents from mostlyclean and
37538 realclean, remove entries duplicated in common-mostlyclean, add
37539 stamp-libm-err and stamp-version.
37540 (generated-dirs): Add libc directory.
37541 ($(inst_infodir)/libc.info): Install files from build dir.
37543 * manual/install.texi (Configuring and compiling): Adjust since
37544 the info files are not part of the tar ball anymore.
37546 2012-05-14 Andreas Jaeger <aj@suse.de>
37548 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37551 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37555 to 2.2.0 where earlier.
37556 * sysdeps/unix/sysv/linux/configure: Regenerated.
37557 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37558 Remove conditional code.
37559 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37560 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37561 Remove conditional code.
37562 [!__NR_lchown]: Likewise.
37563 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37564 [__NR_lchown]: Likewise.
37565 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37566 comment referencing __ASSUME_LCHOWN_SYSCALL.
37567 * sysdeps/unix/sysv/linux/i386/sigaction.c
37568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37570 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37571 Remove conditional code.
37572 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37573 (__protocol_available): Remove #if 0 code.
37574 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37576 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37577 * sysdeps/unix/sysv/linux/kernel-features.h
37578 (__ASSUME_GETCWD_SYSCALL): Don't define.
37579 (__ASSUME_REALTIME_SIGNALS): Likewise.
37580 (__ASSUME_PREAD_SYSCALL): Likewise.
37581 (__ASSUME_PWRITE_SYSCALL): Likewise.
37582 (__ASSUME_POLL_SYSCALL): Likewise.
37583 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37584 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37586 (__ASSUME_SIOCGIFNAME): Don't define.
37587 (__ASSUME_MSG_NOSIGNAL): Likewise.
37588 (__ASSUME_SENDFILE): Define unconditionally.
37589 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37590 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37592 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37593 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37594 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37595 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37596 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37597 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37598 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37600 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37603 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37609 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37615 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37616 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37621 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37622 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37623 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37624 Remove conditional code.
37625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37626 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37627 Remove conditional code.
37628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37629 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37630 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37631 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37632 Remove conditional code.
37633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37634 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37635 Remove conditional code.
37636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37637 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37638 Remove conditional code.
37639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37640 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37641 Remove conditional code.
37642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37643 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37644 Remove conditional code.
37645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37646 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37649 * sysdeps/unix/sysv/linux/sigaction.c
37650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37652 * sysdeps/unix/sysv/linux/sigpending.c
37653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37655 * sysdeps/unix/sysv/linux/sigprocmask.c
37656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37658 * sysdeps/unix/sysv/linux/sigsuspend.c
37659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37661 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37662 (__libc_missing_rt_sigs): Remove.
37663 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37664 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37665 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37666 Remove conditional code.
37667 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37668 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37671 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37672 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37673 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37675 2012-05-14 Andreas Jaeger <aj@suse.de>
37677 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37678 it's not used in glibc.
37679 (__coshm1): Likewise.
37680 (__acosh1p): Likewise.
37683 * manual/string.texi (Copying and Concatenation): Add missing
37684 variable in concat example.
37685 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37687 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37691 __builtin_clzl with __builtin_clzll.
37693 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37696 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37699 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37701 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37702 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37703 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37704 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37706 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37708 * NEWS: Update ia64 info.
37710 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37712 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37715 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37717 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37718 * sysdeps/unix/syscalls.list (dup3): Likewise.
37719 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37720 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37722 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37724 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37725 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37727 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37729 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37731 (TLS_IE): Use mov/add instead of movq/addq to load thread
37733 (TLS_GD_PREFIX): New.
37736 2012-05-11 David S. Miller <davem@davemloft.net>
37738 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37739 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37740 (_FPU_SETCW): Likewise.
37742 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37744 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37745 is 32-byte aligned.
37747 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37750 * iconvdata/gb18030.c: Update tables.
37751 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37752 characters specially.
37753 (BODY for TO_LOOP): Add encoding of missing ranges.
37755 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37758 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37759 * sysdeps/mach/hurd/dup3.c: Likewise.
37760 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37761 * sysdeps/powerpc/memmove.c:: Likewise.
37763 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37766 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37768 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37770 * elf/elf.h (R_X86_64_RELATIVE64): New.
37771 (R_X86_64_NUM): Updated.
37772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37773 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37774 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37775 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37776 tst-quad1pie tst-quad2pie
37777 (modules-names): Add tst-quadmod1 tst-quadmod2.
37778 ($(objpfx)tst-quad1): New dependency.
37779 ($(objpfx)tst-quad2): Likewise.
37780 ($(objpfx)tst-quad1pie): Likewise.
37781 ($(objpfx)tst-quad2pie): Likewise.
37782 * sysdeps/x86_64/tst-quad1.c: New file.
37783 * sysdeps/x86_64/tst-quad1pie.c: New file.
37784 * sysdeps/x86_64/tst-quad2.c: Likewise.
37785 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37786 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37787 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37788 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37789 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37793 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37794 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37795 * streams/stropts.h (t_scalar_t): Define type.
37797 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37798 (_PATH_PRESERVE): Set to "/var/lib".
37799 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37801 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37804 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37805 if __dir_mkfile succeeded.
37807 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37808 checking for _hurd_dtablesize. Unlock it right after having
37809 finished _hurd_dtable allocation.
37811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37813 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37814 * sysdeps/mach/hurd/configure: Regenerated.
37815 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37816 special-casing to...
37817 * sysdeps/gnu/configure.in: ... this new file.
37818 * sysdeps/unix/sysv/linux/configure: Regenerated.
37819 * sysdeps/gnu/configure: New generated file.
37821 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37822 for Linux: use nsec instead of usec, as well as:
37823 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37824 members of type struct timespec.
37825 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37827 (struct stat64): Likewise.
37828 (_STATBUF_ST_NSEC): New macro.
37829 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37831 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37832 __strtoul_internal rather than strtoul.
37834 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37836 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37841 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37842 which preserves existing values.
37843 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37845 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37847 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37848 TIMEOUT values. Return EINVAL for NFDS values either negative or
37849 greater than FD_SETSIZE.
37851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37853 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37854 allocated, call __vm_protect to finish enabling the existing space, and
37855 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37856 allocate the remainder.
37858 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37860 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37861 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37863 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37865 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37866 sysdeps/mach/hurd/readlink.c.
37868 * posix/tst-sysconf.c (posix_options): Only use
37869 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37870 _POSIX_SYNCHRONIZED_IO when they are defined
37871 * sysdeps/mach/hurd/bits/posix_opt.h:
37872 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37873 (_XOPEN_REALTIME): Undefine macro.
37874 (_XOPEN_REALTIME_THREADS): Undefine macro.
37875 (_XOPEN_SHM): Undefine macro.
37876 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37878 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37880 (_POSIX_ASYNC_IO): Undefine macro.
37881 (_POSIX_PRIORITIZED_IO): Undefine macro.
37882 (_POSIX_SPIN_LOCKS): Define macro to -1.
37884 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37885 SA_NODEFER, SA_RESETHAND.
37886 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37887 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37892 * elf/Makefile (pldd-modules): Define unconditionally.
37894 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37896 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37900 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37901 Return ENOENT when name is empty.
37902 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37906 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37908 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37910 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37912 Fix mlock in all cases except non-readable pages.
37913 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37914 instead of VM_PROT_ALL as parameter to __vm_wire function.
37916 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37917 (__mkdir): When path is `/', just fail with EEXIST.
37918 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37922 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37923 <sys/uio.h> (for writev).
37924 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37925 and <sys/param.h> (for MIN).
37927 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37929 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37930 REQUESTED_TIME. Properly set the remaining time and return EINTR
37933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37935 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37936 Depend on against $(link-rpcuserlibs).
37938 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37940 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37941 (__libc_stack_end): Do not use attribute_relro.
37942 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37943 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37944 to libthread-provided value.
37945 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37951 * bits/libc-lock.h (__libc_once_get): New macro.
37952 * sysdeps/mach/bits/libc-lock.h: Likewise.
37953 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37954 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37955 instead of using implementation details.
37957 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37958 * libio/freopen.c: Likewise.
37959 * libio/freopen64.c: Likewise.
37960 * misc/syslog.c: Likewise.
37961 * nscd/connections.c: Likewise.
37962 * nscd/netgroupcache.c: Likewise.
37963 * sysdeps/posix/getcwd.c: Likewise.
37965 2012-05-10 Roland McGrath <roland@hack.frob.com>
37967 * math/w_ilogbf.c: Add #include <limits.h>.
37969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37971 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37972 path instead of returning without unlocking.
37974 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37975 immediate-write ioctls.
37976 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37980 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37981 __builtin_frame_address instead of making assumptions about the
37982 location of the return address relative to DATA. Force early load of
37983 the return address.
37984 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37985 __builtin_frame_address.
37988 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37989 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37990 implement dup3 and do some further code clean-ups.
37991 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37992 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37994 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37996 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37998 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37999 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38000 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38001 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38002 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38005 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38006 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38007 when handler == SIG_ERR, not when handler != SIG_ERR.
38009 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38011 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38012 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38015 accept4 for GNU Hurd.
38016 * include/sys/socket.h (__libc_accept4): New prototype.
38017 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38018 to implement __libc_accept4.
38019 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38021 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38023 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38024 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38025 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38026 signal-defines.sym.
38028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38030 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38034 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38035 assertion on O_CLOEXEC flag.
38036 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38037 * hurd/intern-fd.c: Likewise.
38038 * hurd/port2fd.c: Likewise.
38040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38043 * bits/in.h (IPV6_PKTINFO): Define new macro.
38044 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38046 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38051 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38053 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38056 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38057 * math/libm-test.inc (logb_test) : Additional logb tests.
38059 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38060 Andreas Jaeger <aj@suse.de>
38062 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38063 * configure: Regenerated.
38064 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38065 * config.make.in (link-obsolete-rpc): New substituted variable.
38066 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38067 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38068 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38069 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38070 so that libc.a contains the symbols.
38071 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38072 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38073 * sunrpc/auth_none.c: Likewise.
38074 * sunrpc/auth_unix.c: Likewise.
38075 * sunrpc/authdes_prot.c: Likewise.
38076 * sunrpc/authuxprot.c: Likewise.
38077 * sunrpc/clnt_gen.c: Likewise.
38078 * sunrpc/clnt_perr.c: Likewise.
38079 * sunrpc/clnt_raw.c: Likewise.
38080 * sunrpc/clnt_simp.c: Likewise.
38081 * sunrpc/clnt_tcp.c: Likewise.
38082 * sunrpc/clnt_udp.c: Likewise.
38083 * sunrpc/clnt_unix.c: Likewise.
38084 * sunrpc/des_crypt.c: Likewise.
38085 * sunrpc/des_soft.c: Likewise.
38086 * sunrpc/get_myaddr.c: Likewise.
38087 * sunrpc/key_call.c: Likewise.
38088 * sunrpc/key_prot.c: Likewise.
38089 * sunrpc/netname.c: Likewise.
38090 * sunrpc/pm_getmaps.c: Likewise.
38091 * sunrpc/pm_getport.c: Likewise.
38092 * sunrpc/pmap_clnt.c: Likewise.
38093 * sunrpc/pmap_prot.c: Likewise.
38094 * sunrpc/pmap_prot2.c: Likewise.
38095 * sunrpc/pmap_rmt.c: Likewise.
38096 * sunrpc/publickey.c: Likewise.
38097 * sunrpc/rpc_cmsg.c: Likewise.
38098 * sunrpc/rpc_common.c: Likewise.
38099 * sunrpc/rpc_dtable.c: Likewise.
38100 * sunrpc/rpc_prot.c: Likewise.
38101 * sunrpc/rpc_thread.c: Likewise.
38102 * sunrpc/rtime.c: Likewise.
38103 * sunrpc/svc.c: Likewise.
38104 * sunrpc/svc_auth.c: Likewise.
38105 * sunrpc/svc_raw.c: Likewise.
38106 * sunrpc/svc_run.c: Likewise.
38107 * sunrpc/svc_tcp.c: Likewise.
38108 * sunrpc/svc_udp.c: Likewise.
38109 * sunrpc/svc_unix.c: Likewise.
38110 * sunrpc/svcauth_des.c: Likewise.
38111 * sunrpc/xcrypt.c: Likewise.
38112 * sunrpc/xdr.c: Likewise.
38113 * sunrpc/xdr_array.c: Likewise.
38114 * sunrpc/xdr_float.c: Likewise.
38115 * sunrpc/xdr_intXX_t.c: Likewise.
38116 * sunrpc/xdr_mem.c: Likewise.
38117 * sunrpc/xdr_rec.c: Likewise.
38118 * sunrpc/xdr_ref.c: Likewise.
38119 * sunrpc/xdr_sizeof.c: Likewise.
38120 * sunrpc/xdr_stdio.c: Likewise.
38122 2012-05-10 Roland McGrath <roland@hack.frob.com>
38124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38125 change. Update copyright years.
38127 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38129 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38131 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38132 Joseph Myers <joseph@codesourcery.com>
38133 Paul Pluzhnikov <ppluzhnikov@google.com>
38136 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38138 [cross-compiling] (extra-libs): Likewise.
38139 [cross-compiling] (extra-libs-others): Likewise.
38140 [cross-compiling] (librpcsvc-routines): Likewise.
38141 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38142 [cross-compiling] (omit-deps): Likewise.
38143 (sunrpc-CPPFLAGS): New variable.
38144 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38145 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38146 (cross-rpcgen-objs): New variable.
38147 (extra-objs): Append $(cross-rpcgen-objs).
38148 ($(cross-rpcgen-objs)): New rule.
38149 ($(objpfx)cross-rpcgen): Likewise.
38150 (rpcgen-cmd): Define to use $(built-program-file). Expand
38152 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38153 ($(objpfx)x%.stmp): Likewise.
38154 * sunrpc/proto.h [IS_IN_build] (_): Define.
38155 [IS_IN_build] (_libc_intl_domainname): Likewise.
38157 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38160 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38161 and R_X86_64_TPOFF64.
38163 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38165 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38166 sysdeps/unix/sysv/syscalls.list.
38169 * sysdeps/unix/sysv/syscalls.list: Remove file.
38171 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38174 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38175 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38176 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38177 (__LC_IDENTIFICATION): Make these macros useful in #if
38178 expressions, as required by C99.
38180 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38182 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38183 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38186 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38188 * stdlib/longlong.h: Updated from GCC.
38190 2012-05-09 Andreas Jaeger <aj@suse.de>
38192 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38193 default is first entry.
38194 (run_mode): Set type.
38195 (main): Remove informal message about syslog.
38196 (options): Fix typo.
38199 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38202 (llrintf): Likewise.
38203 (llrint): Likewise.
38206 (nearbyint): Likewise.
38207 (nearbyintf): Likewise.
38209 2012-05-09 Andreas Jaeger <aj@suse.de>
38210 Pedro Alves <palves@redhat.com>
38212 * nscd/nscd.c (run_mode): Use enum.
38213 (main): Cleanup coding style issue.
38215 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38216 Andreas Jaeger <aj@suse.de>
38218 * nscd/nscd.c (go_background): Replaced with...
38219 (run_mode): ... this.
38220 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38221 (options): Add -F --foreground.
38222 (main): Implement it.
38223 (parse_opt): Parse it.
38225 2012-05-09 Andreas Jaeger <aj@suse.de>
38228 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38229 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38230 -Wconversion warning.
38231 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38234 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38236 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38238 (LC_ALL): Use macro-int-constant.
38239 (LC_COLLATE): Likewise.
38240 (LC_CTYPE): Likewise.
38241 (LC_MESSAGES): Likewise.
38242 (LC_MONETARY): Likewise.
38243 (LC_NUMERIC): Likewise.
38244 (LC_TIME): Likewise.
38245 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38246 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38248 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38250 [C99-based standards] (float_t): Expect type.
38251 [C99-based standards] (double_t): Expect type.
38252 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38254 [C99-based standards] (HUGE_VALL): Likewise.
38255 [C99-based standards] (INFINITY): Likewise.
38256 [C99-based standards] (NAN): Likewise.
38257 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38258 [C99-based standards] (FP_NAN): Likewise.
38259 [C99-based standards] (FP_NORMAL): Likewise.
38260 [C99-based standards] (FP_SUBNORMAL): Likewise.
38261 [C99-based standards] (FP_ZERO): Likewise.
38262 [C99-based standards] (FP_FAST_FMA): Use
38263 optional-macro-int-constant. Specify type. Require == 1.
38264 [C99-based standards] (FP_FAST_FMAF): Likewise.
38265 [C99-based standards] (FP_FAST_FMAL): Likewise.
38266 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38267 [C99-based standards] (FP_ILOGBNAN): Likewise.
38268 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38270 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38271 [C99-based standards] (math_errhandling): Specify type.
38272 [ISO99 || ISO11] (signgam): Do not allow.
38273 [non-C99-based standards] (copysignf): Do not allow.
38274 [non-C99-based standards] (exp2f): Likewise.
38275 [non-C99-based standards] (log2f): Likewise.
38276 [non-C99-based standards] (modff): Allow.
38277 [non-C99-based standards] (erff): Do not allow.
38278 [non-C99-based standards] (erfcf): Likewise.
38279 [non-C99-based standards] (gammaf): Likewise.
38280 [non-C99-based standards] (hypotf): Likewise.
38281 [non-C99-based standards] (j0f): Likewise.
38282 [non-C99-based standards] (j1f): Likewise.
38283 [non-C99-based standards] (jnf): Likewise.
38284 [non-C99-based standards] (lgammaf): Likewise.
38285 [non-C99-based standards] (tgammaf): Likewise.
38286 [non-C99-based standards] (y0f): Likewise.
38287 [non-C99-based standards] (y1f): Likewise.
38288 [non-C99-based standards] (ynf): Likewise.
38289 [non-C99-based standards] (isnanf): Likewise.
38290 [non-C99-based standards] (acoshf): Likewise.
38291 [non-C99-based standards] (asinhf): Likewise.
38292 [non-C99-based standards] (atanhf): Likewise.
38293 [non-C99-based standards] (cbrtf): Likewise.
38294 [non-C99-based standards] (expm1f): Likewise.
38295 [non-C99-based standards] (ilogbf): Likewise.
38296 [non-C99-based standards] (log1pf): Likewise.
38297 [non-C99-based standards] (logbf): Likewise.
38298 [non-C99-based standards] (nextafterf): Likewise.
38299 [non-C99-based standards] (remainderf): Likewise.
38300 [non-C99-based standards] (rintf): Likewise.
38301 [non-C99-based standards] (scalbf): Likewise.
38302 [non-C99-based standards] (copysignl): Likewise.
38303 [non-C99-based standards] (exp2l): Likewise.
38304 [non-C99-based standards] (log2l): Likewise.
38305 [non-C99-based standards] (modfl): Allow.
38306 [non-C99-based standards] (erfl): Do not allow.
38307 [non-C99-based standards] (erfcl): Likewise.
38308 [non-C99-based standards] (gammal): Likewise.
38309 [non-C99-based standards] (hypotl): Likewise.
38310 [non-C99-based standards] (j0l): Likewise.
38311 [non-C99-based standards] (j1l): Likewise.
38312 [non-C99-based standards] (jnl): Likewise.
38313 [non-C99-based standards] (lgammal): Likewise.
38314 [non-C99-based standards] (tgammal): Likewise.
38315 [non-C99-based standards] (y0l): Likewise.
38316 [non-C99-based standards] (y1l): Likewise.
38317 [non-C99-based standards] (ynl): Likewise.
38318 [non-C99-based standards] (isnanl): Likewise.
38319 [non-C99-based standards] (acoshl): Likewise.
38320 [non-C99-based standards] (asinhl): Likewise.
38321 [non-C99-based standards] (atanhl): Likewise.
38322 [non-C99-based standards] (cbrtl): Likewise.
38323 [non-C99-based standards] (expm1l): Likewise.
38324 [non-C99-based standards] (ilogbl): Likewise.
38325 [non-C99-based standards] (log1pl): Likewise.
38326 [non-C99-based standards] (logbl): Likewise.
38327 [non-C99-based standards] (nextafterl): Likewise.
38328 [non-C99-based standards] (remainderl): Likewise.
38329 [non-C99-based standards] (rintl): Likewise.
38330 [non-C99-based standards] (scalbl): Likewise.
38331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38332 [non-C99-based standards] (FP_*): Do not allow.
38333 [C99-based standards] (FP_*): Change to
38334 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38335 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38337 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38338 (SIG_ERR): Likewise.
38339 [X/Open-based standards] (SIG_HOLD): Likewise.
38340 (SIG_IGN): Likewise.
38341 (SIGABRT): Use macro-int-constant. Specify type. Require
38343 (SIGFPE): Likewise.
38344 (SIGILL): Likewise.
38345 (SIGINT): Likewise.
38346 (SIGSEGV): Likewise.
38347 (SIGTER): Likewise.
38348 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38349 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38350 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38351 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38352 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38353 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38354 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38355 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38356 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38357 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38358 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38359 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38360 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38361 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38362 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38363 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38364 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38365 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38366 [X/Open-based standards] (SIGTRAP): Likewise.
38367 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38368 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38369 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38370 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38371 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38374 2012-05-08 Ian Wienand <ianw@vmware.com>
38377 * time/tzset.c (__tzset_parse_tz): Update default rules for
38378 daylight time changes in the Energy Policy Act of 2005.
38380 2012-05-09 Andreas Jaeger <aj@suse.de>
38383 * elf/ldconfig.c (parse_conf): Change string to make clear that
38384 ldconfig only issued a warning if ld.so.conf does not exist.
38386 2012-05-08 David S. Miller <davem@davemloft.net>
38388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38389 movxtod instead of popping the value on the stack.
38391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38393 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38395 * config.h.in: Add HAVE_ARM_PCS_VFP.
38397 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38400 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38401 checking but the checks are disabled for any reason.
38403 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38405 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38406 and ELF64_R_TYPE with ELFW(R_TYPE).
38408 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38410 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38411 (ulimit): Likewise.
38413 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38414 (settimeofday): Likewise.
38416 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38418 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38419 a struct th_u2 inside the union, and move tu_block/tu_code into
38420 a new th_u3 union of tu_block/tu_code inside of that. Move
38421 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38422 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38423 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38424 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38425 (th_stuff): Change to th_u1.tu_stuff.
38427 (th_msg): Change to th_u1.th_u2.tu_data.
38429 2012-05-07 David S. Miller <davem@davemloft.net>
38431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38434 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38435 (SETUP_PIC_REG): Use it.
38436 (SETUP_PIC_REG_LEAF): Use it.
38438 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38442 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38444 (EXPL_FINITE): Likewise.
38445 (FLDLOG): Likewise.
38446 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38447 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38451 (EXPL_FINITE): Likewise.
38452 (FLDLOG): Likewise.
38453 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38454 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38456 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38457 test of -max_value argument for long double.
38458 * sysdeps/i386/fpu/libm-test-ulps: Update.
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38461 2012-05-06 David S. Miller <davem@davemloft.net>
38463 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38464 quad soft-float symbols whose references which are compiler
38466 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38468 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38474 (EXPL_FINITE): Likewise.
38475 (FLDLOG): Likewise.
38478 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38479 Adjust comments for base varying.
38480 (__expl_finite): Change alias to EXPL_FINITE.
38481 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38483 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38484 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38486 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38489 (EXPL_FINITE): Likewise.
38490 (FLDLOG): Likewise.
38493 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38494 Adjust comments for base varying.
38495 (__expl_finite): Change alias to EXPL_FINITE.
38496 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38501 * math/libm-test.inc (check_float_internal): Correct ulp
38502 calculation for subnormal expected results.
38504 2012-05-06 Andreas Jaeger <aj@suse.de>
38506 * Makeconfig (+math-flags): New, set to -frounding-math.
38507 (+cflags): Add +math-flags so that all of glibc gets compiled with
38510 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38512 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38514 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38520 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38521 (__ieee754_expl): Allow for and saturate large arguments.
38522 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38523 (u_threshold): Likewise.
38524 (__exp): Call __ieee754_exp before checking for overflow and
38526 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38527 (u_threshold): Likewise.
38528 (__expf): Call __ieee754_expf before checking for overflow and
38530 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38531 (u_threshold): Likewise.
38532 (__expl): Call __ieee754_expl before checking for overflow and
38534 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38535 (__ieee754_expl): Allow for and saturate large arguments.
38536 * math/libm-test.inc (exp_test): Add another test. Do not allow
38537 missing overflow exception on overflow.
38538 (expm1_test): Do not allow missing overflow exception on overflow.
38540 * sysdeps/i386/fpu/e_expl.c: Move to ...
38541 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38542 rather than using inline asm.
38543 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38544 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38545 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38547 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38550 (signal): Likewise.
38554 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38556 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38557 sysdeps/unix/common/syscalls.list.
38558 (fchmod): Likewise.
38559 (fchown): Likewise.
38560 (ftruncate): Likewise.
38561 (getrusage): Likewise.
38562 (gettimeofday): Likewise.
38563 (setpgid): Likewise.
38564 (setregid): Likewise.
38565 (setreuid): Likewise.
38566 (sigaction): Likewise.
38567 (truncate): Likewise.
38568 (vhangup): Likewise.
38569 * sysdeps/unix/common/syscalls.list: Remove file.
38570 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38571 * sysdeps/unix/sysv/linux/Implies: Likewise.
38573 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38575 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38577 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38587 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38590 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38593 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38596 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38599 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38603 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38607 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38610 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38614 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38618 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38620 * sysdeps/unix/common/bits/dirent.h: Remove file.
38621 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38623 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38624 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38625 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38626 * sysdeps/unix/bsd/isatty.c: Likewise.
38627 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38628 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38629 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38631 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38635 long double comparison inaccuracies.
38636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38639 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38641 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38642 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38644 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38648 nonzero digits before rounding a hex value.
38649 * stdlib/tst-strtod.c (tests): Add another test.
38651 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38653 * sysdeps/s390/fpu/libm-test-ulps: Update.
38655 2012-05-03 Andreas Jaeger <aj@suse.de>
38657 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38658 does not get optimized out.
38659 (malloc_opt_barrier): New.
38661 2012-05-03 Andreas Jaeger <aj@suse.de>
38662 Roland McGrath <roland@hack.frob.com>
38664 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38665 intermediate file deletion.
38666 (generated): Add .symlist files.
38668 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38671 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38672 Redirect under this condition.
38673 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38674 [__USE_GNU] (__dprintf_chk): Not under this condition.
38675 [__USE_GNU] (__vdprintf_chk): Likewise.
38676 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38677 under this condition.
38678 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38679 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38680 [__USE_XOPEN2K8] (vdprintf): Likewise.
38681 [__USE_GNU] (__dprintf_chk): Not under this condition.
38682 [__USE_GNU] (__vdprintf_chk): Likewise.
38683 [__USE_GNU] (dprintf): Likewise.
38684 [__USE_GNU] (vdprintf): Likewise.
38686 2012-05-03 Roland McGrath <roland@hack.frob.com>
38688 * elf/Makefile (common-generated): Set this instead of generated for
38689 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38690 $(all-built-dso)-derived lists.
38692 2012-05-03 Andreas Jaeger <aj@suse.de>
38694 * sysdeps/i386/fpu/libm-test-ulps: Update.
38697 * FAQ.in: Likewise.
38698 * scripts/gen-FAQ.pl: Likewise.
38699 * manual/install.texi (Installation): Point to online location of
38701 * Makefile (files-for-dist): Remove FAQ.
38704 2012-05-02 Allan McRae <allan@archlinux.org>
38706 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38707 (LDFLAGS-reldepmod5.so): Likewise.
38708 (LDFLAGS-reldep6mod1.so): Likewise.
38709 (LDFLAGS-reldep6mod4.so): Likewise.
38710 (LDFLAGS-reldep8mod3.so): Likewise.
38711 (LDFLAGS-unload4mod1.so): Likewise.
38712 (LDFLAGS-unload4mod2.so): Likewise.
38713 (LDFLAGS-tst-initorder): Likewise.
38714 (LDFLAGS-tst-initordera2.so): Likewise.
38715 (LDFLAGS-tst-initordera3.so): Likewise.
38716 (LDFLAGS-tst-initordera4.so): Likewise.
38717 (LDFLAGS-tst-initorderb2.so): Likewise.
38718 (LDFLAGS-noload): Likewise.
38719 (LDFLAGS-next): Likewise.
38720 (LDFLAGS-order2mod1.so): Likewise.
38721 (LDFLAGS-order2mod2.so): Likewise.
38722 (LDFLAGS-tst-initorder2): Likewise.
38723 (LDFLAGS-tst-initorder2a.so): Likewise.
38724 (LDFLAGS-tst-initorder2b.so): Likewise.
38725 (LDFLAGS-tst-initorder2c.so): Likewise.
38726 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38728 2012-05-02 David S. Miller <davem@davemloft.net>
38730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38732 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38735 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38737 2012-05-02 Andreas Jaeger <aj@suse.de>
38739 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38740 since we manipulate rounding mode.
38741 (CPPFLAGS-test-idouble.c): Likewise.
38742 (CPPFLAGS-test-ifloat.c): Likewise.
38743 (CFLAGS-test-ldouble.c): Likewise.
38744 (CFLAGS-test-double.c): Likewise.
38745 (CFLAGS-test-float.c): Likewise.
38746 (CFLAGS-test-misc.c): Likewise.
38747 (CFLAGS-test-test-fenv.c): Likewise.
38749 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38754 comparisons to determine direction to adjust input.
38756 2012-05-01 Roland McGrath <roland@hack.frob.com>
38758 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38759 output to the target.
38761 * scripts/localplt.awk: New file.
38762 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38763 (check-localplt-CFLAGS): Variable removed.
38764 ($(all-built-dso:=.jmprel)): New static pattern rule.
38765 (generated): Add those targets.
38766 (localplt-built-dso): New variable.
38767 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38769 * elf/check-localplt.c: File removed.
38771 * scripts/check-execstack.awk: New file.
38772 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38773 (check-execstack-CFLAGS): Variable removed.
38774 ($(objpfx)check-execstack.h): Target removed.
38775 ($(objpfx)execstack-default): New target.
38776 (generated): Add that instead of check-execstack.h.
38777 ($(all-built-dso:=.phdr)): New static pattern rule.
38778 (generated): Add those targets.
38779 * elf/check-execstack.c: File removed.
38781 * scripts/check-textrel.awk: New file.
38782 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38783 (check-textrel-CFLAGS): Variable removed.
38784 (all-built-dso): Use := to define.o
38785 ($(all-built-dso:=.dyn)): New static pattern rule.
38786 (generated): Add those targets.
38787 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38788 * config.make.in (READELF): New substituted variable.
38789 * elf/check-textrel.c: File removed.
38791 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38793 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38795 * conform/data/ctype.h-data [C99-based standards] (isblank):
38797 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38798 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38800 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38801 Specify type. Require positive value.
38802 (EILSEQ): Likewise.
38803 (ERANGE): Likewise.
38804 [ISO || POSIX] (EILSEQ): Do not expect.
38805 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38806 Specify type. Require positive value.
38807 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38808 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38809 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38810 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38811 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38812 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38813 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38814 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38815 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38816 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38817 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38818 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38819 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38820 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38821 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38822 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38823 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38824 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38825 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38826 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38827 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38828 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38829 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38830 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38831 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38832 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38833 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38834 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38835 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38836 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38837 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38838 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38839 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38840 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38841 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38842 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38843 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38844 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38845 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38846 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38847 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38848 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38849 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38850 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38851 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38852 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38853 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38854 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38855 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38856 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38857 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38858 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38859 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38860 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38861 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38862 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38863 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38864 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38865 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38866 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38867 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38868 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38869 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38870 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38871 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38872 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38873 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38874 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38875 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38876 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38877 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38878 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38879 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38880 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38881 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38882 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38883 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38885 (FLT_ROUNDS): Expect as macro, not constant.
38886 (FLT_MANT_DIG): Use macro-int-constant.
38887 (DBL_MANT_DIG): Likewise.
38888 (LDBL_MANT_DIG): Likewise.
38889 (FLT_DIG): Likewise.
38890 (DBL_DIG): Likewise.
38891 (LDBL_DIG): Likewise.
38892 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38893 (DBL_MIN_EXP): Likewise.
38894 (LDBL_MIN_EXP): Likewise.
38895 (FLT_MAX_EXP): Use macro-int-constant.
38896 (DBL_MAX_EXP): Likewise.
38897 (LDBL_MAX_EXP): Likewise.
38898 (FLT_MAX_10_EXP): Likewise.
38899 (DBL_MAX_10_EXP): Likewise.
38900 (LDBL_MAX_10_EXP): Likewise.
38901 (FLT_MAX): Use macro-constant.
38902 (DBL_MAX): Likewise.
38903 (LDBL_MAX): Likewise.
38904 (FLT_EPSILON): Use macro-constant. Give upper bound.
38905 (DBL_EPSILON): Likewise.
38906 (LDBL_EPSILON): Likewise.
38907 (FLT_MIN): Likewise.
38908 (DBL_MIN): Likewise.
38909 (LDBL_MIN): Likewise.
38910 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38911 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38912 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38913 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38914 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38915 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38916 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38917 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38918 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38919 [ISO11] (FLT_TRUE_MIN): Likewise.
38920 [ISO11] (LDBL_TRUE_MIN): Likewise.
38921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38922 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38923 (SCHAR_MIN): Use macro-int-constant. Specify type.
38924 (SCHAR_MAX): Likewise.
38925 (UCHAR_MAX): Likewise.
38926 (CHAR_MIN): Likewise.
38927 (CHAR_MAX): Likewise.
38928 (MB_LEN_MAX): Use macro-int-constant.
38929 (SHRT_MIN): Use macro-int-constant. Specify type.
38930 (SHRT_MAX): Likewise.
38931 (USHRT_MAX): Likewise.
38932 (INT_MAX): Likewise.
38933 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38935 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38937 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38939 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38940 bound negative. Suffix upper bound with "L".
38941 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38943 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38945 [C99-based standards] (LLONG_MAX): Likewise.
38946 [C99-based standards] (ULLONG_MAX): Likewise.
38947 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38949 [ISO11] (max_align_t): Require type.
38950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38952 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38953 from $CFLAGS, without defining away __attribute__ calls.
38954 (checknamespace): Use $CFLAGS_namespace.
38956 * conform/conformtest.pl (@keywords): Only include C99 keywords
38957 for standards based on C99 or C11.
38959 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38961 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38964 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38965 usability of symbols in #if.
38967 * conform/conformtest.pl: If macro or constant types start
38968 "promoted:", expect the symbol to be of the following type
38969 promoted by the integer promotions.
38971 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38972 in one place. Also handle "macro-constant".
38974 * conform/conformtest.pl: Only accept expected macro values with
38975 "==". Parse all "macro" lines in one place.
38976 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38978 * conform/conformtest.pl: Handle braced types on "constant" lines
38979 instead of handling "typed-constant".
38980 * conform/data/signal.h-data: Use "constant" instead of
38983 * conform/conformtest.pl: Handle "optional-" at start of lines in
38984 one place rather than duplicating several cases. Handle each
38985 format of "macro" line with initial "optional-".
38987 * conform/conformtest.pl: Only accept expected constant or
38988 optional-constant values with "==". Parse all "constant" lines in
38989 one place. Parse all "optional-constant" lines in one place.
38990 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38991 * conform/data/fmtmsg.h-data: Likewise.
38992 * conform/data/netinet/in.h-data: Likewise.
38993 * conform/data/tar.h-data: Likewise.
38994 * conform/data/limits.h-data: Use "==" form on "constant" and
38995 "optional-constant" lines.
38997 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38998 Use -std=c99 for XOPEN2K.
38999 (@knownproblems): Remove.
39000 (newtoken): Don't check %isknown.
39002 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39003 Do not expect macro.
39004 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39016 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39017 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39034 [XPG3] (acosh): Likewise.
39035 [XPG3] (asinh): Likewise.
39036 [XPG3] (atanh): Likewise.
39037 [XPG3] (cbrt): Likewise.
39038 [XPG3] (expm1): Likewise.
39039 [XPG3] (ilogb): Likewise.
39040 [XPG3] (log1p): Likewise.
39041 [XPG3] (logb): Likewise.
39042 [XPG3] (nextafter): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39045 [XPG3] (remainder): Likewise.
39046 [XPG3] (rint): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39054 [UNIX98 || XOPEN2K] (scalb): Expect.
39055 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39056 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39113 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39114 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39115 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39116 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39117 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39118 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39119 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39120 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39121 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39122 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39123 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39124 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39125 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39126 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39127 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39128 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39129 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39130 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39131 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39132 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39133 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39134 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39135 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39136 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39137 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39138 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39139 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39140 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39141 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39142 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39143 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39144 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39145 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39146 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39147 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39148 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39149 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39150 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39151 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39152 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39153 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39154 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39155 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39156 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39157 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39158 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39159 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39160 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39161 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39162 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39163 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39164 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39165 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39166 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39167 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39168 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39169 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39170 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39171 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39172 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39173 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39174 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39175 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39176 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39177 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39178 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39179 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39180 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39181 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39182 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39183 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39184 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39185 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39186 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39187 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39188 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39189 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39190 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39191 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39193 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39194 _XOPEN_SOURCE_EXTENDED for XPG4.
39196 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39198 * Makeconfig (localtime): Remove variable.
39199 (inst_localtime-file): Likewise.
39201 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39222 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39226 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39227 comparisons to determine direction to adjust input.
39228 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39229 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39232 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39234 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39239 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39241 * math/libm-test.inc (nexttoward_test): Add more tests.
39243 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39246 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39247 in version GLIBC_2.1, not GLIBC_2.0.
39248 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39251 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39254 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39256 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39257 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39258 * math/libm-test.inc (acos_test): Add more tests.
39259 (asin_test): Likewise.
39260 * sysdeps/i386/fpu/libm-test-ulps: Update.
39261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39264 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39266 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39267 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39268 * math/libm-test.inc (acos_test_tonearest): New function.
39269 (acos_test_towardzero): Likewise.
39270 (acos_test_downward): Likewise.
39271 (acos_test_upward): Likewise.
39272 (asin_test_tonearest): Likewise.
39273 (asin_test_towardzero): Likewise.
39274 (asin_test_downward): Likewise.
39275 (asin_test_upward): Likewise.
39276 (main): Call the new functions.
39277 * sysdeps/i386/fpu/libm-test-ulps: Update.
39278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39282 * math/e_exp10.c: Include <float.h>.
39283 (__ieee754_exp10): Handle underflow here rather than multiplying
39284 large negative argument by M_LN10.
39285 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39287 * math/e_exp10l.c: Include <float.h>.
39288 (__ieee754_exp10l): Handle underflow here rather than multiplying
39289 large negative argument by M_LN10l.
39290 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39291 spurious overflow exception on underflow.
39293 2012-04-29 Marek Polacek <polacek@redhat.com>
39295 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39296 (__fortify_function): New macro.
39297 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39298 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39299 __extern_always_inline.
39300 * libio/bits/stdio2.h: Likewise.
39301 * libio/bits/stdio.h: Likewise.
39302 * string/string.h: Likewise.
39303 * string/bits/string3.h: Likewise.
39304 * include/stdio.h: Likewise.
39305 * stdlib/bits/stdlib.h: Likewise.
39306 * stdlib/stdlib.h: Likewise.
39307 * rt/bits/mqueue2.h: Likewise.
39308 * rt/mqueue.h: Likewise.
39309 * posix/bits/unistd.h: Likewise.
39310 * posix/unistd.h: Likewise.
39311 * io/bits/poll2.h: Likewise.
39312 * io/bits/fcntl2.h: Likewise.
39313 * io/fcntl.h: Likewise.
39314 * io/sys/poll.h: Likewise.
39315 * misc/bits/syslog.h: Likewise.
39316 * misc/bits/syslog-ldbl.h: Likewise.
39317 * misc/sys/syslog.h: Likewise.
39318 * socket/bits/socket2.h: Likewise.
39319 * socket/sys/socket.h: Likewise.
39320 * debug/tst-chk1.c: Likewise.
39321 * wcsmbs/bits/wchar2.h: Likewise.
39322 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39323 * wcsmbs/wchar.h: Likewise.
39325 2012-04-29 Andreas Jaeger <aj@suse.de>
39327 * Makerules (tests): Remove enable-check-abi protection.
39328 (check-abi-warn): Remove.
39329 (check-abi-%): Remove check-abi-warn usage.
39331 * configure.in: Remove check-abi configure option.
39332 * configure: Regenerated.
39333 * config.make.in (enable-check-abi): Remove.
39335 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39338 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39339 double functions to double *_finite functions.
39342 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39343 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39345 * stdio-common/Makefile (tests): Add tst-sprintf3.
39346 * stdio-common/tst-sprintf3.c: New file.
39348 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39349 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39351 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39353 * conform/conformtest.pl: Remove duplicate typed-constant
39356 2012-04-28 David S. Miller <davem@davemloft.net>
39358 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39359 (check-abi-%): Remove AWK script prerequisite and explicit
39361 (check-abi): Rewrite to just diff the symlist with the abilist.
39362 (config-tls, config-abi-config): Delete, no longer used.
39363 (update-abi-%): Remove AWK script and explicit abilist directory.
39364 (update-abi): Rewrite to simply compare and conditionally copy the
39365 symlist and the sysdep abilist file. Remove update-abi-config
39367 * abilist/ld.abilist: Remove.
39368 * abilist/libBrokenLocale.abilist: Remove.
39369 * abilist/libanl.abilist: Remove.
39370 * abilist/libcrypt.abilist: Remove.
39371 * abilist/libdl.abilist: Remove.
39372 * abilist/librt.abilist: Remove.
39373 * abilist/libthread_db.abilist: Remove.
39374 * abilist/libutil.abilist: Remove.
39375 * scripts/extract-abilist.awk: Remove.
39376 * scripts/merge-abilist.awk: Remove.
39377 * sysdeps/generic/libcidn.abilist: New file.
39378 * sysdeps/generic/libnss_compat.abilist: New file.
39379 * sysdeps/generic/libnss_db.abilist: New file.
39380 * sysdeps/generic/libnss_dns.abilist: New file.
39381 * sysdeps/generic/libnss_files.abilist: New file.
39382 * sysdeps/generic/libnss_hesiod.abilist: New file.
39383 * sysdeps/generic/libnss_nis.abilist: New file.
39384 * sysdeps/generic/libnss_nisplus.abilist: New file.
39385 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39386 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39387 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39390 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39391 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39392 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39393 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39394 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39395 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39396 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39397 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39399 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39400 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39401 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39402 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39404 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39405 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39406 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39407 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39408 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39409 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39412 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39413 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39415 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39518 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39519 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39520 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39523 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39524 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39525 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39526 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39527 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39528 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39529 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39530 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39531 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39583 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39585 * conform/conformtest.pl: Fix typo in handling typed-constant from
39588 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39590 * README: Cut down references to pre-2.6 Linux kernels and
39591 Linuxthreads. Update lists of configurations in libc and ports
39592 and sort alphabetically. Say "or newer" with Linux kernel version
39595 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39597 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39600 * math/libm-test.inc (logb_test_downward): New test to expose
39601 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39604 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39607 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39609 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39610 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39612 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39614 * sysdeps/unix/i386/brk.S: Remove file.
39615 * sysdeps/unix/i386/dl-brk.S: Likewise.
39616 * sysdeps/unix/i386/pipe.S: Likewise.
39617 * sysdeps/unix/i386/sigreturn.S: Likewise.
39618 * sysdeps/unix/i386/syscall.S: Likewise.
39619 * sysdeps/unix/i386/vfork.S: Likewise.
39620 * sysdeps/unix/i386/wait.S: Likewise.
39622 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39623 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39625 * configure.in (arm*-none*): Do not allow without
39626 --enable-hacker-mode.
39627 (netbsd*): Remove case setting base_os.
39628 (386bsd*): Likewise.
39629 (freebsd*): Likewise.
39632 (sunos*): Likewise.
39633 (ultrix*): Likewise.
39634 (newsos*): Likewise.
39635 (dynix*): Likewise.
39641 (minix*): Likewise.
39642 (irix4*): Likewise.
39643 (irix6*): Likewise.
39644 (solaris[2-9]*): Likewise.
39646 * configure: Regenerated.
39648 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39651 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39652 overflow or cancellation in calculating denominator.
39653 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39655 down expression to avoid unexpected rounding in newer GCCs.
39656 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39658 2012-04-26 David S. Miller <davem@davemloft.net>
39660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39661 long-double compat symbols.
39662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39676 2012-04-25 David S. Miller <davem@davemloft.net>
39678 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39679 HWCAP_* values only after the memory barriers have been defined.
39680 (atomic_full_barrier): Define.
39681 (atomic_read_barrier): Define.
39682 (atomic_write_barrier): Define.
39684 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39686 * shlib-versions: Add libgcc_s version information.
39687 * sysdeps/generic/libgcc_s.h: Remove.
39688 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39690 * sysdeps/gnu/unwind-resume.c: Likewise.
39691 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39693 2012-04-25 David S. Miller <davem@davemloft.net>
39695 * sysdeps/unix/sparc/brk.S: Delete.
39696 * sysdeps/unix/sparc/dl-brk.S: Delete.
39697 * sysdeps/unix/sparc/pipe.S: Delete.
39698 * sysdeps/unix/sparc/sysdep.S: Delete.
39699 * sysdeps/unix/sparc/sysdep.h: Delete.
39700 * sysdeps/unix/sparc/vfork.S: Delete.
39701 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39702 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39704 (ret_ERRVAL, r0, r1, MOVE): Define.
39705 (JUMPTARGET): Remove.
39706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39707 sysdeps/unix/sparc/sysdep.h
39708 (ENTRY, END): Remove.
39709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39711 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39713 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39714 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39717 * timezone/README: Update upstream location and email address for
39719 * timezone/zdump.c: Update from tzcode 2012b.
39720 * timezone/zic.c: Likewise.
39722 * configure.in (libc_cv_as_needed): Remove test.
39723 * configure: Regenerated.
39724 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39725 conditional definition.
39726 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39727 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39728 * config.make.in (have-as-needed): Remove variable.
39730 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39731 Paul Pluzhnikov <ppluzhnikov@google.com>
39733 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39736 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39738 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39739 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39740 * sysdeps/sh/strlen.S: Likewise.
39742 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39744 * sysdeps/unix/fork.S: Remove file.
39745 * sysdeps/unix/i386/fork.S: Likewise.
39746 * sysdeps/unix/sparc/fork.S: Likewise.
39748 * sysdeps/unix/system.c: Remove file.
39749 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39751 * sysdeps/unix/getegid.S: Remove file.
39752 * sysdeps/unix/geteuid.S: Likewise.
39754 2012-04-24 Roland McGrath <roland@hack.frob.com>
39756 * scripts/check-localplt.awk: New file.
39757 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39759 * scripts/data/localplt-generic.data: Add a comment.
39761 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39762 NODE when __dir_mkfile failed.
39763 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39764 Reported by Ludovic Courtès <ludo@gnu.org>.
39766 2012-04-24 Andreas Jaeger <aj@suse.de>
39768 * Makerules (common-clean): Also remove gen-as-const-headers
39771 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39773 * Makerules (native-compile): Do not change working directory for
39774 build. Use $(OUTPUT_OPTION) in command.
39775 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39777 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39780 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39781 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39782 * math/libm-test.inc (floor_test): Add more tests.
39783 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39785 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39787 * sysdeps/unix/getdents.c: Remove file.
39788 * sysdeps/unix/sysv/getdents.c: Likewise.
39789 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39791 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39792 sysdeps/unix/mman/syscalls.list.
39794 (mprotect): Likewise.
39796 (munmap): Likewise.
39797 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39798 * sysdeps/unix/mman/syscalls.list: Remove.
39799 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39801 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39802 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39803 * configure: Regenerated.
39804 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39805 $(libgcc_s_suffix).
39806 * config.make.in (libgcc_s_suffix): Remove variable.
39808 2012-04-23 Joseph Myers <joseph@codesourcery.com>
39810 * sysdeps/unix/sysv/gethostname.c: Move to ...
39811 * sysdeps/posix/gethostname.c: ... here.
39813 * sysdeps/unix/execve.S: Remove file.
39815 * sysdeps/unix/_exit.S: Remove file.
39817 2012-04-23 Andreas Jaeger <aj@suse.de>
39820 * manual/Makefile: Remove make dist support, there's no
39821 need for a stand-alone documentation tar ball.
39822 (TEXI2DVI): Define always, it's not in Makeconfig.
39825 (edition): Removed.
39826 (glibc-doc-$(edition).tar): Removed
39830 (ETAGS): Remove, it's in Makeconfig.
39831 (move-if-change): Remove, it's in Makeconfig.
39833 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
39836 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39837 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39838 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39839 (strtod_l, strtof_l, strtold_l): Remove __wur.
39840 It is not necessarily an error to ignore strtol's return value.
39841 One can reliably look at the stored endptr to decide whether
39842 the number had valid syntax.
39844 2012-04-21 Andreas Jaeger <aj@suse.de>
39847 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39849 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39851 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39852 * sysdeps/unix/sysv/Versions: Remove file.
39854 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39859 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
39862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39863 version from __vm86.
39865 2012-04-20 Joseph Myers <joseph@codesourcery.com>
39867 * sysdeps/unix/common/lxstat.c: Remove file.
39868 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39870 * sysdeps/unix/sysv/Makefile: Remove file.
39872 * sysdeps/unix/sysv/direct.h: Remove file.
39874 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39875 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39876 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39877 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39878 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39879 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39880 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39882 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39884 * sysdeps/unix/xmknod.c: Remove file.
39885 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39887 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39889 * sysdeps/unix/sysv/i386/time.S: Remove file.
39891 * sysdeps/unix/fxstat.c: Remove file.
39892 * sysdeps/unix/xstat.c: Likewise.
39893 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39895 * sysdeps/unix/sysv/sigaction.c: Remove file.
39897 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39898 (sysdep_headers): Remove variable.
39899 [termio.h not in sysdep_headers] (generated): Likewise.
39900 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39901 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39902 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39903 * sysdeps/unix/sysv/tcflow.c: Likewise.
39904 * sysdeps/unix/sysv/tcflush.c: Likewise.
39905 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39906 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39907 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39908 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39909 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39911 * sysdeps/unix/siglist.c: Remove file.
39913 * sysdeps/unix/getppid.S: Remove file.
39915 * sysdeps/unix/mkdir.c: Remove file.
39916 * sysdeps/unix/rmdir.c: Likewise.
39918 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39920 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39922 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39923 errlist-compat value.
39925 2012-04-18 David S. Miller <davem@davemloft.net>
39927 * sysdeps/generic/memcopy.h (reg_char): Delete.
39928 * debug/strcat_chk.c: Use char, not reg_char.
39929 * debug/strcpy_chk.c: Likewise.
39930 * debug/strncat_chk.c: Likewise.
39931 * debug/strncpy_chk.c: Likewise.
39932 * string/memchr.c: Likewise.
39933 * string/memrchr.c: Likewise.
39934 * string/rawmemchr.c: Likewise.
39935 * string/strcat.c: Likewise.
39936 * string/strchr.c: Likewise.
39937 * string/strchrnul.c: Likewise.
39938 * string/strcmp.c: Likewise.
39939 * string/strcpy.c: Likewise.
39940 * string/strncat.c: Likewise.
39941 * string/strncmp.c: Likewise.
39942 * string/strncpy.c: Likewise.
39944 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39946 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39947 __builtin_memcopy is called when src and dest ranges are known to not
39950 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39953 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39954 fwd_align_merge macro call.
39955 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39956 bwd_align_merge macro call.
39957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39959 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39961 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39962 bwd_align_merge macros.
39963 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39964 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39965 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39967 2012-04-18 David S. Miller <davem@davemloft.net>
39969 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39971 2012-04-18 Andreas Jaeger <aj@suse.de>
39974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39975 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39978 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39979 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39980 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39982 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39983 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39984 Adjust for changed ldbl-128 files.
39986 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39987 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39988 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39990 2012-04-17 David S. Miller <davem@davemloft.net>
39992 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39994 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39996 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39997 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39998 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39999 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40000 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40001 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40003 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40006 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40007 * math/libm-test.inc: Add ilogb errno and exception tests.
40008 * math/w_ilogb.c: New file: ilogb wrapper.
40009 * math/w_ilogbf.c: New file: ilogbf wrapper.
40010 * math/w_ilogbl.c: New file: ilogbl wrapper.
40011 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40012 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40013 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40014 exception being thrown with 0.0 as argument.
40015 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40016 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40017 exception being thrown with 0.0 as argument.
40018 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40019 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40020 exception being thrown with 0.0 as argument.
40021 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40022 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40023 exception being thrown with 0.0 as argument.
40024 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40025 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40027 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40029 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40030 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40031 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40032 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40034 2012-04-17 Petr Baudis <pasky@ucw.cz>
40036 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40039 2012-04-16 Marek Polacek <polacek@redhat.com>
40041 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40043 2012-04-16 Marek Polacek <polacek@redhat.com>
40045 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40046 operands of fdivp instruction.
40048 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40050 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40051 * elf/tst-auditmod3b.c: Likewise.
40052 * elf/tst-auditmod4b.c: Likewise.
40053 * elf/tst-auditmod5b.c: Likewise.
40054 * elf/tst-auditmod6b.c: Likewise.
40055 * elf/tst-auditmod6c.c: Likewise.
40056 * elf/tst-auditmod7b.c: Likewise.
40057 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40058 * sysdeps/x86_64/preconfigure.in: Likewise.
40059 * sysdeps/x86_64/preconfigure: Regenerated.
40061 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40063 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40066 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40069 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40071 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40074 * locale/iso-639.def: Fix gl language name. Spotted by
40077 2012-04-12 Roland McGrath <roland@hack.frob.com>
40080 * libio/libio.h (__io_write_fn): Update comment.
40082 2012-04-12 Petr Baudis <pasky@ucw.cz>
40085 * stdio.texi (Hook Functions): The user provided writer function
40086 is not allowed to return -1.
40088 2012-04-11 David S. Miller <davem@davemloft.net>
40090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40092 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40094 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40095 Add a leading slash to rtkaio.
40097 2012-04-11 Jim Meyering <meyering@redhat.com>
40100 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40101 It is not necessarily an error to ignore fwrite's return
40102 value. One can reliably use ferror to test for errors after
40105 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40107 * bits/types.h (__snseconds_t): New type.
40108 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40110 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40112 (__SNSECONDS_T_TYPE): Likewise.
40113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40114 (__SNSECONDS_T_TYPE): Likewise.
40115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40116 (__SNSECONDS_T_TYPE): Likewise.
40118 2012-04-10 Andreas Jaeger <aj@suse.de>
40121 * manual/time.texi (Processor Time): Return type of times is
40122 elapsed real time since an arbitrary point in the past.
40123 (CPU Time): Move CLK_TCK from here...
40124 (Processor Time): ...to here. Correct description.
40125 * manual/conf.texi (Constants for Sysconf): Correct description of
40128 2012-04-10 David S. Miller <davem@davemloft.net>
40131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40132 where the is a gap between DT_REL(A) and DT_JMPREL.
40134 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40136 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40140 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40142 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40143 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40144 (dl_main): Handle --inhibit-cache.
40145 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40147 * elf/dl-load.c (_dl_map_object): Use it.
40148 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40150 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40153 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40154 (__ieee754_powl): Saturate large exponents rather than testing for
40155 overflow of y*log2(x).
40156 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40157 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40161 * math/s_ctan.c: Include <float.h>.
40162 (__ctan): Avoid internal overflow or cancellation in calculating
40164 * math/s_ctanf.c: Likewise.
40165 * math/s_ctanl.c: Likewise.
40166 * math/s_ctanh.c: Likewise.
40167 * math/s_ctanhf.c: Likewise.
40168 * math/s_ctanhl.c: Likewise.
40169 * math/libm-test.inc (ctan_test): Add more tests.
40170 (ctanh_test): Likewise.
40171 * sysdeps/i386/fpu/libm-test-ulps: Update.
40172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40174 2012-04-09 Andreas Jaeger <aj@suse.de>
40177 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40178 is an optional BSD extension.
40181 * manual/stdio.texi (Opening Streams): Document additional fopen
40184 2012-04-09 Roland McGrath <roland@hack.frob.com>
40186 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40187 %eax without telling the compiler.
40189 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40192 * manual/install.texi: Use sourceware.org.
40194 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40197 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40198 (__ieee754_pow): Generate overflow and underflow using huge*huge
40199 and tiny*tiny rather than just returning constant infinity or zero
40200 for large exponents.
40201 * math/libm-test.inc (pow_test): Require overflow exceptions for
40202 applicable cases of large exponents.
40205 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40206 (__ieee754_pow): Use iterative multiplication algorithm only for
40207 integer exponents with absolute value below 1024. Check for odd
40208 integer exponents when using algorithm for real exponents.
40209 * math/libm-test.inc (pow_test): Add more tests.
40210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40212 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40215 * math/libm-test.inc (exp_test): Do not allow overflow exception
40218 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40221 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40222 instead of __kernel_standard_f.
40224 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40226 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40227 * sysdeps/x86_64/memset_chk.S: Likewise.
40229 2012-04-08 Andreas Jaeger <aj@suse.de>
40232 * manual/startup.texi (Environment Access): Describe return value
40233 for putenv and setenv.
40236 * manual/filesys.texi (Directory Entries): Add description for
40240 * manual/filesys.texi (Directory Entries): Clarify that it's file
40241 system not operating system in the description of DT_UNKNOWN.
40244 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40246 2012-04-08 Stephen Compall <s11@member.fsf.org>
40249 * manual/llio.texi (Opening and Closing Files): Add cross
40250 reference to explain mode argument.
40252 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40254 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40255 * sysdeps/x86_64/memset_chk.S: Likewise.
40257 2012-04-07 David S. Miller <davem@davemloft.net>
40259 * elf/elf.h (R_SPARC_WDISP10): Define.
40260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40263 R_SPARC_SIZE64 and R_SPARC_H34.
40265 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40268 conditions and remove no longer applicable assertion.
40270 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40272 * bits/byteswap.h: Include <features.h>.
40273 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40274 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40276 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40278 * bits/byteswap.h (__bswap_16): Removed.
40279 Include <bits/byteswap-16.h> to get __bswap_16.
40280 * sysdeps/i386/bits/byteswap.h: Likewise.
40281 * sysdeps/s390/bits/byteswap.h: Likewise.
40282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40283 * bits/byteswap-16.h: New file.
40284 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40285 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40286 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40287 * string/Makefile (headers): Add bits/byteswap-16.h.
40289 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40292 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40294 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40295 * nss/tst-nss-static.c: New.
40297 2012-04-06 Robert Millan <rmh@gnu.org>
40300 * manual/llio.texi (File Position Primitive): lseek
40301 refers to WHENCE when it really means OFFSET.
40303 2012-04-06 Andreas Jaeger <aj@suse.de>
40305 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40306 strncmp declarations.
40308 * abilist/libc.abilist: Add __poll and __ppoll.
40310 2012-04-05 David S. Miller <davem@davemloft.net>
40312 * scripts/check-local-headers.sh: Accept a host triplet in the
40313 path matched by the exclude regexp.
40315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40317 * sysdeps/powerpc/powerpc32/dl-machine.h
40318 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40319 * sysdeps/s390/s390-32/dl-machine.h
40320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40321 * sysdeps/sparc/sparc32/dl-machine.h
40322 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40323 * sysdeps/sparc/sparc64/dl-machine.h
40324 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40326 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40328 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40329 undefined symbol errors.
40331 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40334 2012-04-05 Michael Matz <matz@suse.de>
40337 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40339 2012-04-05 Andreas Jaeger <aj@suse.de>
40342 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40345 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40348 which ROUND is no valid rounding mode.
40350 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40354 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40356 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40358 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40359 an exception using FPU order intentionally.
40361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40363 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40364 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40365 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40366 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40368 2012-04-05 Simon Josefsson <simon@josefsson.org>
40371 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40372 EINVAL when BUFLEN is too smal.
40374 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40377 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40378 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40380 2012-04-03 Andreas Jaeger <aj@suse.de>
40383 * manual/setjmp.texi (System V contexts): Fix sentence.
40386 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40387 New macro for this case.
40388 [!__GNUC__] (__bswap_64): New inline function for this case.
40389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40390 * bits/byteswap.h: Likewise.
40391 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40392 ull, guard with __GLIBC_HAVE_LONG_LONG.
40394 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40395 __GLIBC_HAVE_LONG_LONG.
40397 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40398 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40400 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40403 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40404 inptr and inend, rather than using last_ch.
40406 2012-04-02 David S. Miller <davem@davemloft.net>
40408 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40409 * stdio-common/printf-parse.h (read_int): Change return type to
40410 'int', return -1 on INT_MAX overflow.
40411 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40412 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40413 overflows INT_MAX. Check for overflow of in-format-string precision
40414 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40415 SIZE_MAX not INT_MAX for integer overflow test.
40416 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40417 skip the construct in the format string but do not record anything.
40418 * stdio-common/bug22.c: Adjust to test both width/prevision
40419 INT_MAX overflow as well as total length INT_MAX overflow. Check
40420 explicitly for proper errno values.
40422 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40424 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40426 * string/test-strcmp.c [! WIDE]: Likewise.
40427 * time/tst-mktime2.c: Likewise for INT_MAX.
40428 * string/test-string.h: #include <sys/param.h> for MIN.
40430 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40431 * sysdeps/i386/init-first.c (init): Likewise.
40432 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40433 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40434 * sysdeps/sh/init-first.c (init): Likewise.
40436 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40438 * po/ru.po: Update from translation team.
40439 * po/vi.po: Likewise.
40441 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40443 * resolv/nss_dns/dns-host.c: Merge copyright years.
40445 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40448 Optimize memcpy with prefetch if
40449 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40450 src, dst pointers have unequal 16 byte alignments.
40452 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40455 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40456 from a CNAME entry and return the minimum ttl for the query.
40457 (gaih_getanswer_slice): Likewise.
40459 2012-03-30 Jeff Law <law@redhat.com>
40461 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40463 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40464 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40466 * resolv/nss_dns/dns-host.c: Update copyright year.
40468 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40470 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40471 requests to save a system call. Fix check that all bytes are sent.
40473 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40474 comments for sendmmsg.
40476 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40479 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40480 with only 1 character between 0x0041 and 0x01b0.
40481 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40482 * wcsmbs/tst-mbsnrtowcs.c: New file.
40484 2012-03-29 David S. Miller <davem@davemloft.net>
40486 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40487 small copies by hand.
40489 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40492 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40493 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40496 2012-03-28 David S. Miller <davem@davemloft.net>
40498 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40499 that branches into memcpy.
40500 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40503 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40506 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40507 implementation too.
40508 * sysdeps/sparc/mempcpy.S: New file.
40510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40511 the IFUNC routine in the libc case.
40512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40514 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40515 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40516 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40517 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40518 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40519 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40520 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40521 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40523 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40524 loop to 256 bytes instead of 64 bytes and fix test signedness.
40526 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40527 * sysdeps/sparc/sparc32/Makefile: rather than here...
40528 * sysdeps/sparc/sparc64/Makefile: and here.
40530 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40532 * malloc/mallocbug.c: Avoid warnings about unused variables.
40534 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40537 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40538 in the right place. Discard and retry query if response is
40539 larger than input buffer size.
40541 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40547 x for large integer exponent.
40548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40550 sign of result as needed afterwards.
40551 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40552 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40553 result for underflowing pow the same as for overflow.
40554 (__kernel_standard_l): Handle powl overflow and underflow here
40555 rather than calling __kernel_standard.
40556 * math/libm-test.inc (pow_test): Add more tests.
40571 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40572 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40573 (__kernel_standard_l): New function.
40574 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40576 * math/w_acosl.c (__acosl): Likewise.
40577 * math/w_asinl.c (__asinl): Likewise.
40578 * math/w_atan2l.c (__atan2l): Likewise.
40579 * math/w_atanhl.c (__atanhl): Likewise.
40580 * math/w_coshl.c (__coshl): Likewise.
40581 * math/w_exp10l.c (__exp10l): Likewise.
40582 * math/w_exp2l.c (__exp2l): Likewise.
40583 * math/w_fmodl.c (__fmodl): Likewise.
40584 * math/w_hypotl.c (__hypotl): Likewise.
40585 * math/w_j0l.c (__j0l, __y0l): Likewise.
40586 * math/w_j1l.c (__j1l, __y1l): Likewise.
40587 * math/w_jnl.c (__jnl, __ynl): Likewise.
40588 * math/w_lgammal.c (__lgammal): Likewise.
40589 * math/w_log10l.c (__log10l): Likewise.
40590 * math/w_log2l.c (__log2l): Likewise.
40591 * math/w_logl.c (__logl): Likewise.
40592 * math/w_powl.c (__powl): Likewise.
40593 * math/w_remainderl.c (__remainderl): Likewise.
40594 * math/w_scalbl.c (sysv_scalbl): Likewise.
40595 * math/w_sinhl.c (__sinhl): Likewise.
40596 * math/w_sqrtl.c (__sqrtl): Likewise.
40597 * math/w_tgammal.c (__tgammal): Likewise.
40598 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40599 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40600 * math/libm-test.inc (acos_test): Add more tests.
40601 (acosh_test): Likewise.
40602 (asin_test): Likewise.
40603 (atanh_test): Likewise.
40604 (exp_test): Likewise.
40605 (exp10_test): Likewise.
40606 (exp2_test): Likewise.
40607 (expm1_test): Likewise.
40608 (lgamma_test): Likewise.
40609 (log_test): Likewise.
40610 (log10_test): Likewise.
40611 (log1p_test): Likewise.
40612 (log2_test): Likewise.
40613 (pow_test): Do not allow some spurious overflow exceptions.
40614 (sqrt_test): Add more tests.
40615 (tgamma_test): Likewise.
40616 (y0_test): Likewise.
40617 (y1_test): Likewise.
40618 (yn_test): Likewise.
40620 2012-03-27 Anton Blanchard <anton@samba.org>
40622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40624 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40625 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40628 2012-03-27 David S. Miller <davem@davemloft.net>
40630 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40632 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40633 have-as-vis3 check.
40635 2012-03-27 Andreas Jaeger <aj@suse.de>
40637 * sysdeps/x86_64/elf/configure.in: Moved to ...
40638 * sysdeps/x86_64/configure.in: ... here.
40639 * sysdeps/x86_64/elf/start.S: Moved to ...
40640 * sysdeps/x86_64/start.S: ... here.
40641 * sysdeps/x86_64/elf/configure: Delete.
40643 * sysdeps/x86_64/configure.in: Merge contents from
40644 sysdeps/i386/configure.in (without i686 check).
40646 * sysdeps/i386/elf/Versions: Merge into ...
40647 * sysdeps/i386/Versions: ... this.
40648 * sysdeps/i386/elf/Versions: Delete file.
40649 * sysdeps/i386/elf/start.S: Moved to ...
40650 * sysdeps/i386/start.S: ...here.
40651 * sysdeps/i386/elf/configure.in: Merge into...
40652 * sysdeps/i386/configure.in: ...here.
40653 * sysdeps/i386/elf/configure.in: Delete file.
40654 * sysdeps/i386/elf/configure: Delete file.
40656 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40657 * debug/backtracesyms.c: ... here.
40658 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40659 * debug/backtracesymsfd.c: ... here.
40660 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40661 * sysdeps/generic/ifunc-sel.h: ... here.
40663 * sysdeps/unix/i386/start.c: Delete file.
40664 * sysdeps/unix/sparc/start.c: Delete file.
40665 * sysdeps/unix/start.c: Delete file.
40667 * sysdeps/sh/elf/configure.in: Moved to ...
40668 * sysdeps/sh/configure.in: ... here.
40669 * sysdeps/sh/elf/start.S: Moved to ...
40670 * sysdeps/sh/start.S: ... here.
40671 * sysdeps/sh/elf/configure: Delete file.
40673 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40674 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40675 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40676 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40677 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40678 * sysdeps/powerpc/powerpc64/start.S: here.
40679 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40680 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40681 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40682 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40683 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40685 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40686 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40687 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40688 * sysdeps/powerpc/powerpc32/start.S: ... here.
40689 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40690 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40691 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40693 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40694 * sysdeps/powerpc/ifunc-sel.h: ... here.
40695 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40696 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40698 * sysdeps/sparc/elf/configure.in: Moved to ...
40699 * sysdeps/sparc/configure.in: ... here.
40700 * sysdeps/sparc/elf/configure: Delete file.
40701 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40702 * sysdeps/sparc/sparc32/start.S: ... here.
40703 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40704 * sysdeps/sparc/sparc64/start.S: ... here.
40705 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40706 * sysdeps/sparc/sparc32/Makefile: ... this.
40707 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40708 * sysdeps/sparc/sparc64/Makefile: ... this.
40710 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40711 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40712 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40713 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40714 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40715 * sysdeps/s390/s390-32/setjmp.S: ... here.
40716 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40717 * sysdeps/s390/s390-32/configure.in: ... here.
40718 * sysdeps/s390/s390-32/elf/configure: Delete file.
40719 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40720 * sysdeps/s390/s390-32/start.S: ... here.
40722 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40723 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40724 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40725 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40726 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40727 * sysdeps/s390/s390-64/setjmp.S: ... here.
40728 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40729 * sysdeps/s390/s390-64/configure.in: ... here
40730 * sysdeps/s390/s390-64/elf/configure: Delete file.
40731 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40732 * sysdeps/s390/s390-64/start.S: ... here.
40733 * sysdeps/s390/s390-64/elf/configure: Delete.
40735 * configure.in: Remove support for elf directories in sysdeps.
40737 * configure: Regenerated.
40738 * sysdeps/i386/configure: Regenerated.
40739 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40740 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40741 * sysdeps/s390/s390-32/configure: Regenerated.
40742 * sysdeps/s390/s390-64/configure: Regenerated.
40743 * sysdeps/sh/configure: Regenerated.
40744 * sysdeps/sparc/configure: Regenerated.
40745 * sysdeps/x86_64/configure: Regenerated.
40747 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40751 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40752 denormal result into account.
40754 2012-03-25 Roland McGrath <roland@hack.frob.com>
40756 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40757 Reported by Allan McRae <allan@archlinux.org>.
40759 2012-03-23 Jeff Law <law@redhat.com>
40761 * nss/getnssent.c (__nss_getent): Fix typo.
40763 2012-03-23 David S. Miller <davem@davemloft.net>
40765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40767 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40769 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40770 to pad to uint64_t for each field.
40771 (dl_tls_index): Replace unsigned long with uint64_t.
40773 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40774 Paul Pluzhnikov <ppluzhnikov@google.com>
40777 * grp/Makefile (otherlibs): Don't set it.
40778 * inet/Makefile (otherlibs): Likewise.
40779 * login/Makefile (otherlibs): Likewise.
40780 * nscd/Makefile (otherlibs): Likewise.
40781 * posix/Makefile (otherlibs): Likewise.
40782 * pwd/Makefile (otherlibs): Likewise.
40783 * rt/Makefile (otherlibs): Likewise.
40784 * sunrpc/Makefile (otherlibs): Likewise.
40785 * nss/Makefile (otherlibs): Likewise.
40786 Add libnss_files to routines and static-only-routines.
40787 ($(objpfx)getent): Remove rule.
40788 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40789 static-only-routines.
40791 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40794 * math/s_cexp.c: Include <float.h>.
40795 (__cexp): Handle exp result overflowing not necessarily
40796 overflowing both real and imaginary parts of result.
40797 * math/s_cexpf.c: Likewise.
40798 * math/s_cexpl.c: Likewise.
40799 * math/libm-test.inc (cexp_test): Add more tests.
40800 * sysdeps/i386/fpu/libm-test-ulps: Update.
40801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40803 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40805 * include/link.h (ELFW): New macro.
40806 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40807 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40809 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40811 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40814 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40816 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40818 (struct La_x32_retval): Likewise.
40820 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40822 * sysdeps/x86_64/preconfigure.in: New file.
40823 * sysdeps/x86_64/preconfigure: New generated file.
40825 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40828 * math/e_exp2l.c: Include <float.h>.
40829 (__ieee754_exp2l): Handle overflow and underflow cases
40830 separately. Only pass fractional part of argument to
40832 * math/libm-test.inc (exp2_test): Add more tests.
40834 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40835 negating x to take absolute value.
40836 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40838 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40839 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40841 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40842 computing low part if x was negated.
40843 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40845 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40847 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40848 la_x32_gnu_pltexit.
40849 (pltexit): Cast int_retval to ptrdiff_t.
40850 * elf/tst-auditmod3b.c: Likewise.
40851 * elf/tst-auditmod4b.c: Likewise.
40852 * elf/tst-auditmod5b.c: Likewise.
40853 * elf/tst-auditmod6b.c: Likewise.
40854 * elf/tst-auditmod6c.c: Likewise.
40855 * elf/tst-auditmod7b.c: Likewise.
40857 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40858 and x32_gnu_pltexit.
40860 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40861 __ELF_NATIVE_CLASS.
40862 (La_x32_regs): New macro.
40863 (La_x32_retval): Likewise.
40864 (la_x32_gnu_pltenter): New function prototype.
40865 (la_x32_gnu_pltexit): Likewise.
40867 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40874 * configure.in (libc_cv_cc_nofma): Check for option to disable
40875 generation of FMA instructions.
40876 * configure: Regenerate.
40877 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40878 * sysdeps/ieee754/dbl-64/Makefile: New file.
40879 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40880 Remove brandred-fma4.
40881 (CFLAGS-brandred-fma4.c): Remove.
40882 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40888 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40890 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40891 LLONG_MAX != LONG_MAX.
40892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40893 (_fitoa_word): Likewise.
40894 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40895 LLONG_MAX != LONG_MAX.
40896 * stdio-common/_itowa.h: Include <_itoa.h>.
40897 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40898 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40899 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40900 only if not defined.
40901 (_ITOA_WORD_TYPE): Likewise.
40902 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40903 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40905 2012-03-21 David S. Miller <davem@davemloft.net>
40907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40909 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40911 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40912 of x86_64 when setting libc_cv_slibdir, libdir and
40914 * sysdeps/unix/sysv/linux/configure: Regenerated.
40916 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40918 * manual/lang.texi (Old Varargs): Remove section.
40919 (How Variadic): Update menu.
40920 (va_start): Do not mention varargs.h.
40922 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40923 Joseph Myers <joseph@codesourcery.com>
40925 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40927 * configure: Regenerated.
40929 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40931 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40932 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40935 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40938 * Makefile (files-for-dist): Remove NOTES.
40939 (NOTES): Remove rule.
40940 * README: Don't refer to NOTES.
40941 * manual/creature.texi: Don't include macros.texi.
40942 * manual/intro.texi (creature.texi): Remove comment referring to
40945 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40946 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40947 * configure: Regenerated.
40948 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40949 LIBC_TRY_CC_OPTION.
40950 (libc_cv_as_i686): Likewise.
40951 (libc_cv_cc_avx): Likewise.
40952 (libc_cv_cc_sse2avx): Likewise.
40953 (libc_cv_cc_fma4): Likewise.
40954 (libc_cv_cc_novzeroupper): Likewise.
40955 * sysdeps/i386/configure: Regenerated.
40958 * sysdeps/i386/fpu/s_cexp.S: Remove.
40959 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40960 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40961 * math/libm-test.inc (cexp_test): Add more tests.
40962 * sysdeps/i386/fpu/libm-test-ulps: Update.
40963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40965 2012-03-21 Allan McRae <allan@archlinux.org>
40967 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40969 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40972 * math/w_exp2.c: Do not include <float.h>.
40973 (o_threshold, u_threshold): Remove.
40974 (__exp2): Calculate result before checking finiteness and calling
40976 * math/w_exp2f.c: Likewise.
40977 * math/w_exp2l.c: Likewise.
40978 * math/libm-test.inc (exp2_test): Require overflow exception for
40982 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40983 range of signed 64-bit integers before using fistpll. Remove
40984 checks for whether integers fit in mantissa bits.
40985 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40986 the range of signed 32-bit integers before using fistpl. Remove
40987 checks for whether integers fit in mantissa bits.
40988 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40989 (__ieee754_powl): Test for y outside the range of signed 64-bit
40990 integers before using fistpll. Reduce 64-bit values to 63-bit
40992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40993 divide-by-zero is raised for zero to large negative powers.
40994 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40995 (__ieee754_powl): Test for y outside the range of signed 64-bit
40996 integers before using fistpll. Reduce 64-bit values to 63-bit
40998 * math/libm-test.inc (pow_test): Add more tests.
41000 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41002 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41003 <stdio-common/_itoa.h>.
41004 * debug/segfault.c: Likewise.
41005 * elf/dl-cache.c: Likewise.
41006 * elf/dl-minimal.c: Likewise.
41007 * elf/dl-misc.c: Likewise.
41008 * elf/dl-sysdep.c: Likewise.
41009 * elf/dl-version.c: Likewise.
41010 * elf/rtld.c: Likewise.
41011 * hurd/hurdsock.c: Likewise.
41012 * hurd/lookup-retry.c: Likewise.
41013 * malloc/malloc.c: Likewise.
41014 * malloc/mtrace.c: Likewise.
41015 * nscd/nscd_getgr_r.c: Likewise.
41016 * nscd/nscd_getpw_r.c: Likewise.
41017 * nscd/nscd_getserv_r.c: Likewise.
41018 * posix/getopt_init.c: Likewise.
41019 * posix/wordexp.c: Likewise.
41020 * stdio-common/_itoa.c: Likewise.
41021 * stdio-common/printf_fphex.c: Likewise.
41022 * stdio-common/vfprintf.c: Likewise.
41023 * string/_strerror.c: Likewise.
41024 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41025 * sysdeps/i386/i686/hp-timing.h: Likewise.
41026 * sysdeps/mach/_strerror.c: Likewise.
41027 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41028 * sysdeps/mach/hurd/sethostid.c: Likewise.
41029 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41030 * sysdeps/mach/xpg-strerror.c: Likewise.
41031 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41033 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41034 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41035 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41036 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41038 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41039 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41040 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41041 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41042 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41043 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41044 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41045 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41046 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41047 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41048 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41049 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41050 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41051 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41053 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41055 * stdio-common/_itoa.h: Moved to ...
41056 * sysdeps/generic/_itoa.h: Here.
41058 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41060 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41061 instead of "_itoa.h" and "_itowa.h".
41062 * stdio-common/vfprintf.: Likewise.
41064 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41066 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41068 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41069 (__signbit): Likwise.
41070 (llrintf): Likwise.
41073 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41075 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41078 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41080 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41081 OVERFLOW_EXCEPTION_OK.
41082 * math/libm-test.inc ("Philosophy"): Update comment about
41084 (OVERFLOW_EXCEPTION): Define.
41085 (OVERFLOW_EXCEPTION_OK): Likewise.
41086 (INVALID_EXCEPTION_OK): Renumber.
41087 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41088 (IGNORE_ZERO_INF_SIGN): Likewise.
41089 (test_exceptions): Handle FE_OVERFLOW.
41090 (exp10_test): Expect overflow exceptions.
41091 (exp2_test): Likewise.
41092 (expm1_test): Likewise.
41093 (nextafter_test): Likewise.
41094 (pow_test): Likewise.
41095 (scalbn_test): Likewise.
41096 (scalbln_test): Likewise.
41098 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41100 * sysdeps/x86_64/bits/atomic.h
41101 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41103 (atomic_exchange_acq): Likewise.
41104 (__arch_exchange_and_add_body): Likewise.
41105 (__arch_add_body): Likewise.
41106 (atomic_add_negative): Likewise.
41107 (atomic_add_zero): Likewise.
41109 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41111 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41112 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41116 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41117 Check __x86_64__ instead of __WORDSIZE.
41119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41121 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41123 2012-03-19 David S. Miller <davem@davemloft.net>
41125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41127 * sysdeps/sparc/fpu/fenv_private.h: New file.
41128 * sysdeps/sparc/fpu/math_private.h: Use it.
41129 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41131 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41132 (libc_feholdexcept_setroundl): Remove.
41133 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41135 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41136 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41138 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41140 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41141 int64_t instead of long int.
41142 (INSERT_WORDS64): Likwise.
41144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41146 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41147 _Unwind_GetCFA return to _Unwind_Ptr first.
41149 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41152 * math/s_clog.c: Include <float.h>.
41153 (__clog): Scale large or subnormal inputs.
41154 * math/s_clogf.c: Likewise.
41155 * math/s_clogl.c: Likewise.
41156 * math/s_clog10.c: Include <float.h>.
41157 (M_LOG10_2): Define.
41158 (__clog10): Scale large or subnormal inputs.
41159 * math/s_clog10f.c: Likewise.
41160 * math/s_clog10l.c: Likewise.
41161 * math/libm-test.inc (clog_test): Add more tests.
41162 (clog10_test): Likewise.
41163 * sysdeps/i386/fpu/libm-test-ulps: Update.
41164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41167 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41169 * math/libm-test.inc (atan2_test): Add another test.
41171 * Makerules (common-objdir-compile): Remove.
41172 * sysdeps/unix/Makefile (config-generated): Do not add
41173 $(unix-generated) to variable.
41174 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41175 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41177 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41179 [generic bits/local_lim.h] (before-compile): Do not append to
41181 [generic bits/local_lim.h] (common-generated): Likewise.
41182 [generic sys/param.h] (before-compile): Do not append to variable.
41183 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41184 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41185 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41186 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41188 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41189 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41190 [generic sys/param.h] ($(addprefix
41191 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41192 [generic sys/param.h] (common-generated): Do not append to
41194 [generic sys/param.h] (sysdep_headers): Likewise.
41195 [generic bits/errno.h] (before-compile): Do not append to
41197 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41199 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41200 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41201 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41202 [generic bits/errno.h] (common-generated): Do not append to
41204 [generic bits/ioctls.h] (before-compile): Do not append to
41206 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41208 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41209 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41210 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41212 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41213 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41214 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41215 [generic bits/ioctls.h] (common-generated): Do not append to
41217 [generic sys/syscall.h] (syscall.h): Remove variable.
41218 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41220 [generic sys/syscall.h] (before-compile): Do not append to
41222 [generic sys/syscall.h] (common-generated): Likewise.
41223 * sysdeps/unix/errnos-tmpl.c: Remove file.
41224 * sysdeps/unix/errnos.awk: Likewise.
41225 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41226 * sysdeps/unix/ioctls.awk: Likewise.
41227 * sysdeps/unix/mk-local_lim.c: Likewise.
41228 * sysdeps/unix/snarf-ioctls: Likewise.
41230 2012-03-19 Richard Henderson <rth@twiddle.net>
41232 * sysdeps/i386/fpu/fenv_private.h: New file.
41233 * sysdeps/i386/fpu/math_private.h: Use it.
41234 (math_opt_barrier, math_force_eval): Remove.
41235 (libc_feholdexcept_setround_53bit): Remove.
41236 (libc_feupdateenv_53bit): Remove.
41237 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41238 (math_opt_barrier, math_force_eval): Remove.
41239 (libc_feholdexcept): Remove.
41240 (libc_feholdexcept_setround): Remove.
41241 (libc_fetestexcept, libc_fesetenv): Remove.
41242 (libc_feupdateenv_test): Remove.
41243 (libc_feupdateenv, libc_feholdsetround): Remove.
41244 (libc_feresetround): Remove.
41246 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41247 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41249 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41250 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41251 (libc_feupdateenv_testl): New.
41252 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41253 (libc_feupdateenv_testf): New.
41254 (libc_feupdateenv): Use libc_feupdateenv_test.
41255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41256 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41258 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41259 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41260 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41261 (libc_feresetround_noex): New.
41262 (libc_feresetround_noexf): New.
41263 (libc_feresetround_noexl): New.
41264 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41265 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41266 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41272 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41274 SET_RESTORE_ROUND_NOEX.
41275 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41276 SET_RESTORE_ROUND_NOEXF.
41277 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41278 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41279 (libc_feholdsetroundf): New.
41280 (libc_feresetround, libc_feresetroundf): New.
41282 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41283 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41284 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41286 * sysdeps/generic/math_private.h: Include <fenv.h>.
41287 (default_libc_feholdexcept): New.
41288 (default_libc_feholdexcept_setround): New.
41289 (default_libc_fesetenv, default_libc_feupdateenv): New.
41290 (libc_feholdexcept): Only define if undefined.
41291 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41292 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41293 (libc_feholdexcept_setroundl): Likewise.
41294 (libc_feholdexcept_setround_53bit): Likewise.
41295 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41296 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41297 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41298 (libc_feupdateenv_53bit): Likewise.
41299 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41300 (libc_feholdexcept): Convert from macro to inline function.
41301 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41302 (libc_fesetenv, libc_feupdateenv): Likewise.
41304 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41305 not previously defined.
41306 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41307 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41308 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41309 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41310 * sysdeps/ieee754/flt-32/math_private.h: New file.
41311 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41312 math_private.h below SET_FLOAT_WORD.
41313 (__isnan, __isinf_ns, __finite): Remove.
41314 (__isnanf, __isinf_nsf, __finitef): Remove.
41316 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41320 2012-03-17 David S. Miller <davem@davemloft.net>
41323 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41326 2012-03-16 David S. Miller <davem@davemloft.net>
41328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41332 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41334 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41335 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41336 sysdep_routines when subdir is sysvipc.
41337 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41338 __getshmlba helper.
41340 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41342 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41344 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41347 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41350 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41351 (__lround): Renamed to ...
41352 (__llround): This. Replace long int with long long int.
41353 Define lround functions as aliases of llround functions.
41354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41356 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41358 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41359 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41360 adresses to uintptr_t. Replace "long int" and "unsigned long
41361 int" with "greg_t" on va_arg.
41363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41365 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41366 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41368 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41369 Move e_machine check before EI_CLASS check. Handle x32
41370 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41371 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41372 SKIP_EM_IA_64 and include
41373 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41375 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41376 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41377 (add_system_dir): New macro.
41379 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41380 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41382 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41393 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41395 * math/w_j0f.c (j0f): Likewise.
41397 * math/w_j0l.c (__j0l): Likewise.
41399 * math/w_j1.c (j1): Likewise.
41401 * math/w_j1f.c (j1f): Likewise.
41403 * math/w_j1l.c (__j1l): Likewise.
41405 * math/w_jn.c (jn): Likewise.
41407 * math/w_jnf.c (jnf): Likewise.
41409 * math/w_jnl.c (__jnl): Likewise.
41411 * math/libm-test.inc (j0_test): Add more tests.
41412 (j1_test): Likewise.
41413 (jn_test): Likewise. Add trailing semicolon to existing test.
41414 (y0_test): Likewise.
41415 (y1_test): Likewise.
41416 * sysdeps/i386/fpu/libm-test-ulps: Update.
41417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41421 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41422 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41423 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41425 (__tanl): Set errno for infinite argument.
41426 * sysdeps/i386/fpu/mptan.c: Remove.
41427 * sysdeps/i386/fpu/s_tan.S: Likewise.
41428 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41429 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41430 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41431 * math/libm-test.inc (tan_test): Add more tests and enable more
41432 tests for double and long double.
41433 * sysdeps/i386/fpu/libm-test-ulps: Update.
41434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41436 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41438 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41439 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41441 2012-03-16 Roland McGrath <roland@hack.frob.com>
41443 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41444 * configure.in: Use it for both main tree and add-ons.
41445 * configure: Regenerated.
41447 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41449 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41451 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41453 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41457 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41458 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41459 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41460 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41461 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41463 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41464 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41465 != 0 for prec == 2.
41466 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41467 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41468 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41469 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41470 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41471 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41472 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41473 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41474 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41475 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41476 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41477 * math/libm-test.inc (cos_test): Add more tests and enable more
41478 tests for long double.
41479 (sin_test): Likewise.
41480 (sincos_test): Likewise.
41481 * sysdeps/i386/fpu/libm-test-ulps: Update.
41482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41484 2012-03-16 David S. Miller <davem@davemloft.net>
41486 * sysdeps/sparc/fpu/math_private.h: New file.
41488 2012-03-15 David S. Miller <davem@davemloft.net>
41490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41504 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41505 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41507 * sysdeps/sparc/sparc-ifunc.h: New file.
41508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41553 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41555 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41559 2012-03-15 Andreas Jaeger <aj@suse.de>
41562 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41563 ieee754/flt-32 implementation for sin, cos and sincos.
41564 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41565 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41566 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41567 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41568 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41569 ieee754/flt-32 implementation for tan.
41571 * math/libm-test.inc (cos_test): Enable some large input tests for
41573 (sin_test): Likewise.
41574 (sincos_test): Likewise.
41575 (tan_test): Add tests for large input.
41577 * sysdeps/i386/fpu/libm-test-ulps: Update.
41579 2012-03-15 Andreas Jaeger <aj@suse.de>
41582 * math/libm-test.inc (cos_test): Add more test cases.
41583 (sin_test): Likewise.
41584 (sincos_test): Likewise.
41586 2012-03-15 Andreas Jaeger <aj@suse.de>
41589 * math/libm-test.inc (cos_test): Add a test case for large input
41591 (sin_test): Likewise.
41592 (sincos_test): Likewise.
41594 2012-03-15 Andreas Jaeger <aj@suse.de>
41595 Joseph Myers <joseph@codesourcery.com>
41598 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41599 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41600 * sysdeps/i386/fpu/branred.c: Likewise.
41601 * sysdeps/i386/fpu/dosincos.c: Likewise.
41602 * sysdeps/i386/fpu/mpa.c: Likewise.
41603 * sysdeps/i386/fpu/s_cos.S: Likewise.
41604 * sysdeps/i386/fpu/s_sin.S: Likewise.
41605 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41606 * sysdeps/i386/fpu/sincos32.c: Likewise.
41608 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41610 (libc_feupdateenv_53bit): Define.
41611 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41613 (libc_feupdateenv_53bit): Define.
41615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41616 53 bit (without extend i386 double precision).
41618 * math/libm-test.inc (sincos_test): Add tests for large input.
41622 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41624 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41628 2012-03-15 David S. Miller <davem@davemloft.net>
41630 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41631 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41632 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41633 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41658 fmin/fmax sysdep routines.
41659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41661 2012-03-14 David S. Miller <davem@davemloft.net>
41663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41735 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41740 * sysdeps/sparc/configure.in: New file.
41741 * sysdeps/sparc/configure: Generate.
41742 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41743 * configure: Regenerate.
41744 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41745 * config.make.in (have-as-vis3): New.
41746 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41747 available use -Av9d instead of -Av9a.
41748 * sysdeps/sparc/sparc64/Makefile: Likewise.
41749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41762 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41764 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41765 fzeros/fnegs to load 0x80000000 into a float register instead of
41767 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41769 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41773 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41774 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41775 ($(inst_includedir)/bits/syscall.h): Remove rule.
41776 ($(objpfx)bits/syscall.d): Include instead of
41777 $(objpfx)syscall-list.d.
41778 (generated): Change syscall-list.h and syscall-list.d to
41779 bits/syscall.h and bits/syscall.d.
41781 2012-03-14 Roland McGrath <roland@hack.frob.com>
41784 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41786 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41789 * math/s_csqrt.c: Include <float.h>.
41790 (__csqrt): Scale large or subnormal inputs.
41791 * math/s_csqrtf.c: Likewise.
41792 * math/s_csqrtl.c: Likewise.
41793 * math/libm-test.inc (csqrt_test): Add more tests.
41794 * sysdeps/i386/fpu/libm-test-ulps: Update.
41795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41798 * math/libm-test.inc (hypot_test): Add more tests.
41800 2012-03-13 David S. Miller <davem@davemloft.net>
41803 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41804 double-precision for the calculation instead of scaling.
41806 2012-03-13 Joseph Myers <joseph@codesourcery.com>
41808 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41809 manipulate bits before adding and subtracting TWO52[sx].
41810 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41815 2012-03-13 David S. Miller <davem@davemloft.net>
41817 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41818 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41820 rtld-global-offsets.h
41821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41823 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41826 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41828 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41829 'err' in the ifdef scope in which it is actually used.
41831 * nss/nss_db/db-init.c: Include string.h
41833 2012-03-12 David S. Miller <davem@davemloft.net>
41835 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41836 masking out of the most significant byte of random value used.
41837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41838 Fix coding style in previous change.
41840 * sysdeps/unix/sysv/linux/kernel-features.h
41841 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41842 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41844 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41847 2012-03-11 David S. Miller <davem@davemloft.net>
41849 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41850 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41852 for 'resultvar' otherwise things get truncated on 64-bit.
41854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41855 Fix masking out of the most significant byte of random value used.
41857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41859 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41863 2012-03-09 David S. Miller <davem@davemloft.net>
41865 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41866 variables with appropriate CPP guards.
41867 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41868 from the frame pointer, not the stack pointer. Correct layout
41869 comments. Fix test on resulting framesize and the management of
41870 the outregs buffer for pltexit. Preserve floating point return
41871 values across _dl_call_pltexit call.
41872 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41873 framesize and the management of the outregs buffer for pltexit.
41874 Preserve floating point return values across _dl_call_pltexit
41876 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41877 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41878 (la_sparc64_gnu_pltexit): New functions.
41879 (print_exit): Fix format string for return register value.
41881 2012-03-10 Joseph Myers <joseph@codesourcery.com>
41883 * sunrpc/Makefile (others): Add rpcgen.
41884 ($(objpfx)rpcgen): Remove special build rule and dependency on
41886 * sunrpc/rpcgen.c: New file.
41888 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41891 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41892 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41893 * sysdeps/i386/crti.S: Likewise.
41894 * sysdeps/i386/crtn.S: Likewise.
41895 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41896 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41897 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41898 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41899 * sysdeps/sh/crti.S: Likewise.
41900 * sysdeps/sh/crtn.S: Likewise.
41901 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41904 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41906 * locale/programs/locfile-kw.gperf: Likewise.
41907 * locale/programs/charmap-kw.h: Regenerated.
41908 * locale/programs/locfile-kw.h: Likewise.
41911 * intl/plural.y: Replace FSF snail mail address with URL.
41912 * intl/plural.c: Regenerated.
41914 2012-03-09 Richard Henderson <rth@twiddle.net>
41916 * include/math_private.h: Remove file.
41917 * math/math_private.h: Move file ...
41918 * sysdeps/generic/math_private.h: ... here.
41920 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41921 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41922 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41924 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41925 and <math_private.h>.
41926 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41927 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41928 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41929 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41930 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41948 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41950 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41951 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41952 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41953 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41956 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41958 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41960 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41961 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41962 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41966 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41967 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41968 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41969 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41970 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41971 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41972 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41973 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41976 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41977 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41978 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41979 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41980 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41981 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41982 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41985 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41987 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41990 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41991 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41992 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41993 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41994 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41997 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41999 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42000 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42006 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42007 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42009 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42010 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42013 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42014 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42015 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42016 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42017 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42018 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42019 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42020 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42021 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42022 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42023 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42024 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42026 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42027 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42028 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42029 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42030 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42031 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42032 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42033 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42035 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42036 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42037 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42038 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42039 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42040 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42041 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42042 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42043 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42044 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42046 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42047 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42048 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42049 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42053 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42054 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42055 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42056 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42057 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42058 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42059 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42060 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42061 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42062 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42063 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42064 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42065 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42067 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42069 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42070 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42071 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42072 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42073 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42074 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42075 * sysdeps/ieee754/k_standard.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42127 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42128 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42129 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42153 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42167 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42169 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42172 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42191 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42195 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42198 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42202 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42203 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42208 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42209 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42212 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42225 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42236 * sysdeps/ieee754/s_lib_version.c: Likewise.
42237 * sysdeps/ieee754/s_matherr.c: Likewise.
42238 * sysdeps/ieee754/s_signgam.c: Likewise.
42239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42241 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42242 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42243 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42244 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42245 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42246 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42247 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42248 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42249 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42250 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42251 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42252 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42253 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42254 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42255 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42256 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42261 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42263 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42264 * sunrpc/rpc_main.c: Likewise.
42265 * sunrpc/rpc_svcout.c: Likewise.
42267 2012-03-09 David S. Miller <davem@davemloft.net>
42269 * include/math_private.h: New file.
42271 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42273 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42274 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42275 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42276 from <bits/socket_type.h>.
42277 (enum __socket_type): Don't define here.
42278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42280 bits/socket_type.h.
42283 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42284 checking __USE_GNU.
42286 * Makerules ($(inst_includedir)/%.h): New rule.
42287 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42288 (install-others): Remove variable setting.
42289 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42291 2012-03-08 Richard Henderson <rth@twiddle.net>
42293 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42294 from macro to inline function; merge with the
42295 !__LIBC_INTERNAL_MATH_INLINES version.
42296 (__ieee754_sqrtf): Likewise.
42298 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42299 to inline function.
42300 (__rintf, __floor, __floorf): Likewise.
42302 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42303 macro to inline function.
42304 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42307 not <math/math_private.h>.
42309 2012-03-08 David S. Miller <davem@davemloft.net>
42311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42313 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42315 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42317 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42319 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42320 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42322 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42324 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42325 be defined individually, they must be defined as a block. Define
42326 S for printing a string instead of hidint the different by using a
42327 macro for adding the 'l'.
42328 * stdio-common/tst-fphex-wide.c: Adjust.
42330 2012-03-07 Marek Polacek <polacek@redhat.com>
42332 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42334 2012-03-08 Marek Polacek <polacek@redhat.com>
42337 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42338 * stdio-common/tst-fphex.c: Define a few macros to make the
42339 test reusable. Use them.
42340 * stdio-common/tst-fphex-wide.c: New file.
42342 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42345 * manual/macros.texi (gnusystems): New macro.
42346 (nongnusystems): Likewise.
42347 (gnulinuxhurdsystems): Likewise.
42348 (gnuhurdsystems): Likewise..
42349 (gnulinuxsystems): Likewise.
42350 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42351 variants of the GNU system, not "GNU system".
42352 * manual/conf.texi: Likewise.
42353 * manual/errno.texi: Likewise. Update example of errno macro
42355 * manual/filesys.texi: Likewise.
42356 (getumask): Document as specific to GNU/Hurd.
42357 * manual/install.texi: Likewise. Reword some references to
42359 * manual/intro.texi: Likewise.
42360 * manual/io.texi: Likewise.
42361 (File Name Portability): Detail which constraints are inapplicable
42362 to all GNU systems and which are only inapplicable to GNU/Hurd.
42363 * manual/job.texi: Likewise.
42364 * manual/llio.texi: Likewise.
42365 (O_NOCTTY): Document as present on GNU/Linux.
42366 * manual/maint.texi: Likewise.
42367 * manual/memory.texi: Likewise.
42368 * manual/pattern.texi: Likewise.
42369 * manual/pipe.texi: Likewise.
42370 * manual/process.texi: Likewise.
42371 * manual/resource.texi: Likewise.
42372 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42374 * manual/setjmp.texi: Likewise.
42375 * manual/signal.texi: Likewise.
42376 * manual/startup.texi: Likewise.
42377 * manual/stdio.texi: Likewise.
42378 * manual/terminal.texi: Likewise.
42379 (ONLCR): Document as POSIX.
42380 (OXTABS): Document availability on GNU/Linux as XTABS.
42381 (ONOEOT): Document availability separately from other bits.
42382 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42383 * manual/time.texi: Likewise.
42384 * manual/users.texi: Likewise.
42385 * INSTALL: Regenerated.
42386 * sysdeps/gnu/errlist.c: Regenerated.
42388 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42389 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42390 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42392 * configure: Regenerated.
42394 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42396 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42397 default includes instead of AC_HEADER_CHECK.
42398 * sysdeps/i386/configure: Regenerated.
42401 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42402 * math/s_cacoshf.c (__cacoshf): Likewise.
42403 * math/s_cacoshl.c (__cacoshl): Likewise.
42404 * math/s_casinh.c (__casinh): Set signs of result from argument.
42405 * math/s_casinhf.c (__casinhf): Likewise.
42406 * math/s_casinhl.c (__casinhl): Likewise.
42407 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42408 (casinh_test): Add more tests.
42409 * sysdeps/i386/fpu/libm-test-ulps: Update.
42410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42412 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42414 * po/zh_TW.po: Update from translation team.
42416 * login/Makefile (distribute): Remove variable.
42417 * catgets/Makefile: Likewise.
42418 * mach/Makefile: Likewise.
42419 * malloc/Makefile: Likewise.
42420 * misc/Makefile: Likewise.
42421 * iconv/Makefile: Likewise.
42422 * nscd/Makefile: Likewise.
42423 * hurd/Makefile: Likewise.
42424 * manual/Makefile: Likewise.
42425 * locale/Makefile: Likewise.
42426 * intl/Makefile: Likewise.
42427 * conform/Makefile: Likewise.
42428 * nss/Makefile: Likewise.
42429 * time/Makefile: Likewise.
42430 * soft-fp/Makefile: Likewise.
42431 * dirent/Makefile: Likewise.
42432 * gmon/Makefile: Likewise.
42433 * po/Makefile: Likewise.
42434 * rt/Makefile: Likewise.
42435 * socket/Makefile: Likewise.
42436 * math/Makefile: Likewise.
42437 * signal/Makefile: Likewise.
42438 * debug/Makefile: Likewise.
42439 * elf/Makefile: Likewise.
42440 * timezone/Makefile: Likewise.
42441 * stdlib/Makefile: Likewise.
42442 * iconvdata/Makefile: Likewise.
42443 * sunrpc/Makefile: Likewise.
42444 * io/Makefile: Likewise.
42445 * argp/Makefile: Likewise.
42446 * inet/Makefile: Likewise.
42447 * hesiod/Makefile: Likewise.
42448 * grp/Makefile: Likewise.
42449 * csu/Makefile: Likewise.
42450 * wctype/Makefile: Likewise.
42451 * crypt/Makefile: Likewise.
42452 * libio/Makefile: Likewise.
42453 * string/Makefile: Likewise.
42454 * nis/Makefile: Likewise.
42455 * resolv/Makefile: Likewise.
42456 * stdio-common/Makefile: Likewise.
42457 * wcsmbs/Makefile: Likewise.
42458 * dlfcn/Makefile: Likewise.
42459 * posix/Makefile: Likewise.
42462 * timezone/Makefile: Don't install timezone files, just the programs
42465 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42467 * nss/databases.def: Add missing gshadow entry.
42469 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42471 2012-03-06 Marek Polacek <polacek@redhat.com>
42474 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42475 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42476 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42477 * stdio-common/tst-long-dbl-fphex.c: New file.
42479 2012-03-06 David S. Miller <davem@davemloft.net>
42481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42482 (set_obp_int): New function.
42483 (get_obp_int): New function.
42484 (__get_clockfreq_via_dev_openprom): Likewise.
42485 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42486 Avoid unused variable warnings on 'val' and use builtin_expect.
42487 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42489 (INLINE_CLONE_SYSCALL): Likewise.
42491 2012-03-05 David S. Miller <davem@davemloft.net>
42493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42495 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42500 only for |x| >= 40.
42501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42503 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42506 Replace gettimeofday with __vdso_gettimeofday.
42508 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42509 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42510 __vdso_clock_gettime and __vdso_getcpu.
42512 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42513 time with __vdso_time.
42515 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42517 * manual/lang.texi (size_t): Note types to which size_t may be
42518 equivalent with the GNU C Library, but do not describe when
42519 differences between them are significant.
42521 2012-03-05 Andreas Jaeger <aj@suse.de>
42523 * sysdeps/i386/fpu/libm-test-ulps: Update.
42525 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42528 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42529 (__ieee754_pow): Save and restore rounding mode and use
42530 round-to-nearest for main computations.
42531 * math/libm-test.inc (pow_test_tonearest): New function.
42532 (pow_test_towardzero): Likewise.
42533 (pow_test_downward): Likewise.
42534 (pow_test_upward): Likewise.
42535 (main): Call the new functions.
42536 * sysdeps/i386/fpu/libm-test-ulps: Update.
42537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42540 * math/libm-test.inc (cosh_test_tonearest): New function.
42541 (cosh_test_towardzero): Likewise.
42542 (cosh_test_downward): Likewise.
42543 (cosh_test_upward): Likewise.
42544 (sinh_test_tonearest): Likewise.
42545 (sinh_test_towardzero): Likewise.
42546 (sinh_test_downward): Likewise.
42547 (sinh_test_upward): Likewise.
42548 (main): Call the new functions.
42549 * sysdeps/i386/fpu/libm-test-ulps: Update.
42550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42552 2012-03-05 Tom de Vries <tom@codesourcery.com>
42554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42555 default stack guard is set in last bytes.
42556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42558 2012-03-05 Kees Cook <keescook@chromium.org>
42560 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42563 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42564 possibly allocate from heap instead of stack.
42565 * stdio-common/bug-vfprintf-nargs.c: New file.
42566 * stdio-common/Makefile (tests): Add nargs overflow test.
42568 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42572 2012-03-03 Marek Polacek <polacek@redhat.com>
42574 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42575 * math/math_private.h: Likewise.
42576 * stdlib/tst-strtod.c: Likewise.
42577 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42578 * sysdeps/x86_64/bits/atomic.h: Likewise.
42580 2012-03-02 David S. Miller <davem@davemloft.net>
42582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42586 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42587 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42588 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42589 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42591 2012-03-02 Roland McGrath <roland@hack.frob.com>
42594 * manual/examples/README: New file, says the example source files
42595 can be used under GPL>=2.
42596 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42597 line containing just "*/".
42598 * manual/examples/add.c: Add copyright header (GPL>=2).
42599 * manual/examples/argp-ex1.c: Likewise.
42600 * manual/examples/argp-ex2.c: Likewise.
42601 * manual/examples/argp-ex3.c: Likewise.
42602 * manual/examples/argp-ex4.c: Likewise.
42603 * manual/examples/atexit.c: Likewise.
42604 * manual/examples/db.c: Likewise.
42605 * manual/examples/dir.c: Likewise.
42606 * manual/examples/dir2.c: Likewise.
42607 * manual/examples/execinfo.c: Likewise.
42608 * manual/examples/filecli.c: Likewise.
42609 * manual/examples/filesrv.c: Likewise.
42610 * manual/examples/fmtmsgexpl.c: Likewise.
42611 * manual/examples/genpass.c: Likewise.
42612 * manual/examples/inetcli.c: Likewise.
42613 * manual/examples/inetsrv.c: Likewise.
42614 * manual/examples/isockad.c: Likewise.
42615 * manual/examples/longopt.c: Likewise.
42616 * manual/examples/memopen.c: Likewise.
42617 * manual/examples/memstrm.c: Likewise.
42618 * manual/examples/mkfsock.c: Likewise.
42619 * manual/examples/mkisock.c: Likewise.
42620 * manual/examples/mygetpass.c: Likewise.
42621 * manual/examples/pipe.c: Likewise.
42622 * manual/examples/popen.c: Likewise.
42623 * manual/examples/rprintf.c: Likewise.
42624 * manual/examples/search.c: Likewise.
42625 * manual/examples/select.c: Likewise.
42626 * manual/examples/setjmp.c: Likewise.
42627 * manual/examples/sigh1.c: Likewise.
42628 * manual/examples/sigusr.c: Likewise.
42629 * manual/examples/stpcpy.c: Likewise.
42630 * manual/examples/strdupa.c: Likewise.
42631 * manual/examples/strftim.c: Likewise.
42632 * manual/examples/strncat.c: Likewise.
42633 * manual/examples/subopt.c: Likewise.
42634 * manual/examples/swapcontext.c: Likewise.
42635 * manual/examples/termios.c: Likewise.
42636 * manual/examples/testopt.c: Likewise.
42637 * manual/examples/testpass.c: Likewise.
42638 * manual/examples/timeval_subtract.c: Likewise.
42641 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42643 * manual/timeval_subtract.c.texi: ... here, new file.
42645 2012-03-02 David S. Miller <davem@davemloft.net>
42647 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42649 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42652 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42653 (__sin): Save and restore rounding mode and use round-to-nearest
42654 for all computations.
42655 (__cos): Save and restore rounding mode and use round-to-nearest
42656 for all computations.
42657 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42659 (tan): Save and restore rounding mode and use round-to-nearest for
42661 * math/libm-test.inc (cos_test_tonearest): New function.
42662 (cos_test_towardzero): Likewise.
42663 (cos_test_downward): Likewise.
42664 (cos_test_upward): Likewise.
42665 (sin_test_tonearest): Likewise.
42666 (sin_test_towardzero): Likewise.
42667 (sin_test_downward): Likewise.
42668 (sin_test_upward): Likewise.
42669 (tan_test_tonearest): Likewise.
42670 (tan_test_towardzero): Likewise.
42671 (tan_test_downward): Likewise.
42672 (tan_test_upward): Likewise.
42673 (main): Call the new functions.
42674 * sysdeps/i386/fpu/libm-test-ulps: Update.
42675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42678 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42679 small n, then large n, before computing and testing k+n.
42680 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42683 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42685 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42686 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42691 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42692 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42693 * math/libm-test.inc (scalbn_test): Add more tests.
42694 (scalbln_test): Likewise.
42696 * manual/filesys.texi (mode_t): Describe constraints on size and
42697 signedness, not exact equivalence to a particular type.
42699 (ino64_t): Likewise.
42701 (nlink_t): Likewise.
42702 (blkcnt_t): Likewise.
42703 (blkcnt64_t): Likewise.
42704 * manual/llio.texi (off_t): Likewise.
42707 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42708 (__ieee754_exp): Save and restore rounding mode and use
42709 round-to-nearest for all computations.
42710 * math/libm-test.inc (exp_test_tonearest): New function.
42711 (exp_test_towardzero): Likewise.
42712 (exp_test_downward): Likewise.
42713 (exp_test_upward): Likewise.
42714 (main): Call the new functions.
42715 * sysdeps/i386/fpu/libm-test-ulps: Update.
42716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42718 2012-03-01 Chris Demetriou <cgd@google.com>
42720 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42721 have predictable order.
42723 2012-03-01 David S. Miller <davem@davemloft.net>
42725 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42727 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42728 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42729 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42730 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42732 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42733 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42734 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42736 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42737 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42738 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42739 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42740 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42745 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42746 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42748 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42749 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42750 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42751 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42752 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42755 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42756 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42757 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42758 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42759 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42761 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42764 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42765 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42766 * sysdeps/sparc/elf/configure: Regenerated.
42768 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42770 * configure.in (AS, LD): Require binutils 2.20 or later.
42771 * configure: Regenerated.
42772 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42773 as required minimum version.
42774 * INSTALL: Regenerated.
42778 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42779 before squaring exponent.
42780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42781 bottom long double and 27 bits of top long double before squaring
42783 * math/libm-test.inc (erfc_test): Add more tests.
42784 * sysdeps/i386/fpu/libm-test-ulps: Update.
42785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42788 2012-03-01 Kai Tietz <ktietz@redhat.com>
42790 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42791 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42792 containing bit-fields.
42793 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42794 * soft-fp/single.h (_FP_UNION_S): Likewise.
42795 * soft-fp/double.h (_FP_UNION_D): Likewise.
42797 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42800 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42801 not include ../strcmp.S.
42802 [USE_AS_STRNCASECMP_L]: Likewise.
42803 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42804 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42805 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42806 (__strncasecmp_l_ia32): Define as alias to
42807 __strncasecmp_l_nonascii.
42810 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42811 * sysdeps/i386/fpu/libm-test-ulps: Update.
42812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42814 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42817 2012-02-29 Jeff Law <law@redhat.com>
42819 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42820 out of bounds read.
42822 2012-02-29 Marek Polacek <polacek@redhat.com>
42825 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42826 * elf/Makefile: Add rules to run tst-unused-dep.out.
42828 2012-02-28 David S. Miller <davem@davemloft.net>
42830 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42831 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42837 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42839 * math/libm-test.inc (llround_test): Move one test from
42840 lround_test. Use TEST_f_L in moved test.
42841 (lround_test): Move misplaced test to llround_test. Add testcase
42844 2012-02-28 Ulrich Drepper <drepper@gmail.com>
42846 * sysdeps/x86_64/fpu/e_expf.S: New file.
42847 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42849 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42852 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42853 of remain_len that may cause incomplete multi-byte character and
42855 * posix/bug-regex33.c: New file.
42856 * posix/Makefile (tests): Add bug-regex33.
42858 2012-02-28 Joseph Myers <joseph@codesourcery.com>
42860 * manual/macros.texi: New file.
42861 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42862 * manual/libc.texinfo: Include macros.texi.
42863 * manual/creatute.texi: Likewise.
42864 * manual/install.texi: Likewise.
42865 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42866 @glibcadj{} in references to the GNU C Library.
42867 * manual/charset.texi: Likewise.
42868 * manual/conf.texi: Likewise.
42869 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42870 when not using those macros.
42871 * manual/creature.texi: Likewise.
42872 * manual/crypt.texi: Likewise.
42873 * manual/errno.texi: Likewise.
42874 * manual/filesys.texi: Likewise.
42875 * manual/header.texi: Likewise.
42876 * manual/install.texi: Likewise.
42877 * manual/intro.texi: Likewise.
42878 * manual/io.texi: Likewise.
42879 * manual/job.texi: Likewise.
42880 * manual/lang.texi: Likewise.
42881 * manual/libc.texiinfo: Likewise.
42882 * manual/llio.texi: Likewise.
42883 * manual/locale.texi: Likewise.
42884 * manual/maint.texi: Likewise.
42885 * manual/math.texi: Likewise.
42886 * manual/memory.texi: Likewise.
42887 * manual/message.texi: Likewise.
42888 * manual/nss.texi: Likewise.
42889 * manual/pattern.texi: Likewise.
42890 * manual/process.texi: Likewise.
42891 * manual/resource.texi: Likewise.
42892 * manual/search.texi: Likewise.
42893 * manual/setjmp.texi: Likewise.
42894 * manual/signal.texi: Likewise.
42895 * manual/socket.texi: Likewise.
42896 * manual/startup.texi: Likewise.
42897 * manual/stdio.texi: Likewise.
42898 * manual/string.texi: Likewise.
42899 * manual/sysinfo.texi: Likewise.
42900 * manual/syslog.texi: Likewise.
42901 * manual/terminal.texi: Likewise.
42902 * manual/time.texi: Likewise.
42903 * manual/users.texi: Likewise.
42904 * INSTALL: Regenerated.
42905 * NOTES: Regenerated.
42906 * sysdeps/gnu/errlist.c: Regenerated.
42908 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42910 * include/dirent.h: Include <dirstream.h> before
42913 2012-02-28 David S. Miller <davem@davemloft.net>
42915 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42916 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42917 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42918 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42920 2012-02-27 David S. Miller <davem@davemloft.net>
42922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42924 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42925 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42928 frame pointer instead of stack pointer relative arg slot.
42929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42933 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42936 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42938 2012-02-27 David S. Miller <davem@davemloft.net>
42940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42946 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42949 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42951 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42952 later. Allow versions 5-9.
42953 * configure: Regenerated.
42954 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42955 required minimum version and 4.6 as recommended version. Do not
42956 mention bugs in GCC 2.7 and 2.8.
42957 * INSTALL: Regenerated.
42959 2012-02-27 David S. Miller <davem@davemloft.net>
42961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42967 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42970 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42971 manipulate bits before adding and subtracting TWO112[sx].
42972 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42974 2012-02-27 Roland McGrath <roland@hack.frob.com>
42977 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42978 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42979 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42980 being in POSIX, because they are in 1003.1-2008.
42982 * rt/tst-aio.c: Include <fcntl.h>.
42983 * rt/tst-aio7.c: Likewise.
42984 * rt/tst-aio64.c: Likewise.
42986 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42988 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42990 * manual/install.texi (--with-headers): Describe headers as
42991 interface headers, not private headers.
42992 (Specific advice for GNU/Linux systems): Describe use of headers
42993 from "make headers_install", not private headers from older
42995 * INSTALL: Regenerated.
42996 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42998 * sysdeps/unix/sysv/linux/configure: Regenerated.
43000 * manual/llio.texi (fclean): Remove documentation.
43002 * manual/Makefile (libc-texi-generated): New variable. Include
43004 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43005 $(libc-texi-generated), not duplicated list of files.
43006 (version.texi, stamp-version): New rules.
43007 (realclean): Remove $(libc-texi-generated), not individual files
43008 from that list. Do not remove dir-add.texinfo.
43009 * manual/libc.texinfo: Comment out uses of edition numbers and
43010 references to printed manual. Remove last-updated dates.
43011 (EDITION): Comment out.
43013 (VERSION, UPDATED): Remove.
43014 (version.texi): Include.
43016 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43018 * sysdeps/posix/spawni.c: Include <signal.h>.
43019 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43020 * sysdeps/pthread/aio_fsync.c: Likewise.
43022 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43024 * conform/Makefile (tests): Run only when not cross-compiling and
43025 when fast-check is not defined.
43027 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43028 * conform/data/limits.h-data: Fixes for POSIX2008.
43029 * conform/run-conformtest.sh: Run all tests.
43030 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43032 * include/bits/dlfcn.h: Likewise.
43033 * include/langinfo.h: Likewise.
43034 * include/monetary.h: Likewise.
43035 * include/sys/poll.h: Likewise.
43037 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43039 * posix/spawn.h: Define __need_sigset_t.
43040 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43041 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43042 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43043 to get sigevent_t only.
43044 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43045 only for __USE_GNU.
43046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43047 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43048 process_vm_writev only for __USE_GNU.
43049 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43051 * conform/Makefile: For now ignore errors from run-conformtest.
43052 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43053 POSIX to avoid namespace pollution. Don't prepend headers.
43054 * conform/data/aio.h-data: Fixes for POSIX testing.
43055 * conform/data/fcntl.h-data: Likewise.
43056 * conform/data/glob.h-data: Likewise.
43057 * conform/data/grp.h-data: Likewise.
43058 * conform/data/pthread.h-data: Likewise.
43059 * conform/data/pwd.h-data: Likewise.
43060 * conform/data/signal.h-data: Likewise.
43061 * conform/data/spawn.h-data: Likewise.
43062 * conform/data/stdio.h-data: Likewise.
43063 * conform/data/stdlib.h-data: Likewise.
43064 * conform/data/stropts.h-data: Likewise.
43065 * conform/data/sys/mman.h-data: Likewise.
43066 * conform/data/sys/stat.h-data: Likewise.
43067 * conform/data/sys/types.h-data: Likewise.
43068 * conform/data/sys/wait.h-data: Likewise.
43069 * conform/data/time.h-data: Likewise.
43070 * conform/data/unistd.h-data: Likewise.
43071 * conform/data/utime.h-data: Likewise.
43073 * io/sys/stat.h: fchmod was always in POSIX.
43074 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43075 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43076 * rt/aio.h: Define __need_timespec before including <time.h>.
43077 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43078 struct. Add forward declaration of pthread_attr_t and use it in
43080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43082 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43083 always remove CLK_TCK definition.
43085 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43087 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43089 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43091 * conform/run-conformtest.sh: New file.
43092 * conform/Makefile: Run run-conformtest for tests.
43093 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43096 * conform/data/uchar.h-data: New file.
43097 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43098 * conform/data/arpa/inet.h-data: Likewise.
43099 * conform/data/assert.h-data: Likewise.
43100 * conform/data/complex.h-data: Likewise.
43101 * conform/data/cpio.h-data: Likewise.
43102 * conform/data/ctype.h-data: Likewise.
43103 * conform/data/dirent.h-data: Likewise.
43104 * conform/data/dlfcn.h-data: Likewise.
43105 * conform/data/errno.h-data: Likewise.
43106 * conform/data/fcntl.h-data: Likewise.
43107 * conform/data/float.h-data: Likewise.
43108 * conform/data/fmtmsg.h-data: Likewise.
43109 * conform/data/fnmatch.h-data: Likewise.
43110 * conform/data/ftw.h-data: Likewise.
43111 * conform/data/glob.h-data: Likewise.
43112 * conform/data/grp.h-data: Likewise.
43113 * conform/data/iconv.h-data: Likewise.
43114 * conform/data/inttypes.h-data: Likewise.
43115 * conform/data/langinfo.h-data: Likewise.
43116 * conform/data/libgen.h-data: Likewise.
43117 * conform/data/limits.h-data: Likewise.
43118 * conform/data/locale.h-data: Likewise.
43119 * conform/data/math.h-data: Likewise.
43120 * conform/data/monetary.h-data: Likewise.
43121 * conform/data/mqueue.h-data: Likewise.
43122 * conform/data/ndbm.h-data: Likewise.
43123 * conform/data/net/if.h-data: Likewise.
43124 * conform/data/netdb.h-data: Likewise.
43125 * conform/data/netinet/in.h-data: Likewise.
43126 * conform/data/nl_types.h-data: Likewise.
43127 * conform/data/poll.h-data: Likewise.
43128 * conform/data/pthread.h-data: Likewise.
43129 * conform/data/pwd.h-data: Likewise.
43130 * conform/data/regex.h-data: Likewise.
43131 * conform/data/sched.h-data: Likewise.
43132 * conform/data/search.h-data: Likewise.
43133 * conform/data/semaphore.h-data: Likewise.
43134 * conform/data/setjmp.h-data: Likewise.
43135 * conform/data/signal.h-data: Likewise.
43136 * conform/data/spawn.h-data: Likewise.
43137 * conform/data/stdarg.h-data: Likewise.
43138 * conform/data/stdio.h-data: Likewise.
43139 * conform/data/stdlib.h-data: Likewise.
43140 * conform/data/string.h-data: Likewise.
43141 * conform/data/strings.h-data: Likewise.
43142 * conform/data/stropts.h-data: Likewise.
43143 * conform/data/sys/ipc.h-data: Likewise.
43144 * conform/data/sys/mman.h-data: Likewise.
43145 * conform/data/sys/msg.h-data: Likewise.
43146 * conform/data/sys/resource.h-data: Likewise.
43147 * conform/data/sys/select.h-data: Likewise.
43148 * conform/data/sys/sem.h-data: Likewise.
43149 * conform/data/sys/shm.h-data: Likewise.
43150 * conform/data/sys/socket.h-data: Likewise.
43151 * conform/data/sys/stat.h-data: Likewise.
43152 * conform/data/sys/statvfs.h-data: Likewise.
43153 * conform/data/sys/time.h-data: Likewise.
43154 * conform/data/sys/timeb.h-data: Likewise.
43155 * conform/data/sys/times.h-data: Likewise.
43156 * conform/data/sys/types.h-data: Likewise.
43157 * conform/data/sys/uio.h-data: Likewise.
43158 * conform/data/sys/un.h-data: Likewise.
43159 * conform/data/sys/utsname.h-data: Likewise.
43160 * conform/data/sys/wait.h-data: Likewise.
43161 * conform/data/syslog.h-data: Likewise.
43162 * conform/data/tar.h-data: Likewise.
43163 * conform/data/termios.h-data: Likewise.
43164 * conform/data/utime.h-data: Likewise.
43165 * conform/data/utmpx.h-data: Likewise.
43166 * conform/data/varargs.h-data: Likewise.
43167 * conform/data/wchar.h-data: Likewise.
43168 * conform/data/wctype.h-data: Likewise.
43169 * conform/data/wordexp.h-data: Likewise.
43171 * include/stropts.h: New file.
43172 * include/uchar.h: New file.
43173 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43174 * include/assert.h: Likewise.
43175 * include/ctype.h: Likewise.
43176 * include/dirent.h: Likewise.
43177 * include/dlfcn.h: Likewise.
43178 * include/fcntl.h: Likewise.
43179 * include/fnmatch.h: Likewise.
43180 * include/glob.h: Likewise.
43181 * include/grp.h: Likewise.
43182 * include/libio.h: Likewise.
43183 * include/locale.h: Likewise.
43184 * include/math.h: Likewise.
43185 * include/net/if.h: Likewise.
43186 * include/netdb.h: Likewise.
43187 * include/netinet/in.h: Likewise.
43188 * include/pthread.h: Likewise.
43189 * include/pwd.h: Likewise.
43190 * include/regex.h: Likewise.
43191 * include/sched.h: Likewise.
43192 * include/search.h: Likewise.
43193 * include/setjmp.h: Likewise.
43194 * include/signal.h: Likewise.
43195 * include/stdio.h: Likewise.
43196 * include/stdlib.h: Likewise.
43197 * include/string.h: Likewise.
43198 * include/sys/cdefs.h: Likewise.
43199 * include/sys/mman.h: Likewise.
43200 * include/sys/msg.h: Likewise.
43201 * include/sys/resource.h: Likewise.
43202 * include/sys/select.h: Likewise.
43203 * include/sys/socket.h: Likewise.
43204 * include/sys/stat.h: Likewise.
43205 * include/sys/statvfs.h: Likewise.
43206 * include/sys/time.h: Likewise.
43207 * include/sys/times.h: Likewise.
43208 * include/sys/uio.h: Likewise.
43209 * include/sys/utsname.h: Likewise.
43210 * include/sys/wait.h: Likewise.
43211 * include/termios.h: Likewise.
43212 * include/time.h: Likewise.
43213 * include/ulimit.h: Likewise.
43214 * include/unistd.h: Likewise.
43215 * include/utime.h: Likewise.
43216 * include/wchar.h: Likewise.
43217 * include/wctype.h: Likewise.
43218 * include/wordexp.h: Likewise.
43220 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43222 * time/time.h: TIME_UTC must be a macro.
43223 Make timespec_get available for ISO C11 only as well.
43225 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43227 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43228 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43230 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43232 * configure.in: Use -o not -a in test for unsupported multi-arch.
43234 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43236 * manual/texinfo.tex: Update to version 2012-01-19.16.
43238 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43240 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43242 2012-02-24 Roland McGrath <roland@hack.frob.com>
43245 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43246 * manual/fdl-1.3.texi: New file.
43247 * manual/fdl-1.1.texi: File removed.
43250 * manual/libc.texinfo (FDL_VERSION): New @set.
43251 Use it for mention of FDL in cover text.
43252 (Documentation License): Use it in @include file name.
43254 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43255 Roland McGrath <roland@hack.frob.com>
43258 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43259 (not LONG_LONG_MAX and LONG_LONG_MIN.
43260 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43261 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43263 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43265 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43269 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43270 manipulate bits before adding and subtracting TWO23[sx].
43271 * math/libm-test.inc (nearbyint_test): Add more tests.
43273 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43276 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43277 bits before adding and subtracting TWO23[sx].
43278 * math/libm-test.inc (rint_test): Add more tests.
43279 (rint_test_tonearest): Likewise.
43280 (rint_test_towardzero): Likewise.
43281 (rint_test_downward): Likewise.
43282 (rint_test_upward: Likewise.
43284 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43287 * include/stdc-predef.h: New file. Extracted from features.h.
43288 * include/features.h: Include stdc-predef.h.
43289 * Makefile (headers): Add stdc-predef.h.
43290 * CONFORMANCE (Compiler limitations): Update.
43292 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43294 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43296 2012-02-21 David S. Miller <davem@davemloft.net>
43298 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43301 2012-02-20 David S. Miller <davem@davemloft.net>
43303 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43304 using a normal save/restore sequence, rather than allocating a
43305 dummy stack frame just to store a frame pointer and restore.
43306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43308 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43310 * manual/install.texi: Fix stray word in line-wrapped comment.
43312 2012-02-20 David S. Miller <davem@davemloft.net>
43314 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43315 both binutils and gcc support GOTDATA.
43317 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43318 "rd %pc" in the PIC register setup sequences.
43320 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43321 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43322 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43323 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43329 (SYSCALL_ERROR_HANDLER): Likewise.
43330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43333 (SYSCALL_ERROR_HANDLER): Likewise.
43335 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43336 (HAVE_GCC_GOTDATA): New.
43337 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43338 relocation support in both binutils and gcc.
43339 * sysdeps/sparc/elf/configure: Regenerate.
43341 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43342 * sysdeps/sparc/sparc32/elf/configure: Delete.
43343 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43344 * sysdeps/sparc/sparc64/elf/configure: Delete.
43345 * sysdeps/sparc/elf/configure.in: New file.
43346 * sysdeps/sparc/elf/configure: Generate.
43348 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43349 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43350 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43351 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43352 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43354 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43356 * manual/install.texi: Do not mention specific glibc version
43358 * manual/libc.texinfo (VERSION, UPDATED): Update.
43359 (@copying): Use @copyright{} and range of years.
43361 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43364 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43365 [crti.S not in sysdirs] (generated): Do not append.
43366 [crti.S not in sysdirs] (omit-deps): Likewise.
43367 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43368 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43369 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43370 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43371 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43373 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43374 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43375 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43376 * csu/defs.awk: Remove file.
43377 * sysdeps/generic/initfini.c: Likewise.
43378 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43380 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43383 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43385 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43386 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43387 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43389 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43390 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43392 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43393 (__EPOLL_PACKED): Define to empty if not defined by
43395 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43399 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43401 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43402 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43403 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43404 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43406 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43410 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43412 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43415 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43419 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43424 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43426 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43427 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43429 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43431 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43434 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43436 * math/w_acos.c: Use non-signaling floating-point comparisons.
43437 * math/w_acosf.c: Likewise.
43438 * math/w_acosh.c: Likewise.
43439 * math/w_acoshf.c: Likewise.
43440 * math/w_acoshl.c: Likewise.
43441 * math/w_acosl.c: Likewise.
43442 * math/w_asin.c: Likewise.
43443 * math/w_asinf.c: Likewise.
43444 * math/w_asinl.c: Likewise.
43445 * math/w_atanh.c: Likewise.
43446 * math/w_atanhf.c: Likewise.
43447 * math/w_atanhl.c: Likewise.
43448 * math/w_exp2.c: Likewise.
43449 * math/w_exp2f.c: Likewise.
43450 * math/w_exp2l.c: Likewise.
43451 * math/w_j0.c: Likewise.
43452 * math/w_j0f.c: Likewise.
43453 * math/w_j0l.c: Likewise.
43454 * math/w_j1.c: Likewise.
43455 * math/w_j1f.c: Likewise.
43456 * math/w_j1l.c: Likewise.
43457 * math/w_jn.c: Likewise.
43458 * math/w_jnf.c: Likewise.
43459 * math/w_log.c: Likewise.
43460 * math/w_log10.c: Likewise.
43461 * math/w_log10f.c: Likewise.
43462 * math/w_log10l.c: Likewise.
43463 * math/w_log2.c: Likewise.
43464 * math/w_log2f.c: Likewise.
43465 * math/w_log2l.c: Likewise.
43466 * math/w_logf.c: Likewise.
43467 * math/w_logl.c: Likewise.
43468 * math/w_sqrt.c: Likewise.
43469 * math/w_sqrtf.c: Likewise.
43470 * math/w_sqrtl.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43473 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43474 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43475 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43477 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43480 * manual/string.texi (strnlen): Use correct parameter name in
43481 equivalent expression.
43483 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43486 * manual/users.texi (seteuid): Consistently use neweuid for
43489 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43492 * manual/nss.texi (Services in the NSS configuration): Correct
43493 list of services in example configuration file.
43495 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43498 * manual/arith.texi: Remove statements about negative zero
43499 behaving identically to zero.
43501 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43504 * manual/install.texi: Do not document upgrading from libc5.
43506 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43509 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43511 2012-02-18 David S. Miller <davem@davemloft.net>
43513 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43514 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43515 %o7 across the call.
43516 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43519 SETUP_PIC_REG_LEAF.
43520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43521 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43522 * sysdeps/sparc/crtn.S: Likewise.
43524 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43526 * aout/Makefile: Remove.
43528 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43531 * manual/examples/argp-ex1.c (main): Format definition in GNU
43533 * manual/examples/argp-ex2.c (main): Likewise.
43534 * manual/examples/argp-ex3.c (main): Likewise.
43535 * manual/examples/argp-ex4.c (main): Likewise.
43536 * manual/examples/longopt.c (main): Use new-style prototype
43538 * manual/examples/strncat.c (main): Specify return type and use
43539 (void) for arguments.
43540 * manual/examples/subopt.c (main): Use char **argv argument.
43542 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43545 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43548 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43551 * manual/string.texi (strchr): Change when strchrnul is
43554 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43557 * manual/locale.texi (setlocale): Document LOCPATH.
43559 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43562 * manual/process.texi (execle): Move @dots{} before last argument.
43564 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43567 * manual/charset.texi (Generic Charset Conversion): Fix typo
43568 (LC_TYPE -> LC_CTYPE).
43570 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43573 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43574 (scalbnf): Likewise.
43575 (scalbnl): Likewise.
43576 (scalbln): Likewise.
43577 (scalblnf): Likewise.
43578 (scalblnl): Likewise.
43579 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43580 (vwarnx): Likewise.
43583 * manual/filesys.texi (telldir): Use braces around return type.
43584 * manual/llio.texi (mmap): Add space after comma.
43585 (mmap64): Likewise.
43586 * manual/math.texi (jn): Use @var{} on parameter names.
43592 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43594 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43596 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43597 (sched_get_priority_max): Likewise.
43598 * manual/signal.texi (sigvec): Add space after comma.
43599 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43601 (if_indextoname): Likewise.
43602 (if_freenameindex): Likewise.
43603 (sendto): Use ',' instead of '.' in prototype.
43604 * manual/startup.texi (syscall): Use @dots{} instead of literal
43606 * manual/stdio.texi (__fpending): Separate initial words of
43607 paragraph from @deftypefun line.
43608 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43610 (vsyslog): Use @var{} on parameter names.
43611 * manual/terminal.texi (stty): Use @var{} on parameter names.
43612 * manual/users.texi (getutmp): Use @var{} on parameter names.
43613 (getutmpx): Likewise.
43615 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43618 * manual/stdio.texi (fopen): Fix typos in description of
43621 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43624 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43625 get clock_id definition.
43627 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43630 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43631 (madvise): Cast every argument to void on its own.
43633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43636 * manual/startup.texi (Exit Status): Fix typo.
43638 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43641 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43642 * manual/examples/argp-ex2.c: Likewise.
43643 * manual/examples/argp-ex3.c: Likewise.
43645 2012-02-16 Richard Henderson <rth@redhat.com>
43647 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43648 * sysdeps/s390/s390-32/initfini.c: Remove.
43649 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43650 * sysdeps/s390/s390-64/initfini.c: Remove.
43652 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43654 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43655 compiler output for sysdeps/generic/initfini.c.
43656 * sysdeps/sh/elf/initfini.c: Remove file.
43658 2012-02-16 David S. Miller <davem@davemloft.net>
43661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43663 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43664 * sysdeps/sparc/crti.S: New file.
43665 * sysdeps/sparc/crtn.S: New file.
43666 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43667 * sysdeps/sparc/sparc64/Makefile: Likewise.
43669 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43672 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43674 2012-02-15 Roland McGrath <roland@hack.frob.com>
43677 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43679 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43680 (write, read, close): Likewise.
43681 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43683 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43685 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43686 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43687 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43688 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43690 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43694 2012-02-14 Marek Polacek <polacek@redhat.com>
43696 * sysdeps/x86_64/crti.S: New file.
43697 * sysdeps/x86_64/crtn.S: New file.
43698 * sysdeps/x86_64/elf/initfini.c: Remove file.
43700 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43702 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43703 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43704 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43705 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43707 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43711 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43713 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43714 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43715 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43716 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43718 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43722 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43724 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43725 __feraiseexcept instead of feraiseexcept.
43727 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43728 nanosleep invocations.
43729 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43730 strings, and add error checking for a nanosleep invocations.
43732 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43734 Replace FSF snail mail address with URLs, as per GNU coding standards.
43735 Most of the snail mail addresses were wrong anyway, and omitting
43736 them makes the source code easier to maintain. Almost all of the
43737 changes are to license notices and to locale LC_IDENTIFICATION
43738 addresses, except for this one:
43739 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43740 not its snail mail address.
43742 2012-02-09 Richard Henderson <rth@twiddle.net>
43744 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43745 of kernel-features.h.
43747 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43749 2012-02-08 Marek Polacek <polacek@redhat.com>
43751 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43752 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43753 * sysdeps/gnu/_G_config.h: Likewise.
43754 * sysdeps/generic/_G_config.h: Likewise.
43756 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43758 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43762 * sysdeps/powerpc/powerpc32/crti.S: New file.
43763 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43764 * sysdeps/powerpc/powerpc64/crti.S: New file.
43765 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43767 * Makeconfig (have-initfini): Don't set.
43768 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43769 * configure.in (nopic_initfini): Don't substitute.
43770 * config.h.in (HAVE_INITFINI): Don't #undef.
43771 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43772 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43774 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43776 Support crti.S and crtn.S provided directly by architectures.
43777 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43778 [crti.S in sysdirs] (omit-deps): Likewise.
43779 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43780 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43781 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43782 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43783 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43784 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43785 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43786 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43787 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43788 compiler output for sysdeps/generic/initfini.c.
43789 * sysdeps/i386/elf/Makefile: Remove file.
43790 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43792 2012-02-07 Marek Polacek <polacek@redhat.com>
43794 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43795 * sysdeps/gnu/_G_config.h: Likewise.
43796 * sysdeps/mach/hurd/_G_config.h: Likewise.
43798 2012-02-07 Marek Polacek <polacek@redhat.com>
43800 * math/Makefile (tests): Add tst-CMPLX2.
43801 * math/tst-CMPLX2.c: New file.
43803 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43805 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43807 * math/libm-test.inc (jn_test): Add missing L suffix.
43809 2012-02-06 Marek Polacek <polacek@redhat.com>
43811 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43812 * sysdeps/i386/fpu/e_powf.S: Likewise.
43813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43814 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43815 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43816 * sysdeps/i386/fpu/e_pow.S: Likewise.
43817 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43818 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43819 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43820 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43821 * sysdeps/i386/fpu/e_log2.S: Likewise.
43822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43824 * sysdeps/i386/fpu/e_powl.S: Likewise.
43825 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43826 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43827 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43828 * sysdeps/i386/fpu/e_logl.S: Likewise.
43829 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43830 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43831 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43832 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43833 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43834 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43835 * sysdeps/i386/fpu/e_log.S: Likewise.
43836 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43837 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43838 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43839 * sysdeps/i386/fpu/e_logf.S: Likewise.
43840 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43841 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43842 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43843 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43844 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43845 * sysdeps/i386/fpu/e_log10.S: Likewise.
43846 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43847 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43848 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43849 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43850 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43851 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43852 * sysdeps/i386/asm-syntax.h: Likewise.
43853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43854 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43856 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43857 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43859 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43860 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43862 * sysdeps/powerpc/sysdep.h: Likewise.
43863 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43866 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43869 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43871 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43873 * sysdeps/i386/sysdep.h: Include <features.h>.
43874 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43877 2012-02-05 Joseph Myers <joseph@codesourcery.com>
43879 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43881 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43884 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43886 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43887 (SETUP_PIC_REG): Use GET_PC_THUNK.
43888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43891 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43894 for non-PIC compilation.
43895 (SETUP_PIC_REG): Add .p2align directive.
43896 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43897 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43898 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43899 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43900 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43901 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43902 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43904 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43905 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43906 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43907 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43908 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43909 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43910 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43911 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43912 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43913 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43914 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43915 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43917 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43918 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43919 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43924 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43925 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43926 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43928 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43929 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43930 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43931 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43932 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43933 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43934 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43935 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43936 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43938 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43940 * math/tst-CMPLX.c: Include <stdio.h>.
43942 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43944 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43946 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43947 * sysdeps/sparc/bits/mathdef.h: Likewise.
43949 2012-01-31 Marek Polacek <polacek@redhat.com>
43951 * libio/libio.h: Don't define _PARAMS.
43952 * locale/programs/config.h: Don't define PARAMS.
43953 * stdlib/strtol_l.c: Likewise.
43954 (__strtol_l): Remove PARAMS from the prototype.
43956 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43958 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43959 names. Just use the correct names. Remove unnecessary wrapper
43961 * malloc/arena.c: Likewise.
43962 * malloc/hooks.c: Likewise.
43964 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43965 ARENA_TEST says not to. Simplify test for creation of a new arena.
43966 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43968 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43970 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43972 (update_get_addr): New function.
43973 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43974 GET_ADDR_MODULE parameter.
43976 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43978 * crypt/cert.c: Remove __STDC__ conditionals.
43979 * crypt/crypt-entry.c: Likewise.
43980 * crypt/crypt_util.c: Likewise.
43981 * libio/filedoalloc.c: Likewise.
43982 * libio/fileops.c: Likewise.
43983 * libio/genops.c: Likewise.
43984 * libio/iofclose.c: Likewise.
43985 * libio/iofdopen.c: Likewise.
43986 * libio/iofopen.c: Likewise.
43987 * libio/iofopen64.c: Likewise.
43988 * libio/iogetdelim.c: Likewise.
43989 * libio/iopopen.c: Likewise.
43990 * libio/obprintf.c: Likewise.
43991 * libio/oldfileops.c: Likewise.
43992 * libio/oldiofclose.c: Likewise.
43993 * libio/oldiofdopen.c: Likewise.
43994 * libio/oldiofopen.c: Likewise.
43995 * libio/oldiopopen.c: Likewise.
43996 * libio/wfiledoalloc.c: Likewise.
43997 * libio/wgenops.c: Likewise.
43998 * locale/programs/xmalloc.c: Likewise.
43999 * misc/syslog.c: Likewise.
44000 * stdio-common/xbug.c: Likewise.
44001 * string/memchr.c: Likewise.
44002 * string/memcmp.c: Likewise.
44003 * string/memrchr.c: Likewise.
44004 * string/rawmemchr.c: Likewise.
44005 * sysdeps/posix/getcwd.c: Likewise.
44006 * time/strftime_l.c: Likewise.
44008 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44010 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44011 * config.make.in (config-cflags-sse2avx): Define.
44012 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44015 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44017 * scripts/config.guess: Update from upstream config git repository.
44018 * scripts/config.sub: Likewise.
44020 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44022 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44024 (R_TILEPRO_*, R_TILEGX_*): New macros.
44026 * scripts/firstversions.awk: Fix bug in version range handling.
44028 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44030 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44032 * include/sys/epoll.h: New file.
44033 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44036 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44038 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44039 Avoid unnecessary __WORDSIZE == 64 test.
44040 (fmaxf): Use VEX format if possible.
44045 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44046 * math/math_private.h: Remove libc_fegetround* and
44048 * sysdeps/i386/configure.in: Check for -msse2avx.
44049 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44050 also if SSE2AVX is defined.
44051 Remove libc_fegetround* and libc_fesetround*.
44052 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44053 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44056 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44057 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44058 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44059 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44062 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44064 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44066 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44068 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44070 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44073 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44075 * Makeconfig (libm): Define.
44076 * elf/Makefile: Add rules to build and run tst-relsort1.
44077 * elf/tst-relsort1.c: New file.
44078 * elf/tst-relsort1mod1.c: New file.
44079 * elf/tst-relsort1mod2.c: New file.
44081 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44083 * math/s_ldexp.c: Remove __STDC__ conditionals.
44084 * math/s_ldexpf.c: Likewise.
44085 * math/s_ldexpl.c: Likewise.
44086 * math/s_nextafter.c: Likewise.
44087 * math/s_nexttowardf.c: Likewise.
44088 * math/s_significand.c: Likewise.
44089 * math/s_significandf.c: Likewise.
44090 * math/s_significandl.c: Likewise.
44091 * math/w_jnl.c: Likewise.
44092 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44093 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44094 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44095 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44096 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44098 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44099 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44100 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44101 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44102 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44103 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44104 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44105 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44114 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44116 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44117 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44118 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44122 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44123 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44124 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44125 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44126 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44127 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44128 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44129 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44130 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44131 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44132 * sysdeps/ieee754/k_standard.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44187 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44191 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44194 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44197 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44198 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44199 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44202 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44204 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44207 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44208 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44209 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44212 * sysdeps/ieee754/s_matherr.c: Likewise.
44213 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44214 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44218 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44220 * crypt/md5.h: Remove __STDC__ conditionals.
44221 * libio/libioP.h: Likewise.
44222 * locale/programs/config.h: Likewise.
44223 * sysdeps/generic/sysdep.h: Likewise.
44224 * sysdeps/i386/asm-syntax.h: Likewise.
44225 * sysdeps/s390/asm-syntax.h: Likewise.
44226 * sysdeps/unix/sysdep.h: Likewise.
44227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44230 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44232 * libio/libio.h: Remove __STDC__ conditionals.
44233 * malloc/obstack.h: Likewise.
44234 * math/complex.h: Likewise.
44235 * math/math.h: Likewise.
44236 * sysdeps/generic/_G_config.h: Likewise.
44237 * sysdeps/gnu/_G_config.h: Likewise.
44238 * sysdeps/mach/hurd/_G_config.h: Likewise.
44239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44240 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44241 * sysdeps/sparc/bits/mathdef.h: Likewise.
44243 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44246 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44247 Clean up HAS_* macros.
44248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44249 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44254 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44255 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44257 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44259 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44261 * elf/tst-unique3.cc (gets): Remove declaration.
44262 * elf/tst-unique3lib.cc (gets): Likewise.
44263 * elf/tst-unique3lib2.cc (gets): Likewise.
44264 * elf/tst-unique4.cc (gets): Likewise.
44266 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44268 * include/stdio.h: Add C++ protection. Add gets declarations and
44270 * debug/tst-chk1.c: Don't declare gets here.
44271 * stdio-common/tst-gets.c: Likewise.
44273 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44275 * posix/glob: Remove directory.
44277 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44279 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44281 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44283 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44284 of the non-standard EPFNOSUPPORT.
44286 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44288 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44289 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44290 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44292 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44294 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44296 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44298 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44300 * nscd/grpcache.c (cache_addgr): Likewise.
44301 * nscd/hstcache.c (cache_addhst): Likewise.
44302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44303 * nscd/pwdcache.c (cache_addpw): Likewise.
44304 * nscd/servicescache.c (cache_addserv): Likewise.
44306 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44308 * malloc/malloc.c: Various cleanups.
44309 * malloc/hooks.c: Likewise.
44311 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44312 * stdlib/bug-fmtmsg1.c: New file.
44314 * stdlib/fmtmsg.c (init): Add missing unlock.
44315 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44317 2012-01-12 Marek Polacek <polacek@redhat.com>
44319 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44322 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44324 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44325 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44326 macro to ensure uniqueness of label name.
44327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44330 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44332 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44334 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44335 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44336 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44339 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44341 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44343 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44344 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44345 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44347 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44349 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44350 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44354 * math/bits/math-finite.h: Add ldexp support.
44356 2012-01-10 Marek Polacek <polacek@redhat.com>
44358 * locale/programs/localedef.h (show_archive_content): Add noreturn
44361 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44363 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44365 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44367 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44369 * io/Makefile (headers): Add bits/poll2.h.
44371 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44374 typo #include statement.
44376 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44378 * include/sys/cdefs.h: Define __attribute_alloc_size.
44379 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44380 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44381 * elf/pldd.c: Likewise.
44382 * iconv/iconv_charmap.c: Likewise.
44383 * iconv/iconvconfig.c: Likewise.
44384 * iconv/strtab.c: Likewise.
44385 * locale/programs/locale.c: Likewise.
44386 * locale/programs/localedef.h: Likewise.
44387 * locale/programs/simple-hash.c: Likewise.
44388 * nscd/nscd.h: Likewise.
44389 * nss/makedb.c: Likewise.
44390 * sysdeps/generic/ldconfig.h: Likewise.
44391 * locale/programs/localedef.c: Remove xmalloc prototype.
44392 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44394 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44396 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44399 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44401 * math/Makefile (tests): Add tst-CMPLX.
44402 * math/tst-CMPLX.c: New file.
44404 * math/complex.h (CMPLXL): Fix typo.
44406 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44407 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44409 * debug/tst-chk1.c: Add poll and ppoll tests.
44410 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44411 * include/sys/poll.h: Add hidden proto for ppoll.
44412 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44413 * sysdeps/mach/hurd/ppoll.c: Likewise.
44414 * io/ppoll.c: Likewise.
44415 * debug/poll_chk.c: New file.
44416 * debug/ppoll_chk.c: New file.
44417 * include/bits/poll2.h: New file.
44418 * io/bits/poll2.h: New file.
44421 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44423 * configure.in: static is always set to yes. Remove.
44424 * config.make.in: Don't set build-static.
44425 * Makeconfig: Remove use of build-static.
44426 * dlfcn/Makefile: Likewise.
44427 * elf/Makefile: Likewise.
44428 * math/Makefile: Likewise.
44429 * misc/Makefile: Likewise.
44430 * nptl/Makefile: Likewise.
44431 * sysdeps/mach/hurd/Makefile: Likewise.
44433 * configure.in: PWD_P is not used anymore.
44434 * config.make.in: Remove PWD_P entry.
44436 * configure.in: Remove last remnants of RANLIB.
44437 No need to check for signed size_t anymore.
44438 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44440 Remove __builtin_expect test because we require at least gcc 3.4.
44441 * aclocal.m4: Likewise.
44443 * wcsmbs/mbrtoc16.c: Implement using towc function.
44444 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44445 * wcsmbs/wcsmbsload.c: Likewise.
44446 * iconv/gconv_simple.c: Likewise.
44447 * iconv/gconv_int.h: Likewise.
44448 * iconv/gconv_builtin.h: Likewise.
44449 * iconv/iconv_prog.c: Remove CHAR16 handling.
44451 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44453 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44455 * configure.in: Remove --with-elf and --enable-bounded options.
44456 Dont set base_machine for ia64. More non-ELF conditions removed.
44457 Remove testing and setting of leading underscore information.
44458 * config.make.in (build-bounded): Set to no.
44459 * config.h.in: Remove NO_UNDERSCORES entry.
44460 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44462 * csu/start.c: Remove !NO_UNDERSCORE code.
44463 * locale/localeinfo.h: Likewise.
44464 * sysdeps/generic/machine-gmon.h: Likewise.
44465 * sysdeps/generic/sysdep.h: Likewise.
44466 * sysdeps/i386/sysdep.h: Likewise.
44467 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44468 * sysdeps/mach/sysdep.h: Likewise.
44469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44471 * sysdeps/sh/sysdep.h: Likewise.
44472 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44473 * sysdeps/unix/i386/sysdep.S: Likewise.
44474 * sysdeps/unix/sparc/start.c: Likewise.
44475 * sysdeps/unix/sparc/sysdep.S: Likewise.
44476 * sysdeps/unix/sparc/sysdep.h: Likewise.
44477 * sysdeps/unix/start.c: Likewise.
44478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44479 * sysdeps/x86_64/sysdep.h: Likewise.
44481 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44484 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44486 * argp/argp-fmtstream.h: Use const instead __const.
44487 * argp/argp.h: Likewise.
44488 * assert/assert.h: Likewise.
44489 * bits/fenv.h: Likewise.
44490 * bits/sched.h: Likewise.
44491 * bits/sigset.h: Likewise.
44492 * bits/sigthread.h: Likewise.
44493 * catgets/nl_types.h: Likewise.
44494 * conform/data/pthread.h-data: Likewise.
44495 * crypt/crypt-private.h: Likewise.
44496 * crypt/crypt.h: Likewise.
44497 * crypt/crypt_util.c: Likewise.
44498 * ctype/ctype.h: Likewise.
44499 * debug/execinfo.h: Likewise.
44500 * debug/mbsnrtowcs_chk.c: Likewise.
44501 * debug/mbsrtowcs_chk.c: Likewise.
44502 * debug/wcsnrtombs_chk.c: Likewise.
44503 * debug/wcsrtombs_chk.c: Likewise.
44504 * debug/wcstombs_chk.c: Likewise.
44505 * dirent/dirent.h: Likewise.
44506 * dlfcn/dlfcn.h: Likewise.
44507 * elf/neededtest4.c: Likewise.
44508 * grp/grp.h: Likewise.
44509 * gshadow/gshadow.h: Likewise.
44510 * iconv/gconv.h: Likewise.
44511 * iconv/gconv_int.h: Likewise.
44512 * iconv/gconv_simple.c: Likewise.
44513 * iconv/iconv.h: Likewise.
44514 * iconv/loop.c: Likewise.
44515 * iconv/skeleton.c: Likewise.
44516 * include/aio.h: Likewise.
44517 * include/aliases.h: Likewise.
44518 * include/argz.h: Likewise.
44519 * include/arpa/inet.h: Likewise.
44520 * include/assert.h: Likewise.
44521 * include/dirent.h: Likewise.
44522 * include/dlfcn.h: Likewise.
44523 * include/execinfo.h: Likewise.
44524 * include/fcntl.h: Likewise.
44525 * include/fenv.h: Likewise.
44526 * include/glob.h: Likewise.
44527 * include/grp.h: Likewise.
44528 * include/libintl.h: Likewise.
44529 * include/mntent.h: Likewise.
44530 * include/netdb.h: Likewise.
44531 * include/pwd.h: Likewise.
44532 * include/rpc/netdb.h: Likewise.
44533 * include/sched.h: Likewise.
44534 * include/search.h: Likewise.
44535 * include/shadow.h: Likewise.
44536 * include/signal.h: Likewise.
44537 * include/stdio.h: Likewise.
44538 * include/stdlib.h: Likewise.
44539 * include/string.h: Likewise.
44540 * include/sys/socket.h: Likewise.
44541 * include/sys/stat.h: Likewise.
44542 * include/sys/statfs.h: Likewise.
44543 * include/sys/statvfs.h: Likewise.
44544 * include/sys/syslog.h: Likewise.
44545 * include/sys/time.h: Likewise.
44546 * include/sys/uio.h: Likewise.
44547 * include/time.h: Likewise.
44548 * include/unistd.h: Likewise.
44549 * include/utmp.h: Likewise.
44550 * include/wchar.h: Likewise.
44551 * include/wctype.h: Likewise.
44552 * inet/aliases.h: Likewise.
44553 * inet/arpa/inet.h: Likewise.
44554 * inet/netinet/ether.h: Likewise.
44555 * inet/netinet/in.h: Likewise.
44556 * intl/libintl.h: Likewise.
44557 * io/bits/fcntl2.h: Likewise.
44558 * io/fcntl.h: Likewise.
44559 * io/ftw.h: Likewise.
44560 * io/sys/poll.h: Likewise.
44561 * io/sys/stat.h: Likewise.
44562 * io/sys/statfs.h: Likewise.
44563 * io/sys/statvfs.h: Likewise.
44564 * io/utime.h: Likewise.
44565 * libio/bits/stdio.h: Likewise.
44566 * libio/bits/stdio2.h: Likewise.
44567 * libio/libio.h: Likewise.
44568 * libio/libioP.h: Likewise.
44569 * libio/stdio.h: Likewise.
44570 * locale/lc-ctype.c: Likewise.
44571 * locale/locale.h: Likewise.
44572 * login/utmp.h: Likewise.
44573 * malloc/arena.c: Likewise.
44574 * malloc/malloc.c: Likewise.
44575 * malloc/malloc.h: Likewise.
44576 * malloc/mcheck.c: Likewise.
44577 * malloc/mtrace.c: Likewise.
44578 * math/bits/mathcalls.h: Likewise.
44579 * math/fenv.h: Likewise.
44580 * math/math_private.h: Likewise.
44581 * misc/bits/error.h: Likewise.
44582 * misc/bits/syslog.h: Likewise.
44583 * misc/err.h: Likewise.
44584 * misc/error.h: Likewise.
44585 * misc/fstab.h: Likewise.
44586 * misc/mntent.h: Likewise.
44587 * misc/regexp.h: Likewise.
44588 * misc/search.h: Likewise.
44589 * misc/sgtty.h: Likewise.
44590 * misc/sys/mman.h: Likewise.
44591 * misc/sys/syslog.h: Likewise.
44592 * misc/sys/uio.h: Likewise.
44593 * misc/sys/xattr.h: Likewise.
44594 * misc/ttyent.h: Likewise.
44595 * nis/rpcsvc/ypclnt.h: Likewise.
44596 * nss/nss.h: Likewise.
44597 * posix/bits/unistd.h: Likewise.
44598 * posix/fnmatch.h: Likewise.
44599 * posix/glob.h: Likewise.
44600 * posix/sched.h: Likewise.
44601 * posix/spawn.h: Likewise.
44602 * posix/sys/wait.h: Likewise.
44603 * posix/unistd.h: Likewise.
44604 * posix/wordexp.h: Likewise.
44605 * pwd/pwd.h: Likewise.
44606 * resolv/netdb.h: Likewise.
44607 * resource/sys/resource.h: Likewise.
44608 * rt/aio.h: Likewise.
44609 * rt/bits/mqueue2.h: Likewise.
44610 * rt/mqueue.h: Likewise.
44611 * shadow/shadow.h: Likewise.
44612 * signal/signal.h: Likewise.
44613 * socket/send.c: Likewise.
44614 * socket/sendto.c: Likewise.
44615 * socket/sys/socket.h: Likewise.
44616 * stdio-common/printf.h: Likewise.
44617 * stdlib/bits/stdlib.h: Likewise.
44618 * stdlib/fmtmsg.h: Likewise.
44619 * stdlib/monetary.h: Likewise.
44620 * stdlib/stdlib.h: Likewise.
44621 * stdlib/ucontext.h: Likewise.
44622 * streams/stropts.h: Likewise.
44623 * string/argz.h: Likewise.
44624 * string/bits/string2.h: Likewise.
44625 * string/string.h: Likewise.
44626 * string/strings.h: Likewise.
44627 * sunrpc/rpc/auth.h: Likewise.
44628 * sunrpc/rpc/auth_des.h: Likewise.
44629 * sunrpc/rpc/clnt.h: Likewise.
44630 * sunrpc/rpc/netdb.h: Likewise.
44631 * sunrpc/rpc/pmap_clnt.h: Likewise.
44632 * sunrpc/rpc/xdr.h: Likewise.
44633 * sysdeps/generic/inttypes.h: Likewise.
44634 * sysdeps/generic/net/if.h: Likewise.
44635 * sysdeps/generic/sys/swap.h: Likewise.
44636 * sysdeps/gnu/net/if.h: Likewise.
44637 * sysdeps/gnu/utmpx.h: Likewise.
44638 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44639 * sysdeps/i386/i486/bits/string.h: Likewise.
44640 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44641 * sysdeps/s390/bits/string.h: Likewise.
44642 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44643 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44644 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44645 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44646 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44647 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44648 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44649 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44650 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44651 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44652 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44653 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44654 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44655 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44656 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44657 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44658 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44660 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44661 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44663 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44664 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44665 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44666 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44667 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44668 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44669 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44670 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44671 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44672 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44673 * sysvipc/sys/ipc.h: Likewise.
44674 * sysvipc/sys/msg.h: Likewise.
44675 * sysvipc/sys/sem.h: Likewise.
44676 * sysvipc/sys/shm.h: Likewise.
44677 * termios/termios.h: Likewise.
44678 * time/sys/time.h: Likewise.
44679 * time/time.h: Likewise.
44680 * wcsmbs/bits/wchar2.h: Likewise.
44681 * wcsmbs/uchar.h: Likewise.
44682 * wcsmbs/wchar.h: Likewise.
44683 * wctype/wctype.h: Likewise.
44686 * Makeconfig: Remove all but ELF support including AIX support.
44687 * Makerules: Likewise.
44688 * config.h.in: Likewise.
44689 * config.make.in: Likewise.
44690 * configure: Likewise.
44691 * configure.in: Likewise.
44692 * csu/Makefile: Likewise.
44693 * csu/version.c: Likewise.
44694 * debug/Makefile: Likewise.
44695 * dlfcn/Makefile: Likewise.
44696 * elf/Makefile: Likewise.
44697 * extra-lib.mk: Likewise.
44698 * iconv/Makefile: Likewise.
44699 * include/libc-symbols.h: Likewise.
44700 * include/shlib-compat.h: Likewise.
44701 * resolv/Makefile: Likewise.
44702 * resolv/res_libc.c: Likewise.
44703 * rt/Makefile: Likewise.
44704 * sysdeps/i386/asm-syntax.h: Likewise.
44705 * sysdeps/i386/sysdep.h: Likewise.
44706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44707 * sysdeps/mach/sysdep.h: Likewise.
44708 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44709 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44710 * sysdeps/s390/asm-syntax.h: Likewise.
44711 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44712 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44713 * sysdeps/sh/sysdep.h: Likewise.
44714 * sysdeps/unix/sparc/sysdep.h: Likewise.
44715 * sysdeps/wordsize-32/divdi3.c: Likewise.
44716 * sysdeps/x86_64/sysdep.h: Likewise.
44718 * argp/Versions: Remove _argp_unlock_xxx.
44721 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44722 * abilist/libBrokenLocale.abilist: Likewise.
44723 * abilist/libanl.abilist: Likewise.
44724 * abilist/libc.abilist: Likewise.
44725 * abilist/libcrypt.abilist: Likewise.
44726 * abilist/libdl.abilist: Likewise.
44727 * abilist/libm.abilist: Likewise.
44728 * abilist/libnsl.abilist: Likewise.
44729 * abilist/libpthread.abilist: Likewise.
44730 * abilist/libresolv.abilist: Likewise.
44731 * abilist/librt.abilist: Likewise.
44732 * abilist/libthread_db.abilist: Likewise.
44733 * abilist/libutil.abilist: Likewise.
44734 * abilist/libnss_db.abilist: New file.
44736 * scripts/abilist.awk: Add support for indirect functions.
44738 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44740 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44742 * shlib-versions: Remove entries for ports architectures.
44744 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44746 * elf/stackguard-macros.h: Remove support for IA-64.
44747 * elf/tst-auditmod1.c: Likewise.
44748 * sysdeps/generic/ldsodefs.h: Likewise.
44750 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44751 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44755 * configure.in: Remove --enable-omitfp support.
44757 * config.make.in: Likewise.
44758 * Makeconfig: Likewise.
44759 * manual/install.texi: Likewise.
44761 In case anyone cares, the IA-64 architecture could move to ports.
44762 * sysdeps/ia64/*: Removed.
44763 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44764 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44767 * configure.in: Remove entries for unsupported architectures.
44770 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44771 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44773 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44774 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44775 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44776 fall back to using wcrtomb.
44777 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44778 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44780 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44781 * wcsmbs/tst-c16c32-1.c: New file.
44783 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44786 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44788 * elf/tst-unique3.cc: Add explicit declaration of gets.
44789 * elf/tst-unique3lib.cc: Likewise.
44790 * elf/tst-unique3lib2.cc: Likewise.
44791 * elf/tst-unique4.cc: Likewise.
44793 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44795 2012-01-06 Joseph Myers <joseph@codesourcery.com>
44798 * assert/assert.h (static_assert): Don't define for C++.
44799 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44800 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44802 2012-01-03 Ulrich Drepper <drepper@gmail.com>
44804 * iconv/loop.c (single loop): Fix assertion in storing of
44807 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44809 2012-01-01 Ulrich Drepper <drepper@gmail.com>
44811 * posix/getconf.c: Update copyright year.
44812 * nss/getent.c: Likewise.
44813 * nss/makedb.c: Likewise.
44814 * iconv/iconvconfig.c: Likewise.
44815 * iconv/iconv_prog.c: Likewise.
44816 * elf/ldconfig.c: Likewise.
44817 * elf/pldd.c: Likewise.
44818 * elf/sotruss.ksh: Likewise.
44819 * catgets/gencat.c: Likewise.
44820 * csu/version.c: Likewise.
44821 * elf/ldd.bash.in: Likewise.
44822 * elf/sprof.c (print_version): Likewise.
44823 * locale/programs/locale.c: Likewise.
44824 * locale/programs/localedef.c: Likewise.
44825 * login/programs/pt_chown.c: Likewise.
44826 * nscd/nscd.c (print_version): Likewise.
44827 * debug/xtrace.sh: Likewise.
44828 * malloc/memusage.sh: Likewise.
44829 * malloc/mtrace.pl: Likewise.
44830 * debug/catchsegv.sh: Likewise.
44832 2011-12-30 Jakub Jelinek <jakub@redhat.com>
44834 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44837 2011-12-24 Ulrich Drepper <drepper@gmail.com>
44840 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44841 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44843 * iconv/gconv_int.h: Likewise.
44844 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44845 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44846 from libc for GLIBC_2.16.
44847 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44848 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44849 * wcsmbs/uchar.h: Really define mbstate_t.
44850 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44851 * wcsmbs/c16rtomb.c: New file.
44852 * wcsmbs/mbrtoc16.c: New file.
44853 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44854 for C/POSIX locale.
44855 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44856 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44858 * wcsmbs/wchar.h: Add missing __restrict.
44860 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44863 * time/Makefile (routines): Add timespec_get.
44864 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44865 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44866 timespec for ISO C11.
44867 * time/timespec_get.c: New file.
44868 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44869 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44872 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44873 * stdlib/stdlib.h: Declare aligned_alloc.
44874 * Versions.def: Add GLIBC_2.16 for libc.
44875 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44878 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44881 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44885 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44888 * assert/assert.h (static_assert): Define.
44890 * version.h: Update for 2.16 development version.
44893 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44896 * version.h (RELEASE): Bump for 2.15 release.
44897 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44899 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44900 Patch by Marek Polacek <mpolacek@redhat.com>.
44902 * bits/byteswap.h: Protect long long constants with __extension__.
44903 * sysdeps/i386/bits/byteswap.h: Likewise.
44904 * sysdeps/ia64/bits/byteswap.h: Likewise.
44905 * sysdeps/s390/bits/byteswap.h: Likewise.
44906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44908 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44912 destination buffer.
44913 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44915 2011-12-23 Marek Polacek <polacek@redhat.com>
44917 * elf/dl-addr.c (determine_info): Add inline keyword.
44918 * elf/tst-auditmod4b.c (check_avx): Likewise.
44919 * elf/tst-auditmod6b.c (check_avx): Likewise.
44920 * elf/tst-auditmod6c.c (check_avx): Likewise.
44921 * elf/tst-auditmod7b.c (check_avx): Likewise.
44923 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44925 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44928 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44931 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44932 processing for last bytes.
44934 2011-08-06 Bruno Haible <bruno@clisp.org>
44937 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44938 U+0385, not to U+1FEE.
44941 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44942 entry for U+00A5 U+0301.
44944 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44947 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44948 buffer for the output is too small.
44950 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44954 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44955 SSE flags if possible.
44957 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44961 processing for last bytes.
44963 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44965 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44966 (syscall-list-default-options, syscall-list-default-condition)
44967 (syscall-list-includes): Define.
44968 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44969 list of ABIs and options and #if conditions for each ABI. Do not
44970 handle common syscalls between ABIs specially.
44971 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44973 (syscall-list-variants, syscall-list-32bit-options)
44974 (syscall-list-32bit-condition, syscall-list-64bit-options)
44975 (syscall-list-64bit-condition): Define.
44976 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44977 (syscall-list-variants, syscall-list-32bit-options)
44978 (syscall-list-32bit-condition, syscall-list-64bit-options)
44979 (syscall-list-64bit-condition): Define.
44980 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44982 (syscall-list-variants, syscall-list-32bit-options)
44983 (syscall-list-32bit-condition, syscall-list-64bit-options)
44984 (syscall-list-64bit-condition): Define.
44985 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44987 (syscall-list-variants, syscall-list-32bit-options)
44988 (syscall-list-32bit-condition, syscall-list-64bit-options)
44989 (syscall-list-64bit-condition): Define.
44991 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44993 * locale/iso-639.def: Add brx entry.
44996 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44997 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44999 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45000 __feraiseexcept_renamed.
45002 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45005 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45006 EPOLLET with unsigned values.
45007 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45010 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45011 to large cancellation.
45012 * math/s_cacoshf.c: Likewise.
45013 * math/s_cacoshl.c: Likewise.
45015 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45019 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45020 * math/s_cacoshf.c: Likewise.
45021 * math/s_cacoshl.c: Likewise.
45023 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45026 * iconv/gconv.h: Define __GCONV_SWAP.
45027 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45028 * iconvdata/utf-16.c: Likewise.
45029 * iconvdata/utf-32.c: Likewise.
45031 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45035 numerator after shifting it by one limb.
45037 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45039 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45040 under [__USE_EXTERN_INLINES].
45042 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45045 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45047 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45049 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45050 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45052 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45053 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45054 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45055 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45056 for strncasecmp/strncasecmp_l compilation.
45057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45058 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45060 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45063 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45066 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45069 * time/tzfile.c (__tzfile_read): Check values from file header.
45071 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45073 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45074 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45075 * powerpc/powerpc32/dl-start.S: Likewise.
45076 * powerpc/powerpc32/elf/start.S: Likewise.
45077 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45078 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45079 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45080 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45081 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45082 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45083 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45084 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45085 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45086 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45087 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45088 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45089 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45090 * powerpc/powerpc32/memset.S: Likewise.
45091 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45092 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45093 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45094 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45095 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45096 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45097 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45098 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45099 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45100 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45101 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45102 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45103 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45105 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45107 * math/libm-test.inc: Added more nearbyint tests.
45108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45109 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45113 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45115 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45118 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45120 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45121 Add wcscpy-ssse3 wcscpy-c.
45122 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45123 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45124 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45125 * sysdeps/x86_64/wcschr.S: New file.
45126 * sysdeps/x86_64/wcsrchr.S: New file.
45127 * string/test-strcmp.c: Remove checking of wcscmp function for
45129 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45130 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45131 wcsrchr-sse2 wcsrchr-c.
45132 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45133 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45134 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45135 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45136 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45137 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45138 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45139 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45140 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45141 * wcsmbc/wcschr.c (WCSCHR): New macro.
45143 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45145 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45146 * wcsmbs/test-wcsrchr.c: New file.
45147 * string/test-strrchr.c: Add wcsrchr support.
45149 * wcsmbs/test-wcscpy.c: New file.
45150 * string/test-strcpy.c: Add wcscpy support.
45153 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45158 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45161 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45163 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45165 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45166 Minor optimizations.
45168 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45169 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45170 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45172 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45174 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45175 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45176 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45177 for gcc to avoid warnings.
45178 * inet/Makefile (tests): Add tst-checks.
45179 * inet/tst-checks.c: New file.
45181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45184 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45187 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45188 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45190 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45192 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45194 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45197 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45199 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45201 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45202 conditional on GCC version.
45203 (__arch_compare_and_exchange_val_8_acq)
45204 (__arch_compare_and_exchange_val_16_acq)
45205 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45206 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45207 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45209 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45211 * sysdeps/sh/backtrace.c: New file.
45213 2011-12-02 Andreas Schwab <schwab@redhat.com>
45215 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45218 2011-12-01 Andreas Schwab <schwab@redhat.com>
45220 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45221 falling back to utime.
45223 2011-11-30 Andreas Schwab <schwab@redhat.com>
45225 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45226 expectations for float.
45228 2011-11-29 Andreas Schwab <schwab@redhat.com>
45230 * locale/weight.h (findidx): Add parameter len.
45231 * locale/weightwc.h (findidx): Likewise.
45232 * posix/fnmatch_loop.c (FCT): Adjust caller.
45233 * posix/regcomp.c (build_equiv_class): Likewise.
45234 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45235 * posix/regexec.c (check_node_accept_bytes): Likewise.
45236 * string/strcoll_l.c (STRCOLL): Likewise.
45237 * string/strxfrm_l.c (STRXFRM): Likewise.
45239 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45241 * Makefile.in: Remove CVSOPT handling.
45242 * configure.in: Remove use of AC_REVISION.
45243 * iconvdata/Makefile (distribute): No need to filter out CVS.
45244 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45247 2011-11-16 Andreas Schwab <schwab@redhat.com>
45249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45250 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45251 [USE_AS_STRNCASECMP_L]: Likewise.
45252 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45253 NO_TLS_DIRECT_SEG_REFS.
45254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45255 Fix argument offsets for non-PIC.
45256 [USE_AS_STRNCASECMP_L]: Likewise.
45257 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45258 NO_TLS_DIRECT_SEG_REFS.
45260 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45262 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45264 * locale/loadlocale.c (_nl_load_locale): Likewise.
45266 2011-11-15 Andreas Schwab <schwab@redhat.com>
45268 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45269 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45270 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45271 (SYSCALL_GETTIME): Set errno on error.
45273 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45274 count references to noai6ai_cached.
45276 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45278 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45280 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45281 FD_CLOEXEC for /proc/self/maps.
45283 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45284 FD_CLOEXEC for /proc/meminfo.
45286 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45289 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45290 FD_CLOEXEC for given file.
45292 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45294 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45295 FD_CLOEXEC for /etc/hosts.
45296 (_gethtent): Likewise.
45298 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45300 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45301 cancellation and set FD_CLOEXEC for /etc/netgroup.
45303 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45304 reading /etc/publickey.
45306 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45307 allow cancellation when reading /etc/group.
45309 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45311 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45313 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45314 when using data file.
45316 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45318 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45319 (write_nis_obj): Use "c" and "e" in fopen.
45321 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45323 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45325 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45327 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45329 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45332 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45334 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45336 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45338 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45339 file parsing and set FD_CLOEXEC.
45341 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45343 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45345 2011-11-14 Andreas Schwab <schwab@redhat.com>
45347 * malloc/arena.c (arena_get2): Don't call reused_arena when
45348 _int_new_arena failed.
45350 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45352 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45353 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45354 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45357 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45358 to compile strcasecmp and strncasecmp.
45359 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45360 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45364 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45367 locale-defines.sym to gen-as-const-headers.
45368 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45369 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45371 to compile strcasecmp and strncasecmp.
45372 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45373 strcasecmp_l and strncasecmp_l.
45374 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45375 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45376 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45377 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45378 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45379 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45380 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45381 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45382 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45383 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45384 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45386 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45388 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45389 result of SYSDEP_GETTIME_CPU to retval.
45390 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45391 parameter list to macro. Remove trailing semicolon. Adjust users.
45393 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45396 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45398 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45400 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45401 from unused variable.
45403 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45405 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45408 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45411 * sunrpc/rpc_prot.c (rejected): Fix case value.
45413 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45414 unsigned long long int to avoid warnings in shift.
45416 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45418 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45421 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45422 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45423 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45425 * nis/nis_table.c (nis_list): Use variable of correct type for
45426 result of __follow_path call.
45428 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45430 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45431 of math functions ceil, trunc, floor, round, and sqrt, when
45432 avaliable on the platform.
45433 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45435 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45436 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45437 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45439 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45441 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45442 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45444 2011-11-11 Roland McGrath <roland@hack.frob.com>
45446 * include/unistd.h: Fix __readlink return type.
45447 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45449 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45451 * stdlib/ucontext.h: Undo last change for makecontext.
45453 2011-11-11 Andreas Schwab <schwab@redhat.com>
45455 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45457 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45458 * setjmp/setjmp.h: Mark functions as non-leaf.
45459 * setjmp/bits/setjmp2.h: Likewise.
45460 * stdlib/ucontext.h: Likewise.
45462 2011-11-10 Andreas Schwab <schwab@redhat.com>
45464 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45465 (reused_arena): Don't check arena limit.
45466 (arena_get2): Atomically check arena limit.
45468 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45470 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45471 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45476 2011-11-07 Andreas Schwab <schwab@redhat.com>
45478 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45479 handler when locking.
45481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45482 Fix size of allocated buffer.
45484 2011-11-04 Andreas Schwab <schwab@redhat.com>
45487 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45488 declarations for long double functions.
45489 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45491 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45493 2011-11-03 Andreas Schwab <schwab@redhat.com>
45495 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45498 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45501 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45503 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45505 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45507 * include/alloca.h (stackinfo_alloca_round): Define.
45508 (extend_alloca): Use it.
45509 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45510 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45513 * scripts/check-local-headers.sh: Ignore libaudit.h.
45515 * nscd/Makefile (extra-objs): Make recursively expanded.
45517 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45519 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45522 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45523 * posix/tst-rfc3484-2.c: Likewise.
45524 * posix/tst-rfc3484-3.c: Likewise.
45526 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45528 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45530 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45531 process_vm_writev from libc using GLIBC_2.15 version.
45533 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45535 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45537 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45540 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45543 * nss/getent.c (initgroups_keys): Show error message in case no group
45546 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45547 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45548 __bump_nl_timestamp.
45549 * nscd/connections (nscd_init): When host database is served open
45550 netlink socket and request notification about configuration changes.
45551 (main_loop_poll): Track netlink file descriptor and bump timestamp
45552 in case data becomes available.
45553 (main_loop_epoll): Likewise.
45554 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45555 (database_pers_head): Add extra_data fileds.
45556 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45557 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45558 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45561 in6ai data, call __free_in6ai.
45562 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45563 Add -DHAVE_NETLINK.
45564 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45565 interface information. Reuse previous data if netlink timestamp
45567 (__bump_nl_timestamp): New function.
45568 (__free_in6ai): New function.
45570 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45572 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45573 close_not_cancel_no_status here.
45574 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45576 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45579 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45582 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45583 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45584 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45586 2011-07-03 Andreas Jaeger <aj@suse.de>
45589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45590 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45591 * math/libm-test.inc (sin_test): Add test case.
45593 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45596 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45597 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45599 * elf/chroot_canon.c (chroot_canon): Cleanups.
45601 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45604 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45605 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45607 * string/test-strchr.c: Make usable for strchrnul testing.
45608 * string/test-strchrnul.c: New file.
45609 * string/Makefile (strop-tests): Add strchrnul.
45611 * po/it.po: Update from translation team.
45612 * po/es.po: Likewise.
45614 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45616 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45617 the three constants needed as parameters. Drop the others.
45618 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45619 __m128i_strloadu_tolower.
45620 Create and initialize variable zero and use it in all the places
45621 where _mm_setzero_si128 was used.
45623 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45624 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45625 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45626 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45628 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45629 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45630 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45631 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45632 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45633 __mpranred, __mptan.
45634 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45635 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45636 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45637 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45638 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45639 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45641 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45642 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45644 2011-10-28 Andreas Schwab <schwab@redhat.com>
45646 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45647 redefine if SHARED.
45648 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45651 wide char related routines to wcsmbs subdir.
45653 2011-10-27 Andreas Schwab <schwab@redhat.com>
45656 * misc/sys/cdefs.h (__THROWNL): Define.
45657 * posix/unistd.h: Use __THREADNL instead of __THREAD
45658 for memory synchronization functions.
45660 2011-10-26 Roland McGrath <roland@hack.frob.com>
45663 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45665 * manual/stdio.texi (Obstack Streams): Node removed.
45667 2011-10-26 Andreas Schwab <schwab@redhat.com>
45669 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45670 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45671 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45673 * math/math_private.h (math_force_eval): Allow non-addressable
45675 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45677 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45679 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45680 file is not needed.
45682 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45683 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45689 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45691 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45692 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45693 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45694 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45695 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45696 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45697 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45698 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45699 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45700 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45701 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45702 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45704 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45705 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45706 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45707 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45708 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45709 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45711 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45712 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45715 place. Use VEX encoding when compiling for AVX.
45717 2011-10-25 Andreas Schwab <schwab@redhat.com>
45719 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45720 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45722 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45724 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45726 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45727 useless if() expression.
45728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45729 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45730 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45739 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45740 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45742 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45743 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45744 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45746 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45748 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45750 2011-10-25 Andreas Schwab <schwab@redhat.com>
45752 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45754 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45756 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45758 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45759 .text section. Avoid duplicate constants.
45760 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45772 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45775 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45777 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45784 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45785 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45786 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45787 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45788 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45789 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45791 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45792 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45793 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45794 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45795 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45796 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45797 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45798 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45799 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45800 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45801 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45802 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45803 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45804 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45806 2011-10-24 Ulrich Drepper <drepper@gmail.com>
45808 * sysdeps/x86_64/dla.h: Move to ...
45809 * sysdeps/x86_64/fpu/dla.h: ...here.
45810 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45811 situations. Use __builtin_fma only for gcc 4.6 and up.
45813 * config.make.in: Add have-mfma4 entry.
45814 * configure.in: Substitute libc_cv_cc_fma4.
45815 * math/Makefile (dbl-only-routines): Add sincostab.
45816 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45817 Use __sincostab not sincos.
45818 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45825 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45826 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45827 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45828 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45831 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45833 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45834 define aliases when function name is a macro.
45835 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45836 sysdeps/ieee754/dbl-64/sincos.tbl.
45837 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45838 fma4-enabled routines.
45839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45840 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45841 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45842 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45843 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45845 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45846 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45848 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45849 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45850 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45851 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45852 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45853 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45854 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45855 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45856 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45857 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45859 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45860 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45870 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45881 2011-10-24 Andreas Schwab <schwab@redhat.com>
45883 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45885 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45887 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45889 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45893 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45894 Remove unused variable magic_bits.
45895 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45897 * string/strnlen.c: Define and use STRNLEN macro.
45898 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45899 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45901 * wcsmbs/wcslen.c: Define and use WCSLEN.
45902 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45903 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45904 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45905 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45906 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45907 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45908 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45910 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45913 strnlen-sse2-no-bsf.
45914 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45916 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45917 Add strnlen support.
45918 (USE_AS_STRNLEN): New macro.
45919 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45920 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45921 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45922 * sysdeps/x86_64/wcslen.S: New file.
45924 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45926 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45927 XMM-moves are used for copying on small sizes.
45929 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45931 * wcsmbs/Makefile (strop-tests): Add wcschr.
45932 * wcsmbs/test-wcschr.c: New file.
45933 * string/test-strchr.c: Update.
45934 Add wcschr support.
45937 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45939 * wcsmbs/Makefile (strop-tests): Add wcslen.
45940 * wcsmbs/test-wcslen.c: New file.
45941 * string/test-strlen.c: Update.
45942 Add wcslen support.
45945 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45947 * po/it.po: Update from translation team.
45949 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45951 * sysdeps/x86_64/wcscmp.S: Update.
45952 Fix wrong comparison semantics.
45953 wcscmp shall use signed comparison not unsigned.
45954 Don't use substraction to avoid overflow bug.
45955 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45956 * wcsmbc/wcscmp.c: Likewise.
45957 * string/test-strcmp.c: Likewise.
45958 Add new tests to check cases with negative values.
45960 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45962 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45963 * sysdeps/x86_64/dla.h: ...here. New file.
45964 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45974 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45977 __ynl_finite aliases.
45979 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45983 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45985 [DLA_FMA] (EMULV): Use DLA_FMA.
45986 [DLA_FMA] (MUL12): Use EMULV.
45987 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45988 that are not needed.
45989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45997 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45999 * math/s_nan.c: Undef __nan.
46000 * math/s_nanf.c: Undef __nanf.
46001 * math/s_nanl.c: Undef __nanl.
46002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46005 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46007 * math/s_catan.c: Add branch predictions.
46008 * math/s_catanf.c: Likewise.
46009 * math/s_catanh.c: Likewise.
46010 * math/s_catanhf.c: Likewise.
46011 * math/s_catanhl.c: Likewise.
46012 * math/s_catanl.c: Likewise.
46013 * math/s_cexp.c: Likewise.
46014 * math/s_cexpf.c: Likewise.
46015 * math/s_cexpl.c: Likewise.
46016 * math/s_clog.c: Likewise.
46017 * math/s_clog10.c: Likewise.
46018 * math/s_clog10f.c: Likewise.
46019 * math/s_clog10l.c: Likewise.
46020 * math/s_clogf.c: Likewise.
46021 * math/s_clogl.c: Likewise.
46022 * math/s_csqrt.c: Likewise.
46023 * math/s_csqrtf.c: Likewise.
46024 * math/s_csqrtl.c: Likewise.
46025 * math/s_ctanf.c: Likewise.
46026 * math/s_ctanh.c: Likewise.
46027 * math/s_ctanhf.c: Likewise.
46028 * math/s_ctanhl.c: Likewise.
46029 * math/s_ctanl.c: Likewise.
46031 * math/math_private.h: Define __nan, __nanf, __nanl.
46032 * math/s_cacosh.c: Include <math_private.h>.
46033 * math/s_cacoshl.c: Likewise.
46034 * math/s_casinh.c: Likewise.
46035 * math/s_casinhf.c: Likewise.
46036 * math/s_casinhl.c: Likewise.
46037 * math/s_ccos.c: Rely entire on ccosh.
46038 * math/s_ccosf.c: Rely entire on ccoshf.
46039 * math/s_ccosl.c: Rely entirely on ccoshl.
46040 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46041 Remove tests for FE_INVALID.
46042 * math/s_ccoshf.c: Likewise.
46043 * math/s_ccoshl.c: Likewise.
46044 * math/s_csin.c: Likewise.
46045 * math/s_csinf.c: Likewise.
46046 * math/s_csinh.c Likewise.
46047 * math/s_csinhf.c: Likewise.
46048 * math/s_csinhl.c: Likewise.
46049 * math/s_csinl.c: Likewise.
46050 * math/s_ctan.c: Likewise.
46051 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46052 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46053 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46055 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46058 compilation problems.
46060 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46063 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46065 * sysdeps/i386/configure.in: Test for -mfma4 option.
46066 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46067 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46068 COMMON_CPUID_INDEX_80000001.
46069 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46070 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46071 use it if FMA3 is not supported.
46072 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46074 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46075 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46077 2011-10-20 Andreas Schwab <schwab@redhat.com>
46080 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46081 it would create a cycle with a link time dependency.
46083 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46085 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46087 * string/Makefile (strop-tests): Add rawmemchr.
46088 * string/test-rawmemchr.c: New file.
46090 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46092 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46093 when compiling str{,n}casecmp and when AVX is available. Hook up
46094 new optimized code in initializers.
46096 2011-10-19 Andreas Schwab <schwab@redhat.com>
46098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46099 __feraiseexcept instead of feraiseexcept.
46101 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46103 * math/math_private.h: Define defaults for libc_fetestexcept and
46105 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46106 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46108 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46109 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46110 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46111 libc_fetestexcept and libc_feupdateenv.
46113 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46114 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46115 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46116 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46117 libc_feholdexcept_setround.
46119 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46120 Add s_nearbyint-c and s_nearbyintf-c.
46121 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46122 nearbyintf inlines.
46123 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46124 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46125 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46126 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46128 * math/math_private.h: Define defaults for libc_fegetround,
46129 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46130 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46131 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46133 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46134 standard functions.
46135 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46136 Remove comments and hacks for old compiler versions.
46137 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46138 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46139 libc_feholdexceptl.
46141 2011-10-18 Andreas Schwab <schwab@redhat.com>
46143 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46144 (__feraiseexcept_renamed): Add __NTH.
46145 (feraiseexcept): Add __NTH. Rename local variables to fix
46146 namespace violations.
46148 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46150 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46152 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46154 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46155 recently added interfaces.
46156 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46158 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46159 about macro parameter expansion.
46161 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46162 __NO_MATH_INLINES is defined. Cleanups.
46164 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46165 and __floorf is target has SSE4.1.
46166 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46167 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46168 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46169 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46171 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46173 (floorf): Likewise.
46175 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46177 2011-10-17 Andreas Schwab <schwab@redhat.com>
46179 * misc/sys/cdefs.h: Fix last change.
46181 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46184 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46186 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46188 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46190 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46191 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46192 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46193 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46194 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46196 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46197 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46198 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46199 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46200 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46201 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46202 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46203 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46204 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46205 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46206 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46207 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46209 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46211 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46212 ceil, ceilf, floor, floorf.
46214 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46215 Perform IRELATIVE relocations last.
46217 * elf/do-rel.h: Add another parameter nrelative, replacing the
46218 local variable with the same name. Change name of the function
46219 to end in Rel or Rela (uppercase).
46220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46221 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46222 elf_dynamic_do_##reloc function.
46224 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46226 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46227 is sufficient, at least on modern CPUs.
46229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46231 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46232 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46234 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46236 * math/bits/math-finite.h: Add entries for exp.
46237 * math/e_expl.c: Add __*_finite alias.
46238 * sysdeps/i386/fpu/e_exp.S: Likewise.
46239 * sysdeps/i386/fpu/e_expf.S: Likewise.
46240 * sysdeps/i386/fpu/e_expl.c: Likewise.
46241 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46242 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46243 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46245 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46246 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46247 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46249 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46250 is sufficient, at least on modern CPUs.
46252 * ctype/ctype-info.c (__ctype_init): Define.
46253 * include/ctype.h (__ctype_init): Declare.
46254 (__ctype_b_loc): The variable is always initialized.
46255 (__ctype_toupper_loc): Likewise.
46256 (__ctype_tolower_loc): Likewise.
46257 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46258 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46260 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46262 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46264 * configure.in: Also look in $cxxmachine/include for C++ system
46267 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46269 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46270 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46271 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46272 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46273 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46274 (USE_AS_WMEMCMP): New macro.
46276 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46277 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46278 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46279 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46281 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46282 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46283 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46284 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46285 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46286 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46287 (USE_AS_WMEMCMP): New macro.
46288 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46289 * sysdeps/string/test-memcmp.c: Update.
46290 Fix simple_wmemcmp.
46292 * wcsmbs/wmemcmp.c: Update.
46293 (WMEMCMP): New macro.
46296 2011-10-12 Andreas Jaeger <aj@suse.de>
46299 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46301 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46303 * libio/iofwide.c (do_length): Avoid warning.
46305 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46307 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46309 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46311 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46312 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46313 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46314 * sysdeps/i386/i686/fpu/e_log.S: New file.
46315 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46316 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46318 * ctype/ctype.h: Add support for inlined isXXX functions when
46319 compiling C++ code.
46321 2011-10-14 Andreas Schwab <schwab@redhat.com>
46323 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46325 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46327 2011-10-13 Roland McGrath <roland@hack.frob.com>
46330 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46332 2011-10-13 Andreas Schwab <schwab@redhat.com>
46334 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46335 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46338 * sysdeps/x86_64/memrchr.S: Check for zero size.
46340 * string/stratcliff.c: Add memrchr tests.
46342 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46345 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46346 rawmemchr-sse2 rawmemchr-sse2-bsf.
46347 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46348 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46349 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46350 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46351 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46352 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46353 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46354 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46355 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46356 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46357 * string/memrchr.c (MEMRCHR): New macro.
46359 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46361 Add integration with gcc's -ffinite-math-only and optimize wrapper
46363 * Versions.def: Define GLIBC_2.15 version for libm.
46364 * math/Makefile (headers): Add bits/math-finite.h.
46365 * math/bits/math-finite.h: New file.
46366 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46367 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46368 * math/e_acoshl.c: Add __*_finite alias.
46369 * math/e_acosl.c: Likewise.
46370 * math/e_asinl.c: Likewise.
46371 * math/e_atan2l.c: Likewise.
46372 * math/e_atanhl.c: Likewise.
46373 * math/e_coshl.c: Likewise.
46374 * math/e_exp10.c: Likewise.
46375 * math/e_exp10f.c: Likewise.
46376 * math/e_exp10l.c: Likewise.
46377 * math/e_exp2l.c: Likewise.
46378 * math/e_fmodl.c: Likewise.
46379 * math/e_gammal_r.c: Likewise.
46380 * math/e_hypotl.c: Likewise.
46381 * math/e_j0l.c: Likewise.
46382 * math/e_j1l.c: Likewise.
46383 * math/e_jnl.c: Likewise.
46384 * math/e_lgammal_r.c: Likewise.
46385 * math/e_log10l.c: Likewise.
46386 * math/e_log2l.c: Likewise.
46387 * math/e_logl.c: Likewise.
46388 * math/e_powl.c: Likewise.
46389 * math/e_sinhl.c: Likewise.
46390 * math/e_sqrtl.c: Likewise.
46391 * math/e_scalb.c: Completely rewritten and optimized.
46392 * math/e_scalbf.c: Likewise.
46393 * math/e_scalbl.c: Likewise.
46394 * math/w_acos.c: Likewise.
46395 * math/w_acosf.c: Likewise.
46396 * math/w_acosl.c: Likewise.
46397 * math/w_acosh.c: Likewise.
46398 * math/w_acoshf.c: Likewise.
46399 * math/w_acoshl.c: Likewise.
46400 * math/w_asin.c: Likewise.
46401 * math/w_asinf.c: Likewise.
46402 * math/w_asinl.c: Likewise.
46403 * math/w_atan2.c: Likewise.
46404 * math/w_atan2f.c: Likewise.
46405 * math/w_atan2l.c: Likewise.
46406 * math/w_atanh.c: Likewise.
46407 * math/w_atanhf.c: Likewise.
46408 * math/w_atanhl.c: Likewise.
46409 * math/w_exp10.c: Likewise.
46410 * math/w_exp10f.c: Likewise.
46411 * math/w_exp10l.c: Likewise.
46412 * math/w_fmod.c: Likewise.
46413 * math/w_fmodf.c: Likewise.
46414 * math/w_fmodl.c: Likewise.
46415 * math/w_j0.c: Likewise.
46416 * math/w_j0f.c: Likewise.
46417 * math/w_j0l.c: Likewise.
46418 * math/w_j1.c: Likewise.
46419 * math/w_j1f.c: Likewise.
46420 * math/w_j1l.c: Likewise.
46421 * math/w_jn.c: Likewise.
46422 * math/w_jnf.c: Likewise.
46423 * math/w_log.c: Likewise.
46424 * math/w_logf.c: Likewise.
46425 * math/w_logl.c: Likewise.
46426 * math/w_log10.c: Likewise.
46427 * math/w_log10f.c: Likewise.
46428 * math/w_log10l.c: Likewise.
46429 * math/w_log2.c: Likewise.
46430 * math/w_log2f.c: Likewise.
46431 * math/w_log2l.c: Likewise.
46432 * math/w_pow.c: Likewise.
46433 * math/w_powf.c: Likewise.
46434 * math/w_powl.c: Likewise.
46435 * math/w_remainder.c: Likewise.
46436 * math/w_remainderf.c: Likewise.
46437 * math/w_remainderl.c: Likewise.
46438 * math/w_scalb.c: Likewise.
46439 * math/w_scalbf.c: Likewise.
46440 * math/w_scalbl.c: Likewise.
46441 * math/w_sqrt.c: Likewise.
46442 * math/w_sqrtf.c: Likewise.
46443 * math/w_sqrtl.c: Likewise.
46444 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46445 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46447 * math/math_private.h: Declare __kernel_standard_f.
46448 * math/w_cosh.c: Remove cruft and optimize a bit.
46449 * math/w_coshf.c: Likewise.
46450 * math/w_coshl.c: Likewise.
46451 * math/w_exp2.c: Likewise.
46452 * math/w_exp2f.c: Likewise.
46453 * math/w_exp2l.c: Likewise.
46454 * math/w_hypot.c: Likewise.
46455 * math/w_hypotf.c: Likewise.
46456 * math/w_hypotl.c: Likewise.
46457 * math/w_lgamma.c: Likewise.
46458 * math/w_lgamma_r.c: Likewise.
46459 * math/w_lgammaf.c: Likewise.
46460 * math/w_lgammaf_r.c: Likewise.
46461 * math/w_lgammal.c: Likewise.
46462 * math/w_lgammal_r.c: Likewise.
46463 * math/w_sinh.c: Likewise.
46464 * math/w_sinhf.c: Likewise.
46465 * math/w_sinhl.c: Likewise.
46466 * math/w_tgamma.c: Likewise.
46467 * math/w_tgammaf.c: Likewise.
46468 * math/w_tgammal.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46471 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46472 Minor optimizations. Pretty printing. Remove cruft.
46473 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46476 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46477 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46478 * sysdeps/i386/fpu/e_asin.S: Likewise.
46479 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46480 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46481 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46482 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46483 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46484 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46485 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46486 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46487 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46488 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46489 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46490 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46491 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46492 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46493 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46494 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46495 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46496 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46497 * sysdeps/i386/fpu/e_log.S: Likewise.
46498 * sysdeps/i386/fpu/e_log10.S: Likewise.
46499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46501 * sysdeps/i386/fpu/e_log2.S: Likewise.
46502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46504 * sysdeps/i386/fpu/e_logf.S: Likewise.
46505 * sysdeps/i386/fpu/e_logl.S: Likewise.
46506 * sysdeps/i386/fpu/e_pow.S: Likewise.
46507 * sysdeps/i386/fpu/e_powf.S: Likewise.
46508 * sysdeps/i386/fpu/e_powl.S: Likewise.
46509 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46510 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46511 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46512 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46513 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46514 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46515 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46516 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46517 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46518 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46521 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46523 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46524 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46525 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46528 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46534 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46539 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46542 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46543 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46544 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46545 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46546 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46547 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46551 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46552 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46553 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46554 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46555 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46556 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46558 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46559 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46598 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46609 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46610 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46611 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46615 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46616 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46617 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46618 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46619 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46620 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46621 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46622 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46623 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46624 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46626 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46627 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46628 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46629 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46630 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46631 (__isnanf): Likewise.
46632 (__isinf_ns): Likewise.
46633 (__isinf_nsf): Likewise.
46634 (__finite): Likewise.
46635 (__finitef): Likewise.
46636 (__ieee754_sqrt): Define as macro.
46637 (__ieee754_sqrtf): Define as macro.
46638 (__ieee754_sqrtl): Define as macro.
46639 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46641 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46642 __FINITE_MATH_ONLY__ consistent.
46643 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46645 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46647 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46650 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46652 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46654 * po/ja.po: Update from translation team.
46656 2011-10-08 Roland McGrath <roland@hack.frob.com>
46658 * locale/programs/locarchive.c (prepare_address_space): New function.
46659 (create_archive, enlarge_archive, open_archive): Use it.
46661 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46662 inside [SHARED], where it is used.
46664 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46666 * nss/getent.c (netgroup_keys): Remove unused variable.
46667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46669 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46671 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46672 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46676 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46677 * math/Makefile (libm-calls): Add s_isinf_ns.
46678 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46679 * math/multc3.c: Likewise.
46680 * math/s_casin.c: Likewise.
46681 * math/s_casinf.c: Likewise.
46682 * math/s_casinl.c: Likewise.
46683 * math/s_ccos.c: Likewise.
46684 * math/s_ccosf.c: Likewise.
46685 * math/s_ccosl.c: Likewise.
46686 * math/s_ctan.c: Likewise.
46687 * math/s_ctanf.c: Likewise.
46688 * math/s_ctanh.c: Likewise.
46689 * math/s_ctanhf.c: Likewise.
46690 * math/s_ctanhl.c: Likewise.
46691 * math/s_ctanl.c: Likewise.
46692 * math/w_fmod.c: Likewise.
46693 * math/w_fmodf.c: Likewise.
46694 * math/w_fmodl.c: Likewise.
46695 * math/w_remainder.c: Likewise.
46696 * math/w_remainderf.c: Likewise.
46697 * math/w_remainderl.c: Likewise.
46698 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46699 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46702 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46703 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46704 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46705 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46707 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46709 * stdio-common/printf_fphex.c: Likewise.
46710 * stdio-common/printf_size.c: Likewise.
46712 * math/e_exp10.c: Include math_private.h using <...> not "...".
46713 * math/e_exp10f.c: Likewise.
46714 * math/e_exp10l.c: Likewise.
46715 * math/e_exp2l.c: Likewise.
46716 * math/e_j0l.c: Likewise.
46717 * math/e_j1l.c: Likewise.
46718 * math/e_jnl.c: Likewise.
46719 * math/e_lgammal_r.c: Likewise.
46720 * math/e_rem_pio2l.c: Likewise.
46721 * math/e_scalb.c: Likewise.
46722 * math/e_scalbf.c: Likewise.
46723 * math/e_scalbl.c: Likewise.
46724 * math/k_cosl.c: Likewise.
46725 * math/k_sinl.c: Likewise.
46726 * math/k_tanl.c: Likewise.
46727 * math/s_cacoshf.c: Likewise.
46728 * math/s_catan.c: Likewise.
46729 * math/s_catanf.c: Likewise.
46730 * math/s_catanh.c: Likewise.
46731 * math/s_catanhf.c: Likewise.
46732 * math/s_catanhl.c: Likewise.
46733 * math/s_catanl.c: Likewise.
46734 * math/s_ccosh.c: Likewise.
46735 * math/s_ccoshf.c: Likewise.
46736 * math/s_ccoshl.c: Likewise.
46737 * math/s_cexp.c: Likewise.
46738 * math/s_cexpf.c: Likewise.
46739 * math/s_cexpl.c: Likewise.
46740 * math/s_clog.c: Likewise.
46741 * math/s_clog10.c: Likewise.
46742 * math/s_clog10f.c: Likewise.
46743 * math/s_clog10l.c: Likewise.
46744 * math/s_clogf.c: Likewise.
46745 * math/s_clogl.c: Likewise.
46746 * math/s_csin.c: Likewise.
46747 * math/s_csinf.c: Likewise.
46748 * math/s_csinh.c: Likewise.
46749 * math/s_csinhf.c: Likewise.
46750 * math/s_csinhl.c: Likewise.
46751 * math/s_csinl.c: Likewise.
46752 * math/s_csqrt.c: Likewise.
46753 * math/s_csqrtf.c: Likewise.
46754 * math/s_csqrtl.c: Likewise.
46755 * math/s_ctan.c: Likewise.
46756 * math/s_ctanf.c: Likewise.
46757 * math/s_ctanh.c: Likewise.
46758 * math/s_ctanhf.c: Likewise.
46759 * math/s_ctanhl.c: Likewise.
46760 * math/s_ctanl.c: Likewise.
46761 * math/s_ldexp.c: Likewise.
46762 * math/s_ldexpf.c: Likewise.
46763 * math/s_ldexpl.c: Likewise.
46764 * math/s_significand.c: Likewise.
46765 * math/s_significandf.c: Likewise.
46766 * math/s_significandl.c: Likewise.
46767 * math/w_acos.c: Likewise.
46768 * math/w_acosf.c: Likewise.
46769 * math/w_acosh.c: Likewise.
46770 * math/w_acoshf.c: Likewise.
46771 * math/w_acoshl.c: Likewise.
46772 * math/w_acosl.c: Likewise.
46773 * math/w_asin.c: Likewise.
46774 * math/w_asinf.c: Likewise.
46775 * math/w_asinl.c: Likewise.
46776 * math/w_atan2.c: Likewise.
46777 * math/w_atan2f.c: Likewise.
46778 * math/w_atan2l.c: Likewise.
46779 * math/w_atanh.c: Likewise.
46780 * math/w_atanhf.c: Likewise.
46781 * math/w_atanhl.c: Likewise.
46782 * math/w_cosh.c: Likewise.
46783 * math/w_coshf.c: Likewise.
46784 * math/w_coshl.c: Likewise.
46785 * math/w_dremf.c: Likewise.
46786 * math/w_exp10.c: Likewise.
46787 * math/w_exp10f.c: Likewise.
46788 * math/w_exp10l.c: Likewise.
46789 * math/w_exp2.c: Likewise.
46790 * math/w_exp2f.c: Likewise.
46791 * math/w_fmod.c: Likewise.
46792 * math/w_fmodf.c: Likewise.
46793 * math/w_fmodl.c: Likewise.
46794 * math/w_hypot.c: Likewise.
46795 * math/w_hypotf.c: Likewise.
46796 * math/w_hypotl.c: Likewise.
46797 * math/w_j0.c: Likewise.
46798 * math/w_j0f.c: Likewise.
46799 * math/w_j0l.c: Likewise.
46800 * math/w_j1.c: Likewise.
46801 * math/w_j1f.c: Likewise.
46802 * math/w_j1l.c: Likewise.
46803 * math/w_jn.c: Likewise.
46804 * math/w_jnf.c: Likewise.
46805 * math/w_jnl.c: Likewise.
46806 * math/w_lgamma.c: Likewise.
46807 * math/w_lgamma_r.c: Likewise.
46808 * math/w_lgammaf.c: Likewise.
46809 * math/w_lgammaf_r.c: Likewise.
46810 * math/w_lgammal.c: Likewise.
46811 * math/w_lgammal_r.c: Likewise.
46812 * math/w_log.c: Likewise.
46813 * math/w_log10.c: Likewise.
46814 * math/w_log10f.c: Likewise.
46815 * math/w_log10l.c: Likewise.
46816 * math/w_log2.c: Likewise.
46817 * math/w_log2f.c: Likewise.
46818 * math/w_log2l.c: Likewise.
46819 * math/w_logf.c: Likewise.
46820 * math/w_logl.c: Likewise.
46821 * math/w_pow.c: Likewise.
46822 * math/w_powf.c: Likewise.
46823 * math/w_powl.c: Likewise.
46824 * math/w_remainder.c: Likewise.
46825 * math/w_remainderf.c: Likewise.
46826 * math/w_remainderl.c: Likewise.
46827 * math/w_scalb.c: Likewise.
46828 * math/w_scalbf.c: Likewise.
46829 * math/w_scalbl.c: Likewise.
46830 * math/w_sinh.c: Likewise.
46831 * math/w_sinhf.c: Likewise.
46832 * math/w_sinhl.c: Likewise.
46833 * math/w_sqrt.c: Likewise.
46834 * math/w_sqrtf.c: Likewise.
46835 * math/w_sqrtl.c: Likewise.
46836 * math/w_tgamma.c: Likewise.
46837 * math/w_tgammaf.c: Likewise.
46838 * math/w_tgammal.c: Likewise.
46840 * po/ja.po: Update from translation team.
46842 2011-09-29 Andreas Jaeger <aj@suse.de>
46845 * sunrpc/netname.c (netname2host): Fix logic.
46849 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46851 * math/w_remainder.c (__remainder): Likewise.
46852 * math/w_remainderf.c (__remainderf): Likewise.
46853 * math/libm-test.inc (remainder_test): Add test cases.
46855 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46857 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46860 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46862 * string/test-memcmp.c: Avoid unncessary #defines.
46863 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46865 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46867 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46868 Use new sse2 version for core i3 - i7 as it's faster
46869 than sse42 version.
46870 (bit_Prefer_PMINUB_for_stringop): New.
46871 * sysdeps/x86_64/rawmemchr.S: Update.
46872 Replace with faster SSE2 version.
46873 * sysdeps/x86_64/memrchr.S: New file.
46874 * sysdeps/x86_64/memchr.S: Update.
46875 Replace with faster SSE2 version.
46877 2011-09-12 Marek Polacek <mpolacek@redhat.com>
46879 * elf/dl-load.c (lose): Add cast to avoid warning.
46881 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46883 * po/ca.po: Update from translation team.
46885 * inet/getnetgrent_r.c: Hook up nscd.
46886 * nscd/Makefile (routines): Add nscd_netgroup.
46887 (nscd-modules): Add netgroupcache.
46888 (CFLAGS-netgroupcache.c): Define.
46889 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46890 (cache_search): Add const to second parameter.
46891 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46893 (dbs): Add netgrdb entry.
46894 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46895 (verify_persistent_db): Handle netgrdb.
46896 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46897 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46899 (netgroup_response_header): Define.
46900 (innetgroup_response_header): Define.
46901 (datahead): Add netgroup_response_header and innetgroup_response_header
46903 * nscd/nscd.conf: Add entries for netgroup cache.
46904 * nscd/nscd.h (dbtype): Add netgrdb.
46905 (_PATH_NSCD_NETGROUP_DB): Define.
46906 (netgroup_iov_disabled): Declare.
46907 (xmalloc, xcalloc, xrealloc): Move declarations here.
46908 (cache_search): Adjust prototype.
46909 Add netgroup-related prototypes.
46910 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46911 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46912 (__nscd_innetgr): Declare.
46913 * nscd/selinux.c (perms): Use access_vector_t as element type and
46914 add netgroup-related initializers.
46915 * nscd/netgroupcache.c: New file.
46916 * nscd/nscd_netgroup.c: New file.
46917 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46918 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46919 For four parameters use innetgr.
46920 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46921 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46922 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46923 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46925 * nscd/connections.c (register_traced_file): Don't register file
46926 for disabled databases.
46928 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46930 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46932 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46933 from tree and freeing node.
46935 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46937 * nss/nsswitch.c (__nss_database_lookup): Handle
46938 nss_parse_service_list out of memory case.
46940 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46942 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46943 out of memory case.
46945 2011-10-04 Andreas Schwab <schwab@redhat.com>
46947 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46948 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46950 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46951 elf_machine_rela, elf_machine_lazy_rel.
46952 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46953 (ELF_DYNAMIC_DO_REL): Likewise.
46954 (ELF_DYNAMIC_DO_RELA): Likewise.
46955 (ELF_DYNAMIC_RELOCATE): Likewise.
46956 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46957 to ELF_DYNAMIC_DO_REL.
46958 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46959 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46960 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46963 skip_ifunc, don't call ifunc function if non-zero.
46964 (elf_machine_rela): Likewise.
46965 (elf_machine_lazy_rel): Likewise.
46966 (elf_machine_lazy_rela): Likewise.
46967 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46968 (elf_machine_lazy_rel): Likewise.
46969 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46971 (elf_machine_lazy_rel): Likewise.
46972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46974 (elf_machine_lazy_rel): Likewise.
46975 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46976 (elf_machine_lazy_rel): Likewise.
46977 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46978 (elf_machine_lazy_rel): Likewise.
46979 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46980 (elf_machine_lazy_rel): Likewise.
46981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46982 (elf_machine_lazy_rel): Likewise.
46983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46984 (elf_machine_lazy_rel): Likewise.
46985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46986 (elf_machine_lazy_rel): Likewise.
46988 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46990 * nss/nss_files/files-init.c (_nss_files_init): Use static
46991 initialization for all the *_traced_file variables.
46993 2011-09-28 Andreas Schwab <schwab@redhat.com>
46995 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46997 2011-09-27 Roland McGrath <roland@hack.frob.com>
47000 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47002 2011-09-27 Andreas Schwab <schwab@redhat.com>
47004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47005 Reread the line before reparsing it.
47007 2011-09-26 Andreas Schwab <schwab@redhat.com>
47009 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47011 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47012 Maxim Kuvyrkov <maxim@codesourcery.com>
47013 Joseph Myers <joseph@codesourcery.com>
47015 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47016 if needed for __stack_chk_guard.
47018 2011-09-19 Roland McGrath <roland@hack.frob.com>
47020 * sysdeps/posix/spawni.c (script_execute): Always define it.
47021 It will be optimized away if unused.
47022 (maybe_script_execute): New function.
47023 (__spawni): Call it.
47025 * Makerules: Don't include tls.make.
47026 (config-tls): Always set to thread.
47027 * tls.make.c: File removed.
47029 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47031 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47032 * config.make.in (CPPFLAGS-config): New substituted variable.
47034 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47039 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47040 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47042 2011-09-15 Roland McGrath <roland@hack.frob.com>
47044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47045 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47047 (CALL_FAIL): Likewise.
47048 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47049 (CALL_FAIL): Macro removed.
47050 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47052 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47054 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47055 for __FINITE_MATH_ONLY__ == 1.
47057 2011-09-15 Andreas Schwab <schwab@redhat.com>
47059 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47060 __ieee754_sqrt instead of sqrt.
47061 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47062 __ieee754_sqrtf instead of sqrtf.
47063 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47064 __floorf instead of floorf.
47065 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47066 __floorf, __truncf instead of floorf, truncf.
47068 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47070 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47072 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47073 __extern_always_inline.
47074 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47077 2011-09-14 Andreas Schwab <schwab@redhat.com>
47079 * elf/rtld.c (dl_main): Also relocate in dependency order when
47080 doing symbol dependency testing.
47082 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47085 Always define `refsym'.
47087 2011-09-13 Andreas Schwab <schwab@redhat.com>
47089 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47090 (__FD_ELT): Renamed from __FDELT.
47091 * misc/bits/select2.h (__FD_ELT): Likewise.
47092 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47093 __FD_MASK instead of __FDELT, __FDMASK.
47094 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47096 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47099 * elf/Makefile (gen-ldd): Fix pattern.
47101 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47102 (init_tls): Likewise.
47104 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47106 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47108 2011-09-12 Andreas Schwab <schwab@redhat.com>
47110 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47111 `struct cmsghdr *' instead of `void *'.
47112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47115 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47117 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47119 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47120 ldd_rewrite_script.
47122 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47124 * configure.in: Remove --with-tls option.
47125 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47126 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47127 out in case it is missing.
47128 * sysdeps/ia64/elf/configure.in: Likewise.
47129 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47130 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47131 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47132 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47133 * sysdeps/sh/elf/configure.in: Likewise.
47134 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47135 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47136 * sysdeps/x86_64/elf/configure.in: Likewise.
47137 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47138 * sysdeps/mach/hurd/tls.h: Likewise.
47141 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47144 * configure.in: Fix use of AC_INIT.
47146 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47148 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47150 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47152 * malloc/hooks.c: Likewise.
47155 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47156 variables statically.
47157 (narenas): Initialize.
47158 (list_lock): Initialize.
47159 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47160 initializtion of main_arena and list_lock. Small cleanups.
47161 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47162 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47163 Add initializers to main_arena and mp_.
47164 (malloc_state): Remove pagesize member. Change all users to use
47167 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47168 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47169 is always initialized.
47171 * malloc/malloc.c: Removed unused configurations and dead code.
47172 * malloc/arena.c: Likewise.
47173 * malloc/hooks.c: Likewise.
47174 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47176 * include/tls.h: Removed. USE___THREAD must always be defined.
47177 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47178 * elf/dl-libc.c: Likewise.
47179 * elf/dl-tsd.c: Likewise.
47180 * include/errno.h: Likewise.
47181 * include/netdb.h: Likewise.
47182 * include/resolv.h: Likewise.
47183 * inet/herrno-loc.c: Likewise.
47184 * inet/herrno.c: Likewise.
47185 * malloc/arena.c: Likewise.
47186 * malloc/hooks.c: Likewise.
47187 * malloc/malloc.c: Likewise.
47188 * resolv/res-state.c: Likewise.
47189 * resolv/res_libc.c: Likewise.
47190 * sysdeps/i386/dl-machine.h: Likewise.
47191 * sysdeps/ia64/dl-machine.h: Likewise.
47192 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47193 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47194 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47195 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47196 * sysdeps/sh/dl-machine.h: Likewise.
47197 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47198 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47199 * sysdeps/unix/i386/sysdep.S: Likewise.
47200 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47201 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47205 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47206 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47208 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47210 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47211 * sysdeps/x86_64/dl-machine.h: Likewise.
47212 * tls.make.c: Likewise.
47214 * configure.in: Remove --with-__thread option. Make tests for
47215 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47216 tls_model attribute fail if no support is available. Remove
47218 * Makeconfig: Adjust for dropped configure option. All features are
47220 * Makerules: Likewise.
47221 * Versions.def: Likewise.
47222 * argp/argp-fmtstream.c: Likewise.
47223 * argp/argp-fmtstream.h: Likewise.
47224 * argp/argp-help.c: Likewise.
47225 * assert/assert.c: Likewise.
47226 * config.h.in: Likewise.
47227 * config.make.in: Likewise.
47228 * configure: Likewise.
47229 * configure.in: Likewise.
47230 * csu/Versions: Likewise.
47231 * csu/init.c: Likewise.
47232 * elf/tst-audit2.c: Likewise.
47233 * elf/tst-tls10.c: Likewise.
47234 * elf/tst-tls10.h: Likewise.
47235 * elf/tst-tls11.c: Likewise.
47236 * elf/tst-tls12.c: Likewise.
47237 * elf/tst-tls14.c: Likewise.
47238 * elf/tst-tlsmod11.c: Likewise.
47239 * elf/tst-tlsmod12.c: Likewise.
47240 * elf/tst-tlsmod13.c: Likewise.
47241 * elf/tst-tlsmod13a.c: Likewise.
47242 * elf/tst-tlsmod14a.c: Likewise.
47243 * elf/tst-tlsmod15b.c: Likewise.
47244 * elf/tst-tlsmod16a.c: Likewise.
47245 * elf/tst-tlsmod16b.c: Likewise.
47246 * elf/tst-tlsmod7.c: Likewise.
47247 * elf/tst-tlsmod8.c: Likewise.
47248 * elf/tst-tlsmod9.c: Likewise.
47249 * gmon/gmon.c: Likewise.
47250 * grp/fgetgrent_r.c: Likewise.
47251 * grp/putgrent.c: Likewise.
47252 * hurd/fopenport.c: Likewise.
47253 * include/libc-symbols.h: Likewise.
47254 * include/tls.h: Likewise.
47255 * intl/gettextP.h: Likewise.
47256 * intl/loadinfo.h: Likewise.
47257 * locale/global-locale.c: Likewise.
47258 * locale/localeinfo.h: Likewise.
47259 * mach/devstream.c: Likewise.
47260 * malloc/arena.c: Likewise.
47261 * malloc/set-freeres.c: Likewise.
47262 * misc/err.c: Likewise.
47263 * misc/getttyent.c: Likewise.
47264 * misc/mntent_r.c: Likewise.
47265 * posix/getopt.c: Likewise.
47266 * posix/wordexp.c: Likewise.
47267 * pwd/fgetpwent_r.c: Likewise.
47268 * resolv/Versions: Likewise.
47269 * resolv/res_hconf.c: Likewise.
47270 * shadow/fgetspent_r.c: Likewise.
47271 * shadow/putspent.c: Likewise.
47272 * stdio-common/printf_fphex.c: Likewise.
47273 * stdio-common/tmpfile.c: Likewise.
47274 * stdlib/abort.c: Likewise.
47275 * stdlib/fmtmsg.c: Likewise.
47276 * sunrpc/auth_unix.c: Likewise.
47277 * sunrpc/clnt_perr.c: Likewise.
47278 * sunrpc/clnt_tcp.c: Likewise.
47279 * sunrpc/clnt_udp.c: Likewise.
47280 * sunrpc/clnt_unix.c: Likewise.
47281 * sunrpc/openchild.c: Likewise.
47282 * sunrpc/svc_simple.c: Likewise.
47283 * sunrpc/svc_tcp.c: Likewise.
47284 * sunrpc/svc_udp.c: Likewise.
47285 * sunrpc/svc_unix.c: Likewise.
47286 * sunrpc/xdr.c: Likewise.
47287 * sunrpc/xdr_array.c: Likewise.
47288 * sunrpc/xdr_rec.c: Likewise.
47289 * sunrpc/xdr_ref.c: Likewise.
47290 * sunrpc/xdr_stdio.c: Likewise.
47292 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47294 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47296 2011-07-03 Andreas Jaeger <aj@suse.de>
47298 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47299 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47300 regenerate with gen-libm-tests.pl.
47302 2010-05-12 Petr Baudis <pasky@suse.cz>
47305 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47306 around j0() zero points by switching to j1().
47307 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47312 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47314 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47316 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47319 Patch in part by Pavel Roskin <proski@gnu.org>.
47322 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47324 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47325 Free memory block if necessary.
47328 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47329 be NULL. Don't lock in this case.
47331 2011-09-09 Roland McGrath <roland@hack.frob.com>
47333 * elf/elf.h (ELFOSABI_GNU): New macro.
47334 (ELFOSABI_LINUX): Define to that.
47336 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47338 * string/strncat.c (strncat): Undef the symbol in case it has been
47339 defined in bits/string.h.
47341 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47343 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47345 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47348 2011-08-17 Andreas Jaeger <aj@suse.de>
47350 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47352 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47353 Ian Lance Taylor <iant@google.com>
47355 * math/libm-test.inc (lround_test): New testcase.
47356 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47358 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47360 * Makefile: Remove support for automatic cvs check-ins.
47361 * Makerules: Likewise.
47362 * config.make.in: Likewise.
47363 * configure.in: Likewise.
47364 * intl/Makefile: Likewise.
47365 * locale/Makefile: Likewise.
47366 * po/Makefile: Likewise.
47367 * posix/Makefile: Likewise.
47368 * sysdeps/gnu/Makefile: Likewise.
47369 * sysdeps/mach/hurd/Makefile: Likewise.
47370 * sysdeps/sparc/sparc32/Makefile: Likewise.
47373 * posix/Makefile (bug-regex32-ENV): Define.
47374 Patch by John Stanley <jpsinthemix@verizon.net>.
47376 * misc/Makefile (headers): Add bits/select2.h.
47377 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47378 * misc/bits/select2.h: New file.
47379 * include/bits/select2.h: New file.
47380 * debug/Makefile (routines): Add fdelt_chk.
47381 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47382 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47384 * debug/fdelt_chk.c: New file.
47386 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47387 * wcsmbs/test-wmemcmp.c: Likewise.
47388 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47389 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47391 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47393 * string/Makefile (strop-tests): Add memcmp.
47394 * string/test-wmemcmp.c: New file.
47395 * string/test-memcmp.c: Add wmemcmp support.
47397 2011-09-08 Roland McGrath <roland@hack.frob.com>
47400 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47403 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47404 garbage value in a __mach_port_mod_refs call in the cases of the
47405 task-self and thread-self ports.
47407 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47409 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47411 2011-09-08 Andreas Schwab <schwab@redhat.com>
47413 * elf/dl-load.c (lose): Check for non-null L.
47415 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47417 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47419 * elf/dl-libc.c (dlerror_run): Pass back error code from
47423 * elf/dl-load.c (lose): Free l_origin if it is valid.
47425 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47427 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47428 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47430 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47431 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47432 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47434 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47436 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47437 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47438 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47439 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47440 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47441 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47442 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47443 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47444 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47445 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47447 2011-08-15 Alan Modra <amodra@gmail.com>
47450 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47451 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47452 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47453 ppc_mcount to static-only-routines.
47454 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47456 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47457 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47459 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47461 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47462 for finite and infinity parameters.
47464 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47467 and add nop instructions for throughput optimization.
47468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47470 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47473 aligned copy for power7 with vector-scalar instructions.
47474 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47476 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47481 2011-09-07 Andreas Schwab <schwab@redhat.com>
47484 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47487 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47489 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47490 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47491 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47492 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47495 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47497 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47498 Forgot to demangle the pointer.
47500 * sysdeps/i386/sysdep.h: Define atom_text_section.
47501 * sysdeps/x86_64/sysdep.h: Likewise.
47502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47503 section with atom_text_section.
47504 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47505 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47506 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47510 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47511 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47512 already be defined. Change to take two parameters and don't assign
47513 result to variable. Adjust all users.
47514 Define INTERNAL_GETTIME if not already defined.
47515 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47518 HAVE_CLOCK_GETTIME_VSYSCALL.
47519 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47522 gettimeofday vsyscall, just use time.
47524 2011-09-06 Andreas Schwab <schwab@redhat.com>
47526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47529 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47531 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47535 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47537 syscall if possible.
47539 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47541 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47542 e_ident. Don't pass to find_mapsXX.
47543 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47545 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47548 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47549 * sysdeps/x86_64/multiarch/strchr.S: Update.
47550 Check bit_slow_BSF bit.
47551 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47552 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47553 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47555 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47558 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47560 (tryshell): Define.
47561 (__spawni): Change last parameter to be flag. Test
47562 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47563 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47564 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47565 * posix/spawni.c: Likewise.
47566 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47567 * posix/spawnp.c: Likewise. Change normal version to use
47568 SPAWN_XFLAGS_USE_PATH.
47569 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47570 SPAWN_XFLAGS_TRY_SHELL.
47573 * posix/glob.h: Remove gcc 1.x support.
47576 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47578 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47581 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47583 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47584 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47585 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47586 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47587 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47590 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47592 * sysdeps/x86_64/wcscmp.S: New file.
47594 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47595 wcscmp-c wcscmp-sse2
47596 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47597 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47598 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47599 * wcsmbs/wcscmp.c: Allow renaming.
47601 2011-09-05 David S. Miller <davem@davemloft.net>
47603 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47604 stack slot, rather than the struct return pointer slot.
47605 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47606 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47608 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47610 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47612 * po/ja.po: Update from translation team.
47615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47616 kernel in 64-bit binaries.
47618 2011-09-01 David S. Miller <davem@davemloft.net>
47620 * elf/elf.h (HWCAP_SPARC_*): Move to..
47621 * sysdeps/sparc/sysdep.h: this new file and add new values.
47622 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47623 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47624 _DL_HWCAP_COUNT to 24.
47625 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47627 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47628 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47629 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47631 instead of magic constants.
47632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47634 2011-08-31 David S. Miller <davem@davemloft.net>
47636 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47638 Reimplement to do errno handling inline.
47639 (SYSCALL_ERROR_HANDLER): New macro.
47640 (__SYSCALL_STRING): Do not do errno handling in asm.
47641 (__CLONE_SYSCALL_STRING): Delete.
47642 (__INTERNAL_SYSCALL_STRING): Delete.
47643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47644 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47645 (PSEUDO): Reimplement to do errno handling inline.
47646 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47647 (SYSCALL_ERROR_HANDLER): New macro.
47648 (__SYSCALL_STRING): Do not do errno handling in asm.
47649 (__CLONE_SYSCALL_STRING): Delete.
47650 (__INTERNAL_SYSCALL_STRING): Delete.
47651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47652 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47654 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47655 (inline_syscall*): Add 'err' argument.
47656 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47657 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47658 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47659 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47661 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47662 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47664 2011-08-30 Andreas Schwab <schwab@redhat.com>
47666 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47668 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47670 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47673 2011-08-24 David S. Miller <davem@davemloft.net>
47675 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47677 2011-08-24 Andreas Schwab <schwab@redhat.com>
47679 * elf/Makefile: Add rules to build and run unload8 test.
47680 * elf/unload8.c: New file.
47681 * elf/unload8mod1.c: New file.
47682 * elf/unload8mod1x.c: New file.
47683 * elf/unload8mod2.c: New file.
47684 * elf/unload8mod3.c: New file.
47686 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47689 2011-08-23 David S. Miller <davem@davemloft.net>
47691 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47692 subtract stack bias.
47693 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47694 %sp not %fp in calculations.
47695 (_JMPBUF_UNWINDS_ADJ): Likewise.
47697 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47698 (aio_suspend): Call it to force an exception region around the
47699 AIO_MISC_WAIT() invocation.
47701 2011-08-23 Andreas Schwab <schwab@redhat.com>
47703 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47706 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47708 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47710 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47711 and <dl-machine.h>.
47712 (Elf64_FuncDesc): Remove.
47714 2011-08-22 David S. Miller <davem@davemloft.net>
47716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47717 sigaltstack check, add missing cfi directives.
47718 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47719 missing cfi directives, and sigaltstack handling.
47721 2011-08-16 Andreas Schwab <schwab@redhat.com>
47724 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47725 object is seen twice.
47726 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47728 * elf/Makefile (distribute): Add tst-initorder2.c.
47729 (tests): Add tst-initorder2.
47730 (modules-names): Add tst-initorder2a tst-initorder2b
47731 tst-initorder2c tst-initorder2d. Add rules to build them.
47732 ($(objpfx)tst-initorder2.out): New rule.
47733 * elf/tst-initorder2.c: New file.
47734 * elf/tst-initorder2.exp: New file.
47736 2011-08-22 Andreas Schwab <schwab@redhat.com>
47738 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47740 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47741 dependencies back to end of function.
47743 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47744 $(elfobjdir)/ld.so.
47746 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47749 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47751 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47752 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47753 of __vdso_gettimeofday.
47754 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47755 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47757 (_libc_vdso_platform_setup): Remove initialization of
47758 __vdso_gettimeofday and __vdso_time.
47760 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47762 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47763 and fgetc_unlocked.
47764 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47767 * elf/dl-open.c (add_to_global): Report additions to the global scope
47768 for LD_DEBUG=scopes.
47769 (dl_open_worker): Also print scope of newly loaded dependencies.
47770 (_dl_show_scope): Indicate if there is no scope.
47773 * stdio-common/Makefile (tests): Add bug24.
47774 * stdio-common/bug24.c: New file.
47776 2011-08-19 Andreas Jaeger <aj@suse.de>
47779 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47780 non-existant file when using close-on-exec mode.
47782 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47785 the very first instruction.
47787 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47788 the CFI state in the end.
47789 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47790 inclusion of dl-trampoline.h.
47791 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47793 2011-08-19 Andreas Schwab <schwab@redhat.com>
47795 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47796 expectations for long double.
47798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47799 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47801 2011-08-14 David S. Miller <davem@davemloft.net>
47803 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47804 artificual limit depends upon the system page size.
47806 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47808 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47809 * resolv/Makefile: Define CFLAGS-libresolv.
47811 2011-08-17 Andreas Schwab <schwab@redhat.com>
47813 * nss/makedb.c (compute_tables): Make variables used in nested
47816 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47818 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47819 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47820 if buffer was too small.
47822 * elf/pldd.c (main): Attach to all threads in the process.
47823 Rewrite /proc handling to use *at functions.
47825 2011-08-16 Ulrich Drepper <drepper@gmail.com>
47827 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47828 specifies first scope to show.
47829 (dl_open_worker): Update callers. Move printing scope of new
47830 object to before the relocation.
47831 * elf/rtld.c (dl_main): Update _dl_show_scope call.
47832 * sysdeps/generic/ldsodefs.h: Update declaration.
47834 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47835 string for the scope number.
47837 2011-08-14 Ulrich Drepper <drepper@gmail.com>
47839 * nscd/servicescache.c (cache_addserv): Make sure written is always
47842 2011-08-14 Roland McGrath <roland@hack.frob.com>
47844 * sysdeps/i386/i486/bits/atomic.h
47845 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47846 statement expression, so as to suppress "set but not used" warning.
47847 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47849 * string/strncat.c (STRNCAT): Use prototype definition.
47851 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47852 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47854 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47855 (localedef-modules): Add localedef.
47856 (locale-modules): Add locale.
47858 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47859 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47860 to avoid a warning.
47862 2011-08-14 David S. Miller <davem@davemloft.net>
47864 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47865 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47867 2011-08-13 Ulrich Drepper <drepper@gmail.com>
47869 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47870 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47871 * elf/rtld.c (dl_main): Set l_name of vDSO.
47872 Call _dl_show_scope when DL_DEBUG_SCOPES.
47873 (process_dl_debug): Recognize scopes flag and also set it for all.
47874 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47875 Declare _dl_show_scope.
47877 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47878 (do_dlopen): Pass caller_dlopen to dl_open.
47879 (__libc_dlopen_mode): Initialize caller_dlopen.
47881 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47882 of libc. Make tolower call locale-independent. Optimize a bit by
47883 using isdigit instead of isalnum.
47884 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47886 2011-08-12 Ulrich Drepper <drepper@gmail.com>
47888 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47889 was a dependency or dynamically loaded.
47891 2011-08-11 Ulrich Drepper <drepper@gmail.com>
47893 * intl/l10nflist.c: Allow architecture-specific pop function.
47894 * sysdeps/x86_64/l10nflist.c: New file.
47896 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47899 2011-08-10 Andreas Schwab <schwab@redhat.com>
47901 * include/dirent.h: Add libc_hidden_proto for scandirat and
47902 scandirat64. Don't declare __scandirat64.
47903 * dirent/scandirat.c: Add libc_hidden_def.
47904 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47905 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47907 2011-08-10 David S. Miller <davem@davemloft.net>
47909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47915 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47917 * Versions.def [libc]: Add GLIBC_2.15.
47918 * dirent/Makefile (routines): Add scandirat and scandirat64.
47919 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47921 * dirent/dirent.h: Declare scandirat and scandirat64.
47922 * dirent/scandirat.c: New file.
47923 * dirent/scandirat64.c: New file.
47924 * sysdeps/wordsize-64/scandirat.c: New file.
47925 * sysdeps/wordsize-64/scandirat64.c: New file.
47926 * dirent/opendir.c: Define opendirat.
47927 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47929 * dirent/scandir64.c: Adjust for scandir.c change.
47930 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47931 __scandirat64, and __scandir_cancel_handler.
47932 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47933 additional parameter and use openat instead of open (outside of ld.so).
47934 Add new __opendir as wrapper around __opendirat.
47935 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47936 here without requiring old scandirat implementation.
47938 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47940 * dirent/scandir.c (cancel_handler): Renamed to
47941 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47942 defined. Adjust users.
47943 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47946 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47948 * string/test-string.h (IMPL): Use __STRING to expand name and then
47951 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47954 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47956 * string/Makefile: Update.
47957 (strop-tests): Append strncat.
47958 * string/test-wcscmp.c: New file.
47959 New comprehensive test for wcscmp.
47960 * string/test-strcmp.c: Update.
47961 (WIDE): New define.
47963 2011-07-22 Andreas Schwab <schwab@redhat.com>
47965 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47968 2011-07-26 Andreas Schwab <schwab@redhat.com>
47970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47971 encoding to ACE if AI_IDN.
47973 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47975 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47976 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47978 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47980 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47981 Fix overflow bug in strncat.
47982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47984 * string/test-strncat.c: Update.
47985 Add new tests for checking overflow bugs.
47987 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47990 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47991 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47992 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47993 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47994 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47995 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47996 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47997 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48000 (USE_AS_STRCAT): Define.
48001 Add strcat and strncat support.
48002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48004 2011-07-25 Andreas Schwab <schwab@redhat.com>
48006 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48007 __n bigger than INT_MAX+1.
48008 (__strncmp_g): Likewise.
48010 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48012 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48013 * libio/stido.h: Likewise.
48015 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48020 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48021 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48027 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48032 (_dl_x86_64_save_sse): Likewise.
48034 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48038 (_dl_x86_64_save_sse): Likewise.
48040 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48042 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48044 2011-07-21 Andreas Schwab <schwab@redhat.com>
48046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48048 (_dl_x86_64_save_sse): Use correct AVX check.
48050 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48053 bug in strncpy/strncat.
48054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48056 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48058 * string/tester.c (test_strcat): Add tests for different alignments
48059 of source and destination.
48060 (test_strncat): Likewise.
48062 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48065 * posix/glob.c (glob): Check passed in values before using them in
48066 expressions to avoid some overflows.
48067 (glob_in_dir): Likewise.
48070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48071 check for AVX enablement so that we don't crash with old kernels and
48073 * elf/tst-audit4.c: Add same checks here.
48074 * elf/tst-audit6.c: Likewise.
48076 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48078 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48080 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48082 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48084 * po/cs.po: Update from translation team.
48085 * po/bg.po: Likewise.
48087 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48089 * misc/sys/cdefs.h: Add support for const attribute.
48090 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48091 to gnu_dev_{major,minor,makedev} functions.
48093 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48095 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48097 2011-07-20 Andreas Schwab <schwab@redhat.com>
48099 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48102 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48105 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48106 register in order to avoid conflicts with the soft frame pointer
48107 being held in r11 when necessary.
48108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48109 (INTERNAL_VSYSCALL_NCS): Likewise.
48111 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48113 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48114 * elf/dl-fini.c (_dl_fini): Adjust caller.
48115 * elf/dl-close.c (_dl_close_worker): Likewise.
48116 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48118 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48120 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48121 "aux_cache->nlibs < 0".
48123 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48124 in the reload-count case.
48126 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48129 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48130 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48131 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48132 * sysdeps/x86_64/multiarch/strcat.S: New file.
48133 * sysdeps/x86_64/multiarch/strncat.S: New file.
48134 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48136 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48137 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48139 (USE_AS_STRCAT): Define.
48140 Add strcat and strncat support.
48141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48142 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48143 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48144 * string/strncat.c: Update.
48145 (USE_AS_STRNCAT): Define.
48146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48147 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48149 * sysdeps/x86_64/multiarch/init-arch.h
48150 (bit_Prefer_PMINUB_for_stringop): New.
48151 (index_Prefer_PMINUB_for_stringop): Likewise.
48152 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48153 bit_Prefer_PMINUB_for_stringop.
48155 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48157 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48159 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48160 of casting of buffer.
48161 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48162 buffer32 and buffer64.
48163 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48164 writes instead of casting of buffer.
48165 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48167 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48170 2011-07-19 Andreas Schwab <schwab@redhat.com>
48172 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48174 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48176 * nscd/nscd.c (termination_handler): Don't do anything for a database
48177 if it has not yet been initialized.
48179 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48181 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48183 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48185 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48187 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48189 * po/nl.po: Update from translation team.
48190 * po/sv.po: Likewise.
48192 2011-07-16 Roland McGrath <roland@hack.frob.com>
48194 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48195 now disallowed by GCC.
48197 * configure.in (use-default-link): Default to yes if a test -shared
48198 link meets our qualifications.
48199 * configure: Regenerated.
48201 * config.make.in (output-format): New variable.
48202 * configure.in: Check for ld --print-output-format support.
48203 * configure: Regenerated.
48204 * Makerules ($(common-objpfx)format.lds)
48205 [$(output-format) != unknown]: Just use $(output-format),
48206 instead of the linker-script munging.
48208 2011-07-14 Roland McGrath <roland@hack.frob.com>
48210 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48211 of $(common-objpfx)shlib.lds.
48212 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48214 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48215 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48217 * configure.in (-z relro check): Adjust test code to add a large
48218 writable data section after it.
48219 * configure: Regenerated.
48221 2011-07-11 Roland McGrath <roland@hack.frob.com>
48223 * configure.in (-z relro check): Fix test code to make the variable
48225 * configure: Regenerated.
48227 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48229 * nscd/nscd.h (struct traced_file): Define.
48230 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48231 elements. Add traced_files.
48232 (inotify_fd): Declare.
48233 (register_traced_file): Declare.
48234 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48235 (inotify_fd): Export.
48236 (resolv_conf_descr): Remove.
48237 (nscd_init): Move inotify descriptor creation to main.
48238 Don't register files for notification here.
48239 (register_traced_file): New function.
48240 (invalidate_cache): Don't use reset_res to determine whether to call
48241 res_init, go through the list of registered files.
48242 (main_loop_poll): The inotify descriptors are now stored in the
48243 structures for the traced files.
48244 (main_loop_epoll): Likewise
48245 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48246 to __nss_disable_nscd.
48247 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48248 for a database anymore. Check the records for all the registered
48250 * nss/Makefile (libnss_files-routines): Add files-init.
48251 (libnss_db-routines): Add db-init.
48252 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48253 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48254 * nss/nss_db/db-init.c: New file.
48255 * nss/nss_files/files-init.c: New file.
48256 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48257 __nss_lookup_function.
48258 (__nss_lookup_function): Call nss_load_library.
48259 (nss_load_all_libraries): New function.
48260 (__nss_disable_nscd): Take parameter with callback function for files
48261 to register. Set is_nscd. Load all the DSOs for the NSS modules
48262 used for the cached services.
48263 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48264 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48265 options for features to all the files in nscd.
48267 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48269 2011-07-10 Roland McGrath <roland@hack.frob.com>
48271 * csu/elf-init.c (__libc_csu_init): Comment typo.
48273 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48275 * po/pl.po: Update from translation team.
48276 * po/ja.po: Likewise.
48277 * po/ru.po: Likewise.
48278 * po/ko.po: Likewise.
48279 * po/fr.po: Likewise.
48281 2011-07-09 Roland McGrath <roland@hack.frob.com>
48283 * configure.in (.ctors/.dtors header and trailer check):
48284 Use an empirical test on a built program.
48285 * configure: Regenerated.
48287 * configure.in (-z relro check): Use an empirical test on a built DSO.
48288 Detect, but do not require, on ia64.
48289 * configure: Regenerated.
48291 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48292 Update tests that use readelf to use $READELF instead.
48293 * configure: Regenerated.
48295 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48297 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48298 if the result is not used.
48300 2011-07-05 Andreas Jaeger <aj@suse.de>
48303 * stdlib/tst-strtod.c: Add testcase.
48305 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48307 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48308 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48309 The latter has a higher limit. Take additional parameter to pass to
48311 (__pathconf): Pass file to __statfs_link_max.
48312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48314 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48318 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48322 (__statfs_filesize_max): Likewise.
48323 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48325 2011-07-05 Andreas Jaeger <aj@suse.de>
48327 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48329 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48331 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48333 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48336 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48338 * Makefile (strop-tests): Add strncat.
48339 * string/test-strncat.c: New file.
48341 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48343 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48345 2011-06-21 Andreas Jaeger <aj@suse.de>
48347 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48348 Copy rule from iconvdata/Makefile.
48350 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48353 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48354 but no long options are defined, just return 'W'.
48356 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48359 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48361 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48363 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48365 (innetgr): Likewise.
48367 2011-07-05 Roland McGrath <roland@hack.frob.com>
48369 * config.make.in (install_root): Default to $(DESTDIR).
48371 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48375 2011-07-02 Roland McGrath <roland@hack.frob.com>
48377 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48379 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48380 containing directory rather than embedding absolute directory names.
48382 * scripts/check-local-headers.sh: Rewritten using awk.
48383 Match by word, not by line. Print error messages for matches.
48384 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48386 * Makerules [shlib-lds-flags empty]:
48387 ($(common-objpfx)libc_pic.opts): New target.
48388 ($(common-objpfx)libc_pic.os.clean): New target.
48389 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48391 * config.make.in (OBJCOPY): New variable.
48392 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48393 * configure: Regenerated.
48395 * config.make.in (use-default-link): New variable.
48396 * configure.in (use_default_link): Grok --with-default-link to set it.
48397 * configure: Regenerated.
48398 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48399 (shlib-lds, shlib-lds-flags): Define to empty.
48401 * Makerules (shlib-lds): New variable.
48402 (shlib-lds-flags): New variable.
48403 (build-shlib, build-moduile, build-module-asneeded): Use it.
48404 ($(common-objpfx)libc.so): Use $(shlib-lds).
48405 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48406 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48408 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48409 DT_FLAGS/DT_FLAGS_1 with zero flags.
48411 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48412 linker script munging.
48414 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48416 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48418 * crypt/sha512.c (sha512_process_block): Perform total addition using
48419 128-bit if possible.
48420 (__sha512_finish_ctx): Likewise.
48421 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48423 * crypt/sha256.c (SWAP64): Define.
48424 (sha256_process_block): Perform total addition using 64-bit if
48426 (__sha256_finish_ctx): Likewise.
48428 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48430 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48432 * nscd/hstcache.c (cache_addhst): Likewise.
48433 * nscd/grpcache.c (cache_addgr): Likewise.
48434 * nscd/aicache.c (addhstaiX): Likewise
48435 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48437 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48439 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48441 * nscd/hstcache.c (cache_addhst): Likewise.
48442 * nscd/grpcache.c (cache_addgr): Likewise.
48443 * nscd/aicache.c (addhstaiX): Likewise
48445 2011-07-01 Andreas Schwab <schwab@redhat.com>
48447 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48448 domain only when needed.
48450 2011-06-30 Andreas Schwab <schwab@redhat.com>
48452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48453 is always restored.
48455 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48457 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48458 are re-adding the entry.
48459 * nscd/servicescache.c (cache_addserv): Likewise.
48461 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48463 * sysdeps/generic/dl-irel.h: fix protection against multiple
48465 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48467 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48470 * malloc/memusage.sh: Fix quoting in message.
48471 * debug/xtrace.sh: Likewise.
48473 * configure.in: Remove support for --experimental-malloc option, make
48475 * config.make.in: Likewise.
48476 * malloc/Makefile: Likewise.
48478 2011-06-27 Andreas Schwab <schwab@redhat.com>
48480 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48481 two-byte characters.
48483 2011-06-27 Roland McGrath <roland@hack.frob.com>
48485 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48486 AC_CACHE_CHECK invocation.
48487 * configure: Regenerated.
48489 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48491 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48494 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48495 bit from old_res_options.
48497 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48499 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48500 value type for setfct.
48502 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48504 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48505 __gettimeofday instead of gettimeofday.
48507 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48509 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48511 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48518 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48521 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48522 strcpy-sse2-unaligned strncpy-sse2-unaligned
48523 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48524 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48525 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48526 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48527 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48530 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48531 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48532 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48533 (STRCPY): Support SSE2 and SSSE3 versions.
48535 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48538 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48539 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48540 kernels which artificially limit size of requests.
48542 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48545 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48546 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48547 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48548 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48549 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48550 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48551 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48554 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48555 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48556 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48557 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48558 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48560 Enable unaligned load optimization for Intel Core i3, i5 and i7
48562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48564 (index_Fast_Unaligned_Load): Define.
48565 (HAS_FAST_UNALIGNED_LOAD): Define.
48567 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48569 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48571 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48575 until it is clear that the information is realy needed.
48576 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48578 2011-06-22 Andreas Schwab <schwab@redhat.com>
48580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48582 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48585 /sys/devices/system/cpu/online if it is usable.
48587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48588 reading the information from the /proc filesystem to once a second.
48590 2011-06-21 Andreas Jaeger <aj@suse.de>
48592 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48593 NULL after inclusion of kernel headers.
48595 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48597 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48598 calls to internal_setent.
48601 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48602 addresses using gethostbyname4_r ignore IPv4 addresses.
48604 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48605 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48607 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48609 2011-06-20 David S. Miller <davem@davemloft.net>
48611 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48613 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48615 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48616 (elf_irel): Use it.
48617 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48618 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48619 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48620 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48621 * sysdeps/x86_64/dl-irel.h: Likewise.
48623 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48624 * elf/dl-sym.c: Likewise.
48626 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48628 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48629 need to dereference resplen2.
48631 2011-06-14 Andreas Schwab <schwab@redhat.com>
48633 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48635 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48637 * Makeconfig: Define vardbdir and inst_vardbdir.
48638 * nss/Makefile: Add rules to install db-Makefile.
48640 * nss/nss_db/db-XXX.c: Cleanup.
48642 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48643 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48645 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48646 * nss/makedb.c: Implement -g option to specify that value strings
48647 are generated and should not be added to table iterated over for
48649 * nss/nss_db/db-initgroups.c: New file.
48651 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48654 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48655 (internal_getgrouplist): Adjust to name change.
48656 Update use_initgroups_entry if this is not the first call.
48657 * nss/databases.def: Add initgroups entry.
48659 * nss/makedb.c (compute_tables): Check result of multiple hash table
48660 sizes to minimize maximum chain length.
48662 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48664 * Versions.def: Add entry for libnss_db.
48665 * shlib-versions: Likewise.
48666 * nss/Makefile: Add rules to build libnss_db.
48667 * nss/Versions: Add libnss_db information. Organize libnss_files
48669 * nss/db-Makefile: Add gshadow support. Change rules for the new
48670 makedb progra. Some minor improvements to generate smaller files.
48671 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48673 * nss/makedb.c: ...here.
48674 Improve database format to be smaller and require less memory at
48676 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48678 * nss/nss_db/db-netgrp.c: Likewise.
48679 * nss/nss_db/db-open.c: Likewise.
48680 * nss/nss_files/flies-XXX.x: Adjust comments.
48681 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48682 * nss/nss_files/files-grp.c: Likewise.
48683 * nss/nss_files/files-hosts.c: Likewise.
48684 * nss/nss_files/files-network.c: Likewise.
48685 * nss/nss_files/files-proto.c: Likewise.
48686 * nss/nss_files/files-pwd.c: Likewise.
48687 * nss/nss_files/files-rpc.c: Likewise.
48688 * nss/nss_files/files-service.c: Likewise.
48689 * nss/nss_files/files-sgrp.c: Likewise.
48690 * nss/nss_files/files-spwd.c: Likewise.
48691 * nss/nss_db/db-alias.c: Removed.
48692 * nss/nss_db/dummy-db.h: Removed.
48694 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48696 * nss/makedb.c: Rewritten to not use database library.
48697 * nss/Makefile: Update to build new makedb program.
48699 2011-06-14 Andreas Jaeger <aj@suse.de>
48701 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48702 memset declaration.
48704 2011-06-10 Andreas Schwab <schwab@redhat.com>
48706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48709 2011-06-10 Roland McGrath <roland@hack.frob.com>
48711 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48712 * elf/Makefile ($(objpfx)ld.so): Likewise.
48714 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48715 Don't list ld.so twice in dependencies.
48717 * posix/bug-regex31.c: Include <stdlib.h>.
48719 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48721 * nis/nss_compat/compat-spwd.c
48722 (getspent_next_nss_netgr): Remove unused variable.
48723 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48725 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48726 nonmembers" output to use the right array.
48728 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48730 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48732 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48733 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48734 * catgets/gencat.c (read_input_file): Likewise.
48735 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48737 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48738 variable definition inside #if's controlling its use.
48740 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48742 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48744 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48746 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48749 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48751 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48752 * configure: Regenerated.
48754 * Makerules: Revert last change.
48755 * elf/Makefile: Likewise.
48757 2011-06-09 Roland McGrath <roland@hack.frob.com>
48759 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48760 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48761 (reloc-link): Likewise.
48763 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48765 * elf/Makefile: Add rules to build pldd.
48766 * elf/pldd.c: New file.
48767 * elf/pldd-xx.c: New file.
48769 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48771 * version.h: Update for 2.15 development version.
48773 2011-06-07 David S. Miller <davem@davemloft.net>
48775 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48778 elf_machine_lazy_rel): Likewise.
48779 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48781 elf_machine_lazy_rel): Likewise.
48782 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48783 dl_hwcap via passed in argument.
48784 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48787 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48789 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48791 2011-06-06 Roland McGrath <roland@hack.frob.com>
48794 * manual/fdl-1.1.texi: New file, verbatim from:
48795 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48796 * manual/lgpl-2.1.texi: New file, verbatim from:
48797 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48798 * manual/Makefile (licenses): New variable, list those new file names.
48800 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48802 * manual/fdl.texi: File removed.
48803 * manual/lesser.texi: File removed.
48804 * manual/libc.texinfo (Copying, Documentation License):
48805 Use new @include file names, put @appendix directive before @include.
48807 2011-06-04 Jakub Jelinek <jakub@redhat.com>
48810 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48811 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48812 (mq_open): Add __NTH.
48814 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48817 Assume Intel Core i3/i5/i7 processor if AVX is available.
48819 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48824 2011-05-31 Andreas Schwab <schwab@redhat.com>
48826 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48827 memory. Use alloca_account. Fix memory leak when retrying.
48829 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48831 * version.h (RELEASE): Bump for 2.14 release.
48832 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48834 * config.make.in (RANLIB): Remove entry.
48836 2011-05-30 Ulrich Drepper <drepper@gmail.com>
48838 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48839 (libc.pot): Work around missing support for .ksh extension in xgettext.
48842 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48843 if both request failed.
48844 (send_dg): In case of server errors clear resplen or *resplen2.
48847 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48848 when there are multiple maps.
48849 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48850 (_dl_fini): Remove test here.
48852 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48854 2011-05-29 Ulrich Drepper <drepper@gmail.com>
48857 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48858 bit from old_res_options.
48859 (gaih_inet): Likewise.
48862 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48865 * resolv/res_init.c (res_setoptions): Make the code more compact.
48868 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48872 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48874 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48877 * malloc/malloc.h: Declare malloc hook variables as volatile.
48879 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48883 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48884 raise in the comment.
48885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48887 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48889 2011-05-28 Ulrich Drepper <drepper@gmail.com>
48892 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48893 grow the buffers more if it already has to be sufficient.
48894 (build_wcs_upper_buffer): Likewise.
48895 * posix/regexec.c (check_matching): Likewise.
48896 (clean_state_log_if_needed): Likewise.
48897 (extend_buffers): Don't enlarge buffers beyond size of the input
48899 Patches mostly by Emil Wojak <emil@wojak.eu>.
48900 * posix/bug-regex32.c: New file.
48901 * posix/Makefile (tests): Add bug-regex32.
48903 * locale/findlocale.c (_nl_find_locale): Return right away if
48904 _nl_explode_name failed.
48905 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48907 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48909 * debug/xtrace.sh: Unify messages.
48910 * malloc/memusage.sh: Likewise.
48913 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48914 time symbol from vDSO. Substitute with vsyscall if not available.
48915 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48918 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48919 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48920 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48921 Add sendmmsg and internal_sendmmsg.
48922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48923 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48924 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48926 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48927 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48930 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48933 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48934 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48940 * iconvdata/Makefile (tests): Add bug-iconv9.
48941 * iconvdata/bug-iconv9.c: New file.
48943 2011-05-27 Andreas Schwab <schwab@redhat.com>
48946 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48948 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48950 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48951 (struct user_regs_struct): Change intcs field back to cs.
48953 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48955 * po/ja.po: Update from translation team.
48957 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48960 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48961 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48963 2011-05-20 Andreas Schwab <schwab@redhat.com>
48965 * stdlib/longlong.h: Update from GCC.
48967 2011-05-23 Andreas Schwab <schwab@redhat.com>
48969 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48971 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48972 Add parameter name.
48973 (__sysconf): Pass it down.
48975 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48978 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48981 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48982 add in in __libc_use_alloca calls. Adjust callers.
48983 (glob): Use malloc in some situations.
48985 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48986 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48989 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48991 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48992 and CLOCK_BOOTTIME_ALARM.
48995 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48998 * string/_strerror.c (__strerror_r): Print negative errors as signed
49002 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49003 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49004 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49006 * configure.in: Fix typo in redirection and correct removal of test
49007 files in two cases.
49010 * locale/setlocale.c (new_composite_name): Fix test to check for
49011 identical name of all categories.
49014 * libio/filedoalloc.c (local_isatty): New function.
49015 (_IO_file_doallocate): Use local_isatty.
49016 * stdio-common/perror.c (perror): In case a new stream is used
49017 forward the stream error.
49018 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49021 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49026 * include/alloca.h (extend_alloca_account): Define.
49029 * posix/regex.h: Fix comments with documentation of user-accessible
49030 fields after compilation and describe correct free'ing of pattern
49031 after re_compile_pattern.
49032 Patch by Reuben Thomas <rrt@sc3d.org>.
49034 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49036 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49037 and -mno-altivec to prevent the compiler from using Altivec and/or
49038 VSX instructions when the corresponding registers are not available.
49040 2011-05-19 Andreas Schwab <schwab@redhat.com>
49042 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49044 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49046 * libio/freopen.c (freopen): Use __dup2, not dup2.
49047 * libio/freopen64.c (freopen64): Likewise.
49049 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49052 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49053 * math/Makefile (tests): Add test-powl.
49054 (CFLAGS-test-powl.c): Define.
49055 * math/test-powl.c: New file.
49057 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49059 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49061 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49064 * iconvdata/gb18030.c: Update to GB18020-2005.
49066 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49068 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49069 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49070 Patch by Aharon Robbins <arnold@skeeve.com>.
49073 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49077 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49078 through underflows.
49081 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49082 point to strings before performing equality test for error_one_per_line
49086 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49090 (struct user_fpregs_struct): Avoid __uint*_t types.
49093 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49094 symbol info. Use it instead of calling _dl_addr locally.
49095 (lock_and_info): New function.
49096 (tr_freehook): Call lock_and_info and pass symbol info as additional
49097 parameter to tr_where.
49098 (tr_mallochook): Likewise.
49099 (tr_reallochook): Likewise.
49100 (tr_memalignhook): Likewise.
49102 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49103 used and couldn't be at all thread-safe.
49105 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49107 * libio/freopen.c (freopen): Don't close old file descriptor
49108 before the new one is opened. Instead dup the new file descriptor
49109 to the old one after the new stream is created.
49110 * libio/freopen64.c (freopen64): Likewise.
49111 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49112 * libio/fileops.c (_IO_new_file_close_it): Handle new
49113 _IO_FLAGS2_NOCLOSE flag.
49114 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49115 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49116 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49117 _IO_FLAGS2_NOCLOSE flag.
49118 * include/unistd.h: Add hidden_proto for dup3.
49119 Define __have_dup3.
49120 * io/dup3.c: Define hidden symbol.
49121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49124 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49125 when an incomplete long option is used.
49126 * posix/tst-getopt_long1.c: New file.
49127 * posix/Makefile (tests): Add tst-getopt_long1.
49130 * scripts/config.guess: Update from autoconf-2.68.
49131 * scripts/config.sub: Likewise.
49134 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49136 (has_cpuclock): ...this. New function.
49137 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49138 macro here based on has_cpuclock code.
49141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49142 First byte (not low byte) is now always NUL.
49143 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49146 Use non-cancelable interfaces.
49149 * locale/iso-639.def: Add entry for Sorani.
49152 * include/stdlib.h: Move include protection to the right place.
49153 Define abort_msg_s. Declare __abort_msg with it.
49154 * stdlib/abort.c (__abort_msg): Adjust type.
49155 * assert/assert.c (__assert_fail_base): New function. Majority
49156 of code from __assert_fail. Allocate memory for __abort_msg with
49158 (__assert_fail): Now call __assert_fail_base.
49159 * assert/assert-perr.c: Remove bulk of implementation. Use
49160 __assert_fail_base.
49161 * include/assert.hL Declare __assert_fail_base.
49162 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49164 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49166 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49170 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49171 until all modules are registered in the DTV.
49172 * elf/Makefile: Add rules to build and run tst-tls19.
49173 * elf/tst-tls19.c: New file.
49174 * elf/tst-tls19mod1.c: New file.
49175 * elf/tst-tls19mod2.c: New file.
49176 * elf/tst-tls19mod3.c: New file.
49177 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49180 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49184 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49185 two-byte sequence errors.
49186 * iconvdata/Makefile (tests): Add bug-iconv8.
49187 * iconvdata/bug-iconv8.c: New file.
49190 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49193 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49196 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49197 (dummy_getcfa): New function.
49198 (init): Get _Unwind_GetCFA address, use dummy if not found.
49199 (backtrace_helper): In recursion check, also check whether CFA changes.
49200 (__backtrace): Completely initialize arg.
49202 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49203 storing incomplete byte sequence in state object. Avoid testing for
49204 guaranteed too small input if we know there is enough data available.
49206 2011-05-11 Andreas Schwab <schwab@redhat.com>
49208 * Makeconfig (+link-pie): Indent.
49209 * Rules (binaries-pie): Define if $(have-fpie) and
49211 (binaries-shared): Also filter out $(binaries-pie).
49212 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49213 * nscd/Makefile (others-pie): Add nscd.
49214 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49215 ($(objpfx)nscd): Remove command override.
49216 * login/Makefile (others-pie): Add pt_chown.
49217 ($(objpfx)pt_chown): Remove command override.
49218 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49219 remove command overrides.
49221 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49223 * libio/tst_putwc.c: Fix error messages.
49226 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49227 currently writing and seek to current position when not.
49228 * libio/Makefile (tests): Add bug-fclose1.
49229 * libio/bug-fclose1.c: New file.
49231 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49234 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49235 don't set DF_1_NODELETE here.
49236 (do_lookup_x): When entering new entry test for copy relocation
49237 and if necessary set DF_1_NODELETE flag.
49238 * elf/tst-unique4.cc: New file.
49239 * elf/tst-unique4.h: New file.
49240 * elf/tst-unique4lib.cc: New file.
49241 * elf/Makefile: Add rules to build and run tst-unique4.
49242 Patch by Piotr Bury <pbury@goahead.com>.
49244 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49247 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49250 * misc/mntent_r.c (addmntent): Flush the stream after the output
49253 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49254 (is_trusted_path_normalize): Skip initial colon. Append slash
49255 to empty buffer. Duplicate is_trusted_path code but allow
49256 constructed patch to be prefix.
49257 (is_dst): Allow $ORIGIN followed by /.
49258 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49259 Correct testing of result of is_trusted_path_normalize
49260 (decompose_rpath): Fix warning.
49262 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49265 * grp/initgroups.c (internal_getgrouplist): When we found the service
49266 list through the initgroups entry in nsswitch.conf do not always
49267 continue on a successful lookup. Don't always use the
49268 __nss_group_database value if it is set.
49269 * nss/nsswitch.conf (initgroups): Change action for successful db
49270 lookup to continue for compatibility.
49272 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49275 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49277 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49279 * iconvdata/tst-tables.sh: Likewise.
49280 * iconvdata/cp770.c: New file.
49281 * iconvdata/cp771.c: New file.
49282 * iconvdata/cp772.c: New file.
49283 * iconvdata/cp773.c: New file.
49284 * iconvdata/cp774.c: New file.
49285 * iconvdata/testdata/CP770: New file.
49286 * iconvdata/testdata/CP770..UTF8: New file.
49287 * iconvdata/testdata/CP771: New file.
49288 * iconvdata/testdata/CP771..UTF8: New file.
49289 * iconvdata/testdata/CP772: New file.
49290 * iconvdata/testdata/CP772..UTF8: New file.
49291 * iconvdata/testdata/CP773: New file.
49292 * iconvdata/testdata/CP773..UTF8: New file.
49293 * iconvdata/testdata/CP774: New file.
49294 * iconvdata/testdata/CP774..UTF8: New file.
49296 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49298 * iconvdata/gen-8bit-gap.sh: Likewise.
49299 * iconvdata/gen-8bit.sh: Likewise.
49301 * locale/iso-639.def: Add ary entry.
49304 * locale/C-translit.h.in: Add U20A1 transliteration.
49307 * locale/iso-639.def: Add wae entry.
49308 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49311 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49315 * locale/C-translit.h.in: Add entry for U20B9.
49316 Patch by pravin.d.s@gmail.com.
49318 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49321 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49322 ENAMETOOLONG use generic getcwd.
49323 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49324 in rtld. Use *stat64.
49325 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49326 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49327 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49328 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49329 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49330 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49331 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49332 __fstatat64 macros.
49333 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49334 * dirent/rewinddir.c: Add libc_hidden_def.
49335 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49336 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49338 * include/dirent.h (__alloc_dir): Add flags parameter.
49339 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49340 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49342 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49343 from fdopendir if O_CLOEXEC is already set.
49345 2011-03-15 Alan Modra <amodra@gmail.com>
49347 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49348 l_tls_firstbyte_offset non-zero. Save padding offset in
49349 l_tls_firstbyte_offset for later use.
49350 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49351 freeing static tls block.
49353 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49355 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49356 where #ifdef was intended. The intent is to prevent ARG_MAX from
49357 being defined by the kernel headers.
49359 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49362 * resolv/resolv.h: Define RES_NOTLDQUERY.
49363 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49364 no-tld-query and set RES_NOTLDQUERY.
49365 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49366 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49367 modern BIND to search name as TLD unless forbidden.
49369 2011-05-07 Petr Baudis <pasky@suse.cz>
49370 Ulrich Drepper <drepper@gmail.com>
49373 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49374 (is_trusted_path): ...to here.
49375 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49376 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49377 using is_trusted_path_normalize() in setuid scripts.
49379 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49381 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49382 __BEGIN/__END_DECLS.
49384 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49387 NSS_STATUS_NOTFOUND if no record was found.
49389 2011-05-05 Andreas Schwab <schwab@redhat.com>
49391 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49392 (headers-not-in-tirpc): Remove rpc/netdb.h
49393 * resolv/netdb.h: Revert last change.
49395 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49397 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49398 circular dependency between libgcc.a and libc.a.
49400 2011-05-05 Andreas Schwab <schwab@redhat.com>
49402 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49403 * nis/Makefile: Don't install rpcsvc/*.
49404 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49405 instead of <rpc/types.h>.
49406 (MAXHOSTNAMELEN): Define.
49408 2011-05-03 Andreas Schwab <schwab@redhat.com>
49410 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49412 2011-04-28 Maciej Babinski <mbabinski@google.com>
49415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49416 gethostbyname4_r when IPv6 results are possible.
49418 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49421 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49422 _PC_PIPE_BUF handling.
49424 2011-04-30 Bruno Haible <bruno@clisp.org>
49427 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49428 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49430 * inet/getnameinfo.c (getnameinfo): Likewise.
49432 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49434 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49435 to groups setting in database lookup.
49436 * nss/nsswitch.conf: Add initgroups entry.
49438 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49441 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49443 Patch by Eric Blake <eblake@redhat.com>.
49445 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49447 * sunrpc/Makefile (need-export-routines): Add svc_run.
49448 (routines): Remove svc_run.
49449 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49450 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49451 * sunrpc/svc_run.c (svc_run): Likewise.
49452 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49454 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49457 problem in reallocation in last patch.
49459 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49461 * sunrpc/Makefile: Move inclusion of Rules.
49463 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49465 * nss/nss_files/files-initgroups.c: New file.
49466 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49467 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49468 _nss_files_initgroups_dyn.
49470 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49472 * elf/elf.h (R_ARM_IRELATIVE): Define.
49474 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49476 * po/ru.po: Update from translation team.
49478 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49480 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49483 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49487 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49492 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49500 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49503 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49505 * stdlib/bug-getcontext.c: New file.
49506 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49508 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49510 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49511 instructions into .machine "z9-109".
49512 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49513 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49515 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49517 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49518 between environment variables and auxiliary vector.
49520 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49522 * Makefile: Add rules to build linkobj/libc.so.
49523 * include/libc-symbols.h: Define libc_hidden_nolink.
49524 * include/rpc/auth.h: Mark functions which are to be hidden.
49525 * include/rpc/auth_des.h: Likewise.
49526 * include/rpc/auth_unix.h: Likewise.
49527 * include/rpc/clnt.h: Likewise.
49528 * include/rpc/des_crypt.h: Likewise.
49529 * include/rpc/key_prot.h: Likewise.
49530 * include/rpc/pmap_clnt.h: Likewise.
49531 * include/rpc/pmap_prot.h: Likewise.
49532 * include/rpc/pmap_rmt.h: Likewise.
49533 * include/rpc/rpc_msg.h: Likewise.
49534 * include/rpc/svc.h: Likewise.
49535 * include/rpc/svc_auth.h: Likewise.
49536 * include/rpc/xdr.h: Likewise.
49537 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49538 * nss/Makefile: Likewise.
49539 * sunrpc/Makefile: Don't install headers. Build library with normal
49540 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49541 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49542 for the compat linking library. Remove use of INTDEF/INTUSE.
49543 * sunrpc/auth_none.c: Likewise.
49544 * sunrpc/auth_unix.c: Likewise.
49545 * sunrpc/authdes_prot.c: Likewise.
49546 * sunrpc/authuxprot.c: Likewise.
49547 * sunrpc/clnt_gen.c: Likewise.
49548 * sunrpc/clnt_perr.c: Likewise.
49549 * sunrpc/clnt_raw.c: Likewise.
49550 * sunrpc/clnt_simp.c: Likewise.
49551 * sunrpc/clnt_tcp.c: Likewise.
49552 * sunrpc/clnt_udp.c: Likewise.
49553 * sunrpc/clnt_unix.c: Likewise.
49554 * sunrpc/des_crypt.c: Likewise.
49555 * sunrpc/des_soft.c: Likewise.
49556 * sunrpc/get_myaddr.c: Likewise.
49557 * sunrpc/key_call.c: Likewise.
49558 * sunrpc/key_prot.c: Likewise.
49559 * sunrpc/netname.c: Likewise.
49560 * sunrpc/pm_getmaps.c: Likewise.
49561 * sunrpc/pm_getport.c: Likewise.
49562 * sunrpc/pmap_clnt.c: Likewise.
49563 * sunrpc/pmap_prot.c: Likewise.
49564 * sunrpc/pmap_prot2.c: Likewise.
49565 * sunrpc/pmap_rmt.c: Likewise.
49566 * sunrpc/publickey.c: Likewise.
49567 * sunrpc/rpc_cmsg.c: Likewise.
49568 * sunrpc/rpc_common.c: Likewise.
49569 * sunrpc/rpc_dtable.c: Likewise.
49570 * sunrpc/rpc_prot.c: Likewise.
49571 * sunrpc/rpc_thread.c: Likewise.
49572 * sunrpc/rtime.c: Likewise.
49573 * sunrpc/svc.c: Likewise.
49574 * sunrpc/svc_auth.c: Likewise.
49575 * sunrpc/svc_authux.c: Likewise.
49576 * sunrpc/svc_raw.c: Likewise.
49577 * sunrpc/svc_run.c: Likewise.
49578 * sunrpc/svc_simple.c: Likewise.
49579 * sunrpc/svc_tcp.c: Likewise.
49580 * sunrpc/svc_udp.c: Likewise.
49581 * sunrpc/svc_unix.c: Likewise.
49582 * sunrpc/svcauth_des.c: Likewise.
49583 * sunrpc/xcrypt.c: Likewise.
49584 * sunrpc/xdr.c: Likewise.
49585 * sunrpc/xdr_array.c: Likewise.
49586 * sunrpc/xdr_float.c: Likewise.
49587 * sunrpc/xdr_intXX_t.c: Likewise.
49588 * sunrpc/xdr_mem.c: Likewise.
49589 * sunrpc/xdr_rec.c: Likewise.
49590 * sunrpc/xdr_ref.c: Likewise.
49591 * sunrpc/xdr_sizeof.c: Likewise.
49592 * sunrpc/xdr_stdio.c: Likewise.
49594 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49597 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49598 * sysdeps/ia64/dl-tls.h: Likewise.
49599 * sysdeps/powerpc/dl-tls.h: Likewise.
49600 * sysdeps/s390/dl-tls.h: Likewise.
49601 * sysdeps/sh/dl-tls.h: Likewise.
49602 * sysdeps/sparc/dl-tls.h: Likewise.
49603 * sysdeps/x86_64/dl-tls.h: Likewise.
49604 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49606 2011-03-14 Andreas Schwab <schwab@redhat.com>
49608 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49609 rpath element also skip the following colon.
49610 (expand_dynamic_string_token): Add is_path parameter and pass
49611 down to DL_DST_REQUIRED and _dl_dst_substitute.
49612 (decompose_rpath): Call expand_dynamic_string_token with
49613 non-zero is_path. Ignore empty rpaths.
49614 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49617 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49622 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49625 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49626 Patch by Filipe David Manana <fdmanana@apache.org>.
49628 2011-04-07 Andreas Schwab <schwab@redhat.com>
49630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49631 Maintain aligned stack.
49632 (CHECK_RSP): Remove unused macro.
49634 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49636 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49639 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49641 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49643 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49645 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49648 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49649 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49650 * sysdeps/x86_64/memmove.c: New file.
49651 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49652 (memcpy): Renamed to ...
49653 (__new_memcpy): This.
49654 (memcpy): Provide GLIBC_2_14 memcpy.
49655 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49656 (memcpy): Provide GLIBC_2_2_5 memcpy.
49658 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49661 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49663 2011-03-30 Andreas Schwab <schwab@redhat.com>
49665 * misc/syncfs.c: New file.
49666 * misc/Makefile (routines): Add syncfs.
49667 * posix/unistd.h: Declare syncfs.
49668 * sysdeps/unix/syscalls.list: Add syncfs.
49670 2011-04-01 Andreas Schwab <schwab@redhat.com>
49672 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49679 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49682 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49686 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49692 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49693 sync_file_range.c with -fexceptions.
49694 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49695 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49696 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49697 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49698 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49699 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49701 sync_file_range as cancellation point
49702 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49703 now a wrapper around __call_sync_file_range with cancellation handling.
49704 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49705 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49706 function name to __call_sync_file_range.
49707 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49708 Add call_sync_file_range.
49710 2011-04-01 Andreas Schwab <schwab@redhat.com>
49712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49715 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49717 * iconv/iconv.h: Fix typo in comment.
49718 * io/fcntl.h: Likewise.
49719 * libio/stdio.h: Likewise.
49720 * posix/spawn.h: Likewise.
49721 * posix/unistd.h: Likewise.
49722 * stdlib/stdlib.h: Likewise.
49723 * time/time.h: Likewise.
49724 * wcsmbs/wchar.h: Likewise.
49726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49727 open_by_handle): Add.
49728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49729 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49730 Augment a few comments.
49731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49736 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49739 * io/fcntl.h (AT_EMPTY_PATH): Define.
49741 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49743 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49744 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49745 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49747 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49748 * Versions.def: Add GLIBC_2.14.
49749 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49752 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49754 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49756 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49758 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49761 * string/test-strncmp.c (do_page_test): New function.
49762 (check2): Likewise.
49763 (test_main): Call check2.
49764 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49766 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49769 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49770 Handle cache information in CPU leaf 4.
49771 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49773 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49776 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49777 character representation.
49778 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49780 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49782 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49783 END(__isnan) to END(__isnanf) to match function entry point/label
49784 EALIGN(__isnanf,...).
49786 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49788 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49790 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49793 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49794 copy from the symbol referenced in the relocation to initialize the
49796 Patch by Piotr Bury <pbury@goahead.com>.
49797 * elf/Makefile: Add rules to build and tst-unique3.
49798 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49799 * elf/tst-unique3.cc: New file.
49800 * elf/tst-unique3.h: New file.
49801 * elf/tst-unique3lib.cc: New file.
49802 * elf/tst-unique3lib2.cc: New file.
49804 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49806 2011-03-10 Mike Frysinger <vapier@gentoo.org>
49808 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49809 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49812 2011-03-06 Ulrich Drepper <drepper@gmail.com>
49814 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49815 to-be-loaded object along a path to loader is ld.so.
49817 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49818 Ulrich Drepper <drepper@gmail.com>
49820 * sysdeps/x86_64/memset.S: After aligning destination, code
49821 branches to different locations depending on the value of
49822 misalignment, when multiarch is enabled. Fix this.
49824 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49826 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49827 Set _x86_64_preferred_memory_instruction for AMD processsors.
49828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49829 Set bit_Prefer_SSE_for_memop for AMD processors.
49831 2011-03-04 Ulrich Drepper <drepper@gmail.com>
49833 * libio/fmemopen.c (fmemopen): Optimize a bit.
49835 2011-03-03 Andreas Schwab <schwab@redhat.com>
49837 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49839 2011-03-03 Roland McGrath <roland@redhat.com>
49841 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49843 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49845 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49846 __bzero_ultra1 instead of __memset_ultra1.
49848 2011-02-23 Andreas Schwab <schwab@redhat.com>
49849 Ulrich Drepper <drepper@gmail.com>
49852 * include/link.h (struct link_map): Add l_orig_initfini.
49853 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49854 returning unsuccessfully.
49855 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49856 close of a file loaded at startup, restore the original l_initfini
49858 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49859 list, store the pointer.
49860 * elf/Makefile ($(objpfx)noload-mem): New rule.
49861 (noload-ENV): Define.
49862 (tests): Add $(objpfx)noload-mem.
49863 * elf/noload.c: Include <memcheck.h>.
49864 (main): Call mtrace. Close all opened handles.
49866 2011-02-17 Andreas Schwab <schwab@redhat.com>
49869 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49870 dependencies are missing.
49872 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49874 Fix __if_freereq crash: Unlike the generic version which uses free,
49876 * sysdeps/mach/hurd/ifreq.h: New file.
49878 2011-01-27 Petr Baudis <pasky@suse.cz>
49879 Ulrich Drepper <drepper@gmail.com>
49882 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49883 to extend_alloca().
49884 * stdio-common/bug23.c: New file.
49885 * stdio-common/Makefile (tests): Add bug23.
49887 2010-09-28 Andreas Schwab <schwab@redhat.com>
49888 Ulrich Drepper <drepper@gmail.com>
49891 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49892 before performing relro protection. At old place add assertion
49893 to make sure nothing changed.
49895 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49896 Glauber de Oliveira Costa <glommer@gmail.com>
49898 * elf/elf.h: Add new ARM TLS relocs.
49900 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49903 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49905 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49907 * sysdeps/wordsize-64/tst-writev.c: New file.
49909 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49911 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49912 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49913 insns in _dl_start to prevent a TOC reference before relocs are
49916 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49919 * Makeconfig: Remove RANLIB definition.
49920 * Makerules: Don't use RANLIB.
49921 * aclocal.m4: Remove ranlib test.
49922 * configure.in: No need to check for ranlib.
49923 * elf/rtld-Rules: Don't use RANLIB.
49925 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49927 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49929 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49930 inclusion protection macro.
49932 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49933 SIGRTMIN and SIGRTMAX and print information in that case only when
49934 SIGRTMIN is defined.
49936 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49938 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49939 arginfo fn returning -1.
49941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49942 and thousands string is zero terminated.
49944 2011-02-03 Andreas Schwab <schwab@redhat.com>
49946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49947 sysdeps/unix/sysv/linux/bits/socket.h.
49949 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49951 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49952 (__CPU_COUNT): Remove old macros.
49953 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49954 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49955 (__CPU_ALLOC, __CPU_FREE): Add macros.
49956 (__sched_cpualloc, __sched_cpufree): Add declarations.
49958 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49960 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49961 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49962 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49963 (readdhstai): Return value of addhstaiX call.
49964 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49965 (addgrbyX): Return value returned by cache_addgr.
49966 (readdgrbyname): Return value returned by addgrbyX.
49967 (readdgrbygid): Likewise.
49968 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49969 (addpwbyX): Return value returned by cache_addpw.
49970 (readdpwbyname): Return value returned by addhstbyX.
49971 (readdpwbyuid): Likewise.
49972 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49973 (addservbyX): Return value returned by cache_addserv.
49974 (readdservbyname): Return value returned by addservbyX:
49975 (readdservbyport): Likewise.
49976 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49977 (addhstbyX): Return value returned by cache_addhst.
49978 (readdhstbyname): Return value returned by addhstbyX.
49979 (readdhstbyaddr): Likewise.
49980 (readdhstbynamev6): Likewise.
49981 (readdhstbyaddrv6): Likewise.
49982 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49983 (readdinitgroups): Return value returned by addinitgroupsX.
49984 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49985 (prune_cache): Keep track of timeout value of re-added entries.
49986 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49987 * nscd/nscd.h: Adjust prototypes of readd* functions.
49989 2011-02-04 Roland McGrath <roland@redhat.com>
49991 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49992 (nis_stats): Likewise.
49993 * nis/nis_modify.c (nis_modify): Likewise.
49994 * nis/nis_remove.c (nis_remove): Likewise.
49995 * nis/nis_add.c (nis_add): Likewise.
49997 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49999 * posix/fnmatch_loop.c: Add some consts.
50001 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50003 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50006 * config.make.in (config-cflags-novzeroupper): Define.
50007 * configure.in: Substitute libc_cv_cc_novzeroupper.
50008 * elf/Makefile (AVX-CFLAGS): Define.
50009 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50010 (CFLAGS-tst-auditmod4a.c): Likewise.
50011 (CFLAGS-tst-auditmod4b.c): Likewise.
50012 (CFLAGS-tst-auditmod6b.c): Likewise.
50013 (CFLAGS-tst-auditmod6c.c): Likewise.
50014 (CFLAGS-tst-auditmod7b.c): Likewise.
50015 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50017 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50019 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50020 function to the callback.
50021 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50023 2011-02-02 Andreas Schwab <schwab@redhat.com>
50025 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50028 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50031 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50033 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50035 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50038 * elf/Makefile: Add rules to build and run new test.
50039 * elf/tst-initorder.c: New file.
50040 * elf/tst-initorder.exp: New file.
50041 * elf/tst-initordera1.c: New file.
50042 * elf/tst-initordera2.c: New file.
50043 * elf/tst-initordera3.c: New file.
50044 * elf/tst-initordera4.c: New file.
50045 * elf/tst-initorderb1.c: New file.
50046 * elf/tst-initorderb2.c: New file.
50047 * elf/tst-order-a1.c: New file.
50048 * elf/tst-order-a2.c: New file.
50049 * elf/tst-order-a3.c: New file.
50050 * elf/tst-order-a4.c: New file.
50051 * elf/tst-order-b1.c: New file.
50052 * elf/tst-order-b2.c: New file.
50053 * elf/tst-order-main.c: New file.
50054 New test case by George Gensure <werkt0@gmail.com>.
50056 2010-10-01 Andreas Schwab <schwab@redhat.com>
50058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50059 decoding ACE if AI_CANONIDN.
50061 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50063 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50065 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50067 * version.h (RELEASE): Bump for 2.13 release.
50068 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50070 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50072 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50074 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50075 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50081 * posix/getconf.c: Update copyright year.
50082 * catgets/gencat.c: Likewise.
50083 * csu/version.c: Likewise.
50084 * debug/catchsegv.sh: Likewise.
50085 * debug/xtrace.sh: Likewise.
50086 * elf/ldconfig.c: Likewise.
50087 * elf/ldd.bash.in: Likewise.
50088 * elf/sprof.c (print_version): Likewise.
50089 * iconv/iconv_prog.c: Likewise.
50090 * iconv/iconvconfig.c: Likewise.
50091 * locale/programs/locale.c: Likewise.
50092 * locale/programs/localedef.c: Likewise.
50093 * malloc/memusage.sh: Likewise.
50094 * malloc/mtrace.pl: Likewise.
50095 * nscd/nscd.c (print_version): Likewise.
50096 * nss/getent.c: Likewise.
50098 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50099 PF_CAIF, and PF_ALG.
50100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50102 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50104 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50105 (modules-names): Use them.
50106 (ifunc-test-modules, ifunc-pie-tests): Define.
50107 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50108 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50109 (test-extras): Likewise.
50110 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50111 $(compile-command.c).
50112 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50113 (all-built-dso): Define.
50114 (check-textrel.out, check-execstack.out): Depend on it.
50116 * configure.in: Don't override --enable-multi-arch.
50118 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50121 * nscd/hstcache.c (tryagain): Define.
50122 (cache_addhst): Return tryagain not notfound for temporary errors.
50123 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50126 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50129 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50130 to make the syscall.
50131 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50134 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50135 and fall back to matching as normal character if the string ends before
50136 the matching ']' is found. This is what POSIX requires.
50137 * posix/testfnm.c: Adjust test result.
50138 * posix/globtest.sh: Adjust test result. Add new test.
50139 * posix/tst-fnmatch.input: Likewise.
50140 * posix/tst-fnmatch2.c: Add new test.
50142 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50144 * elf/Makefile (check-execstack): Revert last change. Depend on
50146 (check-execstack.h): New target.
50147 (generated): Add check-execstack.h.
50148 * elf/check-execstack.c: Include "check-execstack.h".
50149 (main): Revert last change.
50150 (handle_file): Return zero if GNU_STACK is absent and
50151 DEFAULT_STACK_PERMS doesn't include PF_X.
50153 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50155 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50156 in child fails because the descriptor is already closed.
50157 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50158 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50159 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50162 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50166 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50167 temporary buffer used to handle multi lookups locally.
50168 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50170 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50172 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50175 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50177 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50178 alignment for SSE2.
50180 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50183 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50184 characters. When rounding increased number of integer digits recompute
50186 * stdio-common/tst-grouping.c: New file.
50187 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50189 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50191 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50192 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50194 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50196 * bits/select.h: Likewise.
50198 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50200 * po/ja.po: Update from translation team.
50202 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50205 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50206 implementation just like for lxstat, fxstatat, et al.
50208 2010-12-27 Jim Meyering <meyering@redhat.com>
50211 * posix/regexec.c (build_trtable): Return failure indication upon
50212 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50214 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50217 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50218 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50219 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50220 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50223 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50226 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50227 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50229 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50231 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50232 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50233 script has SORT_BY_INIT_PRIORITY.
50234 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50235 NO_CTORS_DTORS_SECTIONS is defined.
50236 * elf/soinit.c: Likewise.
50237 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50238 NO_CTORS_DTORS_SECTIONS is defined.
50239 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50240 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50241 * sysdeps/sh/init-first.c: Likewise.
50242 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50244 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50246 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50247 always use the slow path.
50249 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50251 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50252 similar rule which adds the sysdep directories to the header search in
50253 order to pick up the correct platform stackinfo.h.
50254 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50255 perform test if it is, otherwise return successfully without testing.
50256 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50257 DEFAULT_STACK_PERMS define in stackinfo.h.
50258 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50259 defined in stackinfo.h.
50260 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50261 DEFAULT_STACK_PERMS defined in stackinfo.h.
50262 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50263 * sysdeps/ia64/stackinfo.h: Likewise.
50264 * sysdeps/s390/stackinfo.h: Likewise.
50265 * sysdeps/sh/stackinfo.h: Likewise.
50266 * sysdeps/sparc/stackinfo.h: Likewise.
50267 * sysdeps/x86_64/stackinfo.h: Likewise.
50268 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50269 PF_X for powerpc64. Retain PF_X for powerpc32.
50271 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50273 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50275 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50276 GETDENTS_64BIT_ALIGNED.
50278 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50280 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50282 2010-12-10 Andreas Schwab <schwab@redhat.com>
50284 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50287 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50288 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50290 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50291 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50293 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50296 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50299 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50301 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50303 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50305 * po/it.po: Update from translation team.
50307 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50312 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50314 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50316 2010-11-24 Andreas Schwab <schwab@redhat.com>
50318 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50320 (gaih_getanswer_slice): Likewise.
50322 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50326 2010-05-31 Petr Baudis <pasky@suse.cz>
50329 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50330 silently even in the chroot mode.
50332 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50334 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50335 last patch a bit. Pretty printing
50337 2010-05-31 Petr Baudis <pasky@suse.cz>
50340 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50341 initialization of skip_initgroups_dyn.
50343 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50345 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50348 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50350 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50352 2010-11-11 Andreas Schwab <schwab@redhat.com>
50354 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50355 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50356 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50357 ($(objpfx)tst-fnmatch-mem): New rule.
50358 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50359 * posix/tst-fnmatch.c (main): Call mtrace.
50361 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50364 Support Intel processor model 6 and model 0x2c.
50366 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50368 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50371 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50374 * string/test-strncasecmp.c (check_result): New function.
50375 (do_one_test): Use it.
50376 (check1): New function.
50377 (test_main): Use it.
50378 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50379 Support strcasecmp and strncasecmp.
50381 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50384 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50387 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50389 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50393 * sysdeps/x86_64/multiarch/bzero.S: New file.
50394 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50395 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50396 * sysdeps/x86_64/multiarch/memset.S: New file.
50397 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50399 Set bit_Prefer_SSE_for_memop for Intel processors.
50400 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50402 (index_Prefer_SSE_for_memop): Define.
50403 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50405 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50407 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50408 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50410 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50413 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50414 (__x86_64_raw_data_cache_size_half): Likewise.
50415 (__x86_64_raw_shared_cache_size): Likewise.
50416 (__x86_64_raw_shared_cache_size_half): Likewise.
50418 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50419 (__x86_64_raw_data_cache_size_half): Likewise.
50420 (__x86_64_raw_shared_cache_size): Likewise.
50421 (__x86_64_raw_shared_cache_size_half): Likewise.
50422 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50423 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50424 and __x86_64_raw_shared_cache_size_half. Round
50425 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50426 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50427 to multiple of 256 bytes.
50429 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50433 of inacessible symlinks. Verify result of symlink before returning it.
50434 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50435 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50437 2010-10-28 Erich Ritz <erichritz@gmail.com>
50439 * math/math.h (isinf): Fix typo in comment.
50441 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50443 * po/da.po: Update from translation team.
50445 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50447 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50448 is added to the list.
50450 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50451 Ulrich Drepper <drepper@gmail.com>
50453 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50454 the global list here. Move code to...
50455 (_dl_add_to_namespace_list): ...here. New function.
50456 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50457 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50458 * elf/dl-load.c (lose): Don't remove the element from the list.
50459 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50460 (_dl_map_object): Likewise.
50462 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50465 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50466 into all bytes of SSE register.
50467 Patch by Richard Li <richardpku@gmail.com>.
50469 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50472 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50475 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50477 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50478 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50479 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50480 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50485 2010-10-22 Andreas Schwab <schwab@redhat.com>
50487 * include/dlfcn.h (__RTLD_SECURE): Define.
50488 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50489 mode & __RTLD_SECURE instead.
50490 (open_path): Rename preloaded parameter to secure.
50491 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50492 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50493 * elf/dl-deps.c (openaux): Likewise.
50494 * elf/rtld.c (struct map_args): Remove is_preloaded.
50495 (map_doit): Don't use it.
50496 (dl_main): Likewise.
50497 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50498 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50500 2010-09-09 Andreas Schwab <schwab@redhat.com>
50502 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50503 (sysd-rules-targets): Remove duplicates.
50504 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50505 rtld-%.$o dependency.
50507 2010-10-18 Andreas Schwab <schwab@redhat.com>
50509 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50510 _dl_map_object do it.
50512 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50514 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50515 fast fma builtins, define the macros in the C99 standard.
50516 (FP_FAST_FMAF): Likewise.
50517 (FP_FAST_FMAL): Likewise.
50518 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50520 * bits/mathdef.h: Update copyright year.
50521 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50523 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50525 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50526 builtins, define the macros in the C99 standard.
50527 (FP_FAST_FMAF): Likewise.
50528 (FP_FAST_FMAL): Likewise.
50529 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50531 (FP_FAST_FMAF): Likewise.
50533 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50536 * math/libm-test.inc (fma_test): Some new testcases.
50537 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50538 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50539 y and infinite z. Do multiplication by C already in long double.
50540 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50542 y and infinite z. Do bitwise or of inexact bit into u.d.
50543 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50544 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50545 * sysdeps/i386/fpu/s_fma.S: Removed.
50546 * sysdeps/i386/fpu/s_fmal.S: Removed.
50548 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50551 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50553 computation is not scheduled after fetestexcept. Fix value
50554 of minimum denormal long double.
50556 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50559 * math/libm-test.inc (fma_test): Add some more tests.
50560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50563 2010-10-15 Andreas Schwab <schwab@redhat.com>
50565 * scripts/data/localplt-s390-linux-gnu.data: New file.
50566 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50568 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50571 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50572 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50574 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50576 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50578 if one of x and y is very large and the other is subnormal.
50579 * sysdeps/s390/fpu/s_fmaf.c: New file.
50580 * sysdeps/s390/fpu/s_fma.c: New file.
50581 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50582 * sysdeps/powerpc/fpu/s_fma.S: New file.
50583 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50584 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50585 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50587 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50590 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50592 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50593 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50594 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50595 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50596 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50597 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50600 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50603 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50604 * posix/bug-regex31.input: Add test case.
50606 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50608 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50609 * posix/bug-regex31.input: New file.
50612 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50613 (parse_sub_exp): Fix last change, use postorder.
50615 * posix/bug-regex31.c: New file.
50616 * posix/Makefile: Add rules to build and run bug-regex31.
50618 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50621 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50624 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50625 to have entries in sys_siglist.
50628 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50631 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50634 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50635 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50636 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50637 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50639 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50640 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50641 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50642 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50643 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50644 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50645 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50646 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50647 * math/ftestexcept.c (fetestexcept): Likewise.
50648 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50649 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50650 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50651 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50652 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50653 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50654 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50656 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50659 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50662 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50664 * string/bug-strstr1.c: New file.
50665 * string/Makefile: Add rules to build and run bug-strstr1.
50667 2010-10-05 Eric Blake <eblake@redhat.com>
50670 * string/str-two-way.h (two_way_long_needle): Always clear memory
50671 when skipping input due to the shift table.
50673 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50676 * malloc/mcheck.c: Handle large requests.
50679 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50680 for strncmp and strncasecmp.
50681 * string/stratcliff.c: Add tests for strcmp and strncmp.
50682 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50684 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50686 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50689 2010-09-30 Andreas Jaeger <aj@suse.de>
50691 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50692 (CGROUP_SUPER_MAGIC): Define.
50693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50694 Handle btrfs and cgroup file systems.
50695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50698 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50700 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50701 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50703 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50706 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50707 trying to locate the ELF header.
50709 2010-09-27 Andreas Schwab <schwab@redhat.com>
50712 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50713 Mask out sign-bit copies when constructing f_fsid.
50715 2010-09-24 Petr Baudis <pasky@suse.cz>
50717 * debug/stack_chk_fail_local.c: Add missing licence exception.
50718 * debug/warning-nop.c: Likewise.
50720 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50722 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50723 implementing getdents64 using getdents syscall, set d_type if
50724 __ASSUME_GETDENTS32_D_TYPE.
50726 2010-09-16 Andreas Schwab <schwab@redhat.com>
50728 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50729 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50731 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50734 * posix/unistd.h: Undo change of feature selection for ftruncate from
50737 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50739 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50742 2010-09-20 Andreas Schwab <schwab@redhat.com>
50744 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50748 2010-09-14 Andreas Schwab <schwab@redhat.com>
50750 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50751 variables after CHECK_SP call.
50752 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50754 2010-09-13 Andreas Schwab <schwab@redhat.com>
50755 Ulrich Drepper <drepper@redhat.com>
50757 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50758 re-relocationg ld.so.
50759 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50760 _dl_init_paths call.
50761 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50764 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50766 * resolv/res_init.c (__res_vinit): Count the default server we added.
50768 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50769 Ulrich Drepper <drepper@redhat.com>
50772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50773 (____longjmp_chk): Use %ebx for saving value across system call.
50776 2010-09-06 Andreas Schwab <schwab@redhat.com>
50778 * manual/Makefile: Don't mix pattern rules with normal rules.
50780 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50782 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50784 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50785 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50786 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50787 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50791 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50794 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50795 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50797 2010-09-02 Ulrich Drepper <drepper@redhat.com>
50799 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50800 * sysdeps/x86_64/addmul_1.S: Likewise.
50801 * sysdeps/x86_64/lshift.S: Likewise.
50802 * sysdeps/x86_64/mul_1.S: Likewise.
50803 * sysdeps/x86_64/rshift.S: Likewise.
50804 * sysdeps/x86_64/sub_n.S: Likewise.
50805 * sysdeps/x86_64/submul_1.S: Likewise.
50807 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50809 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50810 Define __sched_param instead of SCHED_* and sched_param when
50811 <bits/sched.h> is included with __need_schedparam defined.
50812 * bits/sched.h [__need_schedparam]
50813 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50814 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50815 (__defined_schedparam): Define to 1.
50816 (__sched_param): New structure, identical to sched_param.
50817 (__need_schedparam): Undefine.
50819 2010-08-31 Mike Frysinger <vapier@gentoo.org>
50821 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50822 (epoll_create1): Declare.
50824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50826 2010-08-31 Andreas Schwab <schwab@redhat.com>
50829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50830 shifting retval into place.
50832 2010-09-01 Ulrich Drepper <drepper@redhat.com>
50834 * nis/rpcsvc/nis.h: Update copyright notice.
50835 * nis/rpcsvc/nis.x: Likewise.
50836 * nis/rpcsvc/nis_callback.h: Likewise.
50837 * nis/rpcsvc/nis_callback.x: Likewise.
50838 * nis/rpcsvc/nis_object.x: Likewise.
50839 * nis/rpcsvc/nis_tags.h: Likewise.
50840 * nis/rpcsvc/yp.h: Likewise.
50841 * nis/rpcsvc/yp.x: Likewise.
50842 * nis/rpcsvc/ypupd.h: Likewise.
50843 * nis/yp_xdr.c: Likewise.
50844 * nis/ypupdate_xdr.c: Likewise.
50846 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50847 mainly the body of pmap_getport. Add parameters to specify timeouts.
50848 (pmap_getport): Use __libc_rpc_getport.
50849 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50850 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50851 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50853 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50858 2010-08-27 Roland McGrath <roland@redhat.com>
50860 * sysdeps/i386/i686/multiarch/Makefile
50861 (CFLAGS-varshift.c): New variable.
50863 2010-08-27 Ulrich Drepper <drepper@redhat.com>
50865 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50866 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50868 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50870 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50872 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50874 * sysdeps/x86_64/strlen.S: Unroll the loop.
50875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50876 strlen-sse2 strlen-sse2-bsf.
50877 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50878 __strlen_no_bsf if bit_Slow_BSF is set.
50879 (__strlen_sse42): Removed.
50880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50881 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50883 2010-08-25 Roland McGrath <roland@redhat.com>
50885 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50886 * sysdeps/x86_64/multiarch/varshift.c: New file.
50887 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50888 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50889 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50890 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50892 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50895 strlen-sse2 strlen-sse2-bsf.
50896 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50897 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50898 (__strlen_sse2): Removed.
50899 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50902 bit_Slow_BSF for Atom.
50903 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50904 (index_Slow_BSF): Define.
50905 (HAS_SLOW_BSF): Define.
50907 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50910 * resolv/res_init.c (__res_vinit): When no server address at all
50911 is given default to loopback.
50913 2010-08-24 Roland McGrath <roland@redhat.com>
50915 * configure.in: Remove config-name.h generation.
50916 * configure: Regenerated.
50917 * config-name.in: File removed.
50918 * scripts/config-uname.sh: New file.
50919 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50920 ($(objdir)config-name.h): New target.
50922 * sunrpc/rpc_parse.h: Avoid nested comment.
50924 2010-08-24 Richard Henderson <rth@redhat.com>
50925 Ulrich Drepper <drepper@redhat.com>
50926 H.J. Lu <hongjiu.lu@intel.com>
50928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50930 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50931 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50932 _mm_alignr_epi8 with _mm_loadu_si128.
50933 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50934 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50935 (__m128i_shift_right): Removed.
50936 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50937 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50938 * sysdeps/x86_64/multiarch/varshift.h: New file.
50939 * sysdeps/x86_64/multiarch/varshift.S: New file.
50941 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50943 * configure.in: Move assembler checks to before sysdep dir checking.
50945 2010-08-20 Petr Baudis <pasky@suse.cz>
50947 * LICENSES: Sync the sunrpc license.
50949 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50951 * sunrpc/auth_des.c: Update copyright notice once again.
50952 * sunrpc/auth_none.c: Likewise.
50953 * sunrpc/auth_unix.c: Likewise.
50954 * sunrpc/authdes_prot.c: Likewise.
50955 * sunrpc/authuxprot.c: Likewise.
50956 * sunrpc/bindrsvprt.c: Likewise.
50957 * sunrpc/clnt_gen.c: Likewise.
50958 * sunrpc/clnt_perr.c: Likewise.
50959 * sunrpc/clnt_raw.c: Likewise.
50960 * sunrpc/clnt_simp.c: Likewise.
50961 * sunrpc/clnt_tcp.c: Likewise.
50962 * sunrpc/clnt_udp.c: Likewise.
50963 * sunrpc/clnt_unix.c: Likewise.
50964 * sunrpc/des_crypt.c: Likewise.
50965 * sunrpc/des_soft.c: Likewise.
50966 * sunrpc/get_myaddr.c: Likewise.
50967 * sunrpc/getrpcport.c: Likewise.
50968 * sunrpc/key_call.c: Likewise.
50969 * sunrpc/key_prot.c: Likewise.
50970 * sunrpc/openchild.c: Likewise.
50971 * sunrpc/pm_getmaps.c: Likewise.
50972 * sunrpc/pm_getport.c: Likewise.
50973 * sunrpc/pmap_clnt.c: Likewise.
50974 * sunrpc/pmap_prot.c: Likewise.
50975 * sunrpc/pmap_prot2.c: Likewise.
50976 * sunrpc/pmap_rmt.c: Likewise.
50977 * sunrpc/rpc/auth.h: Likewise.
50978 * sunrpc/rpc/auth_unix.h: Likewise.
50979 * sunrpc/rpc/clnt.h: Likewise.
50980 * sunrpc/rpc/des_crypt.h: Likewise.
50981 * sunrpc/rpc/key_prot.h: Likewise.
50982 * sunrpc/rpc/netdb.h: Likewise.
50983 * sunrpc/rpc/pmap_clnt.h: Likewise.
50984 * sunrpc/rpc/pmap_prot.h: Likewise.
50985 * sunrpc/rpc/pmap_rmt.h: Likewise.
50986 * sunrpc/rpc/rpc.h: Likewise.
50987 * sunrpc/rpc/rpc_des.h: Likewise.
50988 * sunrpc/rpc/rpc_msg.h: Likewise.
50989 * sunrpc/rpc/svc.h: Likewise.
50990 * sunrpc/rpc/svc_auth.h: Likewise.
50991 * sunrpc/rpc/types.h: Likewise.
50992 * sunrpc/rpc/xdr.h: Likewise.
50993 * sunrpc/rpc_clntout.c: Likewise.
50994 * sunrpc/rpc_cmsg.c: Likewise.
50995 * sunrpc/rpc_common.c: Likewise.
50996 * sunrpc/rpc_cout.c: Likewise.
50997 * sunrpc/rpc_dtable.c: Likewise.
50998 * sunrpc/rpc_hout.c: Likewise.
50999 * sunrpc/rpc_main.c: Likewise.
51000 * sunrpc/rpc_parse.c: Likewise.
51001 * sunrpc/rpc_parse.h: Likewise.
51002 * sunrpc/rpc_prot.c: Likewise.
51003 * sunrpc/rpc_sample.c: Likewise.
51004 * sunrpc/rpc_scan.c: Likewise.
51005 * sunrpc/rpc_scan.h: Likewise.
51006 * sunrpc/rpc_svcout.c: Likewise.
51007 * sunrpc/rpc_tblout.c: Likewise.
51008 * sunrpc/rpc_util.c: Likewise.
51009 * sunrpc/rpc_util.h: Likewise.
51010 * sunrpc/rpcinfo.c: Likewise.
51011 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51012 * sunrpc/rpcsvc/key_prot.x: Likewise.
51013 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51014 * sunrpc/rpcsvc/mount.x: Likewise.
51015 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51016 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51017 * sunrpc/rpcsvc/rex.x: Likewise.
51018 * sunrpc/rpcsvc/rstat.x: Likewise.
51019 * sunrpc/rpcsvc/rusers.x: Likewise.
51020 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51021 * sunrpc/rpcsvc/spray.x: Likewise.
51022 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51023 * sunrpc/rtime.c: Likewise.
51024 * sunrpc/svc.c: Likewise.
51025 * sunrpc/svc_auth.c: Likewise.
51026 * sunrpc/svc_authux.c: Likewise.
51027 * sunrpc/svc_raw.c: Likewise.
51028 * sunrpc/svc_run.c: Likewise.
51029 * sunrpc/svc_simple.c: Likewise.
51030 * sunrpc/svc_tcp.c: Likewise.
51031 * sunrpc/svc_udp.c: Likewise.
51032 * sunrpc/svc_unix.c: Likewise.
51033 * sunrpc/svcauth_des.c: Likewise.
51034 * sunrpc/xcrypt.c: Likewise.
51035 * sunrpc/xdr.c: Likewise.
51036 * sunrpc/xdr_array.c: Likewise.
51037 * sunrpc/xdr_float.c: Likewise.
51038 * sunrpc/xdr_mem.c: Likewise.
51039 * sunrpc/xdr_rec.c: Likewise.
51040 * sunrpc/xdr_ref.c: Likewise.
51041 * sunrpc/xdr_sizeof.c: Likewise.
51042 * sunrpc/xdr_stdio.c: Likewise.
51044 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51047 2010-08-19 Andreas Schwab <schwab@redhat.com>
51049 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51051 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51053 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51054 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51055 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51056 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51057 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51058 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51059 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51060 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51061 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51062 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51063 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51065 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51066 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51068 2010-07-26 Anton Blanchard <anton@samba.org>
51070 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51071 * malloc/arena.c (heap_trim): Likewise.
51073 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51075 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51078 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51080 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51082 * sysdeps/i386/elf/Makefile: New file.
51084 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51086 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51087 from fanotify_init.
51088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51091 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51093 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51095 * sysdeps/multiarch/strcmp.S: Likewise.
51097 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51099 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51100 strncase_l-nonascii.
51101 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51102 Add strncase_l-ssse3.
51103 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51104 * sysdeps/x86_64/strcmp.S: Likewise.
51105 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51106 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51107 * sysdeps/x86_64/strncase.S: New file.
51108 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51109 * sysdeps/x86_64/strncase_l.S: New file.
51110 * string/Makefile (strop-tests): Add strncasecmp.
51111 * string/test-strncasecmp.c: New file.
51113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51116 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51117 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51119 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51121 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51123 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51125 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51127 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51129 2010-05-01 Alan Modra <amodra@gmail.com>
51131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51132 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51133 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51134 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51135 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51136 tidying. Don't tail-call __sigjmp_save for static lib.
51137 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51139 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51140 (CALL_MCOUNT): Add eh info, and nop after bl.
51141 (TAIL_CALL_SYSCALL_ERROR): New macro.
51142 (PSEUDO_RET): Use it.
51143 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51144 Correct save location of integer regs and cr.
51145 (_dl_profile_resolve): Correct cr save location. Delete nops
51146 after bl when SHARED. Reduce cfi size a little by better
51147 placement of cfi directives.
51148 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51149 make a stack frame. Instead use parm save area as a temp.
51150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51151 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51153 Don't make a stack frame for parent, use parm save area.
51154 Increase child stack frame to 112 bytes. Don't save unused reg,
51155 and adjust reg usage. Set up cfi on error recovery and
51156 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51158 (__makecontext): Add dummy nop after jump to exit.
51159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51160 Use correct parm save area and cr save, reduce stack frame.
51161 Correct cfi for possible PSEUDO_RET frame setup.
51162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51163 Branch to local label emitted by PSEUDO_RET rather than
51166 2010-08-12 Andreas Schwab <schwab@redhat.com>
51169 * locale/programs/locale.c (print_assignment): New function.
51170 (show_locale_vars): Use it.
51172 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51174 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51176 (struct statfs64): Likewise.
51177 (_STATFS_F_FLAGS): Define.
51178 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51180 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51181 (ST_VALID): Define locally.
51182 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51183 __statvfs_getflags, use the provided value.
51184 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51185 __ASSUME_STATFS_F_FLAGS.
51187 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51189 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51190 Add sys/fanotify.h.
51191 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51192 fanotify_mask for GLIBC_2.13.
51193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51194 fanotify_init and fanotify_mark.
51195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51196 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51198 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51200 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51201 prlimit64 for GLIBC_2.13.
51202 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51204 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51207 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51208 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51209 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51212 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51215 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51216 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51218 * nss/Makefile: Add rules to build and run tst-nss-test1.
51219 * shlib-versions: Add entry for libnss_test1.
51220 * nss/nss_test1.c: New file.
51221 * nss/tst-nss-test1.c: New file.
51223 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51224 (__nss_configure_lookup): Set appropriate entry in
51225 __nss_configure_lookup to true.
51226 * nss/nsswitch.h: Define enum with indeces of databases in
51227 databases and __nss_database_custom arrays. Declare
51228 __nss_database_custom.
51229 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51230 to avoid using nscd when custom rules are installed.
51231 * nss/getXXbyYY_r.c: Likewise.
51232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51234 * nss/nss_files/files-parse.c: Whitespace fixes.
51236 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51239 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51240 * posix/fnmatch_loop.c: Likewise.
51242 2010-07-17 Andi Kleen <ak@linux.intel.com>
51244 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51245 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51246 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51247 * Versions.def [GLIBC_2.13]: Add.
51249 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51252 Also fail if tpwd after pwuid call is NULL.
51254 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51256 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51257 when converting to ms.
51259 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51261 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51262 EOPNOTSUPP errors with ENOTTY.
51263 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51264 EOPNOTSUPP errors with ENOTTY.
51266 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51268 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51269 Add strcasecmp_l-ssse3.
51270 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51272 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51273 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51274 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51276 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51278 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51280 * string/Makefile (strop-tests): Add strcasecmp.
51281 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51282 strcasecmp_l-nonascii.
51283 (gen-as-const-headers): Add locale-defines.sym.
51284 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51285 * sysdeps/x86_64/strcasecmp.S: New file.
51286 * sysdeps/x86_64/strcasecmp_l.S: New file.
51287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51288 * sysdeps/x86_64/locale-defines.sym: New file.
51289 * string/test-strcasecmp.c: New file.
51291 * string/test-strcasestr.c: Test both ends of the range of characters.
51292 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51294 2010-07-29 Roland McGrath <roland@redhat.com>
51297 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51299 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51301 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51304 2010-07-27 Andreas Schwab <schwab@redhat.com>
51306 * manual/memory.texi (Malloc Tunable Parameters): Document
51309 2010-07-26 Roland McGrath <roland@redhat.com>
51312 * configure.in (-fgnu89-inline check): Set and substitute
51313 gnu89_inline, not libc_cv_gnu89_inline.
51314 * configure: Regenerated.
51315 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51317 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51319 * string/test-strnlen.c: New file.
51320 * string/Makefile (strop-tests): Add strnlen.
51321 * string/tester.c (test_strnlen): Add a few more test cases.
51322 * string/tst-strlen.c: Better error reporting.
51324 * sysdeps/x86_64/strnlen.S: New file.
51326 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51329 lower-latency instructions.
51331 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51333 * string/test-strcasestr.c: New file.
51334 * string/test-strstr.c: New file.
51335 * string/Makefile (strop-tests): Add strstr and strcasestr.
51336 * string/str-two-way.h: Don't undefine MAX.
51337 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51339 2010-07-21 Andreas Schwab <schwab@redhat.com>
51341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51342 strcasestr-nonascii.
51343 (CFLAGS-strcasestr-nonascii.c): Define.
51344 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51345 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51346 Remove unused attribute.
51348 2010-07-20 Roland McGrath <roland@redhat.com>
51350 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51351 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51352 ld.so.cache was broken. With it, there is no way to disable dsocaps
51353 like LD_HWCAP_MASK can disable hwcaps.
51355 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51357 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51359 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51361 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51362 call in strcasestr.
51363 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51364 __strcasestr_sse42_nonascii.
51365 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51366 strcasestr-nonascii.c.
51367 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51369 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51372 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51373 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51376 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51378 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51381 2010-07-06 Andreas Schwab <schwab@redhat.com>
51384 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51387 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51390 _PC_PIPE_BUF using F_GETPIPE_SZ.
51392 2010-07-05 Roland McGrath <roland@redhat.com>
51394 * manual/arith.texi (Rounding Functions): Fix rint description
51395 implicit in round description.
51397 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51399 * elf/Makefile: Fix linking for a few tests to make recent linker
51402 2010-06-30 Andreas Schwab <schwab@redhat.com>
51404 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51405 $(common-objpfx)libc_nonshared.a.
51407 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51409 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51410 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51411 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51412 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51413 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51414 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51415 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51416 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51431 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51432 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51433 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51434 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51435 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51436 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51437 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51438 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51439 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51440 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51441 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51442 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51458 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51460 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51461 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51462 * string/memmove.c (memmove): Renamed to ...
51463 (MEMMOVE): ...this. Default to memmove.
51464 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51465 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51468 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51469 mempcpy-ssse3-back memmove-ssse3-back.
51470 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51471 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51473 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51474 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51475 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51476 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51477 * sysdeps/x86_64/multiarch/memmove.c: New file.
51478 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51479 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51480 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51481 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51482 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51485 (index_Fast_Copy_Backward): Define.
51486 (HAS_ARCH_FEATURE): Define.
51487 (HAS_FAST_REP_STRING): Define.
51488 (HAS_FAST_COPY_BACKWARD): Define.
51490 2010-06-21 Andreas Schwab <schwab@redhat.com>
51492 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51493 Restore proper fallback handling.
51495 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51498 * posix/group_member.c (__group_member): Correct checking loop.
51500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51501 OOM in getpwuid_r correctly. Return error number when the caller
51502 should return, otherwise -1.
51503 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51504 call returning > 0 value.
51505 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51507 2010-06-07 Andreas Schwab <schwab@redhat.com>
51509 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51510 libc_nonshared.a from targets in modules-names.
51512 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51514 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51517 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51524 2010-06-02 Andreas Schwab <schwab@redhat.com>
51526 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51528 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51539 2010-06-14 Roland McGrath <roland@redhat.com>
51541 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51543 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51545 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51546 __REDIRECT followed by __THROW.
51547 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51548 * posix/getopt.h (getopt): Likewise.
51550 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51552 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51553 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51554 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51556 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51557 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51559 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51563 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51567 Properly check family and model.
51569 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51571 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51573 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51575 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51577 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51579 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51582 2010-05-19 Andreas Schwab <schwab@redhat.com>
51584 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51587 2010-05-21 Andreas Schwab <schwab@redhat.com>
51589 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51590 and internal_recvmmsg.
51591 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51592 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51593 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51594 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51596 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51597 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51598 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51600 2010-05-20 Andreas Schwab <schwab@redhat.com>
51602 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51604 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51606 POWER7 optimizations.
51607 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51608 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51610 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51612 * version.h: Update for 2.13 development version.
51614 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51616 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51617 exceptions. Return 0.
51619 2010-05-07 Roland McGrath <roland@redhat.com>
51621 * elf/ldconfig.c (main): Add a const.
51623 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51625 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51626 (args_options): Add no-idn option.
51627 (ahosts_keys_int): Add idn_flags to ai_flags.
51628 (parse_option): Handle 'i' option to clear idn_flags.
51630 * malloc/malloc.c (_int_free): Possible race in the most recently
51631 added check. Only act on the data if no current modification
51634 See ChangeLog.17 for earlier changes.