1 2012-08-15 Andreas Jaeger <aj@suse.de>
4 * crypt/md5test2.c: New test, based on test supplied by Serge
5 Belyshev <belyshev@depni.sinp.msu.ru>.
6 * crypt/Makefile (xtests): Add md5test-giant..
7 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12 * crypt/md5.c (md5_process_block): Don't assume the buffer
13 length is less than 2**32.
14 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15 length is less than 2**64.
17 2012-08-15 Roland McGrath <roland@hack.frob.com>
19 * string/str-two-way.h: Include <sys/param.h>.
22 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23 Move #define and #undef of memmove to just before and after
26 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28 and after including <string.h>. Move declarations of
29 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30 to before #include "string/memmove.c".
32 * include/dirent.h: Declare __getdirentries.
34 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41 * sysdeps/i386/configure: Regenerated.
42 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43 STABS_CURRENT_FILE, and STABS_FUN.
44 (END): Remove call to STABS_FUN_END.
45 (STABS_CURRENT_FILE1): Delete.
46 (STABS_CURRENT_FILE): Likewise.
47 (STABS_FUN): Likewise.
48 (STABS_FUN_END): Likewise.
49 (STABS_FUN2): Likewise.
50 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
51 * sysdeps/x86_64/configure: Regenerated.
53 2012-08-14 Roland McGrath <roland@hack.frob.com>
55 * elf/dl-open.c: Include <atomic.h>.
56 * elf/dl-lookup.c: Likewise.
58 2012-08-14 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/unix/sysv/linux/kernel-features.h
61 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67 condition on __ASSUME_CLONE_THREAD_FLAGS.
69 2012-08-14 Andreas Jaeger <aj@suse.de>
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
73 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
75 * include/atomic.h (atomic_exchange_and_add): Split into ...
76 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
79 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
81 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83 2012-08-13 Jeff Law <law@redhat.com>
85 * manual/stdio.texi (snprintf): Clarify handling of the trailing
86 null byte in the output string.
88 2012-08-10 Joseph Myers <joseph@codesourcery.com>
90 * sysdeps/unix/sysv/linux/kernel-features.h
91 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
92 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
93 (__ASSUME_ARG_MAX_STACK_BASED): Define.
94 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
95 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
96 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
97 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
99 2012-08-09 Jeff Law <law@redhat.com>
102 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
103 When avoid_arena is set, don't retry in the that arena. Pick the
104 next one, whatever it might be.
105 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
106 (arena_lock): Pass in new parameter to arena_get2.
107 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
109 (__libc_malloc): Unify retrying after main arena failure with
110 __libc_memalign version.
111 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
113 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
116 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
117 to __redirect_strstr.
118 (__strstr_sse42): Use typeof __redirect_strstr.
119 (__strstr_ia32): Likewise.
120 (__libc_strstr): New prototype.
121 (strstr): Renamed to ...
122 (__libc_strstr): This.
123 (strstr): New strong alias of __libc_strstr.
124 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
125 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
128 (__libc_time): New prototype.
129 (time_ifunc): Replace time with __libc_time.
130 (time): New strong alias and hidden definition of __libc_time.
131 (__GI_time): Remove strong alias.
132 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
134 (memmove): Redefined to __redirect_memmove.
135 (__memmove_sse2): Use typeof __redirect_memmove.
136 (__memmove_ssse3): Likewise.
137 (__memmove_ssse3_back): Likewise.
138 (__libc_memmove): New prototype.
139 (memmove): Renamed to ...
140 (__libc_memmove): This.
141 (memmove): New strong alias of __libc_memmove.
143 2012-08-08 Mark Salter <msalter@redhat.com>
146 (R_MN10300_TLS_GD): Define.
147 (R_MN10300_TLS_LD): Likewise.
148 (R_MN10300_TLS_LDO): Likewise.
149 (R_MN10300_TLS_GOTIE): Likewise.
150 (R_MN10300_TLS_IE): Likewise.
151 (R_MN10300_TLS_LE): Likewise.
152 (R_MN10300_TLS_DTPMOD): Likewise.
153 (R_MN10300_TLS_DTPOFF): Likewise.
154 (R_MN10300_TLS_TPOFF): Likewise.
155 (R_MN10300_SYM_DIFF): Likewise.
156 (R_MN10300_ALIGN): Likewise.
157 (R_MN10300_NUM): Update.
159 2012-08-08 Joseph Myers <joseph@codesourcery.com>
161 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
164 2012-08-08 Roland McGrath <roland@hack.frob.com>
166 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
168 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
169 sysdeps/unix -> sysdeps/posix move.
170 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
172 2012-08-07 Allan McRae <allan@archlinux.org>
175 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
176 (SUNOS_CPP): Likewise.
177 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
179 (open_input): Call CPP using execvp.
181 2012-08-07 Joseph Myers <joseph@codesourcery.com>
183 * sysdeps/unix/sysv/linux/kernel-features.h
184 (__ASSUME_PROT_GROWSUPDOWN): Remove.
185 (__ASSUME_NO_CLONE_DETACHED): Likewise.
186 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
187 (__ASSUME_WAITID_SYSCALL): Likewise.
188 * sysdeps/unix/sysv/linux/dl-execstack.c
189 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
191 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
193 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
194 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
195 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
197 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
199 [__ASSUME_WAITID_SYSCALL]: Likewise.
200 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
202 2012-08-07 Roland McGrath <roland@hack.frob.com>
204 * sysdeps/unix/closedir.c: Renamed to ...
205 * sysdeps/posix/closedir.c: ... here.
206 * sysdeps/unix/dirfd.c: Renamed to ...
207 * sysdeps/posix/dirfd.c: ... here.
208 * sysdeps/unix/dirstream.h: Renamed to ...
209 * sysdeps/posix/dirstream.h: ... here.
210 * sysdeps/unix/fdopendir.c: Renamed to ...
211 * sysdeps/posix/fdopendir.c: ... here.
212 * sysdeps/unix/opendir.c: Renamed to ...
213 * sysdeps/posix/opendir.c: ... here.
214 * sysdeps/unix/readdir.c: Renamed to ...
215 * sysdeps/posix/readdir.c: ... here.
216 * sysdeps/unix/readdir_r.c: Renamed to ...
217 * sysdeps/posix/readdir_r.c: ... here.
218 * sysdeps/unix/rewinddir.c: Renamed to ...
219 * sysdeps/posix/rewinddir.c: ... here.
220 * sysdeps/unix/seekdir.c: Renamed to ...
221 * sysdeps/posix/seekdir.c: ... here.
222 * sysdeps/unix/telldir.c: Renamed to ...
223 * sysdeps/posix/telldir.c: ... here.
224 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
225 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
226 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
227 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
229 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
230 * bits/fcntl.h: ... here.
232 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
234 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
235 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
236 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
237 (struct flock): Move l_start, l_len to the beginning.
238 Use __pid_t for l_pid.
239 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
240 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
241 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
242 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
243 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
244 [__USE_LARGEFILE64] (struct flock64): New type.
245 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
247 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
248 * bits/dirent.h: ... here.
250 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
251 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
253 2012-08-07 Joseph Myers <joseph@codesourcery.com>
255 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
256 Change from 2.6.0 to 2.6.16.
257 * sysdeps/unix/sysv/linux/configure: Regenerated.
258 * sysdeps/unix/sysv/linux/kernel-features.h
259 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
260 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
262 (__ASSUME_UTIMES): Likewise.
263 (__ASSUME_CLONE_STOPPED): Remove.
264 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
265 architectures, not kernel version.
266 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
267 (__ASSUME_NO_CLONE_DETACHED): Likewise.
268 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
269 (__ASSUME_WAITID_SYSCALL): Likewise.
270 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
271 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
272 * README: State 2.6.16 as minimum Linux kernel version. Do not
273 refer to older versions.
275 2012-08-06 Roland McGrath <roland@hack.frob.com>
277 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
278 Define alphasort64 as an alias.
279 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
280 Define versionsort64 as an alias.
281 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
282 Define scandir64 as an alias.
283 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
284 Define scandirat64 as an alias.
285 * dirent/alphasort64.c (alphasort64):
286 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
287 * dirent/versionsort64.c: Likewise.
288 * dirent/scandir64.c: Likewise.
289 * dirent/scandirat64.c: Likewise.
290 * sysdeps/wordsize-64/alphasort.c: File removed.
291 * sysdeps/wordsize-64/alphasort64.c: File removed.
292 * sysdeps/wordsize-64/scandir.c: File removed.
293 * sysdeps/wordsize-64/scandir64.c: File removed.
294 * sysdeps/wordsize-64/scandirat.c: File removed.
295 * sysdeps/wordsize-64/scandirat64.c: File removed.
296 * sysdeps/wordsize-64/versionsort.c: File removed.
297 * sysdeps/wordsize-64/versionsort64.c: File removed.
298 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
299 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
300 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
301 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
302 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
303 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
304 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
305 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
307 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
309 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
311 [defined __arch64__ || defined __sparcv9]
312 (__INO_T_MATCHES_INO64_T): New macro.
313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
314 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
315 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
316 * sysdeps/unix/sysv/linux/bits/dirent.h
317 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
318 (_DIRENT_MATCHES_DIRENT64): New macro.
320 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
321 Define lockf64 as an alias.
322 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
323 Define fseeko64 as an alias.
324 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
325 Define ftello64 as an alias.
326 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
327 Define _IO_fgetpos64 and fgetpos64 as aliases.
328 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
329 Define _IO_fsetpos64 and fsetpos64 as aliases.
330 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
331 Conditionalize body on this.
332 * libio/fseeko64.c: Likewise.
333 * libio/ftello64.c: Likewise.
334 * libio/iofgetpos64.c: Likewise.
335 * libio/iofsetpos64.c: Likewise.
336 * sysdeps/wordsize-64/lockf.c: File removed.
337 * sysdeps/wordsize-64/lockf64.c: File removed.
338 * sysdeps/wordsize-64/fseeko.c: File removed.
339 * sysdeps/wordsize-64/fseeko64.c: File removed.
340 * sysdeps/wordsize-64/ftello.c: File removed.
341 * sysdeps/wordsize-64/ftello64.c: File removed.
342 * sysdeps/wordsize-64/iofgetpos.c: File removed.
343 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
344 * sysdeps/wordsize-64/iofsetpos.c: File removed.
345 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
346 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
348 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
349 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
350 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
351 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
352 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
354 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
355 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
357 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
359 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
361 [defined __arch64__ || defined __sparcv9]
362 (__OFF_T_MATCHES_OFF64_T): New macro.
363 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
364 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
366 (__OFF_T_MATCHES_OFF64_T): New macro.
368 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
370 * stdlib/secure-getenv.c (__secure_getenv): Replace
371 GLIBC_2_16 with GLIBC_2_17.
373 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
375 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
376 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
378 2012-08-03 David S. Miller <davem@davemloft.net>
380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
382 2012-08-03 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
386 (__ASSUME_CORRECT_SI_PID): Likewise.
387 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
388 (__ASSUME_TMPFS_NAME): Likewise.
389 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
390 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
391 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
392 (HAVE_AUX_SECURE): Make definition unconditional.
393 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
394 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
396 2012-08-03 Roland McGrath <roland@hack.frob.com>
398 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
399 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
400 * sysdeps/mach/hurd/eloop-threshold.h: New file.
401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
402 __eloop_threshold instead of SYMLOOP_MAX.
404 * sysdeps/generic/eloop-threshold.h: New file.
405 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
407 * elf/chroot_canon.c (chroot_canon): Likewise.
409 2012-08-03 Joseph Myers <joseph@codesourcery.com>
412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
413 Change to 2.6.0 everywhere.
414 * sysdeps/unix/sysv/linux/configure: Regenerated.
415 * sysdeps/unix/sysv/linux/kernel-features.h
416 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
417 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
419 (__ASSUME_POSIX_TIMERS): Define unconditionally.
420 (__ASSUME_FUTEX_REQUEUE): Remove.
421 (__ASSUME_STATFS64): Define unconditionally.
422 (__ASSUME_AT_SECURE): Likewise.
423 (__ASSUME_CORRECT_SI_PID): Likewise.
424 (__ASSUME_TGKILL): Define without depending on kernel version for
426 (__ASSUME_UTIMES): Likewise.
427 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
429 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
430 (__ASSUME_TMPFS_NAME): Likewise.
431 * README: Update reference to Linux kernel versions.
433 2012-08-02 Marek Polacek <polacek@redhat.com>
436 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
437 libc_cv_asm_type_prefix with %.
438 * configure: Regenerated.
439 * include/libc-symbols.h: Remove comment about
440 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
441 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
442 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
443 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
444 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
445 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
446 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
447 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
448 * elf/tst-unique2mod1.c: Likewise.
449 * elf/tst-unique1mod2.c: Likewise.
450 * elf/tst-unique1mod1.c: Likewise.
451 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
452 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
453 Replace ASM_TYPE_DIRECTIVE with .type.
454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
455 * sysdeps/i386/sysdep.h: Likewise.
456 * sysdeps/x86_64/sysdep.h: Likewise.
457 * sysdeps/sh/sysdep.h: Likewise.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
459 Do not define ASM_TYPE_DIRECTIVE.
460 * sysdeps/powerpc/sysdep.h: Likewise.
461 * sysdeps/powerpc/powerpc32/sysdep.h:
462 Replace ASM_TYPE_DIRECTIVE with .type.
463 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
464 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
465 * sysdeps/i386/fpu/e_powf.S: Likewise.
466 * sysdeps/i386/fpu/e_expl.S: Likewise.
467 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
468 * sysdeps/i386/fpu/e_acosh.S: Likewise.
469 * sysdeps/i386/fpu/e_pow.S: Likewise.
470 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
472 * sysdeps/i386/fpu/s_expm1.S: Likewise.
473 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
474 * sysdeps/i386/fpu/e_log2.S: Likewise.
475 * sysdeps/i386/fpu/e_log2l.S: Likewise.
476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
477 * sysdeps/i386/fpu/e_powl.S: Likewise.
478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
479 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
480 * sysdeps/i386/fpu/e_logl.S: Likewise.
481 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
482 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
483 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
484 * sysdeps/i386/fpu/e_log2f.S: Likewise.
485 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
486 * sysdeps/i386/fpu/e_log.S: Likewise.
487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
488 * sysdeps/i386/fpu/e_logf.S: Likewise.
489 * sysdeps/i386/fpu/e_log10l.S: Likewise.
490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
491 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
492 * sysdeps/i386/fpu/e_log10.S: Likewise.
493 * sysdeps/i386/fpu/s_frexp.S: Likewise.
494 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
495 * sysdeps/i386/fpu/s_asinh.S: Likewise.
496 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
497 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
499 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
500 * sysdeps/i386/i686/strtok.S: Likewise.
501 * sysdeps/i386/i386-mcount.S: Likewise.
502 * sysdeps/i386/strtok.S: Likewise.
503 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
504 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
506 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
507 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
508 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
509 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
510 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
511 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
512 * sysdeps/x86_64/_mcount.S: Likewise.
513 * sysdeps/x86_64/strtok.S: Likewise.
514 * sysdeps/sh/_mcount.S: Likewise.
516 2012-08-01 Roland McGrath <roland@hack.frob.com>
518 * libio/iofopen.c: Include <fcntl.h>.
519 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
520 (_IO_fopen64, fopen64): Define as aliases.
521 * libio/iofopen64.c: Include <fcntl.h>.
522 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
523 Conditionalize body on this.
524 * sysdeps/wordsize-64/iofopen.c: File removed.
525 * sysdeps/wordsize-64/iofopen64.c: File removed.
527 2012-08-01 Marek Polacek <polacek@redhat.com>
529 * libc/Makeconfig: Use elf in place of binfmt-subdir.
530 Use dlfcn directly instead of a variable.
531 (binfmt-subdir): Do not define.
534 2012-08-01 Joseph Myers <joseph@codesourcery.com>
536 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
537 Remove all definitions.
538 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
540 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
541 (miss_F_GETOWN_EX): Remove all definitions.
542 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
544 [!__ASSUME_FCNTL64]: Remove conditional code.
545 [__ASSUME_FCNTL64]: Make code unconditional.
546 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
548 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
549 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
550 (lockf64) [__NR_fcntl64]: Make code unconditional.
551 (lockf64) [__ASSUME_FCNTL64]: Likewise.
553 * sysdeps/unix/sysv/linux/kernel-features.h
554 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
555 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
556 Make code unconditional.
557 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
558 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
560 [__NR_vfork]: Make code unconditional.
561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
564 [__NR_vfork]: Make code unconditional.
565 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
566 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
568 2012-08-01 Roland McGrath <roland@hack.frob.com>
570 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
571 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
573 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
574 Define mkstemp64 as an alias.
575 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
576 Define mkstemps64 as an alias.
577 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
578 Define mkostemp64 as an alias.
579 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
580 Define mkostemps64 as an alias.
581 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
582 Conditionalize body on this.
583 * misc/mkostemp64.c: Likewise.
584 * misc/mkostemps64.c: Likewise.
585 * misc/mkstemps64.c: Likewise.
586 * sysdeps/wordsize-64/mkstemp64.c: File removed.
587 * sysdeps/wordsize-64/mkostemp64.c: File removed.
588 * sysdeps/wordsize-64/mkostemp.c: File removed.
589 * sysdeps/wordsize-64/mkstemp.c: File removed.
590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
591 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
593 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
596 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
597 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
598 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
599 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
601 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
602 compat_symbol macros from <shlib-compat.h> rather than the underlying
603 default_symbol_version and symbol_version macros, so that DEFAULT
604 lines in shlib-versions are respected.
605 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
607 2012-08-01 Florian Weimer <fweimer@redhat.com>
609 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
610 Declare with warn_unused_result.
611 (setgid, setregid, setegid, setresgid): Likewise.
612 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
614 * WUR-REPORT: Remove set*id functions.
616 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
618 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
620 2012-07-31 Roland McGrath <roland@hack.frob.com>
622 * include/sys/socket.h (__libc_accept, __libc_accept4):
623 Add attribute_hidden.
624 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
626 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
628 * inet/getnetgrent_r.c (setup): Likewise.
630 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
632 2012-07-31 David S. Miller <davem@davemloft.net>
634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
636 2012-07-31 Joseph Myers <joseph@codesourcery.com>
639 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
640 value between 1.0 and 2.0 and smaller part has absolute value less
642 * math/s_clog10.c (__clog10): Likewise.
643 * math/s_clog10f.c (__clog10f): Likewise.
644 * math/s_clog10l.c (__clog10l): Likewise.
645 * math/s_clogf.c (__clogf): Likewise.
646 * math/s_clogl.c (__clogl): Likewise.
647 * math/libm-test.inc (clog_test): Add more tests.
648 (clog10_test): Likewise.
649 * sysdeps/i386/fpu/libm-test-ulps: Update.
650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652 2012-07-31 Florian Weimer <fweimer@redhat.com>
654 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
655 Exit with zero in case no suitable GID is found, and write a
656 message to standard error.
658 2012-07-30 Roland McGrath <roland@hack.frob.com>
660 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
662 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
663 (MAXPATHLEN): Removed.
664 (NOGROUP, NODEV): New macros.
665 (setbit, clrbit, isset, isclr): New macros.
666 (howmany, roundup, powerof2): New macros.
667 (DEV_BSIZE): New macro.
669 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
670 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
672 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
673 definition on [!__NO_LONG_DOUBLE_MATH].
675 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
676 PTR_MANGLE and PTR_DEMANGLE.
678 * socket/accept4.c (accept4): Rename to __libc_accept4.
679 Define accept4 as a weak alias.
681 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
682 on [_DIRENT_HAVE_D_TYPE].
683 * io/ftw.c (ftw_dir): Likewise.
685 * io/xmknod.c (__xmknod): Don't check PATH for being null.
687 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
689 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
690 Use the BSD numbers rather than the arbitrary ones we had.
691 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
692 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
693 (SIGXCPU, SIGXFSZ): New macros.
696 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
697 initializer on [_LIBC_REENTRANT].
699 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
700 definitions inside [_POSIX_MAPPED_FILES].
702 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
704 * dirent/opendir.c: Include <fcntl.h>.
706 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
707 (__libc_getspecific): Likewise.
708 (__libc_key_create): Likewise.
710 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
711 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
712 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
713 (tmpfile64): Define as alias.
714 * sysdeps/wordsize-64/tmpfile.c: File removed.
715 * sysdeps/wordsize-64/tmpfile64.c: File removed.
716 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
719 * stdio-common/vfscanf.c: Include <stdbool.h>.
720 * nss/makedb.c: Likewise.
721 * stdio-common/_i18n_number.h: Likewise.
722 * argp/argp-help.c: Likewise.
723 * posix/wordexp.c: Likewise.
724 * sysdeps/posix/spawni.c: Likewise.
725 * nss/nss_files/files-initgroups.c: Likewise.
726 * stdio-common/reg-modifier.c: Include <stdlib.h>.
727 * nss/nss_files/files-initgroups.c: Likewise.
728 * nss/nss_db/db-netgrp.c: Likewise.
729 * nss/nss_db/db-initgroups.c: Likewise.
730 * io/fchmodat.c: Include <sys/stat.h>.
732 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
733 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
735 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
738 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
739 Add multiple inclusion protection.
741 2012-07-27 David S. Miller <davem@davemloft.net>
743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
745 2012-07-27 Gary Benson <gbenson@redhat.com>
748 * elf/rtld.c: Include <stap-probe.h>.
749 (dl_main): Added static probes "init_start" and "init_complete".
750 * elf/dl-load.c: Include <stap-probe.h>.
751 (lose): Take new parameter "nsid".
752 Added static probe "map_failed".
753 (_dl_map_object_from_fd): Pass namespace id to lose.
754 Added static probe "map_start".
755 (open_verify): Pass namespace id to lose.
756 * elf/dl-open.c: Include <stap-probe.h>.
757 (dl_open_worker) Added static probes "map_complete", "reloc_start"
758 and "reloc_complete".
759 * elf/dl-close.c: Include <stap-probe.h>.
760 (_dl_close_worker): Added static probes "unmap_start" and
762 * elf/rtld-debugger-interface.txt: New file documenting the above.
764 2012-07-26 Roland McGrath <roland@hack.frob.com>
766 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
767 rather than a string variable.
768 * sunrpc/rpc_main.c (h_output): Likewise.
769 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
771 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
773 * inet/check_native.c: New file.
775 2012-07-26 Joseph Myers <joseph@codesourcery.com>
778 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
779 if larger part has absolute value 1.0.
780 * math/s_clog10.c (__clog10): Likewise.
781 * math/s_clog10f.c (__clog10f): Likewise.
782 * math/s_clog10l.c (__clog10l): Likewise.
783 * math/s_clogf.c (__clogf): Likewise.
784 * math/s_clogl.c (__clogl): Likewise.
785 * math/libm-test.inc (clog_test): Add more tests.
786 (clog10_test): Likewise.
787 * sysdeps/i386/fpu/libm-test-ulps: Update.
788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
790 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
793 (La_retval): Likewise.
794 (int_retval): Likewise.
795 Update #error for removed macros to refer only to definitions in
797 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
801 (La_retval): Likewise.
802 (int_retval): Likewise.
803 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
807 (La_retval): Likewise.
808 (int_retval): Likewise.
809 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
813 (La_retval): Likewise.
814 (int_retval): Likewise.
815 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
819 (La_retval): Likewise.
820 (int_retval): Likewise.
821 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
825 (La_retval): Likewise.
826 (int_retval): Likewise.
827 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
831 (La_retval): Likewise.
832 (int_retval): Likewise.
833 * sysdeps/generic/tst-audit.h: Update comment to refer only to
834 macro definitions in tst-audit.h.
835 * sysdeps/i386/tst-audit.h: New file.
836 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
837 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
838 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
839 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
840 * sysdeps/sh/tst-audit.h: Likewise.
841 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
842 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
843 * sysdeps/x86_64/tst-audit.h: Likewise.
845 2012-07-26 Andreas Jaeger <aj@suse.de>
847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
850 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
851 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
852 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
854 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
855 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
858 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
861 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
863 (si_call_addr, si_syscall, si_arch): Define new macro.
864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
866 (si_call_addr, si_syscall, si_arch): Define new marcro.
867 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
869 (si_call_addr, si_syscall, si_arch): Define new macro.
870 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
872 (si_call_addr, si_syscall, si_arch): Define new macro.
874 2012-07-25 Joseph Myers <joseph@codesourcery.com>
877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
878 Change to 2.4.21 where previously 2.4.1.
879 * sysdeps/unix/sysv/linux/configure: Regenerated.
880 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
881 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
882 Linux kernel version.
883 (__ASSUME_STD_AUXV): Remove.
884 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
886 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
887 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
888 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
889 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
890 (__ASSUME_NETLINK_SUPPORT): Likewise.
891 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
892 (__no_netlink_support): Remove conditional definition.
893 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
895 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
896 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
897 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
898 (if_nameindex_ioctl): Remove.
899 (if_nameindex_netlink): Do not handle __no_netlink_support.
900 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
902 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
903 Remove conditional code.
904 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
906 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
908 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
909 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
910 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
912 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
913 [!__ASSUME_STD_AUXV]: Remove conditional code.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
915 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
916 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
918 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
919 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
921 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
923 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
924 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
926 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
928 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
931 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
934 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
936 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
938 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
940 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
943 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
945 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
948 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
950 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
952 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
954 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
957 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
959 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
961 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
963 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
966 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
968 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
969 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
970 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
971 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
972 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
973 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
974 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
975 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
976 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
977 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
978 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
979 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
980 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
981 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
982 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
983 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
984 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
986 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
988 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
989 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
990 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
992 2012-07-25 Florian Weimer <fweimer@redhat.com>
994 * Versions.def: Add GLIBC_2.17.
995 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
996 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
997 Introduce __libc_secure_getenv.
998 * stdlib/Versions (2.17): Add secure_getenv
999 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1000 * stdlib/secure-getenv.c: Rename __secure_getenv to
1001 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1002 symbol __secure_getenv for GLIBC_2.0.
1003 * stdlib/tst-secure-getenv.c: New.
1004 * stdlib/Makefile (tests): Add testcase.
1005 * manual/startup.texi (Environment Access): Document
1007 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1008 __libc_secure_getenv.
1009 * inet/ruserpass.c (ruserpass): Likewise.
1010 * malloc/mtrace.c (mtrace): Likewise.
1011 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1012 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1013 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1014 * sysdeps/posix/tempname.c: Likewise. Evaluate
1016 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1017 __secure_getenv to __libc_secure_getenv.
1018 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1031 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1033 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1034 (struct La_i86_retval): Likewise.
1035 (struct La_x86_64_regs): Likewise.
1036 (struct La_x86_64_retval): Likewise.
1037 (struct La_x32_regs): Likewise.
1038 (struct La_x32_retval): Likewise.
1039 (struct La_ppc32_regs): Likewise.
1040 (struct La_ppc32_retval): Likewise.
1041 (struct La_ppc64_regs): Likewise.
1042 (struct La_ppc64_retval): Likewise.
1043 (struct La_sh_regs): Likewise.
1044 (struct La_sh_retval): Likewise.
1045 (struct La_s390_32_regs): Likewise.
1046 (struct La_s390_32_retval): Likewise.
1047 (struct La_s390_64_regs): Likewise.
1048 (struct La_s390_64_retval): Likewise.
1049 (struct La_sparc32_regs): Likewise.
1050 (struct La_sparc32_retval): Likewise.
1051 (struct La_sparc64_regs): Likewise.
1052 (struct La_sparc64_retval): Likewise.
1053 (struct audit_ifaces): Remove architecture-specific pltenter and
1055 * sysdeps/i386/ldsodefs.h: New file.
1056 * sysdeps/powerpc/ldsodefs.h: Likewise.
1057 * sysdeps/s390/ldsodefs.h: Likewise.
1058 * sysdeps/sh/ldsodefs.h: Likewise.
1059 * sysdeps/sparc/ldsodefs.h: Likewise.
1060 * sysdeps/x86_64/ldsodefs.h: Likewise.
1062 2012-07-25 Marek Polacek <polacek@redhat.com>
1065 * math/libm-test.inc (yn_test): Add another test.
1066 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1067 to ERANGE when the result is +-Inf.
1068 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1069 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1070 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1071 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1073 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1075 * conform/data/time.h-data (NULL): Use macro-constant. Require
1077 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1079 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1081 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1083 * configure.in <sysdeps resolving>: Correct printing
1085 * configure: Regenerate.
1087 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1089 * math/w_ilogb.c: Include <limits.h>.
1090 * math/w_ilogbl.c: Likewise.
1092 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1094 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1095 va_copy. Document allowing for unavailable va_copy only as
1096 pre-C99 compatibility.
1097 * manual/string.texi (Copying and Concatenation): Use va_copy
1098 instead of __va_copy in concat example.
1100 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1102 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1103 (__sendto): Use create_address_port. Initialize APORT and deallocate
1106 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1107 with O_NOLINK passed to __file_name_lookup.
1109 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1110 with O_NOLINK passed to __file_name_lookup.
1112 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1113 negative N or less than NGIDS.
1115 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1116 type to string_t. Set ERANGE as errno and return it if NAME is not big
1117 enough. Use memcpy instead of strncpy.
1119 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1121 * elf/Makefile (check-data): Remove.
1122 (localplt.data): New vpath directive.
1123 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1124 instead of $(check-data).
1125 * scripts/data/localplt-generic.data: Move to ...
1126 * sysdeps/generic/localplt.data: ... here.
1127 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1128 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1129 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1132 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1135 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1138 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1141 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1144 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1148 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1151 PPC32 and PPC64 files.
1152 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1153 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1155 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1157 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1158 __makecontext_ret to ...
1159 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1160 ... here and call exit if uc_link is NULL. New file.
1161 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1162 __makecontext_ret.S.
1163 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1164 __makecontext_ret to ...
1165 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1166 ... here and call exit if uc_link is NULL. New file.
1167 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1168 __makecontext_ret.S.
1170 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1172 * elf/elf.h (R_390_IRELATIVE): New definition.
1173 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1174 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1175 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1176 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1177 (elf_machine_lazy_rel): Likewise.
1178 * sysdeps/s390/dl-irel.h: New file.
1179 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1180 * sysdeps/s390/s390-64/memset.S: New asm code.
1181 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1182 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1183 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1184 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1185 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1186 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1187 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1188 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1189 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1190 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1191 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1192 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1193 * sysdeps/s390/s390-32/memset.S: New asm code.
1194 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1196 2012-07-17 Marek Polacek <polacek@redhat.com>
1199 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1200 * sysdeps/s390/s390-64/configure.in: Likewise.
1201 * sysdeps/sparc/configure.in: Likewise.
1202 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1203 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1204 * sysdeps/i386/configure.in: Likewise.
1205 * sysdeps/x86_64/configure.in: Likewise.
1206 * sysdeps/sh/configure.in: Likewise.
1207 * sysdeps/s390/s390-32/configure: Regenerated.
1208 * sysdeps/s390/s390-64/configure: Likewise.
1209 * sysdeps/x86_64/configure: Likewise.
1210 * sysdeps/sh/configure: Likewise.
1211 * sysdeps/powerpc/powerpc64/configure: Likewise.
1212 * sysdeps/powerpc/powerpc32/configure: Likewise.
1213 * sysdeps/sparc/configure: Likwise.
1214 * sysdeps/i386/configure: Likewise.
1216 * elf/dl-open.c: Comment fixes.
1218 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1220 * Makefile [CXX] (check-data): Remove.
1221 [CXX] (c++-types.data): New vpath directive.
1222 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1223 vpath. Do not allow for C++ type data being missing.
1224 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1225 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1226 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1227 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1228 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1229 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1230 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1233 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1236 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1239 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1242 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1245 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1248 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1251 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1254 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1255 definitions to architecture-specific files.
1259 * sysdeps/i386/tls-macros.h: New file.
1260 * sysdeps/powerpc/tls-macros.h: Likewise.
1261 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1262 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1263 * sysdeps/sh/tls-macros.h: Likewise.
1264 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1265 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1266 * sysdeps/x86_64/tls-macros.h: Likewise.
1268 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1270 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1271 zero value for regular exit case.
1273 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1274 (__start_context): Preserve zero value for regular exit case.
1276 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1277 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1279 * manual/setjmp.texi (setcontext): Clarify normal process
1280 termination when uc_link is the null pointer.
1281 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1284 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1286 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1287 preprocessor. Test for each exception mask separately.
1289 2012-07-16 Andreas Jaeger <aj@suse.de>
1291 * po/ru.po: Update from translation team.
1293 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1295 * conform/data/string.h-data (NULL): Use macro-constant. Require
1297 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1298 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1299 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1300 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1301 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1303 2012-07-13 Andreas Jaeger <aj@suse.de>
1305 * po/fr.po: Update from translation team.
1307 2012-07-12 Marek Polacek <polacek@redhat.com>
1310 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1311 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1314 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1318 Change to 2.4.1 where previously 2.4.0.
1319 * sysdeps/unix/sysv/linux/configure: Regenerated.
1320 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1321 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1323 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1324 (__ASSUME_AT_CLKTCK): Remove.
1325 (__ASSUME_AT_PAGESIZE): Likewise.
1326 (__ASSUME_AT_XID): Likewise.
1327 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1328 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1329 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1331 (HAVE_AUX_PAGESIZE): Likewise.
1332 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1333 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1334 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1336 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1340 the temporary buffer used to invoke __gethostbyname2_r,
1341 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1342 host_data / struct gaih_addrtuple.
1343 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1344 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1345 header file nss/nsswitch.h.
1346 * nss/nsswitch.h (global scope): Add definition of implementation
1347 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1348 resolv/nss_dns/dns-host.c).
1350 2012-07-11 Andreas Jaeger <aj@suse.de>
1352 * po/fr.po: Update from translation team.
1354 * po/sv.po: Update from translation team
1355 * po/fr.po: Another update from translation team.
1357 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1360 for subnormals or multiply small sinh result by itself.
1361 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1364 2012-07-11 David S. Miller <davem@davemloft.net>
1366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1368 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1371 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1372 (INTERNAL_MARK): Shift it here.
1374 2012-07-10 Marek Polacek <polacek@redhat.com>
1377 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1378 libc_cv_asm_global_directive with .globl.
1379 * configure: Regenerated.
1380 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1382 * sysdeps/i386/configure: Regenerated.
1383 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1385 * sysdeps/x86_64/configure: Regenerated.
1386 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1387 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1388 * elf/tst-unique2mod2.c: Likewise.
1389 * elf/tst-unique2mod1.c: Likewise.
1390 * elf/tst-unique1mod2.c: Likewise.
1391 * elf/tst-unique1mod1.c: Likewise.
1392 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1393 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1394 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1396 * sysdeps/mach/sysdep.h: Likewise.
1397 * sysdeps/i386/sysdep.h: Likewise.
1398 * sysdeps/i386/i386-mcount.S: Likewise.
1399 * sysdeps/x86_64/_mcount.S: Likewise.
1400 * sysdeps/x86_64/sysdep.h: Likewise.
1401 * sysdeps/sh/_mcount.S: Likewise.
1402 * sysdeps/sh/sysdep.h: Likewise.
1403 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1404 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1405 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1406 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1407 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1408 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1409 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1410 * locale/localeinfo.h: Likewise.
1411 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1412 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1414 2012-07-09 Roland McGrath <roland@hack.frob.com>
1417 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1419 * manual/message.texi (The Uniforum approach): Likewise.
1420 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1421 (glibc iconv Implementation): Likewise.
1423 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1426 * math/s_clog.c (__clog): Avoid scaling a value down where that
1427 could result in underflow.
1428 * math/s_clog10.c (__clog10): Likewise.
1429 * math/s_clog10f.c (__clog10f): Likewise.
1430 * math/s_clog10l.c (__clog10l): Likewise.
1431 * math/s_clogf.c (__clogf): Likewise.
1432 * math/s_clogl.c (__clogl): Likewise.
1433 * math/libm-test.inc (clog_test): Add more tests.
1434 (clog10_test): Likewise.
1435 * sysdeps/i386/fpu/libm-test-ulps: Update.
1436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1438 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1441 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1442 by 7 not 8 to examine high bit of fractional part.
1445 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1446 for call to __mcount_internal.
1447 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1448 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1449 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1451 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1454 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1455 approximation for values within 0x1p-13f of an odd multiple of
1457 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1458 exception. Add more tests.
1459 * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1463 inputs and return -1 for them. Do not check for +Inf in case not
1465 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1466 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1467 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1468 and return -1 for them. Do not check for +Inf in case not
1470 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1472 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1473 and return -1 for them. Do not check for +Inf in case not
1475 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1477 * sysdeps/i386/fpu/libm-test-ulps: Update.
1478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1480 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1482 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1484 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1488 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1489 could result in spurious underflow. Scale down values above
1490 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1491 * math/s_csqrtf.c (__csqrtf): Likewise.
1492 * math/s_csqrtl.c (__csqrtl): Likewise.
1493 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1495 * sysdeps/i386/fpu/libm-test-ulps: Update.
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1498 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1500 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1502 * catgets/xopen-msg.awk: New file.
1503 * catgets/xopen-msg.sed: Removed.
1505 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1507 * intl/po2test.awk: New file.
1508 * intl/po2test.sed: Removed.
1510 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1513 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1514 or multiply small sinh result by itself.
1515 * math/s_ctanf.c (__ctanf): Likewise.
1516 * math/s_ctanh.c (__ctanh): Likewise.
1517 * math/s_ctanhf.c (__ctanhf): Likewise.
1518 * math/s_ctanhl.c (__ctanhl): Likewise.
1519 * math/s_ctanl.c (__ctanl): Likewise.
1520 * math/libm-test.inc (ctan_test_tonearest): New function.
1521 (ctan_test_towardzero): Likewise.
1522 (ctan_test_downward): Likewise.
1523 (ctan_test_upward): Likewise.
1524 (ctanh_test_tonearest): Likewise.
1525 (ctanh_test_towardzero): Likewise.
1526 (ctanh_test_downward): Likewise.
1527 (ctanh_test_upward): Likewise.
1528 (main): Call these new functions.
1529 * sysdeps/i386/fpu/libm-test-ulps: Update.
1530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1532 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1534 * .gitignore: Delete /ports entry.
1536 2012-07-03 Andreas Jaeger <aj@suse.de>
1538 * po/bg.po: Update from translation team.
1539 * po/cs.po: Likewise.
1540 * po/de.po: Likewise.
1541 * po/hr.po: Likewise.
1542 * po/nl.pl: Likewise.
1543 * po/pl.po: Likewise.
1544 * po/vi.po: Likewise.
1546 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1548 * Makeconfig [!+link] (+link-before-libc): New variable.
1549 [!+link] (+link-after-libc): Likewise.
1550 [!+link] (+link-tests): Likewise.
1551 [!+link] (+link): Define in terms of $(+link-before-libc) and
1552 $(+link-after-libc).
1553 [!+link-static] (+link-static-before-libc): New variable.
1554 [!+link-static] (+link-static-after-libc): Likewise.
1555 [!+link-static] (+link-static-tests): Likewise.
1556 [!+link-static] (+link-static): Define in terms of
1557 $(+link-static-before-libc) and $(+link-static-after-libc).
1558 [build-shared] (link-libc-before-gnulib): New variable.
1559 [build-shared] (link-libc-tests): Likewise.
1560 [build-shared] (link-libc): Define in terms of
1561 $(link-libc-before-gnulib).
1562 [!build-shared] (link-libc-tests): New variable.
1563 (link-libc-static-tests): New variable.
1564 [!gnulib] (gnulib-arch): New variable.
1565 [!gnulib] (gnulib-tests): Likewise.
1566 [!gnulib] (static-gnulib-arch): Likewise.
1567 [!gnulib] (static-gnulib-tests): Likewise.
1568 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1569 Define with "=" instead of ":=".
1570 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1571 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1572 * Rules (binaries-all-notests): New variable.
1573 (binaries-all-tests): Likewise.
1574 (binaries-static-notests): Likewise.
1575 (binaries-static-tests): Likewise.
1576 (binaries-all): Define using $(binaries-all-notests) and
1577 $(binaries-all-tests).
1578 (binaries-static): Define using $(binaries-static-notests) and
1579 $(binaries-static-tests).
1580 (binaries-shared-tests): New variable.
1581 (binaries-shared-notests): Likewise.
1582 (binaries-shared): Remove variable.
1583 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1584 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1585 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1586 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1587 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1588 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1589 * elf/Makefile (sln-modules): New variable.
1590 (extra-objs): Add $(sln-modules:=.o).
1591 (ldconfig-modules): Add static-stubs.
1592 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1593 * elf/static-stubs.c: New file.
1596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1597 by 7 not 8 to examine high bit of fractional part. Use volatile
1598 variables when splitting into final array of floats if
1599 __FLT_EVAL_METHOD__ != 0.
1600 * math/libm-test.inc (cos_test): Add another test.
1601 (sin_test): Likewise.
1602 * sysdeps/i386/fpu/libm-test-ulps: Update.
1605 * math/libm-test.inc (cosh_test): Add more tests.
1607 * version.h (RELEASE): Set to "development".
1608 (VERSION): Set to "2.16.90".
1610 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1612 * NEWS: Update copyright. Remove last-updated date.
1613 Mention math library bug fixes and timezone data changes.
1614 * README: Mention GNU/Hurd, x32, and HPPA support status.
1616 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1618 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1620 2012-06-27 Andreas Jaeger <aj@suse.de>
1622 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1624 2012-06-25 Andreas Jaeger <aj@suse.de>
1626 * sysdeps/s390/fpu/libm-test-ulps: Update.
1628 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1629 Thomas Schwinge <thomas@codesourcery.com>
1631 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1632 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1636 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1638 * sysdeps/mach/start.c: Remove file.
1639 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1640 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1641 * sysdeps/sh/init-first.c: Likewise.
1643 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1644 registers for frame unwinding purposes, add CFI directives.
1645 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1646 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1647 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1650 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1651 __fortify_fail returning.
1652 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1654 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1655 sysdeps/sh/____longjmp_chk.S.
1656 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1657 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1658 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1659 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1661 * sysdeps/sh/abort-instr.h: New file.
1662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1663 process in case exit returns.
1665 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1666 initialize the GOT register before use.
1668 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1669 calculation of ARGC > 4.
1671 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1672 meaningful names to some local labels.
1674 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1675 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1677 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1678 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1679 (__arch_compare_and_exchange_val_16_acq): Likewise.
1680 (__arch_compare_and_exchange_val_32_acq): Likewise.
1681 (atomic_exchange_and_add): Fix gUSA sequence.
1682 (atomic_add): Likewise.
1683 (atomic_add_negative): Likewise.
1684 (atomic_add_zero): Likewise.
1685 (atomic_bit_test_set): Likewise.
1687 2012-06-22 Andreas Schwab <schwab@redhat.com>
1690 * include/link.h (struct link_map): Add l_free_initfini.
1691 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1693 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1694 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1695 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1698 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1700 * configure.in: Use AC_LANG_SOURCE.
1701 * configure: Regenerate.
1703 2012-06-22 Roland McGrath <roland@hack.frob.com>
1705 * configure.in (libc_cv_localstatedir): New substituted variable.
1706 * configure: Regenerated.
1707 * config.make.in (localstatedir): New variable, substituted from
1708 libc_cv_localstatedir.
1709 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1710 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1711 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1712 * sysdeps/gnu/configure: Regenerated.
1714 2012-06-21 Jeff Law <law@redhat.com>
1717 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1718 free. Simplify list management for _LIBC case.
1720 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1723 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1724 Clear sign bit of 64-bit integer value before comparing against
1727 * sysdeps/mach/configure: Regenerated.
1729 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1732 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1734 2012-06-21 Jeff Law <law@redhat.com>
1737 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1738 uint16_t for elements in the "seen" array to avoid char overflows.
1739 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1740 * elf/dl-open.c (dl_open_worker): Likewise.
1742 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1744 * scripts/list-sources.sh: Scan PORTS for translations.
1745 * po/libc.pot: Regenerated.
1747 2012-06-21 Andreas Jaeger <aj@suse.de>
1750 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1752 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1753 * bits/byteswap-16.h (__bswap_16): Likewise.
1754 * bits/byteswap.h (__bswap_constant_16): Likewise.
1756 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1759 * sysdeps/i386/fpu_control.h: Removed.
1760 * sysdeps/x86_64/fpu_control.h: Moved to ...
1761 * sysdeps/x86/fpu_control.h: Here.
1763 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1764 (_FPU_SETCW): Likewise.
1766 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1769 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1770 * sysdeps/x86/fpu/bits/mathinline.h: This.
1771 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1775 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1776 functions if __x86_64__ is defined.
1778 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1780 * string/endian.h: Add !__ASSEMBLER__ condition for including
1781 conversion interfaces.
1783 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1787 of ABS(x) in calculating zero to negative powers other than odd
1789 * math/libm-test.inc (pow_test): Add more tests.
1791 2012-06-15 Andreas Jaeger <aj@suse.de>
1793 * manual/contrib.texi (Contributors): Update entry of Liubov
1794 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1797 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1799 * string/string.h: Add __wur to GNU version of strerror_r.
1801 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1804 * string/Makefile (tests): Add tst-strtok_r.
1805 * string/tst-strtok_r.c: New file.
1806 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1807 RAX_LP/RDX_LP on SAVE_PTR.
1809 2012-06-14 Roland McGrath <roland@hack.frob.com>
1811 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1813 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1815 * libm_test.inc (csqrt_test): Allow more spurious underflow
1817 (j0_test): Likewise.
1818 (j1_test): Likewise.
1819 (y0_test): Likewise.
1820 (y1_test): Likewise.
1822 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1824 * po/Makefile (libc.pot): Use UTF-8 charset.
1826 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1829 Suppress sign-conversion warning from FD_SET.
1830 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1831 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1832 not unsigned long int.
1833 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1835 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1839 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1840 __extern_always_inline instead of __extern_inline.
1841 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1842 (__signbit): Likewise.
1843 (__signbitl): Support C++ namespace.
1844 (lrintf): New inline function.
1846 (llrintf): Likewise.
1858 (nearbyint): Likewise.
1859 (nearbyintf): Likewise.
1861 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1864 non-default versions.
1866 2012-06-11 Roland McGrath <roland@hack.frob.com>
1869 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1871 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1873 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1874 (FE_UPWARD, FE_DOWNWARD): Don't define.
1875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1876 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1878 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1880 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1881 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1883 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1885 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1887 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1888 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1890 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1893 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1894 * sysdeps/i386/fpu/Implies: New file.
1895 * sysdeps/x86_64/fpu/Implies: Likewise.
1896 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1897 * sysdeps/x86/fpu/bits/fenv.h: This.
1899 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1902 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1905 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1906 character 0xffff that matches the last element of the
1909 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1914 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1916 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1917 values higher than 25.6283.
1919 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1921 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1922 subnormal exponent extraction and add some __builtin_expect.
1923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1924 Fix for subnormal mantissa calculation.
1926 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1928 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1929 cpu2 is -1 and errno is not ENOSYS.
1931 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1934 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1935 * sysdeps/x86/bits/string.h: This.
1936 * sysdeps/x86_64/bits/string.h: Removed.
1938 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1939 if not compiling for x86-64, but compiling for >= i486.
1941 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1942 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1944 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1945 New macro from Linux kernel 3.4.0.
1946 (FP_XSTATE_MAGIC2): Likewise.
1947 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1948 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1949 (struct _fpx_sw_bytes): New struct.
1950 (struct _xsave_hdr): Likewise.
1951 (struct _ymmh_state): Likewise.
1952 (struct _xstate): Likewise.
1954 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1955 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1957 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1958 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1959 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1961 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1963 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1964 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1965 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1966 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1968 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1971 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1972 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1973 (sysdep_headers): Include sys/platform/ppc.h.
1974 * sysdeps/powerpc/test-gettimebase.c: Test for
1975 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1976 * manual/Makefile (appendices): Include platform.texi.
1977 * manual/contrib.texi (Contributors): Update @node pointers.
1978 * manual/maint.texi (Maintenance): Likewise.
1979 (Platform): New node.
1980 * manual/platform.texi: New file. Document the new features.
1982 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1983 Jakub Jelinek <jakub@redhat.com>
1986 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1987 where __builtin_expect is unavailable.
1989 2012-06-03 David S. Miller <davem@davemloft.net>
1991 * stdlib/longlong.h: Updated from GCC.
1993 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1996 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1997 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2000 (GLIBC_2.16): Likewise.
2002 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2004 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2006 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2009 (default-abi): New variable.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2011 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2013 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2015 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2017 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2020 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2021 definition. Document in comment.
2023 2012-06-01 David S. Miller <davem@davemloft.net>
2025 * stdlib/longlong.h: Updated from GCC.
2027 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2030 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2031 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2032 sys/debugreg.h sys/io.h here.
2033 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2034 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2036 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2037 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2038 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2039 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2040 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2041 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2043 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2044 Define only if __x86_64__ is defined.
2046 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2049 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2050 Use int64_t for variable i.
2051 * math/libm-test.inc (fmod_test): Add more tests.
2053 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2054 z computation is not scheduled after fetestexcept.
2055 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2056 Use math_force_eval instead of asm to ensure calculation scheduled
2057 before exception test.
2058 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2059 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2061 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2064 computation is not scheduled after fetestexcept.
2066 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2069 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2070 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2072 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2075 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2077 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2080 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2082 (__WCHAR_MIN): Support __WORDSIZE == 64.
2083 (__WCHAR_MAX): Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2090 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2093 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2094 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2096 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2097 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2099 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2100 Defined to 1 if __x86_64__ isn't defined.
2101 (_STAT_VER_LINUX_OLD): New.
2102 (st_atime): Remove duplicate.
2103 (st_mtime): Likewise.
2104 (st_ctime): Likewise.
2106 2012-05-31 David S. Miller <davem@davemloft.net>
2108 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2111 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2113 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2117 * elf/dl-reloc.c: Include <_itoa.h>.
2118 (_dl_reloc_bad_type): Remove use of INTUSE.
2119 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2120 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2121 * stdio-common/psiginfo.c (psiginfo): Likewise.
2122 * stdio-common/psignal.c (psignal): Likewise.
2123 * string/strsignal.c (strsignal): Likewise.
2124 * include/signal.h (_sys_siglist): Declare hidden proto.
2125 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2126 INTVARDEF with libc_hidden_data_def.
2127 * stdio-common/itoa-udigits.c: Likewise.
2128 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2129 (_itoa_lower_digits_internal): Remove declaration.
2130 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2131 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2132 (_sys_sigabbrev_internal): Remove aliases.
2133 (_sys_siglist): Define hidden alias.
2135 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2140 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2143 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2144 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2146 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2147 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2148 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2149 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2151 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2153 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2154 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2155 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2157 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2165 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2166 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2167 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2169 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2170 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2172 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2173 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2174 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2176 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2177 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2179 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2180 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2184 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2186 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2187 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2189 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2191 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2192 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2193 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2195 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2197 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2199 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2201 * math/math.h (M_El): Use two more decimal places.
2202 (M_LOG2El): Likewise.
2203 (M_LOG10El): Likewise.
2205 (M_LN10l): Likewise.
2207 (M_PI_2l): Likewise.
2208 (M_PI_4l): Likewise.
2209 (M_1_PIl): Likewise.
2210 (M_2_PIl): Likewise.
2211 (M_2_SQRTPIl): Likewise.
2212 (M_SQRT2l): Likewise.
2213 (M_SQRT1_2l): Likewise.
2215 2012-05-31 David S. Miller <davem@davemloft.net>
2217 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2218 values between float registers.
2219 * sysdeps/sparc/sparc64/memset.S: Likewise.
2220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2222 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2224 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2225 -D_FORTIFY_SOURCE=1.
2226 (CPPFLAGS-tst-longjmp_chk.c): Define.
2227 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2228 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2229 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2230 CFLAGS-tst-wchar-h.c.
2232 2012-05-31 Marek Polacek <polacek@redhat.com>
2235 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2236 __endmntent_internal): Remove declaration.
2237 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2238 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2239 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2241 2012-05-30 David S. Miller <davem@davemloft.net>
2243 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2244 (___Q_simulate_exceptions): Use real FP ops rather than writing
2246 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2249 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2252 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2253 * sysdeps/x86/bits/xtitypes.h: This.
2255 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2256 * sysdeps/x86/bits/wordsize.h: This.
2258 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2259 * sysdeps/x86/bits/huge_vall.h: This.
2261 * sysdeps/i386/bits/select.h: Removed.
2262 * sysdeps/x86_64/bits/select.h: Renamed to ...
2263 * sysdeps/x86/bits/select.h: This.
2265 * sysdeps/i386/bits/setjmp.h: Removed.
2266 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2267 * sysdeps/x86/bits/setjmp.h: This.
2269 * sysdeps/i386/bits/mathdef.h: Removed.
2270 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2271 * sysdeps/x86/bits/mathdef.h: This.
2273 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2276 * include/sys/socket.h (__connect_internal)
2277 (__libc_sa_len_internal): Remove declaration.
2278 (__connect, __libc_sa_len): Declare hidden_proto.
2279 (SA_LEN): Remove use of INTUSE.
2280 * socket/connect.c: Add libc_hidden_def.
2281 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2282 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2283 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2285 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2287 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2288 of adding _internal alias.
2290 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2293 * sysdeps/i386/bits/link.h: Removed.
2294 * sysdeps/i386/bits/linkmap.h: Likewise.
2295 * sysdeps/x86_64/bits/link.h: Renamed to ...
2296 * sysdeps/x86/bits/link.h: This.
2297 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2298 * sysdeps/x86/bits/linkmap.h: This.
2300 * sysdeps/i386/bits/endian.h: Removed.
2301 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2302 * sysdeps/x86/bits/endian.h: This.
2304 * sysdeps/i386/bits/byteswap.h: Removed.
2305 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2306 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2307 * sysdeps/x86/bits/byteswap.h: This.
2308 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2309 * sysdeps/x86/bits/byteswap-16.h: This.
2310 * sysdeps/i386/Implies: Add x86.
2311 * sysdeps/x86_64/Implies: Likewise.
2313 2012-05-30 David S. Miller <davem@davemloft.net>
2315 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2316 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2317 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2318 (FP_TRAPPING_EXCEPTIONS): Define.
2319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2320 (FP_TRAPPING_EXCEPTIONS): Define.
2321 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2322 subnormals only when inexact has been signalled or underflow
2323 exceptions are enabled.
2324 (_FP_PACK_CANONICAL): Likewise.
2326 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2329 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2330 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2332 2012-05-30 Richard Henderson <rth@twiddle.net>
2334 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2335 with #ifndef NOT_IN_libc.
2337 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2338 marked to avoid plt entry.
2340 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2343 * Makeconfig (default-abi): New macro.
2344 (abi-includes): Likewise.
2345 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2346 $(abi-$(default-abi)-lib-soname) for soname if defined.
2347 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2349 * Makefile (installed-stubs): Likewise.
2350 * include/stubs-biarch.h: Removed.
2351 * scripts/lib-names.awk: Only handle one library at a time.
2352 * scripts/soversions.awk: Remove WORDSIZE support.
2353 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2355 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2357 (syscall-list-default-condition): Likewise.
2358 (syscall-list-default-condition): Likewise.
2359 (syscall-list-includes): Likewise.
2360 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2361 syscall-list-* with abi-*. Handle undefined abi-variants.
2362 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2363 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2364 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2366 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2367 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2369 (syscall-list-32-options): Likewise.
2370 (syscall-list-32-condition): Likewise.
2371 (syscall-list-64-options): Likewise.
2372 (syscall-list-64-condition): Likewise.
2373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2375 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2378 (abi-64-ld-soname): New macro.
2379 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2383 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2384 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2386 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2388 * sysdeps/unix/sysv/linux/kernel-features.h
2389 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2390 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2391 include <kernel-features.h>.
2392 [!__NR_ftruncate64]: Remove conditional code.
2393 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2394 [__NR_ftruncate64]: Make code unconditional.
2395 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2396 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2397 include <kernel-features.h>.
2398 [!__NR_ftruncate64]: Remove conditional code.
2399 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2400 [__NR_ftruncate64]: Make code unconditional.
2401 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2403 include <kernel-features.h>.
2404 [!__NR_ftruncate64]: Remove conditional code.
2405 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2406 [__NR_ftruncate64]: Make code unconditional.
2407 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2409 include <kernel-features.h>.
2410 [!__NR_ftruncate64]: Remove conditional code.
2411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2412 [__NR_ftruncate64]: Make code unconditional.
2413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2415 * configure.in (libc_cv_fpie): Weaken to a compile test using
2417 * configure: Regenerated.
2419 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2434 2012-05-27 David S. Miller <davem@davemloft.net>
2436 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2438 (__Q_simulate_exceptions): Return void. Change to simulate
2439 exceptions by writing into the %fsr.
2440 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2441 (__Qp_handle_exceptions): Likewise.
2443 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2444 __Qp_handle_exceptions.
2445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2446 __Qp_handle_exceptions.
2447 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2448 as unused and give dummy FP_RND_NEAREST initializer.
2449 (FP_INHIBIT_RESULTS): Define.
2450 (___Q_simulate_exceptions): Update declaration.
2451 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2453 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2454 as unused and give dummy FP_RND_NEAREST initializer.
2455 (__Qp_handle_exceptions): Update declaration.
2456 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2459 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2461 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2462 the temporary FPU control word.
2463 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2464 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2465 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2466 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2467 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2468 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2469 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2470 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2471 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2472 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2473 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2475 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2477 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2480 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2482 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2483 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2484 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2485 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2487 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2488 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2491 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2493 * po/h.po: Update from translation team.
2495 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2497 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2499 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2500 handling of denormals.
2501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2502 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2503 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2504 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2510 2012-05-26 Marek Polacek <polacek@redhat.com>
2513 * math/libm-test.inc (fma_test): Don't always expect underflow
2516 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2519 * elf/tst-execstack.c: Include stackinfo.h.
2520 (do_test): Adjust test case to ensure that pthread_getattr_np
2521 behaviour remains the same after marking stack executable.
2523 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2525 * sysdeps/unix/sysv/linux/kernel-features.h
2526 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2527 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2529 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2530 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2531 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2533 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2534 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2536 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2538 * configure.in: Define the default includes to being none.
2539 * configure: Regenerated.
2541 2012-05-25 Roland McGrath <roland@hack.frob.com>
2543 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2544 * sysdeps/x86_64/setjmp.S: Likewise.
2545 * sysdeps/i386/bsd-setjmp.S: Likewise.
2546 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2547 * sysdeps/i386/setjmp.S: Likewise.
2548 * sysdeps/i386/__longjmp.S: Likewise.
2549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2550 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2552 * include/stap-probe.h: New file.
2553 * configure.in: Handle --enable-systemtap.
2554 * configure: Regenerated.
2555 * config.h.in (USE_STAP_PROBE): New #undef.
2556 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2557 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2558 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2560 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2564 to 2.4.0 where earlier.
2565 * sysdeps/unix/sysv/linux/configure: Regenerated.
2566 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2567 <kernel-features.h>.
2568 [__ASSUME_32BITUIDS]: Make code unconditional.
2569 [!__ASSUME_32BITUIDS]: Remove conditional code.
2570 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2571 <kernel-features.h>.
2572 [__ASSUME_32BITUIDS]: Make code unconditional.
2573 [!__ASSUME_32BITUIDS]: Remove conditional code.
2574 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2575 [__ASSUME_32BITUIDS]: Make code unconditional.
2576 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2577 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2578 <kernel-features.h>.
2579 [__ASSUME_32BITUIDS]: Make code unconditional.
2580 [!__ASSUME_32BITUIDS]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2582 <kernel-features.h>.
2583 [__ASSUME_32BITUIDS]: Make code unconditional.
2584 [!__ASSUME_32BITUIDS]: Remove conditional code.
2585 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2586 <kernel-features.h>.
2587 [__ASSUME_32BITUIDS]: Make code unconditional.
2588 [!__ASSUME_32BITUIDS]: Remove conditional code.
2589 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2590 <kernel-features.h>.
2591 [__ASSUME_32BITUIDS]: Make code unconditional.
2592 [!__ASSUME_32BITUIDS]: Remove conditional code.
2593 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2594 <kernel-features.h>.
2595 [__ASSUME_32BITUIDS]: Make code unconditional.
2596 [!__ASSUME_32BITUIDS]: Remove conditional code.
2597 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2598 <kernel-features.h>.
2599 [__ASSUME_32BITUIDS]: Make code unconditional.
2600 [!__ASSUME_32BITUIDS]: Remove conditional code.
2601 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2602 <kernel-features.h>.
2603 [__ASSUME_32BITUIDS]: Make code unconditional.
2604 [!__ASSUME_32BITUIDS]: Remove conditional code.
2605 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2606 <kernel-features.h>.
2607 [__ASSUME_32BITUIDS]: Make code unconditional.
2608 [!__ASSUME_32BITUIDS]: Remove conditional code.
2609 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2610 <kernel-features.h>.
2611 [__ASSUME_32BITUIDS]: Make code unconditional.
2612 [!__ASSUME_32BITUIDS]: Remove conditional code.
2613 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2614 <kernel-features.h>.
2615 [__ASSUME_32BITUIDS]: Make code unconditional.
2616 [!__ASSUME_32BITUIDS]: Remove conditional code.
2617 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2618 <kernel-features.h>.
2619 [__NR_setresgid] (__setresgid): Do not declare.
2620 [__ASSUME_32BITUIDS]: Make code unconditional.
2621 [!__ASSUME_32BITUIDS]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2623 <kernel-features.h>.
2624 [__NR_setresuid] (__setresuid): Do not declare.
2625 [__ASSUME_32BITUIDS]: Make code unconditional.
2626 [!__ASSUME_32BITUIDS]: Remove conditional code.
2627 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2628 <kernel-features.h>.
2629 [__ASSUME_32BITUIDS]: Make code unconditional.
2630 [!__ASSUME_32BITUIDS]: Remove conditional code.
2631 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2632 <kernel-features.h>.
2633 [__ASSUME_32BITUIDS]: Make code unconditional.
2634 [!__ASSUME_32BITUIDS]: Remove conditional code.
2635 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2636 <kernel-features.h>.
2637 [__ASSUME_32BITUIDS]: Make code unconditional.
2638 [!__ASSUME_32BITUIDS]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2640 <kernel-features.h>.
2641 [__ASSUME_32BITUIDS]: Make code unconditional.
2642 [!__ASSUME_32BITUIDS]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2644 <kernel-features.h>.
2645 [__ASSUME_32BITUIDS]: Make code unconditional.
2646 [!__ASSUME_32BITUIDS]: Remove conditional code.
2647 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2648 <kernel-features.h>.
2649 [__ASSUME_32BITUIDS]: Make code unconditional.
2650 [!__ASSUME_32BITUIDS]: Remove conditional code.
2651 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2652 <kernel-features.h>.
2653 [__ASSUME_32BITUIDS]: Make code unconditional.
2654 [!__ASSUME_32BITUIDS]: Remove conditional code.
2655 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2656 <kernel-features.h>.
2657 [__ASSUME_32BITUIDS]: Make code unconditional.
2658 [!__ASSUME_32BITUIDS]: Remove conditional code.
2659 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2660 <kernel-features.h>.
2661 [__ASSUME_32BITUIDS]: Make code unconditional.
2662 [!__ASSUME_32BITUIDS]: Remove conditional code.
2663 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2664 <kernel-features.h>.
2665 [__ASSUME_32BITUIDS]: Make code unconditional.
2666 [!__ASSUME_32BITUIDS]: Remove conditional code.
2667 * sysdeps/unix/sysv/linux/kernel-features.h
2668 (__ASSUME_SETRESUID_SYSCALL): Remove.
2669 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2670 (__ASSUME_32BITUIDS): Likewise.
2671 (__ASSUME_LDT_WORKS): Likewise.
2672 (__ASSUME_O_DIRECTORY): Likewise.
2673 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2674 architecture but not kernel version.
2675 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2676 (__ASSUME_MMAP2_SYSCALL): Likewise.
2677 (__ASSUME_STAT64_SYSCALL): Likewise.
2678 (__ASSUME_IPC64): Likewise.
2679 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2680 <kernel-features.h>.
2681 [__ASSUME_32BITUIDS]: Make code unconditional.
2682 [!__ASSUME_32BITUIDS]: Remove conditional code.
2683 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2684 <kernel-features.h>.
2685 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2686 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2687 132096]: Remove conditional code.
2688 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2689 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2690 <kernel-features.h>.
2691 [__ASSUME_32BITUIDS]: Make code unconditional.
2692 [!__ASSUME_32BITUIDS]: Remove conditional code.
2693 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2694 <kernel-features.h>.
2695 [__ASSUME_32BITUIDS]: Make code unconditional.
2696 [!__ASSUME_32BITUIDS]: Remove conditional code.
2697 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2698 <kernel-features.h>.
2699 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2701 (__setresgid): Do not declare.
2702 [__ASSUME_32BITUIDS]: Make code unconditional.
2703 [!__ASSUME_32BITUIDS]: Remove conditional code.
2704 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2705 <kernel-features.h>.
2706 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2708 (__setresuid): Do not declare.
2709 [__ASSUME_32BITUIDS]: Make code unconditional.
2710 [!__ASSUME_32BITUIDS]: Remove conditional code.
2711 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2712 <kernel-features.h>.
2713 [__ASSUME_32BITUIDS]: Make code unconditional.
2714 [!__ASSUME_32BITUIDS]: Remove conditional code.
2715 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2716 <kernel-features.h>.
2717 [__ASSUME_32BITUIDS]: Make code unconditional.
2718 [!__ASSUME_32BITUIDS]: Remove conditional code.
2720 2012-05-25 Richard Henderson <rth@twiddle.net>
2722 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2723 dl_hwcap to ifunc resolver.
2724 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2726 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2727 dl_hwcap to ifunc resolver.
2728 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2730 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2733 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2734 for |x| <= 2**-26, not 2**-57.
2735 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2738 2012-05-24 Jeff Law <law@redhat.com>
2740 * stdio-common/Makefile (tests): Add bug25.
2741 * stdio-common/bug25.c: New test.
2743 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2746 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2747 multiple of MALLOC_ALIGNMENT in size.
2748 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2750 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2752 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2754 (FILENAME_MAX): Use macro-int-constant.
2755 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2756 (_IOFBF): Use macro-int-constant.
2759 (SEEK_CUR): Likewise.
2760 (SEEK_END): Likewise.
2761 (SEEK_SET): Likewise.
2762 (TMP_MAX): Likewise.
2763 (EOF): Use macro-int-constant. Require < 0.
2764 (NULL): Use macro-constant. Require == 0.
2765 (stdin): Require type to be FILE *.
2768 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2770 (EXIT_SUCCESS): Likewise.
2771 (NULL): Use macro-constant. Require == 0.
2772 (RAND_MAX): Use macro-int-constant.
2773 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2774 [C99-based standards] (strtof): Require function.
2775 [C99-based standards] (strtold): Likewise.
2776 [C99-based standards] (strtoll): Likewise.
2777 [C99-based standards] (strtoull): Likewise.
2778 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2779 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2780 [ISO || ISO99 || ISO11] (math.h): Likewise.
2781 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2782 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2785 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2788 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2789 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2790 * intl/dgettext.c (DCGETTEXT): Likewise.
2791 * intl/gettext.c (DCGETTEXT): Likewise.
2792 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2793 * posix/regex_internal.h (gettext): Likewise.
2794 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2796 * include/argz.h (__argz_count_internal)
2797 (__argz_stringify_internal): Remove declaration.
2798 (__argz_count, __argz_stringify): Declare hidden proto.
2799 * intl/dcgettext.c: Remove use of INTDEF.
2800 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2801 * string/argz-stringify.c: Likewise.
2802 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2803 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2804 Declare hidden proto.
2805 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2806 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2807 Declare hidden proto.
2808 * include/stdio.h (__asprintf_internal): Don't declare.
2809 (__asprintf): Don't define as macro. Declare hidden proto.
2810 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2811 (__fsetlocking): Declare hidden proto.
2812 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2813 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2815 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2816 (_IO_setlinebuf): Remove use of INTUSE.
2817 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2818 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2819 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2821 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2822 (_IO_do_flush): Remove use of INTUSE.
2823 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2824 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2825 (_IO_adjust_column, _IO_least_wmarker)
2826 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2827 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2828 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2829 (_IO_default_doallocate, _IO_wdefault_doallocate)
2830 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2831 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2832 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2833 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2834 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2835 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2836 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2837 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2838 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2839 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2840 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2841 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2842 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2844 (_IO_flush_all_internal, _IO_adjust_column_internal)
2845 (_IO_default_uflow_internal, _IO_default_finish_internal)
2846 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2847 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2848 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2849 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2850 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2851 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2852 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2853 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2854 (_IO_file_close_internal, _IO_file_close_it_internal)
2855 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2856 (_IO_file_init_internal, _IO_file_attach_internal)
2857 (_IO_file_fopen_internal, _IO_file_read_internal)
2858 (_IO_file_sync_internal, _IO_file_seek_internal)
2859 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2860 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2861 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2862 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2863 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2864 (_IO_list_all_internal, _IO_link_in_internal)
2865 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2866 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2867 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2868 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2869 (_IO_do_write_internal, _IO_padn_internal)
2870 (_IO_getline_info_internal, _IO_getline_internal)
2871 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2872 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2873 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2874 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2875 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2876 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2877 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2878 with libc_hidden_ver, remove use of INTUSE.
2879 * libio/genops.c: Likewise.
2880 * libio/freopen.c: Likewise.
2881 * libio/freopen64.c: Likewise.
2882 * libio/iofclose.c: Likewise.
2883 * libio/iofdopen.c: Likewise.
2884 * libio/iofflush.c: Likewise.
2885 * libio/iofflush_u.c: Likewise.
2886 * libio/iofgets.c: Likewise.
2887 * libio/iofgets_u.c: Likewise.
2888 * libio/iofopen.c: Likewise.
2889 * libio/iofopncook.c: Likewise.
2890 * libio/iofread.c: Likewise.
2891 * libio/iofread_u.c: Likewise.
2892 * libio/ioftell.c: Likewise.
2893 * libio/iofwrite.c: Likewise.
2894 * libio/iogetline.c: Likewise.
2895 * libio/iogets.c: Likewise.
2896 * libio/iogetwline.c: Likewise.
2897 * libio/iopadn.c: Likewise.
2898 * libio/iopopen.c: Likewise.
2899 * libio/ioseekoff.c: Likewise.
2900 * libio/ioseekpos.c: Likewise.
2901 * libio/iosetbuffer.c: Likewise.
2902 * libio/iosetvbuf.c: Likewise.
2903 * libio/ioungetc.c: Likewise.
2904 * libio/ioungetwc.c: Likewise.
2905 * libio/iovdprintf.c: Likewise.
2906 * libio/iovsprintf.c: Likewise.
2907 * libio/iovsscanf.c: Likewise.
2908 * libio/memstream.c: Likewise.
2909 * libio/obprintf.c: Likewise.
2910 * libio/oldfileops.c: Likewise.
2911 * libio/oldiofclose.c: Likewise.
2912 * libio/oldiofdopen.c: Likewise.
2913 * libio/oldiofopen.c: Likewise.
2914 * libio/oldiopopen.c: Likewise.
2915 * libio/oldstdfiles.c: Likewise.
2916 * libio/putc.c: Likewise.
2917 * libio/setbuf.c: Likewise.
2918 * libio/setlinebuf.c: Likewise.
2919 * libio/stdfiles.c: Likewise.
2920 * libio/strops.c: Likewise.
2921 * libio/vasprintf.c: Likewise.
2922 * libio/vscanf.c: Likewise.
2923 * libio/vsnprintf.c: Likewise.
2924 * libio/vswprintf.c: Likewise.
2925 * libio/wfiledoalloc.c: Likewise.
2926 * libio/wfileops.c: Likewise.
2927 * libio/wgenops.c: Likewise.
2928 * libio/wmemstream.c: Likewise.
2929 * libio/wstrops.c: Likewise.
2930 * libio/__fpurge.c: Likewise.
2931 * libio/__fsetlocking.c: Likewise.
2932 * assert/assert.c: Likewise.
2933 * debug/fgets_chk.c: Likewise.
2934 * debug/fgets_u_chk.c: Likewise.
2935 * debug/fread_chk.c: Likewise.
2936 * debug/fread_u_chk.c: Likewise.
2937 * debug/gets_chk.c: Likewise.
2938 * debug/obprintf_chk.c: Likewise.
2939 * debug/vasprintf_chk.c: Likewise.
2940 * debug/vdprintf_chk.c: Likewise.
2941 * debug/vsnprintf_chk.c: Likewise.
2942 * debug/vsprintf_chk.c: Likewise.
2943 * malloc/mtrace.c: Likewise.
2944 * misc/error.c: Likewise.
2945 * misc/syslog.c: Likewise.
2946 * stdio-common/asprintf.c: Likewise.
2947 * stdio-common/fxprintf.c: Likewise.
2948 * stdio-common/getw.c: Likewise.
2949 * stdio-common/isoc99_fscanf.c: Likewise.
2950 * stdio-common/isoc99_scanf.c: Likewise.
2951 * stdio-common/isoc99_vfscanf.c: Likewise.
2952 * stdio-common/isoc99_vscanf.c: Likewise.
2953 * stdio-common/isoc99_vsscanf.c: Likewise.
2954 * stdio-common/printf-prs.c: Likewise.
2955 * stdio-common/printf_fp.c: Likewise.
2956 * stdio-common/printf_fphex.c: Likewise.
2957 * stdio-common/printf_size.c: Likewise.
2958 * stdio-common/putw.c: Likewise.
2959 * stdio-common/scanf.c: Likewise.
2960 * stdio-common/sprintf.c: Likewise.
2961 * stdio-common/tmpfile.c: Likewise.
2962 * stdio-common/vfprintf.c: Likewise.
2963 * stdio-common/vfscanf.c: Likewise.
2964 * stdlib/strfmon_l.c: Likewise.
2965 * sunrpc/openchild.c: Likewise.
2966 * sunrpc/xdr_stdio.c: Likewise.
2967 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2968 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2970 2012-05-24 Roland McGrath <roland@hack.frob.com>
2972 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2974 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2975 in the third column, to generate for the shared library an IFUNC
2976 that uses _dl_vdso_vsym.
2977 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2978 * Makeconfig (object-suffixes-noshared): New variable.
2980 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2981 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2982 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2983 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2986 * include/sys/time.h (__gettimeofday): Remove macro.
2987 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2988 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2990 (__gettimeofday): Add libc_hidden_def.
2991 (gettimeofday): Add libc_hidden_weak.
2992 * sysdeps/mach/gettimeofday.c: Likewise.
2993 * sysdeps/posix/gettimeofday.c: Likewise.
2994 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2995 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2997 (__gettimeofday_internal): Remove strong_alias.
2998 (__gettimeofday): Add libc_hidden_def.
2999 (gettimeofday): Add libc_hidden_weak.
3000 * sysdeps/unix/syscalls.list (gettimeofday):
3001 Remove __gettimeofday_internal alias.
3003 2012-05-24 Daniel Jacobowitz <drow@false.org>
3004 H.J. Lu <hongjiu.lu@intel.com>
3007 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3008 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3009 (largebin_index_32_big): New.
3010 (largebin_index): Use it for 16-byte alignment.
3011 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3012 correction with front_misalign.
3014 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3042 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3043 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3045 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3049 * math/libm-test.inc (exp_test): Add test from bug 14036.
3050 (pow_test): Add test from bug 10846.
3052 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3054 (special_function): Do not include flags in test name.
3055 (parse_args): Likewise.
3056 * sysdeps/i386/fpu/libm-test-ulps: Update.
3057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3058 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3059 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3062 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3064 * math/libm-test.inc ("Philosophy"): Update comment about
3066 (UNDERFLOW_EXCEPTION): New macro.
3067 (UNDERFLOW_EXCEPTION_OK): Likewise.
3068 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3069 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3070 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3071 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3072 (INVALID_EXCEPTION_OK): Update value.
3073 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3074 (OVERFLOW_EXCEPTION_OK): Likewise.
3075 (IGNORE_ZERO_INF_SIGN): Likewise.
3076 (test_exceptions): Handle underflow exceptions.
3077 (acos_test): Update for underflow exception expectations.
3078 (cexp_test): Likewise.
3079 (clog_test): Likewise.
3080 (clog10_test): Likewise.
3081 (csqrt_test): Likewise.
3082 (ctan_test): Likewise.
3083 (ctanh_test): Likewise.
3084 (exp_test): Likewise.
3085 (exp10_test): Likewise.
3086 (exp2_test): Likewise.
3087 (expm1_test): Likewise.
3088 (fma_test): Likewise.
3089 (j0_test): Likewise.
3090 (jn_test): Likewise.
3091 (nexttoward_test): Likewise.
3092 (pow_test): Likewise.
3093 (scalbn_test): Likewise.
3094 (scalbln_test): Likewise.
3095 (tan_test): Likewise.
3096 (y1_test): Likewise.
3097 * sysdeps/i386/fpu/libm-test-ulps: Update.
3098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3100 2012-05-23 David S. Miller <davem@davemloft.net>
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3103 (__libc_sigaction): Remove unused local variables.
3105 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3107 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3109 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3111 mktime: avoid signed integer overflow
3112 * time/mktime.c (__mktime_internal): Do not mishandle the case
3113 where diff == INT_MIN.
3115 mktime: simplify computation of average
3116 * time/mktime.c (ranged_convert): Use new time_t_avg function
3117 instead of rolling our own (probably-slower) code.
3119 mktime: do not assume signed right shift propagates sign bit
3120 * time/mktime.c (isdst_differ): New static function.
3121 (__mktime_internal): No need to normalize tm_isdst now.
3122 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3125 mktime: merge another wrapv change from gnulib
3126 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3127 from some compilers.
3129 mktime: remove incorrect attempt at unusual arithmetics
3130 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3131 The code didn't really work on such machines anyway.
3132 (TYPE_MINIMUM): Assume two's complement.
3133 (twos_complement_arithmetic): Verify that long_int and time_t
3134 are two's complement (or unsigned, in the latter case).
3136 mktime: check signed shifts on long_int and time_t, too
3137 * time/mktime.c (SHR): Check that shifts work as desired
3138 on the types long_int and time_t too, as SHR is used on
3141 mktime: do not assume 'long' is wide enough
3142 * time/mktime.c (verify): Move decl up.
3143 (long_int): New type.
3144 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3145 to remove assumption in the code that 'long' is wide enough to
3146 store year values. This assumption is not true on x32 and on
3147 some non-glibc platforms.
3149 mktime: merge wrapv change from gnulib
3150 * time/mktime.c (WRAPV): New macro.
3151 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3152 (guess_time_tm, __mktime_internal): Do not assume that signed
3153 integer overflow wraps around; modern compilers generate code
3154 where this assumption is no longer valid.
3156 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3158 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3159 Replace "jmp L(pseudo_end)" with "ret".
3160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3163 2012-05-23 Andreas Jaeger <aj@suse.de>
3165 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3166 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3168 2012-05-23 Andreas Jaeger <aj@suse.de>
3169 Maximilian Attems <max@stro.at>
3171 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3174 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3176 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3177 code so that pseudo_end is just ret and the stack pointer is
3178 correct also for static library in error case.
3180 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3182 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3183 move to syscalls.list.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3189 * manual/install.texi (Running make install): Do not mention Linux
3190 kernel version for which pt_chown is not needed.
3191 (Linux): Do not mention problems with nscd with 2.0 kernels.
3192 * INSTALL: Regenerated.
3194 2012-05-23 Andreas Jaeger <aj@suse.de>
3196 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3197 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3199 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3200 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3201 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3203 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3207 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3209 * sysdeps/unix/sysv/linux/bits/in.h
3210 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3212 2012-05-22 Roland McGrath <roland@hack.frob.com>
3214 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3215 (PREPARE_VERSION): Just use assert instead, it will be elided
3216 under [NDEBUG] anyway.
3218 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3220 * sysdeps/unix/sysv/linux/Makefile: Include
3221 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3222 (sysdep_routines): Remove sysctl.
3223 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3224 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3225 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3227 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3229 2012-05-22 Andreas Jaeger <aj@suse.de>
3231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3232 that pseudo_end is just ret and the stack pointer is correct also
3233 for static library in error case.
3235 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3238 * nss/nsswitch.c (defconfig_entries): New variable.
3239 (__nss_database_lookup): Don't leak defconfig entries.
3240 (nss_parse_service_list): Don't leak on error paths.
3241 (free_database_entries): New function.
3242 (free_defconfig): New function.
3243 (free_mem): Move common code to free_database_entries.
3245 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3249 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3251 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3252 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3255 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3256 (INTERNAL_SYSCALL_TYPES): Likewise.
3257 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3258 (LOAD_REGS_TYPES_[1-6]): Likewise.
3259 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3260 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3262 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3265 copysignl for GLIBC_2_0.
3266 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3267 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3269 logbl for GLIBC_2_0.
3270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3271 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3273 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3276 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3278 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3281 * time/mktime.c: Update copyright years.
3283 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3285 mktime: merge comment-quoting-style change from gnulib
3286 * time/mktime.c: Quote 'like this' in comments.
3287 The GNU coding standards suggest that we no longer quote `like this',
3288 as "`" and "'" are typically rendered asymmetrically nowadays.
3289 The typical gnulib style is to quote 'like this' when quoting
3290 code, and "like this" when quoting English.
3292 * time/mktime.c (compile-command): Add "-I.".
3294 mktime: merge mktime-internal.h change from gnulib
3295 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3297 mktime: merge time_r change from gnulib
3298 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3300 mktime: merge DEBUG change from gnulib
3301 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3302 case system <time.h> has a #define.
3304 mktime: merge <sys/types.h> change from gnulib
3305 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3306 since <time.t> is now guaranteed to define time_t.
3308 mktime: merge HAVE_CONFIG_H change from gnulib
3309 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3311 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3316 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3318 (struct rusage): Use anonymous union to pad each field to
3321 2012-05-21 David S. Miller <davem@davemloft.net>
3323 * Makefules (o-iterator): Remove .s cases.
3324 (compile-command.s): Delete.
3325 (COMPILE.s): Delete.
3326 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3328 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3330 * configure.in (libc_cv_predef_stack_protector): Only consider
3331 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3332 * configure: Regenerated.
3334 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3337 New macro. Use R*LP on int and pointer.
3338 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3340 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3341 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3343 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3344 [__WORDSIZE_TIME64_COMPAT32] instead of
3345 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3346 (struct utmp): Likewise.
3347 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3348 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3350 (__WORDSIZE_TIME64_COMPAT32): This.
3351 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3352 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3353 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3355 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3356 (__WORDSIZE_TIME64_COMPAT32): New macro.
3358 2012-05-21 Andreas Jaeger <aj@suse.de>
3360 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3361 only if [SHARED]. Add prototype for __wcschr_ia32.
3363 2012-05-21 Roland McGrath <roland@hack.frob.com>
3365 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3366 of %rbp unmolested in the jmp_buf while mangling the low bits.
3367 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3368 unmolested high bits of %rbp while demangling the low bits.
3369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3371 2012-05-21 Andreas Jaeger <aj@suse.de>
3373 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3374 * sunrpc/svc_simple.c: Use it for registerrpc.
3375 * sunrpc/xcrypt.c: Use it for passwd2des.
3377 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3379 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3381 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3382 Don't define if [__SYSCALL_WORDSIZE != 32].
3383 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3386 2012-05-21 Bruno Haible <bruno@clisp.org>
3387 Andreas Jaeger <aj@suse.de>
3389 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3390 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3391 inptr and inend for must_buffer_ch.
3392 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3393 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3394 * stdio-common/Makefile (tests): Remove bug15.
3395 (bug15-ENV): Remove macro.
3396 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3399 2012-05-19 Andreas Jaeger <aj@suse.de>
3400 Roland McGrath <roland@hack.frob.com>
3402 * manual/contrib.texi: Completely rewritten. It contains now an
3403 alphabetical list of contributors and their contributions.
3405 2012-05-21 Richard Henderson <rth@twiddle.net>
3407 * misc/getauxval.c (__getauxval): Use unsigned long int.
3408 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3409 (getauxval): Use unsigned long int.
3411 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3413 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3415 2012-05-21 Roland McGrath <roland@hack.frob.com>
3417 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3418 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3419 __alignof__ (long double).
3421 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3425 2012-05-20 Richard Henderson <rth@twiddle.net>
3427 * misc/getauxval.c: New file.
3428 * misc/sys/auxv.h: New file.
3429 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3430 (routines): Add getauxval.
3431 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3432 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3433 * elf/dl-sysdep.c (_dl_auxv): Remove.
3434 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3435 * elf/dl-support.c (_dl_auxv): New variable.
3436 (_dl_aux_init): Initialize it.
3437 * manual/startup.texi (Auxiliary Vector): New node.
3438 * sysdeps/generic/bits/hwcap.h: New file.
3439 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3440 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3441 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3442 * sysdeps/sparc/sysdep.h: ... here. Include it.
3443 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3456 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3460 2012-05-19 David S. Miller <davem@davemloft.net>
3462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3464 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3467 * math/s_ccosh.c: Include <float.h>
3468 (__ccosh): Avoid internal overflow calculating sinh and cosh
3469 values before multiplying by sin and cos values.
3470 * math/s_ccoshf.c: Likewise.
3471 * math/s_ccoshl.c: Likewise.
3472 * math/s_csin.c: Likewise.
3473 * math/s_csinf.c: Likewise.
3474 * math/s_csinl.c: Likewise.
3475 * math/s_csinh.c: Likewise.
3476 * math/s_csinhf.c: Likewise.
3477 * math/s_csinhl.c: Likewise.
3478 * math/libm-test.inc (ccos_test): Add more tests.
3479 (ccosh_test): Likewise.
3480 (csin_test): Likewise.
3481 (csinh_test): Likewise.
3482 * sysdeps/i386/fpu/libm-test-ulps: Update.
3483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3485 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3487 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3488 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3490 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3492 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3494 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3495 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3496 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3497 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3498 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3499 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3500 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3501 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3502 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3503 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3504 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3505 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3506 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3507 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3508 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3509 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3510 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3511 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3512 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3513 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3514 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3515 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3516 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3517 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3518 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3519 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3520 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3521 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3522 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3523 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3524 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3526 2012-05-18 Andreas Jaeger <aj@suse.de>
3528 * csu/.gitignore: Delete.
3530 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3532 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3533 (timex): Use __syscall_slong_t.
3535 2012-05-18 Andreas Jaeger <aj@suse.de>
3536 Carlos O'Donell <carlos_odonell@mentor.com>
3538 * manual/install.texi (Configuring and compiling): Update
3539 description about files modified in the source directory.
3540 * INSTALL: Regenerated.
3542 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3544 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3545 value. Use "or" to set return value to -1.
3546 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3547 negate return value.
3549 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3551 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3552 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3553 failure if the compiler has Graphite support disabled.
3554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3556 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3557 CFLAGS-memmove.c): Likewise.
3558 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3561 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3563 * sysdeps/x86_64/x32/_itoa.h: New file.
3565 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3566 getdents system call only if kernel and user dirents have the
3567 same d_ino and d_off.
3569 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3570 LLONG_MAX != LONG_MAX.
3571 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3572 (_fitoa_word): Likewise.
3574 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3576 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3577 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3578 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3580 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3581 include <bits/wordsize.h>. Check __x86_64__ instead of
3583 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3584 if __x86_64__ is defined. Use anonymous union on fpstate.
3586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3589 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3591 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3592 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3593 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3594 Refer to _rtld_local_ro instead of _rtld_global_ro.
3595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3597 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3599 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3601 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3602 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3603 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3605 * sysdeps/powerpc/powerpc32/dl-machine.c
3606 (__elf_machine_runtime_setup) [PROF]: Don't reference
3609 2012-05-18 Andreas Jaeger <aj@suse.de>
3611 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3612 function only available for GCCs before 3.4 since GCC 3.4
3613 introduced a builtin.
3615 (llrintf): Likewise.
3623 (nearbyint): Likewise.
3624 (nearbyintf): Likewise.
3630 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3632 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3633 on both fields and cast pointer to __syscall_ulong_t.
3635 * bits/types.h (__fsword_t): New type.
3636 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3637 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3639 (__FSWORD_T_TYPE): Likewise.
3640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3641 (__FSWORD_T_TYPE): Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3643 (__FSWORD_T_TYPE): Likewise.
3644 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3645 (__FSWORD_T_TYPE): Likewise.
3646 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3647 __SWORD_TYPE with __fsword_t.
3648 (statfs64): Likewise.
3650 2012-05-17 David S. Miller <davem@davemloft.net>
3652 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3654 2012-05-17 Andreas Jaeger <aj@suse.de>
3656 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3659 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3661 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3663 2012-05-17 Andreas Jaeger <aj@suse.de>
3665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3668 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3670 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3672 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3674 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3675 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3677 2012-05-17 Andreas Jaeger <aj@suse.de>
3678 Carlos O'Donell <carlos_odonell@mentor.com>
3681 * sysdeps/x86_64/multiarch/init-arch.h
3682 (bit_YMM_Usable): Rename to...
3683 (bit_AVX_Usable): ... this.
3684 (bit_FMA4_Usable): New macro.
3685 (bit_XMM_state): New macro.
3686 (bit_YMM_state): New macro.
3687 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3688 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3689 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3690 (CPUID_OSXSAVE): New macro.
3691 (CPUID_AVX): New macro.
3692 (CPUID_FMA4): New macro.
3693 (index_YMM_Usable): Rename to...
3694 (index_AVX_Usable): ... this.
3695 (HAS_AVX): Use HAS_ARCH_FEATURE.
3696 (HAS_FMA4): Likewise.
3697 (HAS_YMM_USABLE): Remove.
3698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3699 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3701 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3702 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3703 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3704 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3705 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3707 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3709 * math/libm-test.c: Support platforms without multiple rounding modes.
3710 * math/bug-nextafter.c: Support platforms without FP exceptions.
3711 * math/bug-nexttoward.c: Likewise.
3712 * math/test-fenv.c: Likewise.
3713 * math/test-misc.c: Likewise.
3714 * stdlib/bug-getcontext.c: Likewise.
3716 2012-05-17 Andreas Jaeger <aj@suse.de>
3718 * manual/examples/search.c (critter_cmp): Change signature to
3720 * manual/string.texi (Collation Functions): Likewise.
3722 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3724 * bits/types.h: Fold copyright years.
3725 * bits/typesizes.h: Likewise.
3726 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3730 * time/time.h: Likewise.
3732 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3735 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3736 in instead of returning them. Return void.
3737 (__libc_mallinfo): Accumulate over all arenas.
3738 (__malloc_stats): Adjust for change in int_mallinfo interface.
3740 2012-05-16 Roland McGrath <roland@hack.frob.com>
3743 * configure.in (NM): Add AC_CHECK_TOOL for it.
3744 (libc_extra_cflags): New substituted variable.
3745 Check for -fstack-protector being used implicitly.
3746 * configure: Regenerated.
3747 * config.make.in (config-extra-cflags): New variable,
3748 gets @libc_extra_cflags@.
3749 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3752 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3753 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3754 * configure: Regenerated.
3755 * config.make.in (CPPUNDEFS): New substituted variable.
3756 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3757 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3758 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3762 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3763 (mq_attr): Use __syscall_slong_t.
3765 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3767 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3768 Check __x86_64__ instead of __WORDSIZE.
3769 (_STAT_VER_LINUX): Likewise.
3770 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3771 __syscall_ulong_t and __syscall_slong_t.
3774 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3776 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3780 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3782 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3784 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3787 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3788 include <bits/wordsize.h>. Check __x86_64__ instead of
3790 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3792 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3794 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3795 include <bits/wordsize.h>. Check __x86_64__ instead of
3797 (user_regs_struct): Use "__extension__ unsigned long long"
3798 instead of "unsigned long" if __x86_64__ is defined.
3799 (user): Likewise. Pad after pointer field if __ILP32__ is
3802 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3804 * configure.in (makeinfo): Require version 4.5 or later. Allow
3806 * configure: Regenerated.
3807 * manual/install.texi (texinfo): Increase version requirement to
3809 * INSTALL: Regenerated.
3811 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3815 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3817 * sysdeps/x86_64/x32/ffs.c: New file.
3819 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3821 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3822 defined. Use __syscall_ulong_t.
3823 (shminfo): Use __syscall_ulong_t.
3824 (shm_info): Likewise.
3826 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3829 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3831 (msgqnum_t): Use __syscall_ulong_t.
3832 (msglen_t): Likewise.
3833 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3836 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3837 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3839 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3841 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3842 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3844 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3847 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3848 include <bits/wordsize.h>. Check __x86_64__ instead of
3851 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3852 "unsigned long long int" if __x86_64__ is defined.
3853 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3855 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3856 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3857 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3859 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3861 (GET_PC): Cast to uintptr_t first.
3862 (GET_FRAME): Likewise.
3863 (GET_STACK): Likewise.
3865 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3866 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3867 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3868 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3871 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3872 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3873 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3874 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3876 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3878 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3880 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3881 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3882 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3883 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3886 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3890 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3892 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3895 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3897 * Makerules (+depfiles): Also collect depfiles from .oS in
3899 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3900 .oS, $(libnldbl-routines)).
3902 * Makerules (native-compile-mkdep-flags): Define.
3903 * sunrpc/Makefile (extra-objs): Add $(addprefix
3904 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3905 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3906 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3907 calling $(make-target-directory).
3909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3911 * bits/types.h (__snseconds_t): Removed.
3912 * time/time.h (struct timespec): Replace __snseconds_t with
3914 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3915 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3918 (__SNSECONDS_T_TYPE): Likewise.
3919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3920 (__SNSECONDS_T_TYPE): Likewise.
3921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3922 (__SNSECONDS_T_TYPE): Likewise.
3924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3926 * sysdeps/mach/hurd/bits/typesizes.h
3927 (__SYSCALL_SLONG_TYPE): New macro.
3928 (__SYSCALL_ULONG_TYPE): Likewise.
3930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3932 * bits/types.h (__syscall_slong_t): New type.
3933 (__syscall_ulong_t): Likewise.
3935 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3936 (__SYSCALL_ULONG_TYPE): Likewise.
3937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3938 (__SYSCALL_SLONG_TYPE): Likewise.
3939 (__SYSCALL_ULONG_TYPE): Likewise.
3940 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3941 (__SYSCALL_SLONG_TYPE): Likewise.
3942 (__SYSCALL_ULONG_TYPE): Likewise.
3943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3944 (__SYSCALL_SLONG_TYPE): Likewise.
3945 (__SYSCALL_ULONG_TYPE): Likewise.
3947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3949 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3950 Add sigaltstack-offsets.sym.
3951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3952 <sigaltstack-offsets.h>.
3953 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3954 longjmp_msg pointer.
3955 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3956 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3958 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3960 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3962 * elf/stackguard-macros.h: Remove file.
3963 * sysdeps/generic/stackguard-macros.h: New file.
3964 * sysdeps/i386/stackguard-macros.h: Likewise.
3965 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3966 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3967 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3968 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3969 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3970 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3971 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3972 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3973 <elf/stackguard-macros.h>.
3976 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3977 __aligned__ in attribute.
3978 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3979 (gregset_t): Likewise.
3981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3983 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3984 * sysdeps/x86_64/64/Implies-after: Here. New file.
3985 * sysdeps/x86_64/x32/Implies-after: New file.
3987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3989 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3990 and access return value for _dl_profile_fixup. Use R10_LP to
3993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3995 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3999 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4000 * sysdeps/x86_64/x32/sysdep.h: New file.
4002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4004 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4005 * sysdeps/x86_64/setjmp.S: Likewise.
4007 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4009 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4010 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4011 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4013 remove unused global constant.
4015 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4017 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4018 include of <not-cancel.h>.
4020 2012-05-15 Roland McGrath <roland@hack.frob.com>
4022 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4024 2012-05-15 Jeff Law <law@redhat.com>
4025 Andreas Jaeger <aj@suse.de>
4028 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4030 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4031 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4032 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4033 code changing __hst_map_handle.map.
4035 2012-05-15 Roland McGrath <roland@hack.frob.com>
4037 * configure.in (sysnames): Look for Implies-before and Implies-after
4039 * configure: Regenerated.
4041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4043 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4044 8-byte data alignment with LP_SIZE alignment.
4046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4048 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4053 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4057 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4058 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4065 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4066 (stackinfo_sub_sp): Likewise.
4068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4085 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4089 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4090 into R11_LP and load __x86_64_shared_cache_size_half into
4093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4095 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4098 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4106 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4107 powerpc32/power7/fpu/s_logb.c via #include.
4108 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4109 powerpc32/power7/fpu/s_logbf.c via #include.
4110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4111 powerpc32/power7/fpu/s_logbl.c via #include.
4113 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4115 * README.libm: Remove file.
4117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4119 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4120 count for x32. Use R*_LP and omit operand-size suffix.
4122 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4124 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4125 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4126 * sysdeps/x86_64/x32/shlib-versions: New file.
4128 2012-05-14 Roland McGrath <roland@hack.frob.com>
4130 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4131 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4132 Use _dl_fatal_printf instead.
4134 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4136 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4137 set if not set by the user. Do not allow for being unset.
4138 * sysdeps/unix/sysv/linux/configure: Regenerated.
4140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4142 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4143 the `q' suffix from lea and replace .quad with ASM_ADDR.
4145 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4148 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4150 (PTR_DEMANGLE): Likewise.
4152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4154 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4156 (ASM_ADDR): Likewise.
4174 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4176 * sysdeps/x86_64/x32/dl-machine.h: New file.
4178 2012-05-14 Andreas Jaeger <aj@suse.de>
4180 * manual/Makefile (subdir): Remove export of subdir.
4181 (all): Remove target.
4182 (.PHONY): Remove all from list.
4183 (mkinstalldirs): Remove.
4184 (.PHONY): Remove installdirs from list.
4185 ($(inst_infodir)/libc.info): Use make-target-directory.
4186 (installdirs): Remove.
4188 (glibc-targets): Remove.
4191 ($(objpfx)stubs ../po/manual.pot): Remove.
4192 ($(objpfx)stamp%): Remove.
4193 (make-target-directory): Remove.
4194 (subdir_install): Remove.
4202 * manual/.gitignore: Remove, it's not needed anymore.
4203 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4205 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4207 (texis): Renamed to $(objpfx)texis.
4208 (texis-path): New, contains path to generated files.
4209 (chapters.%): Use texis-path for complete path, add extra argument
4211 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4212 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4213 (summary,texi, stamp-summary): Use complete path of
4214 files. Generate files in build dir.
4215 (dir-add.texi): Build in build dir.
4216 (libm-err.texi,stamp-libm-err): Likewise.
4217 (version.texi, stamp-version): Likewise.
4218 (.%c.texi): Likewise.
4219 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4220 (mostlyclean): Remove target.
4221 (realclean): Remove target.
4222 (generated): Add new variable with contents from mostlyclean and
4223 realclean, remove entries duplicated in common-mostlyclean, add
4224 stamp-libm-err and stamp-version.
4225 (generated-dirs): Add libc directory.
4226 ($(inst_infodir)/libc.info): Install files from build dir.
4228 * manual/install.texi (Configuring and compiling): Adjust since
4229 the info files are not part of the tar ball anymore.
4231 2012-05-14 Andreas Jaeger <aj@suse.de>
4233 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4236 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4240 to 2.2.0 where earlier.
4241 * sysdeps/unix/sysv/linux/configure: Regenerated.
4242 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4243 Remove conditional code.
4244 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4245 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4246 Remove conditional code.
4247 [!__NR_lchown]: Likewise.
4248 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4249 [__NR_lchown]: Likewise.
4250 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4251 comment referencing __ASSUME_LCHOWN_SYSCALL.
4252 * sysdeps/unix/sysv/linux/i386/sigaction.c
4253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4255 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4256 Remove conditional code.
4257 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4258 (__protocol_available): Remove #if 0 code.
4259 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4261 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4262 * sysdeps/unix/sysv/linux/kernel-features.h
4263 (__ASSUME_GETCWD_SYSCALL): Don't define.
4264 (__ASSUME_REALTIME_SIGNALS): Likewise.
4265 (__ASSUME_PREAD_SYSCALL): Likewise.
4266 (__ASSUME_PWRITE_SYSCALL): Likewise.
4267 (__ASSUME_POLL_SYSCALL): Likewise.
4268 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4269 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4271 (__ASSUME_SIOCGIFNAME): Don't define.
4272 (__ASSUME_MSG_NOSIGNAL): Likewise.
4273 (__ASSUME_SENDFILE): Define unconditionally.
4274 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4275 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4277 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4278 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4279 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4280 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4281 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4282 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4283 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4288 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4294 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4308 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4309 Remove conditional code.
4310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4311 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4312 Remove conditional code.
4313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4314 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4315 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4316 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4317 Remove conditional code.
4318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4319 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4320 Remove conditional code.
4321 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4322 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4323 Remove conditional code.
4324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4325 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4326 Remove conditional code.
4327 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4328 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4329 Remove conditional code.
4330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4331 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4332 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4334 * sysdeps/unix/sysv/linux/sigaction.c
4335 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4336 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4337 * sysdeps/unix/sysv/linux/sigpending.c
4338 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4339 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4340 * sysdeps/unix/sysv/linux/sigprocmask.c
4341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4343 * sysdeps/unix/sysv/linux/sigsuspend.c
4344 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4345 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4347 (__libc_missing_rt_sigs): Remove.
4348 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4349 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4350 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4351 Remove conditional code.
4352 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4353 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4355 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4356 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4357 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4358 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4360 2012-05-14 Andreas Jaeger <aj@suse.de>
4362 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4363 it's not used in glibc.
4364 (__coshm1): Likewise.
4365 (__acosh1p): Likewise.
4368 * manual/string.texi (Copying and Concatenation): Add missing
4369 variable in concat example.
4370 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4372 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4376 __builtin_clzl with __builtin_clzll.
4378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4381 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4384 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4386 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4387 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4388 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4389 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4391 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4393 * NEWS: Update ia64 info.
4395 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4397 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4400 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4402 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4403 * sysdeps/unix/syscalls.list (dup3): Likewise.
4404 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4405 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4407 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4409 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4410 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4412 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4414 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4416 (TLS_IE): Use mov/add instead of movq/addq to load thread
4418 (TLS_GD_PREFIX): New.
4421 2012-05-11 David S. Miller <davem@davemloft.net>
4423 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4424 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4425 (_FPU_SETCW): Likewise.
4427 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4429 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4432 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4435 * iconvdata/gb18030.c: Update tables.
4436 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4437 characters specially.
4438 (BODY for TO_LOOP): Add encoding of missing ranges.
4440 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4443 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4444 * sysdeps/mach/hurd/dup3.c: Likewise.
4445 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4446 * sysdeps/powerpc/memmove.c:: Likewise.
4448 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4450 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4451 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4453 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4455 * elf/elf.h (R_X86_64_RELATIVE64): New.
4456 (R_X86_64_NUM): Updated.
4457 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4458 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4459 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4460 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4461 tst-quad1pie tst-quad2pie
4462 (modules-names): Add tst-quadmod1 tst-quadmod2.
4463 ($(objpfx)tst-quad1): New dependency.
4464 ($(objpfx)tst-quad2): Likewise.
4465 ($(objpfx)tst-quad1pie): Likewise.
4466 ($(objpfx)tst-quad2pie): Likewise.
4467 * sysdeps/x86_64/tst-quad1.c: New file.
4468 * sysdeps/x86_64/tst-quad1pie.c: New file.
4469 * sysdeps/x86_64/tst-quad2.c: Likewise.
4470 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4471 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4472 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4473 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4474 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4476 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4478 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4479 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4480 * streams/stropts.h (t_scalar_t): Define type.
4482 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4483 (_PATH_PRESERVE): Set to "/var/lib".
4484 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4486 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4489 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4490 if __dir_mkfile succeeded.
4492 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4493 checking for _hurd_dtablesize. Unlock it right after having
4494 finished _hurd_dtable allocation.
4496 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4498 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4499 * sysdeps/mach/hurd/configure: Regenerated.
4500 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4501 special-casing to...
4502 * sysdeps/gnu/configure.in: ... this new file.
4503 * sysdeps/unix/sysv/linux/configure: Regenerated.
4504 * sysdeps/gnu/configure: New generated file.
4506 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4507 for Linux: use nsec instead of usec, as well as:
4508 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4509 members of type struct timespec.
4510 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4512 (struct stat64): Likewise.
4513 (_STATBUF_ST_NSEC): New macro.
4514 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4516 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4517 __strtoul_internal rather than strtoul.
4519 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4521 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4526 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4527 which preserves existing values.
4528 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4530 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4532 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4533 TIMEOUT values. Return EINVAL for NFDS values either negative or
4534 greater than FD_SETSIZE.
4536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4538 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4539 allocated, call __vm_protect to finish enabling the existing space, and
4540 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4541 allocate the remainder.
4543 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4545 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4546 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4550 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4551 sysdeps/mach/hurd/readlink.c.
4553 * posix/tst-sysconf.c (posix_options): Only use
4554 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4555 _POSIX_SYNCHRONIZED_IO when they are defined
4556 * sysdeps/mach/hurd/bits/posix_opt.h:
4557 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4558 (_XOPEN_REALTIME): Undefine macro.
4559 (_XOPEN_REALTIME_THREADS): Undefine macro.
4560 (_XOPEN_SHM): Undefine macro.
4561 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4563 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4565 (_POSIX_ASYNC_IO): Undefine macro.
4566 (_POSIX_PRIORITIZED_IO): Undefine macro.
4567 (_POSIX_SPIN_LOCKS): Define macro to -1.
4569 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4570 SA_NODEFER, SA_RESETHAND.
4571 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4572 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4577 * elf/Makefile (pldd-modules): Define unconditionally.
4579 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4581 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4585 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4586 Return ENOENT when name is empty.
4587 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4591 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4593 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4595 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4597 Fix mlock in all cases except non-readable pages.
4598 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4599 instead of VM_PROT_ALL as parameter to __vm_wire function.
4601 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4602 (__mkdir): When path is `/', just fail with EEXIST.
4603 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4607 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4608 <sys/uio.h> (for writev).
4609 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4610 and <sys/param.h> (for MIN).
4612 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4614 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4615 REQUESTED_TIME. Properly set the remaining time and return EINTR
4618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4620 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4621 Depend on against $(link-rpcuserlibs).
4623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4625 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4626 (__libc_stack_end): Do not use attribute_relro.
4627 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4628 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4629 to libthread-provided value.
4630 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4636 * bits/libc-lock.h (__libc_once_get): New macro.
4637 * sysdeps/mach/bits/libc-lock.h: Likewise.
4638 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4640 instead of using implementation details.
4642 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4643 * libio/freopen.c: Likewise.
4644 * libio/freopen64.c: Likewise.
4645 * misc/syslog.c: Likewise.
4646 * nscd/connections.c: Likewise.
4647 * nscd/netgroupcache.c: Likewise.
4648 * sysdeps/posix/getcwd.c: Likewise.
4650 2012-05-10 Roland McGrath <roland@hack.frob.com>
4652 * math/w_ilogbf.c: Add #include <limits.h>.
4654 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4656 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4657 path instead of returning without unlocking.
4659 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4660 immediate-write ioctls.
4661 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4665 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4666 __builtin_frame_address instead of making assumptions about the
4667 location of the return address relative to DATA. Force early load of
4669 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4670 __builtin_frame_address.
4673 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4674 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4675 implement dup3 and do some further code clean-ups.
4676 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4677 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4681 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4683 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4684 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4685 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4686 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4687 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4690 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4691 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4692 when handler == SIG_ERR, not when handler != SIG_ERR.
4694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4696 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4697 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4700 accept4 for GNU Hurd.
4701 * include/sys/socket.h (__libc_accept4): New prototype.
4702 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4703 to implement __libc_accept4.
4704 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4706 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4708 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4709 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4710 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4715 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4719 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4720 assertion on O_CLOEXEC flag.
4721 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4722 * hurd/intern-fd.c: Likewise.
4723 * hurd/port2fd.c: Likewise.
4725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4728 * bits/in.h (IPV6_PKTINFO): Define new macro.
4729 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4731 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4736 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4738 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4739 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4741 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4742 * math/libm-test.inc (logb_test) : Additional logb tests.
4744 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4745 Andreas Jaeger <aj@suse.de>
4747 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4748 * configure: Regenerated.
4749 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4750 * config.make.in (link-obsolete-rpc): New substituted variable.
4751 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4752 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4753 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4754 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4755 so that libc.a contains the symbols.
4756 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4757 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4758 * sunrpc/auth_none.c: Likewise.
4759 * sunrpc/auth_unix.c: Likewise.
4760 * sunrpc/authdes_prot.c: Likewise.
4761 * sunrpc/authuxprot.c: Likewise.
4762 * sunrpc/clnt_gen.c: Likewise.
4763 * sunrpc/clnt_perr.c: Likewise.
4764 * sunrpc/clnt_raw.c: Likewise.
4765 * sunrpc/clnt_simp.c: Likewise.
4766 * sunrpc/clnt_tcp.c: Likewise.
4767 * sunrpc/clnt_udp.c: Likewise.
4768 * sunrpc/clnt_unix.c: Likewise.
4769 * sunrpc/des_crypt.c: Likewise.
4770 * sunrpc/des_soft.c: Likewise.
4771 * sunrpc/get_myaddr.c: Likewise.
4772 * sunrpc/key_call.c: Likewise.
4773 * sunrpc/key_prot.c: Likewise.
4774 * sunrpc/netname.c: Likewise.
4775 * sunrpc/pm_getmaps.c: Likewise.
4776 * sunrpc/pm_getport.c: Likewise.
4777 * sunrpc/pmap_clnt.c: Likewise.
4778 * sunrpc/pmap_prot.c: Likewise.
4779 * sunrpc/pmap_prot2.c: Likewise.
4780 * sunrpc/pmap_rmt.c: Likewise.
4781 * sunrpc/publickey.c: Likewise.
4782 * sunrpc/rpc_cmsg.c: Likewise.
4783 * sunrpc/rpc_common.c: Likewise.
4784 * sunrpc/rpc_dtable.c: Likewise.
4785 * sunrpc/rpc_prot.c: Likewise.
4786 * sunrpc/rpc_thread.c: Likewise.
4787 * sunrpc/rtime.c: Likewise.
4788 * sunrpc/svc.c: Likewise.
4789 * sunrpc/svc_auth.c: Likewise.
4790 * sunrpc/svc_raw.c: Likewise.
4791 * sunrpc/svc_run.c: Likewise.
4792 * sunrpc/svc_tcp.c: Likewise.
4793 * sunrpc/svc_udp.c: Likewise.
4794 * sunrpc/svc_unix.c: Likewise.
4795 * sunrpc/svcauth_des.c: Likewise.
4796 * sunrpc/xcrypt.c: Likewise.
4797 * sunrpc/xdr.c: Likewise.
4798 * sunrpc/xdr_array.c: Likewise.
4799 * sunrpc/xdr_float.c: Likewise.
4800 * sunrpc/xdr_intXX_t.c: Likewise.
4801 * sunrpc/xdr_mem.c: Likewise.
4802 * sunrpc/xdr_rec.c: Likewise.
4803 * sunrpc/xdr_ref.c: Likewise.
4804 * sunrpc/xdr_sizeof.c: Likewise.
4805 * sunrpc/xdr_stdio.c: Likewise.
4807 2012-05-10 Roland McGrath <roland@hack.frob.com>
4809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4810 change. Update copyright years.
4812 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4814 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4816 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4817 Joseph Myers <joseph@codesourcery.com>
4818 Paul Pluzhnikov <ppluzhnikov@google.com>
4821 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4823 [cross-compiling] (extra-libs): Likewise.
4824 [cross-compiling] (extra-libs-others): Likewise.
4825 [cross-compiling] (librpcsvc-routines): Likewise.
4826 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4827 [cross-compiling] (omit-deps): Likewise.
4828 (sunrpc-CPPFLAGS): New variable.
4829 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4830 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4831 (cross-rpcgen-objs): New variable.
4832 (extra-objs): Append $(cross-rpcgen-objs).
4833 ($(cross-rpcgen-objs)): New rule.
4834 ($(objpfx)cross-rpcgen): Likewise.
4835 (rpcgen-cmd): Define to use $(built-program-file). Expand
4837 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4838 ($(objpfx)x%.stmp): Likewise.
4839 * sunrpc/proto.h [IS_IN_build] (_): Define.
4840 [IS_IN_build] (_libc_intl_domainname): Likewise.
4842 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4845 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4846 and R_X86_64_TPOFF64.
4848 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4850 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4851 sysdeps/unix/sysv/syscalls.list.
4854 * sysdeps/unix/sysv/syscalls.list: Remove file.
4856 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4859 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4860 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4861 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4862 (__LC_IDENTIFICATION): Make these macros useful in #if
4863 expressions, as required by C99.
4865 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4867 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4868 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4871 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4873 * stdlib/longlong.h: Updated from GCC.
4875 2012-05-09 Andreas Jaeger <aj@suse.de>
4877 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4878 default is first entry.
4879 (run_mode): Set type.
4880 (main): Remove informal message about syslog.
4881 (options): Fix typo.
4884 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4887 (llrintf): Likewise.
4891 (nearbyint): Likewise.
4892 (nearbyintf): Likewise.
4894 2012-05-09 Andreas Jaeger <aj@suse.de>
4895 Pedro Alves <palves@redhat.com>
4897 * nscd/nscd.c (run_mode): Use enum.
4898 (main): Cleanup coding style issue.
4900 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4901 Andreas Jaeger <aj@suse.de>
4903 * nscd/nscd.c (go_background): Replaced with...
4904 (run_mode): ... this.
4905 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4906 (options): Add -F --foreground.
4907 (main): Implement it.
4908 (parse_opt): Parse it.
4910 2012-05-09 Andreas Jaeger <aj@suse.de>
4913 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4914 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4915 -Wconversion warning.
4916 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4919 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4921 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4923 (LC_ALL): Use macro-int-constant.
4924 (LC_COLLATE): Likewise.
4925 (LC_CTYPE): Likewise.
4926 (LC_MESSAGES): Likewise.
4927 (LC_MONETARY): Likewise.
4928 (LC_NUMERIC): Likewise.
4929 (LC_TIME): Likewise.
4930 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4931 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4933 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4935 [C99-based standards] (float_t): Expect type.
4936 [C99-based standards] (double_t): Expect type.
4937 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4939 [C99-based standards] (HUGE_VALL): Likewise.
4940 [C99-based standards] (INFINITY): Likewise.
4941 [C99-based standards] (NAN): Likewise.
4942 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4943 [C99-based standards] (FP_NAN): Likewise.
4944 [C99-based standards] (FP_NORMAL): Likewise.
4945 [C99-based standards] (FP_SUBNORMAL): Likewise.
4946 [C99-based standards] (FP_ZERO): Likewise.
4947 [C99-based standards] (FP_FAST_FMA): Use
4948 optional-macro-int-constant. Specify type. Require == 1.
4949 [C99-based standards] (FP_FAST_FMAF): Likewise.
4950 [C99-based standards] (FP_FAST_FMAL): Likewise.
4951 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4952 [C99-based standards] (FP_ILOGBNAN): Likewise.
4953 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4955 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4956 [C99-based standards] (math_errhandling): Specify type.
4957 [ISO99 || ISO11] (signgam): Do not allow.
4958 [non-C99-based standards] (copysignf): Do not allow.
4959 [non-C99-based standards] (exp2f): Likewise.
4960 [non-C99-based standards] (log2f): Likewise.
4961 [non-C99-based standards] (modff): Allow.
4962 [non-C99-based standards] (erff): Do not allow.
4963 [non-C99-based standards] (erfcf): Likewise.
4964 [non-C99-based standards] (gammaf): Likewise.
4965 [non-C99-based standards] (hypotf): Likewise.
4966 [non-C99-based standards] (j0f): Likewise.
4967 [non-C99-based standards] (j1f): Likewise.
4968 [non-C99-based standards] (jnf): Likewise.
4969 [non-C99-based standards] (lgammaf): Likewise.
4970 [non-C99-based standards] (tgammaf): Likewise.
4971 [non-C99-based standards] (y0f): Likewise.
4972 [non-C99-based standards] (y1f): Likewise.
4973 [non-C99-based standards] (ynf): Likewise.
4974 [non-C99-based standards] (isnanf): Likewise.
4975 [non-C99-based standards] (acoshf): Likewise.
4976 [non-C99-based standards] (asinhf): Likewise.
4977 [non-C99-based standards] (atanhf): Likewise.
4978 [non-C99-based standards] (cbrtf): Likewise.
4979 [non-C99-based standards] (expm1f): Likewise.
4980 [non-C99-based standards] (ilogbf): Likewise.
4981 [non-C99-based standards] (log1pf): Likewise.
4982 [non-C99-based standards] (logbf): Likewise.
4983 [non-C99-based standards] (nextafterf): Likewise.
4984 [non-C99-based standards] (remainderf): Likewise.
4985 [non-C99-based standards] (rintf): Likewise.
4986 [non-C99-based standards] (scalbf): Likewise.
4987 [non-C99-based standards] (copysignl): Likewise.
4988 [non-C99-based standards] (exp2l): Likewise.
4989 [non-C99-based standards] (log2l): Likewise.
4990 [non-C99-based standards] (modfl): Allow.
4991 [non-C99-based standards] (erfl): Do not allow.
4992 [non-C99-based standards] (erfcl): Likewise.
4993 [non-C99-based standards] (gammal): Likewise.
4994 [non-C99-based standards] (hypotl): Likewise.
4995 [non-C99-based standards] (j0l): Likewise.
4996 [non-C99-based standards] (j1l): Likewise.
4997 [non-C99-based standards] (jnl): Likewise.
4998 [non-C99-based standards] (lgammal): Likewise.
4999 [non-C99-based standards] (tgammal): Likewise.
5000 [non-C99-based standards] (y0l): Likewise.
5001 [non-C99-based standards] (y1l): Likewise.
5002 [non-C99-based standards] (ynl): Likewise.
5003 [non-C99-based standards] (isnanl): Likewise.
5004 [non-C99-based standards] (acoshl): Likewise.
5005 [non-C99-based standards] (asinhl): Likewise.
5006 [non-C99-based standards] (atanhl): Likewise.
5007 [non-C99-based standards] (cbrtl): Likewise.
5008 [non-C99-based standards] (expm1l): Likewise.
5009 [non-C99-based standards] (ilogbl): Likewise.
5010 [non-C99-based standards] (log1pl): Likewise.
5011 [non-C99-based standards] (logbl): Likewise.
5012 [non-C99-based standards] (nextafterl): Likewise.
5013 [non-C99-based standards] (remainderl): Likewise.
5014 [non-C99-based standards] (rintl): Likewise.
5015 [non-C99-based standards] (scalbl): Likewise.
5016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5017 [non-C99-based standards] (FP_*): Do not allow.
5018 [C99-based standards] (FP_*): Change to
5019 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5020 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5022 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5023 (SIG_ERR): Likewise.
5024 [X/Open-based standards] (SIG_HOLD): Likewise.
5025 (SIG_IGN): Likewise.
5026 (SIGABRT): Use macro-int-constant. Specify type. Require
5031 (SIGSEGV): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5034 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5051 [X/Open-based standards] (SIGTRAP): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5056 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5059 2012-05-08 Ian Wienand <ianw@vmware.com>
5062 * time/tzset.c (__tzset_parse_tz): Update default rules for
5063 daylight time changes in the Energy Policy Act of 2005.
5065 2012-05-09 Andreas Jaeger <aj@suse.de>
5068 * elf/ldconfig.c (parse_conf): Change string to make clear that
5069 ldconfig only issued a warning if ld.so.conf does not exist.
5071 2012-05-08 David S. Miller <davem@davemloft.net>
5073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5074 movxtod instead of popping the value on the stack.
5076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5078 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5080 * config.h.in: Add HAVE_ARM_PCS_VFP.
5082 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5085 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5086 checking but the checks are disabled for any reason.
5088 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5090 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5091 and ELF64_R_TYPE with ELFW(R_TYPE).
5093 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5095 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5098 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5099 (settimeofday): Likewise.
5101 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5103 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5104 a struct th_u2 inside the union, and move tu_block/tu_code into
5105 a new th_u3 union of tu_block/tu_code inside of that. Move
5106 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5107 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5108 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5109 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5110 (th_stuff): Change to th_u1.tu_stuff.
5112 (th_msg): Change to th_u1.th_u2.tu_data.
5114 2012-05-07 David S. Miller <davem@davemloft.net>
5116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5119 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5120 (SETUP_PIC_REG): Use it.
5121 (SETUP_PIC_REG_LEAF): Use it.
5123 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5127 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5129 (EXPL_FINITE): Likewise.
5131 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5132 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5134 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5136 (EXPL_FINITE): Likewise.
5138 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5139 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5141 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5142 test of -max_value argument for long double.
5143 * sysdeps/i386/fpu/libm-test-ulps: Update.
5144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5146 2012-05-06 David S. Miller <davem@davemloft.net>
5148 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5149 quad soft-float symbols whose references which are compiler
5151 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5153 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5157 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5159 (EXPL_FINITE): Likewise.
5163 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5164 Adjust comments for base varying.
5165 (__expl_finite): Change alias to EXPL_FINITE.
5166 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5168 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5169 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5171 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5172 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5174 (EXPL_FINITE): Likewise.
5178 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5179 Adjust comments for base varying.
5180 (__expl_finite): Change alias to EXPL_FINITE.
5181 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5186 * math/libm-test.inc (check_float_internal): Correct ulp
5187 calculation for subnormal expected results.
5189 2012-05-06 Andreas Jaeger <aj@suse.de>
5191 * Makeconfig (+math-flags): New, set to -frounding-math.
5192 (+cflags): Add +math-flags so that all of glibc gets compiled with
5195 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5197 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5199 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5205 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5206 (__ieee754_expl): Allow for and saturate large arguments.
5207 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5208 (u_threshold): Likewise.
5209 (__exp): Call __ieee754_exp before checking for overflow and
5211 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5212 (u_threshold): Likewise.
5213 (__expf): Call __ieee754_expf before checking for overflow and
5215 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5216 (u_threshold): Likewise.
5217 (__expl): Call __ieee754_expl before checking for overflow and
5219 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5220 (__ieee754_expl): Allow for and saturate large arguments.
5221 * math/libm-test.inc (exp_test): Add another test. Do not allow
5222 missing overflow exception on overflow.
5223 (expm1_test): Do not allow missing overflow exception on overflow.
5225 * sysdeps/i386/fpu/e_expl.c: Move to ...
5226 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5227 rather than using inline asm.
5228 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5229 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5230 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5232 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5239 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5241 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5242 sysdeps/unix/common/syscalls.list.
5245 (ftruncate): Likewise.
5246 (getrusage): Likewise.
5247 (gettimeofday): Likewise.
5248 (setpgid): Likewise.
5249 (setregid): Likewise.
5250 (setreuid): Likewise.
5251 (sigaction): Likewise.
5252 (truncate): Likewise.
5253 (vhangup): Likewise.
5254 * sysdeps/unix/common/syscalls.list: Remove file.
5255 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5256 * sysdeps/unix/sysv/linux/Implies: Likewise.
5258 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5260 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5262 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5266 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5269 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5272 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5275 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5278 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5281 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5284 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5288 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5292 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5295 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5299 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5303 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5305 * sysdeps/unix/common/bits/dirent.h: Remove file.
5306 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5308 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5309 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5310 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5311 * sysdeps/unix/bsd/isatty.c: Likewise.
5312 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5313 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5314 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5316 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5320 long double comparison inaccuracies.
5321 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5324 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5326 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5329 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5332 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5333 nonzero digits before rounding a hex value.
5334 * stdlib/tst-strtod.c (tests): Add another test.
5336 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5338 * sysdeps/s390/fpu/libm-test-ulps: Update.
5340 2012-05-03 Andreas Jaeger <aj@suse.de>
5342 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5343 does not get optimized out.
5344 (malloc_opt_barrier): New.
5346 2012-05-03 Andreas Jaeger <aj@suse.de>
5347 Roland McGrath <roland@hack.frob.com>
5349 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5350 intermediate file deletion.
5351 (generated): Add .symlist files.
5353 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5356 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5357 Redirect under this condition.
5358 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5359 [__USE_GNU] (__dprintf_chk): Not under this condition.
5360 [__USE_GNU] (__vdprintf_chk): Likewise.
5361 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5362 under this condition.
5363 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5364 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5365 [__USE_XOPEN2K8] (vdprintf): Likewise.
5366 [__USE_GNU] (__dprintf_chk): Not under this condition.
5367 [__USE_GNU] (__vdprintf_chk): Likewise.
5368 [__USE_GNU] (dprintf): Likewise.
5369 [__USE_GNU] (vdprintf): Likewise.
5371 2012-05-03 Roland McGrath <roland@hack.frob.com>
5373 * elf/Makefile (common-generated): Set this instead of generated for
5374 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5375 $(all-built-dso)-derived lists.
5377 2012-05-03 Andreas Jaeger <aj@suse.de>
5379 * sysdeps/i386/fpu/libm-test-ulps: Update.
5383 * scripts/gen-FAQ.pl: Likewise.
5384 * manual/install.texi (Installation): Point to online location of
5386 * Makefile (files-for-dist): Remove FAQ.
5389 2012-05-02 Allan McRae <allan@archlinux.org>
5391 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5392 (LDFLAGS-reldepmod5.so): Likewise.
5393 (LDFLAGS-reldep6mod1.so): Likewise.
5394 (LDFLAGS-reldep6mod4.so): Likewise.
5395 (LDFLAGS-reldep8mod3.so): Likewise.
5396 (LDFLAGS-unload4mod1.so): Likewise.
5397 (LDFLAGS-unload4mod2.so): Likewise.
5398 (LDFLAGS-tst-initorder): Likewise.
5399 (LDFLAGS-tst-initordera2.so): Likewise.
5400 (LDFLAGS-tst-initordera3.so): Likewise.
5401 (LDFLAGS-tst-initordera4.so): Likewise.
5402 (LDFLAGS-tst-initorderb2.so): Likewise.
5403 (LDFLAGS-noload): Likewise.
5404 (LDFLAGS-next): Likewise.
5405 (LDFLAGS-order2mod1.so): Likewise.
5406 (LDFLAGS-order2mod2.so): Likewise.
5407 (LDFLAGS-tst-initorder2): Likewise.
5408 (LDFLAGS-tst-initorder2a.so): Likewise.
5409 (LDFLAGS-tst-initorder2b.so): Likewise.
5410 (LDFLAGS-tst-initorder2c.so): Likewise.
5411 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5413 2012-05-02 David S. Miller <davem@davemloft.net>
5415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5417 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5420 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5422 2012-05-02 Andreas Jaeger <aj@suse.de>
5424 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5425 since we manipulate rounding mode.
5426 (CPPFLAGS-test-idouble.c): Likewise.
5427 (CPPFLAGS-test-ifloat.c): Likewise.
5428 (CFLAGS-test-ldouble.c): Likewise.
5429 (CFLAGS-test-double.c): Likewise.
5430 (CFLAGS-test-float.c): Likewise.
5431 (CFLAGS-test-misc.c): Likewise.
5432 (CFLAGS-test-test-fenv.c): Likewise.
5434 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5438 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5439 comparisons to determine direction to adjust input.
5441 2012-05-01 Roland McGrath <roland@hack.frob.com>
5443 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5444 output to the target.
5446 * scripts/localplt.awk: New file.
5447 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5448 (check-localplt-CFLAGS): Variable removed.
5449 ($(all-built-dso:=.jmprel)): New static pattern rule.
5450 (generated): Add those targets.
5451 (localplt-built-dso): New variable.
5452 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5454 * elf/check-localplt.c: File removed.
5456 * scripts/check-execstack.awk: New file.
5457 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5458 (check-execstack-CFLAGS): Variable removed.
5459 ($(objpfx)check-execstack.h): Target removed.
5460 ($(objpfx)execstack-default): New target.
5461 (generated): Add that instead of check-execstack.h.
5462 ($(all-built-dso:=.phdr)): New static pattern rule.
5463 (generated): Add those targets.
5464 * elf/check-execstack.c: File removed.
5466 * scripts/check-textrel.awk: New file.
5467 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5468 (check-textrel-CFLAGS): Variable removed.
5469 (all-built-dso): Use := to define.o
5470 ($(all-built-dso:=.dyn)): New static pattern rule.
5471 (generated): Add those targets.
5472 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5473 * config.make.in (READELF): New substituted variable.
5474 * elf/check-textrel.c: File removed.
5476 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5478 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5480 * conform/data/ctype.h-data [C99-based standards] (isblank):
5482 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5483 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5485 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5486 Specify type. Require positive value.
5489 [ISO || POSIX] (EILSEQ): Do not expect.
5490 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5491 Specify type. Require positive value.
5492 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5494 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5495 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5496 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5497 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5498 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5499 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5500 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5501 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5502 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5503 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5504 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5505 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5506 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5507 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5508 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5509 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5510 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5511 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5512 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5513 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5514 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5515 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5516 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5517 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5518 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5519 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5520 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5521 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5522 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5523 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5524 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5525 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5526 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5527 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5528 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5529 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5530 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5531 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5532 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5533 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5534 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5536 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5537 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5538 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5539 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5543 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5548 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5549 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5550 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5551 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5552 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5553 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5554 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5555 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5556 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5557 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5558 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5559 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5560 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5561 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5562 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5563 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5564 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5565 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5566 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5567 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5568 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5570 (FLT_ROUNDS): Expect as macro, not constant.
5571 (FLT_MANT_DIG): Use macro-int-constant.
5572 (DBL_MANT_DIG): Likewise.
5573 (LDBL_MANT_DIG): Likewise.
5574 (FLT_DIG): Likewise.
5575 (DBL_DIG): Likewise.
5576 (LDBL_DIG): Likewise.
5577 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5578 (DBL_MIN_EXP): Likewise.
5579 (LDBL_MIN_EXP): Likewise.
5580 (FLT_MAX_EXP): Use macro-int-constant.
5581 (DBL_MAX_EXP): Likewise.
5582 (LDBL_MAX_EXP): Likewise.
5583 (FLT_MAX_10_EXP): Likewise.
5584 (DBL_MAX_10_EXP): Likewise.
5585 (LDBL_MAX_10_EXP): Likewise.
5586 (FLT_MAX): Use macro-constant.
5587 (DBL_MAX): Likewise.
5588 (LDBL_MAX): Likewise.
5589 (FLT_EPSILON): Use macro-constant. Give upper bound.
5590 (DBL_EPSILON): Likewise.
5591 (LDBL_EPSILON): Likewise.
5592 (FLT_MIN): Likewise.
5593 (DBL_MIN): Likewise.
5594 (LDBL_MIN): Likewise.
5595 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5596 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5597 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5598 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5599 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5600 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5601 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5602 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5603 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5604 [ISO11] (FLT_TRUE_MIN): Likewise.
5605 [ISO11] (LDBL_TRUE_MIN): Likewise.
5606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5607 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5608 (SCHAR_MIN): Use macro-int-constant. Specify type.
5609 (SCHAR_MAX): Likewise.
5610 (UCHAR_MAX): Likewise.
5611 (CHAR_MIN): Likewise.
5612 (CHAR_MAX): Likewise.
5613 (MB_LEN_MAX): Use macro-int-constant.
5614 (SHRT_MIN): Use macro-int-constant. Specify type.
5615 (SHRT_MAX): Likewise.
5616 (USHRT_MAX): Likewise.
5617 (INT_MAX): Likewise.
5618 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5620 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5622 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5624 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5625 bound negative. Suffix upper bound with "L".
5626 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5628 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5630 [C99-based standards] (LLONG_MAX): Likewise.
5631 [C99-based standards] (ULLONG_MAX): Likewise.
5632 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5634 [ISO11] (max_align_t): Require type.
5635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5637 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5638 from $CFLAGS, without defining away __attribute__ calls.
5639 (checknamespace): Use $CFLAGS_namespace.
5641 * conform/conformtest.pl (@keywords): Only include C99 keywords
5642 for standards based on C99 or C11.
5644 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5646 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5649 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5650 usability of symbols in #if.
5652 * conform/conformtest.pl: If macro or constant types start
5653 "promoted:", expect the symbol to be of the following type
5654 promoted by the integer promotions.
5656 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5657 in one place. Also handle "macro-constant".
5659 * conform/conformtest.pl: Only accept expected macro values with
5660 "==". Parse all "macro" lines in one place.
5661 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5663 * conform/conformtest.pl: Handle braced types on "constant" lines
5664 instead of handling "typed-constant".
5665 * conform/data/signal.h-data: Use "constant" instead of
5668 * conform/conformtest.pl: Handle "optional-" at start of lines in
5669 one place rather than duplicating several cases. Handle each
5670 format of "macro" line with initial "optional-".
5672 * conform/conformtest.pl: Only accept expected constant or
5673 optional-constant values with "==". Parse all "constant" lines in
5674 one place. Parse all "optional-constant" lines in one place.
5675 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5676 * conform/data/fmtmsg.h-data: Likewise.
5677 * conform/data/netinet/in.h-data: Likewise.
5678 * conform/data/tar.h-data: Likewise.
5679 * conform/data/limits.h-data: Use "==" form on "constant" and
5680 "optional-constant" lines.
5682 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5683 Use -std=c99 for XOPEN2K.
5684 (@knownproblems): Remove.
5685 (newtoken): Don't check %isknown.
5687 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5688 Do not expect macro.
5689 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5701 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5702 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5719 [XPG3] (acosh): Likewise.
5720 [XPG3] (asinh): Likewise.
5721 [XPG3] (atanh): Likewise.
5722 [XPG3] (cbrt): Likewise.
5723 [XPG3] (expm1): Likewise.
5724 [XPG3] (ilogb): Likewise.
5725 [XPG3] (log1p): Likewise.
5726 [XPG3] (logb): Likewise.
5727 [XPG3] (nextafter): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5730 [XPG3] (remainder): Likewise.
5731 [XPG3] (rint): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5739 [UNIX98 || XOPEN2K] (scalb): Expect.
5740 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5741 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5805 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5806 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5807 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5808 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5809 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5810 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5811 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5812 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5813 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5814 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5815 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5816 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5817 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5818 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5819 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5821 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5822 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5823 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5824 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5825 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5826 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5827 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5828 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5829 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5830 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5831 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5832 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5833 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5834 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5835 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5836 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5837 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5838 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5839 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5840 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5841 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5842 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5843 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5844 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5845 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5846 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5847 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5848 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5849 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5850 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5851 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5852 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5853 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5854 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5855 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5856 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5857 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5858 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5859 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5860 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5861 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5862 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5863 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5864 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5865 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5866 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5867 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5868 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5869 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5870 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5871 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5872 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5873 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5874 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5875 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5876 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5878 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5879 _XOPEN_SOURCE_EXTENDED for XPG4.
5881 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5883 * Makeconfig (localtime): Remove variable.
5884 (inst_localtime-file): Likewise.
5886 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5907 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5911 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5912 comparisons to determine direction to adjust input.
5913 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5914 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5917 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5919 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5921 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5922 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5924 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5926 * math/libm-test.inc (nexttoward_test): Add more tests.
5928 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5932 in version GLIBC_2.1, not GLIBC_2.0.
5933 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5936 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5939 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5941 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5942 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5943 * math/libm-test.inc (acos_test): Add more tests.
5944 (asin_test): Likewise.
5945 * sysdeps/i386/fpu/libm-test-ulps: Update.
5946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5949 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5951 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5952 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5953 * math/libm-test.inc (acos_test_tonearest): New function.
5954 (acos_test_towardzero): Likewise.
5955 (acos_test_downward): Likewise.
5956 (acos_test_upward): Likewise.
5957 (asin_test_tonearest): Likewise.
5958 (asin_test_towardzero): Likewise.
5959 (asin_test_downward): Likewise.
5960 (asin_test_upward): Likewise.
5961 (main): Call the new functions.
5962 * sysdeps/i386/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5967 * math/e_exp10.c: Include <float.h>.
5968 (__ieee754_exp10): Handle underflow here rather than multiplying
5969 large negative argument by M_LN10.
5970 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5972 * math/e_exp10l.c: Include <float.h>.
5973 (__ieee754_exp10l): Handle underflow here rather than multiplying
5974 large negative argument by M_LN10l.
5975 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5976 spurious overflow exception on underflow.
5978 2012-04-29 Marek Polacek <polacek@redhat.com>
5980 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5981 (__fortify_function): New macro.
5982 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5983 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5984 __extern_always_inline.
5985 * libio/bits/stdio2.h: Likewise.
5986 * libio/bits/stdio.h: Likewise.
5987 * string/string.h: Likewise.
5988 * string/bits/string3.h: Likewise.
5989 * include/stdio.h: Likewise.
5990 * stdlib/bits/stdlib.h: Likewise.
5991 * stdlib/stdlib.h: Likewise.
5992 * rt/bits/mqueue2.h: Likewise.
5993 * rt/mqueue.h: Likewise.
5994 * posix/bits/unistd.h: Likewise.
5995 * posix/unistd.h: Likewise.
5996 * io/bits/poll2.h: Likewise.
5997 * io/bits/fcntl2.h: Likewise.
5998 * io/fcntl.h: Likewise.
5999 * io/sys/poll.h: Likewise.
6000 * misc/bits/syslog.h: Likewise.
6001 * misc/bits/syslog-ldbl.h: Likewise.
6002 * misc/sys/syslog.h: Likewise.
6003 * socket/bits/socket2.h: Likewise.
6004 * socket/sys/socket.h: Likewise.
6005 * debug/tst-chk1.c: Likewise.
6006 * wcsmbs/bits/wchar2.h: Likewise.
6007 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6008 * wcsmbs/wchar.h: Likewise.
6010 2012-04-29 Andreas Jaeger <aj@suse.de>
6012 * Makerules (tests): Remove enable-check-abi protection.
6013 (check-abi-warn): Remove.
6014 (check-abi-%): Remove check-abi-warn usage.
6016 * configure.in: Remove check-abi configure option.
6017 * configure: Regenerated.
6018 * config.make.in (enable-check-abi): Remove.
6020 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6023 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6024 double functions to double *_finite functions.
6027 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6028 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6030 * stdio-common/Makefile (tests): Add tst-sprintf3.
6031 * stdio-common/tst-sprintf3.c: New file.
6033 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6034 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6036 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6038 * conform/conformtest.pl: Remove duplicate typed-constant
6041 2012-04-28 David S. Miller <davem@davemloft.net>
6043 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6044 (check-abi-%): Remove AWK script prerequisite and explicit
6046 (check-abi): Rewrite to just diff the symlist with the abilist.
6047 (config-tls, config-abi-config): Delete, no longer used.
6048 (update-abi-%): Remove AWK script and explicit abilist directory.
6049 (update-abi): Rewrite to simply compare and conditionally copy the
6050 symlist and the sysdep abilist file. Remove update-abi-config
6052 * abilist/ld.abilist: Remove.
6053 * abilist/libBrokenLocale.abilist: Remove.
6054 * abilist/libanl.abilist: Remove.
6055 * abilist/libcrypt.abilist: Remove.
6056 * abilist/libdl.abilist: Remove.
6057 * abilist/librt.abilist: Remove.
6058 * abilist/libthread_db.abilist: Remove.
6059 * abilist/libutil.abilist: Remove.
6060 * scripts/extract-abilist.awk: Remove.
6061 * scripts/merge-abilist.awk: Remove.
6062 * sysdeps/generic/libcidn.abilist: New file.
6063 * sysdeps/generic/libnss_compat.abilist: New file.
6064 * sysdeps/generic/libnss_db.abilist: New file.
6065 * sysdeps/generic/libnss_dns.abilist: New file.
6066 * sysdeps/generic/libnss_files.abilist: New file.
6067 * sysdeps/generic/libnss_hesiod.abilist: New file.
6068 * sysdeps/generic/libnss_nis.abilist: New file.
6069 * sysdeps/generic/libnss_nisplus.abilist: New file.
6070 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6071 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6072 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6075 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6076 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6077 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6078 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6079 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6080 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6081 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6082 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6084 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6085 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6086 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6087 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6089 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6090 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6091 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6092 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6093 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6094 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6096 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6097 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6098 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6100 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6203 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6204 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6205 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6208 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6209 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6210 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6211 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6212 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6213 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6214 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6215 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6216 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6268 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6270 * conform/conformtest.pl: Fix typo in handling typed-constant from
6273 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6275 * README: Cut down references to pre-2.6 Linux kernels and
6276 Linuxthreads. Update lists of configurations in libc and ports
6277 and sort alphabetically. Say "or newer" with Linux kernel version
6280 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6282 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6285 * math/libm-test.inc (logb_test_downward): New test to expose
6286 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6289 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6292 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6294 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6295 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6297 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6299 * sysdeps/unix/i386/brk.S: Remove file.
6300 * sysdeps/unix/i386/dl-brk.S: Likewise.
6301 * sysdeps/unix/i386/pipe.S: Likewise.
6302 * sysdeps/unix/i386/sigreturn.S: Likewise.
6303 * sysdeps/unix/i386/syscall.S: Likewise.
6304 * sysdeps/unix/i386/vfork.S: Likewise.
6305 * sysdeps/unix/i386/wait.S: Likewise.
6307 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6308 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6310 * configure.in (arm*-none*): Do not allow without
6311 --enable-hacker-mode.
6312 (netbsd*): Remove case setting base_os.
6313 (386bsd*): Likewise.
6314 (freebsd*): Likewise.
6318 (ultrix*): Likewise.
6319 (newsos*): Likewise.
6329 (solaris[2-9]*): Likewise.
6331 * configure: Regenerated.
6333 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6336 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6337 overflow or cancellation in calculating denominator.
6338 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6340 down expression to avoid unexpected rounding in newer GCCs.
6341 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6343 2012-04-26 David S. Miller <davem@davemloft.net>
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6346 long-double compat symbols.
6347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6361 2012-04-25 David S. Miller <davem@davemloft.net>
6363 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6364 HWCAP_* values only after the memory barriers have been defined.
6365 (atomic_full_barrier): Define.
6366 (atomic_read_barrier): Define.
6367 (atomic_write_barrier): Define.
6369 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6371 * shlib-versions: Add libgcc_s version information.
6372 * sysdeps/generic/libgcc_s.h: Remove.
6373 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6375 * sysdeps/gnu/unwind-resume.c: Likewise.
6376 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6378 2012-04-25 David S. Miller <davem@davemloft.net>
6380 * sysdeps/unix/sparc/brk.S: Delete.
6381 * sysdeps/unix/sparc/dl-brk.S: Delete.
6382 * sysdeps/unix/sparc/pipe.S: Delete.
6383 * sysdeps/unix/sparc/sysdep.S: Delete.
6384 * sysdeps/unix/sparc/sysdep.h: Delete.
6385 * sysdeps/unix/sparc/vfork.S: Delete.
6386 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6387 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6388 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6389 ret_ERRVAL, r0, r1, MOVE): Define.
6390 (JUMPTARGET): Remove.
6391 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6392 sysdeps/unix/sparc/sysdep.h
6393 (ENTRY, END): Remove.
6394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6396 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6398 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6399 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6402 * timezone/README: Update upstream location and email address for
6404 * timezone/zdump.c: Update from tzcode 2012b.
6405 * timezone/zic.c: Likewise.
6407 * configure.in (libc_cv_as_needed): Remove test.
6408 * configure: Regenerated.
6409 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6410 conditional definition.
6411 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6412 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6413 * config.make.in (have-as-needed): Remove variable.
6415 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6416 Paul Pluzhnikov <ppluzhnikov@google.com>
6418 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6421 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6423 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6424 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6425 * sysdeps/sh/strlen.S: Likewise.
6427 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6429 * sysdeps/unix/fork.S: Remove file.
6430 * sysdeps/unix/i386/fork.S: Likewise.
6431 * sysdeps/unix/sparc/fork.S: Likewise.
6433 * sysdeps/unix/system.c: Remove file.
6434 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6436 * sysdeps/unix/getegid.S: Remove file.
6437 * sysdeps/unix/geteuid.S: Likewise.
6439 2012-04-24 Roland McGrath <roland@hack.frob.com>
6441 * scripts/check-localplt.awk: New file.
6442 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6444 * scripts/data/localplt-generic.data: Add a comment.
6446 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6447 NODE when __dir_mkfile failed.
6448 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6449 Reported by Ludovic Courtès <ludo@gnu.org>.
6451 2012-04-24 Andreas Jaeger <aj@suse.de>
6453 * Makerules (common-clean): Also remove gen-as-const-headers
6456 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6458 * Makerules (native-compile): Do not change working directory for
6459 build. Use $(OUTPUT_OPTION) in command.
6460 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6462 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6465 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6466 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6467 * math/libm-test.inc (floor_test): Add more tests.
6468 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6470 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6472 * sysdeps/unix/getdents.c: Remove file.
6473 * sysdeps/unix/sysv/getdents.c: Likewise.
6474 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6476 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6477 sysdeps/unix/mman/syscalls.list.
6479 (mprotect): Likewise.
6482 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6483 * sysdeps/unix/mman/syscalls.list: Remove.
6484 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6486 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6487 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6488 * configure: Regenerated.
6489 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6491 * config.make.in (libgcc_s_suffix): Remove variable.
6493 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6495 * sysdeps/unix/sysv/gethostname.c: Move to ...
6496 * sysdeps/posix/gethostname.c: ... here.
6498 * sysdeps/unix/execve.S: Remove file.
6500 * sysdeps/unix/_exit.S: Remove file.
6502 2012-04-23 Andreas Jaeger <aj@suse.de>
6505 * manual/Makefile: Remove make dist support, there's no
6506 need for a stand-alone documentation tar ball.
6507 (TEXI2DVI): Define always, it's not in Makeconfig.
6511 (glibc-doc-$(edition).tar): Removed
6515 (ETAGS): Remove, it's in Makeconfig.
6516 (move-if-change): Remove, it's in Makeconfig.
6518 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6521 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6522 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6523 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6524 (strtod_l, strtof_l, strtold_l): Remove __wur.
6525 It is not necessarily an error to ignore strtol's return value.
6526 One can reliably look at the stored endptr to decide whether
6527 the number had valid syntax.
6529 2012-04-21 Andreas Jaeger <aj@suse.de>
6532 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6534 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6537 * sysdeps/unix/sysv/Versions: Remove file.
6539 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6544 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6548 version from __vm86.
6550 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/unix/common/lxstat.c: Remove file.
6553 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6555 * sysdeps/unix/sysv/Makefile: Remove file.
6557 * sysdeps/unix/sysv/direct.h: Remove file.
6559 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6560 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6561 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6562 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6563 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6564 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6565 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6567 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6569 * sysdeps/unix/xmknod.c: Remove file.
6570 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6572 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6574 * sysdeps/unix/sysv/i386/time.S: Remove file.
6576 * sysdeps/unix/fxstat.c: Remove file.
6577 * sysdeps/unix/xstat.c: Likewise.
6578 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6580 * sysdeps/unix/sysv/sigaction.c: Remove file.
6582 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6583 (sysdep_headers): Remove variable.
6584 [termio.h not in sysdep_headers] (generated): Likewise.
6585 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6586 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6587 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6588 * sysdeps/unix/sysv/tcflow.c: Likewise.
6589 * sysdeps/unix/sysv/tcflush.c: Likewise.
6590 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6591 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6592 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6593 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6594 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6596 * sysdeps/unix/siglist.c: Remove file.
6598 * sysdeps/unix/getppid.S: Remove file.
6600 * sysdeps/unix/mkdir.c: Remove file.
6601 * sysdeps/unix/rmdir.c: Likewise.
6603 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6605 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6607 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6608 errlist-compat value.
6610 2012-04-18 David S. Miller <davem@davemloft.net>
6612 * sysdeps/generic/memcopy.h (reg_char): Delete.
6613 * debug/strcat_chk.c: Use char, not reg_char.
6614 * debug/strcpy_chk.c: Likewise.
6615 * debug/strncat_chk.c: Likewise.
6616 * debug/strncpy_chk.c: Likewise.
6617 * string/memchr.c: Likewise.
6618 * string/memrchr.c: Likewise.
6619 * string/rawmemchr.c: Likewise.
6620 * string/strcat.c: Likewise.
6621 * string/strchr.c: Likewise.
6622 * string/strchrnul.c: Likewise.
6623 * string/strcmp.c: Likewise.
6624 * string/strcpy.c: Likewise.
6625 * string/strncat.c: Likewise.
6626 * string/strncmp.c: Likewise.
6627 * string/strncpy.c: Likewise.
6629 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6631 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6632 __builtin_memcopy is called when src and dest ranges are known to not
6635 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6637 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6638 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6639 fwd_align_merge macro call.
6640 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6641 bwd_align_merge macro call.
6642 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6644 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6646 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6647 bwd_align_merge macros.
6648 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6649 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6652 2012-04-18 David S. Miller <davem@davemloft.net>
6654 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6656 2012-04-18 Andreas Jaeger <aj@suse.de>
6659 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6660 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6663 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6664 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6665 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6667 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6668 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6669 Adjust for changed ldbl-128 files.
6671 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6672 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6675 2012-04-17 David S. Miller <davem@davemloft.net>
6677 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6679 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6681 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6682 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6683 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6684 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6685 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6686 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6688 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6692 * math/libm-test.inc: Add ilogb errno and exception tests.
6693 * math/w_ilogb.c: New file: ilogb wrapper.
6694 * math/w_ilogbf.c: New file: ilogbf wrapper.
6695 * math/w_ilogbl.c: New file: ilogbl wrapper.
6696 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6697 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6698 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6699 exception being thrown with 0.0 as argument.
6700 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6701 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6702 exception being thrown with 0.0 as argument.
6703 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6704 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6705 exception being thrown with 0.0 as argument.
6706 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6707 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6708 exception being thrown with 0.0 as argument.
6709 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6710 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6712 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6714 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6715 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6716 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6717 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6719 2012-04-17 Petr Baudis <pasky@ucw.cz>
6721 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6724 2012-04-16 Marek Polacek <polacek@redhat.com>
6726 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6728 2012-04-16 Marek Polacek <polacek@redhat.com>
6730 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6731 operands of fdivp instruction.
6733 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6735 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6736 * elf/tst-auditmod3b.c: Likewise.
6737 * elf/tst-auditmod4b.c: Likewise.
6738 * elf/tst-auditmod5b.c: Likewise.
6739 * elf/tst-auditmod6b.c: Likewise.
6740 * elf/tst-auditmod6c.c: Likewise.
6741 * elf/tst-auditmod7b.c: Likewise.
6742 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6743 * sysdeps/x86_64/preconfigure.in: Likewise.
6744 * sysdeps/x86_64/preconfigure: Regenerated.
6746 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6748 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6751 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6754 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6756 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6759 * locale/iso-639.def: Fix gl language name. Spotted by
6762 2012-04-12 Roland McGrath <roland@hack.frob.com>
6765 * libio/libio.h (__io_write_fn): Update comment.
6767 2012-04-12 Petr Baudis <pasky@ucw.cz>
6770 * stdio.texi (Hook Functions): The user provided writer function
6771 is not allowed to return -1.
6773 2012-04-11 David S. Miller <davem@davemloft.net>
6775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6777 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6779 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6780 Add a leading slash to rtkaio.
6782 2012-04-11 Jim Meyering <meyering@redhat.com>
6785 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6786 It is not necessarily an error to ignore fwrite's return
6787 value. One can reliably use ferror to test for errors after
6790 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6792 * bits/types.h (__snseconds_t): New type.
6793 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6795 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6797 (__SNSECONDS_T_TYPE): Likewise.
6798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6799 (__SNSECONDS_T_TYPE): Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6801 (__SNSECONDS_T_TYPE): Likewise.
6803 2012-04-10 Andreas Jaeger <aj@suse.de>
6806 * manual/time.texi (Processor Time): Return type of times is
6807 elapsed real time since an arbitrary point in the past.
6808 (CPU Time): Move CLK_TCK from here...
6809 (Processor Time): ...to here. Correct description.
6810 * manual/conf.texi (Constants for Sysconf): Correct description of
6813 2012-04-10 David S. Miller <davem@davemloft.net>
6816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6817 where the is a gap between DT_REL(A) and DT_JMPREL.
6819 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6821 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6822 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6823 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6825 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6827 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6828 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6829 (dl_main): Handle --inhibit-cache.
6830 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6832 * elf/dl-load.c (_dl_map_object): Use it.
6833 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6835 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6838 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6839 (__ieee754_powl): Saturate large exponents rather than testing for
6840 overflow of y*log2(x).
6841 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6842 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6846 * math/s_ctan.c: Include <float.h>.
6847 (__ctan): Avoid internal overflow or cancellation in calculating
6849 * math/s_ctanf.c: Likewise.
6850 * math/s_ctanl.c: Likewise.
6851 * math/s_ctanh.c: Likewise.
6852 * math/s_ctanhf.c: Likewise.
6853 * math/s_ctanhl.c: Likewise.
6854 * math/libm-test.inc (ctan_test): Add more tests.
6855 (ctanh_test): Likewise.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6859 2012-04-09 Andreas Jaeger <aj@suse.de>
6862 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6863 is an optional BSD extension.
6866 * manual/stdio.texi (Opening Streams): Document additional fopen
6869 2012-04-09 Roland McGrath <roland@hack.frob.com>
6871 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6872 %eax without telling the compiler.
6874 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6877 * manual/install.texi: Use sourceware.org.
6879 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6882 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6883 (__ieee754_pow): Generate overflow and underflow using huge*huge
6884 and tiny*tiny rather than just returning constant infinity or zero
6885 for large exponents.
6886 * math/libm-test.inc (pow_test): Require overflow exceptions for
6887 applicable cases of large exponents.
6890 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6891 (__ieee754_pow): Use iterative multiplication algorithm only for
6892 integer exponents with absolute value below 1024. Check for odd
6893 integer exponents when using algorithm for real exponents.
6894 * math/libm-test.inc (pow_test): Add more tests.
6895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6897 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6900 * math/libm-test.inc (exp_test): Do not allow overflow exception
6903 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6906 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6907 instead of __kernel_standard_f.
6909 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6911 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6912 * sysdeps/x86_64/memset_chk.S: Likewise.
6914 2012-04-08 Andreas Jaeger <aj@suse.de>
6917 * manual/startup.texi (Environment Access): Describe return value
6918 for putenv and setenv.
6921 * manual/filesys.texi (Directory Entries): Add description for
6925 * manual/filesys.texi (Directory Entries): Clarify that it's file
6926 system not operating system in the description of DT_UNKNOWN.
6929 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6931 2012-04-08 Stephen Compall <s11@member.fsf.org>
6934 * manual/llio.texi (Opening and Closing Files): Add cross
6935 reference to explain mode argument.
6937 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6939 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6940 * sysdeps/x86_64/memset_chk.S: Likewise.
6942 2012-04-07 David S. Miller <davem@davemloft.net>
6944 * elf/elf.h (R_SPARC_WDISP10): Define.
6945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6948 R_SPARC_SIZE64 and R_SPARC_H34.
6950 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6952 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6953 conditions and remove no longer applicable assertion.
6955 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6957 * bits/byteswap.h: Include <features.h>.
6958 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6959 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6961 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6963 * bits/byteswap.h (__bswap_16): Removed.
6964 Include <bits/byteswap-16.h> to get __bswap_16.
6965 * sysdeps/i386/bits/byteswap.h: Likewise.
6966 * sysdeps/s390/bits/byteswap.h: Likewise.
6967 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6968 * bits/byteswap-16.h: New file.
6969 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6970 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6971 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6972 * string/Makefile (headers): Add bits/byteswap-16.h.
6974 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6977 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6979 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6980 * nss/tst-nss-static.c: New.
6982 2012-04-06 Robert Millan <rmh@gnu.org>
6985 * manual/llio.texi (File Position Primitive): lseek
6986 refers to WHENCE when it really means OFFSET.
6988 2012-04-06 Andreas Jaeger <aj@suse.de>
6990 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6991 strncmp declarations.
6993 * abilist/libc.abilist: Add __poll and __ppoll.
6995 2012-04-05 David S. Miller <davem@davemloft.net>
6997 * scripts/check-local-headers.sh: Accept a host triplet in the
6998 path matched by the exclude regexp.
7000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7002 * sysdeps/powerpc/powerpc32/dl-machine.h
7003 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7004 * sysdeps/s390/s390-32/dl-machine.h
7005 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7006 * sysdeps/sparc/sparc32/dl-machine.h
7007 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7008 * sysdeps/sparc/sparc64/dl-machine.h
7009 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7011 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7013 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7014 undefined symbol errors.
7016 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7019 2012-04-05 Michael Matz <matz@suse.de>
7022 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7024 2012-04-05 Andreas Jaeger <aj@suse.de>
7027 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7030 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7032 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7033 which ROUND is no valid rounding mode.
7035 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7037 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7039 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7041 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7043 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7044 an exception using FPU order intentionally.
7046 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7048 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7049 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7050 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7051 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7053 2012-04-05 Simon Josefsson <simon@josefsson.org>
7056 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7057 EINVAL when BUFLEN is too smal.
7059 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7062 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7063 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7065 2012-04-03 Andreas Jaeger <aj@suse.de>
7068 * manual/setjmp.texi (System V contexts): Fix sentence.
7071 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7072 New macro for this case.
7073 [!__GNUC__] (__bswap_64): New inline function for this case.
7074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7075 * bits/byteswap.h: Likewise.
7076 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7077 ull, guard with __GLIBC_HAVE_LONG_LONG.
7079 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7080 __GLIBC_HAVE_LONG_LONG.
7082 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7083 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7085 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7088 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7089 inptr and inend, rather than using last_ch.
7091 2012-04-02 David S. Miller <davem@davemloft.net>
7093 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7094 * stdio-common/printf-parse.h (read_int): Change return type to
7095 'int', return -1 on INT_MAX overflow.
7096 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7097 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7098 overflows INT_MAX. Check for overflow of in-format-string precision
7099 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7100 SIZE_MAX not INT_MAX for integer overflow test.
7101 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7102 skip the construct in the format string but do not record anything.
7103 * stdio-common/bug22.c: Adjust to test both width/prevision
7104 INT_MAX overflow as well as total length INT_MAX overflow. Check
7105 explicitly for proper errno values.
7107 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7109 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7111 * string/test-strcmp.c [! WIDE]: Likewise.
7112 * time/tst-mktime2.c: Likewise for INT_MAX.
7113 * string/test-string.h: #include <sys/param.h> for MIN.
7115 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7116 * sysdeps/i386/init-first.c (init): Likewise.
7117 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7118 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7119 * sysdeps/sh/init-first.c (init): Likewise.
7121 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7123 * po/ru.po: Update from translation team.
7124 * po/vi.po: Likewise.
7126 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7128 * resolv/nss_dns/dns-host.c: Merge copyright years.
7130 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7132 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7133 Optimize memcpy with prefetch if
7134 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7135 src, dst pointers have unequal 16 byte alignments.
7137 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7141 from a CNAME entry and return the minimum ttl for the query.
7142 (gaih_getanswer_slice): Likewise.
7144 2012-03-30 Jeff Law <law@redhat.com>
7146 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7148 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7149 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7151 * resolv/nss_dns/dns-host.c: Update copyright year.
7153 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7155 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7156 requests to save a system call. Fix check that all bytes are sent.
7158 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7159 comments for sendmmsg.
7161 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7164 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7165 with only 1 character between 0x0041 and 0x01b0.
7166 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7167 * wcsmbs/tst-mbsnrtowcs.c: New file.
7169 2012-03-29 David S. Miller <davem@davemloft.net>
7171 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7172 small copies by hand.
7174 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7177 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7178 _nss_compat_initgroups_dyn): Fall back to malloc/free
7179 for large group memberships.
7181 2012-03-28 David S. Miller <davem@davemloft.net>
7183 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7184 that branches into memcpy.
7185 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7186 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7187 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7188 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7191 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7193 * sysdeps/sparc/mempcpy.S: New file.
7195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7196 the IFUNC routine in the libc case.
7197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7199 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7200 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7201 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7202 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7203 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7204 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7205 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7206 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7208 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7209 loop to 256 bytes instead of 64 bytes and fix test signedness.
7211 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7212 * sysdeps/sparc/sparc32/Makefile: rather than here...
7213 * sysdeps/sparc/sparc64/Makefile: and here.
7215 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7217 * malloc/mallocbug.c: Avoid warnings about unused variables.
7219 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7222 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7223 in the right place. Discard and retry query if response is
7224 larger than input buffer size.
7226 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7231 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7232 x for large integer exponent.
7233 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7234 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7235 sign of result as needed afterwards.
7236 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7237 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7238 result for underflowing pow the same as for overflow.
7239 (__kernel_standard_l): Handle powl overflow and underflow here
7240 rather than calling __kernel_standard.
7241 * math/libm-test.inc (pow_test): Add more tests.
7256 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7257 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7258 (__kernel_standard_l): New function.
7259 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7261 * math/w_acosl.c (__acosl): Likewise.
7262 * math/w_asinl.c (__asinl): Likewise.
7263 * math/w_atan2l.c (__atan2l): Likewise.
7264 * math/w_atanhl.c (__atanhl): Likewise.
7265 * math/w_coshl.c (__coshl): Likewise.
7266 * math/w_exp10l.c (__exp10l): Likewise.
7267 * math/w_exp2l.c (__exp2l): Likewise.
7268 * math/w_fmodl.c (__fmodl): Likewise.
7269 * math/w_hypotl.c (__hypotl): Likewise.
7270 * math/w_j0l.c (__j0l, __y0l): Likewise.
7271 * math/w_j1l.c (__j1l, __y1l): Likewise.
7272 * math/w_jnl.c (__jnl, __ynl): Likewise.
7273 * math/w_lgammal.c (__lgammal): Likewise.
7274 * math/w_log10l.c (__log10l): Likewise.
7275 * math/w_log2l.c (__log2l): Likewise.
7276 * math/w_logl.c (__logl): Likewise.
7277 * math/w_powl.c (__powl): Likewise.
7278 * math/w_remainderl.c (__remainderl): Likewise.
7279 * math/w_scalbl.c (sysv_scalbl): Likewise.
7280 * math/w_sinhl.c (__sinhl): Likewise.
7281 * math/w_sqrtl.c (__sqrtl): Likewise.
7282 * math/w_tgammal.c (__tgammal): Likewise.
7283 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7284 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7285 * math/libm-test.inc (acos_test): Add more tests.
7286 (acosh_test): Likewise.
7287 (asin_test): Likewise.
7288 (atanh_test): Likewise.
7289 (exp_test): Likewise.
7290 (exp10_test): Likewise.
7291 (exp2_test): Likewise.
7292 (expm1_test): Likewise.
7293 (lgamma_test): Likewise.
7294 (log_test): Likewise.
7295 (log10_test): Likewise.
7296 (log1p_test): Likewise.
7297 (log2_test): Likewise.
7298 (pow_test): Do not allow some spurious overflow exceptions.
7299 (sqrt_test): Add more tests.
7300 (tgamma_test): Likewise.
7301 (y0_test): Likewise.
7302 (y1_test): Likewise.
7303 (yn_test): Likewise.
7305 2012-03-27 Anton Blanchard <anton@samba.org>
7307 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7313 2012-03-27 David S. Miller <davem@davemloft.net>
7315 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7317 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7320 2012-03-27 Andreas Jaeger <aj@suse.de>
7322 * sysdeps/x86_64/elf/configure.in: Moved to ...
7323 * sysdeps/x86_64/configure.in: ... here.
7324 * sysdeps/x86_64/elf/start.S: Moved to ...
7325 * sysdeps/x86_64/start.S: ... here.
7326 * sysdeps/x86_64/elf/configure: Delete.
7328 * sysdeps/x86_64/configure.in: Merge contents from
7329 sysdeps/i386/configure.in (without i686 check).
7331 * sysdeps/i386/elf/Versions: Merge into ...
7332 * sysdeps/i386/Versions: ... this.
7333 * sysdeps/i386/elf/Versions: Delete file.
7334 * sysdeps/i386/elf/start.S: Moved to ...
7335 * sysdeps/i386/start.S: ...here.
7336 * sysdeps/i386/elf/configure.in: Merge into...
7337 * sysdeps/i386/configure.in: ...here.
7338 * sysdeps/i386/elf/configure.in: Delete file.
7339 * sysdeps/i386/elf/configure: Delete file.
7341 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7342 * debug/backtracesyms.c: ... here.
7343 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7344 * debug/backtracesymsfd.c: ... here.
7345 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7346 * sysdeps/generic/ifunc-sel.h: ... here.
7348 * sysdeps/unix/i386/start.c: Delete file.
7349 * sysdeps/unix/sparc/start.c: Delete file.
7350 * sysdeps/unix/start.c: Delete file.
7352 * sysdeps/sh/elf/configure.in: Moved to ...
7353 * sysdeps/sh/configure.in: ... here.
7354 * sysdeps/sh/elf/start.S: Moved to ...
7355 * sysdeps/sh/start.S: ... here.
7356 * sysdeps/sh/elf/configure: Delete file.
7358 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7359 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7360 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7361 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7362 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7363 * sysdeps/powerpc/powerpc64/start.S: here.
7364 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7365 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7366 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7367 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7368 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7370 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7371 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7372 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7373 * sysdeps/powerpc/powerpc32/start.S: ... here.
7374 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7375 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7376 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7378 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7379 * sysdeps/powerpc/ifunc-sel.h: ... here.
7380 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7381 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7383 * sysdeps/sparc/elf/configure.in: Moved to ...
7384 * sysdeps/sparc/configure.in: ... here.
7385 * sysdeps/sparc/elf/configure: Delete file.
7386 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7387 * sysdeps/sparc/sparc32/start.S: ... here.
7388 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7389 * sysdeps/sparc/sparc64/start.S: ... here.
7390 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7391 * sysdeps/sparc/sparc32/Makefile: ... this.
7392 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7393 * sysdeps/sparc/sparc64/Makefile: ... this.
7395 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7396 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7397 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7398 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7399 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7400 * sysdeps/s390/s390-32/setjmp.S: ... here.
7401 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7402 * sysdeps/s390/s390-32/configure.in: ... here.
7403 * sysdeps/s390/s390-32/elf/configure: Delete file.
7404 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7405 * sysdeps/s390/s390-32/start.S: ... here.
7407 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7408 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7409 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7410 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7411 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7412 * sysdeps/s390/s390-64/setjmp.S: ... here.
7413 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7414 * sysdeps/s390/s390-64/configure.in: ... here
7415 * sysdeps/s390/s390-64/elf/configure: Delete file.
7416 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7417 * sysdeps/s390/s390-64/start.S: ... here.
7418 * sysdeps/s390/s390-64/elf/configure: Delete.
7420 * configure.in: Remove support for elf directories in sysdeps.
7422 * configure: Regenerated.
7423 * sysdeps/i386/configure: Regenerated.
7424 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7425 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7426 * sysdeps/s390/s390-32/configure: Regenerated.
7427 * sysdeps/s390/s390-64/configure: Regenerated.
7428 * sysdeps/sh/configure: Regenerated.
7429 * sysdeps/sparc/configure: Regenerated.
7430 * sysdeps/x86_64/configure: Regenerated.
7432 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7436 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7437 denormal result into account.
7439 2012-03-25 Roland McGrath <roland@hack.frob.com>
7441 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7442 Reported by Allan McRae <allan@archlinux.org>.
7444 2012-03-23 Jeff Law <law@redhat.com>
7446 * nss/getnssent.c (__nss_getent): Fix typo.
7448 2012-03-23 David S. Miller <davem@davemloft.net>
7450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7452 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7454 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7455 to pad to uint64_t for each field.
7456 (dl_tls_index): Replace unsigned long with uint64_t.
7458 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7459 Paul Pluzhnikov <ppluzhnikov@google.com>
7462 * grp/Makefile (otherlibs): Don't set it.
7463 * inet/Makefile (otherlibs): Likewise.
7464 * login/Makefile (otherlibs): Likewise.
7465 * nscd/Makefile (otherlibs): Likewise.
7466 * posix/Makefile (otherlibs): Likewise.
7467 * pwd/Makefile (otherlibs): Likewise.
7468 * rt/Makefile (otherlibs): Likewise.
7469 * sunrpc/Makefile (otherlibs): Likewise.
7470 * nss/Makefile (otherlibs): Likewise.
7471 Add libnss_files to routines and static-only-routines.
7472 ($(objpfx)getent): Remove rule.
7473 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7474 static-only-routines.
7476 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7479 * math/s_cexp.c: Include <float.h>.
7480 (__cexp): Handle exp result overflowing not necessarily
7481 overflowing both real and imaginary parts of result.
7482 * math/s_cexpf.c: Likewise.
7483 * math/s_cexpl.c: Likewise.
7484 * math/libm-test.inc (cexp_test): Add more tests.
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7488 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7490 * include/link.h (ELFW): New macro.
7491 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7492 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7494 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7496 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7499 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7501 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7503 (struct La_x32_retval): Likewise.
7505 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7507 * sysdeps/x86_64/preconfigure.in: New file.
7508 * sysdeps/x86_64/preconfigure: New generated file.
7510 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7513 * math/e_exp2l.c: Include <float.h>.
7514 (__ieee754_exp2l): Handle overflow and underflow cases
7515 separately. Only pass fractional part of argument to
7517 * math/libm-test.inc (exp2_test): Add more tests.
7519 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7520 negating x to take absolute value.
7521 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7523 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7524 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7526 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7527 computing low part if x was negated.
7528 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7530 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7532 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7534 (pltexit): Cast int_retval to ptrdiff_t.
7535 * elf/tst-auditmod3b.c: Likewise.
7536 * elf/tst-auditmod4b.c: Likewise.
7537 * elf/tst-auditmod5b.c: Likewise.
7538 * elf/tst-auditmod6b.c: Likewise.
7539 * elf/tst-auditmod6c.c: Likewise.
7540 * elf/tst-auditmod7b.c: Likewise.
7542 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7543 and x32_gnu_pltexit.
7545 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7547 (La_x32_regs): New macro.
7548 (La_x32_retval): Likewise.
7549 (la_x32_gnu_pltenter): New function prototype.
7550 (la_x32_gnu_pltexit): Likewise.
7552 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7554 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7559 * configure.in (libc_cv_cc_nofma): Check for option to disable
7560 generation of FMA instructions.
7561 * configure: Regenerate.
7562 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7563 * sysdeps/ieee754/dbl-64/Makefile: New file.
7564 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7565 Remove brandred-fma4.
7566 (CFLAGS-brandred-fma4.c): Remove.
7567 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7568 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7570 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7573 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7575 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7576 LLONG_MAX != LONG_MAX.
7577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7578 (_fitoa_word): Likewise.
7579 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7580 LLONG_MAX != LONG_MAX.
7581 * stdio-common/_itowa.h: Include <_itoa.h>.
7582 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7583 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7584 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7585 only if not defined.
7586 (_ITOA_WORD_TYPE): Likewise.
7587 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7588 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7590 2012-03-21 David S. Miller <davem@davemloft.net>
7592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7594 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7596 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7597 of x86_64 when setting libc_cv_slibdir, libdir and
7599 * sysdeps/unix/sysv/linux/configure: Regenerated.
7601 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7603 * manual/lang.texi (Old Varargs): Remove section.
7604 (How Variadic): Update menu.
7605 (va_start): Do not mention varargs.h.
7607 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7608 Joseph Myers <joseph@codesourcery.com>
7610 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7612 * configure: Regenerated.
7614 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7616 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7617 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7620 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7623 * Makefile (files-for-dist): Remove NOTES.
7624 (NOTES): Remove rule.
7625 * README: Don't refer to NOTES.
7626 * manual/creature.texi: Don't include macros.texi.
7627 * manual/intro.texi (creature.texi): Remove comment referring to
7630 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7631 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7632 * configure: Regenerated.
7633 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7635 (libc_cv_as_i686): Likewise.
7636 (libc_cv_cc_avx): Likewise.
7637 (libc_cv_cc_sse2avx): Likewise.
7638 (libc_cv_cc_fma4): Likewise.
7639 (libc_cv_cc_novzeroupper): Likewise.
7640 * sysdeps/i386/configure: Regenerated.
7643 * sysdeps/i386/fpu/s_cexp.S: Remove.
7644 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7645 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7646 * math/libm-test.inc (cexp_test): Add more tests.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650 2012-03-21 Allan McRae <allan@archlinux.org>
7652 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7654 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7657 * math/w_exp2.c: Do not include <float.h>.
7658 (o_threshold, u_threshold): Remove.
7659 (__exp2): Calculate result before checking finiteness and calling
7661 * math/w_exp2f.c: Likewise.
7662 * math/w_exp2l.c: Likewise.
7663 * math/libm-test.inc (exp2_test): Require overflow exception for
7667 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7668 range of signed 64-bit integers before using fistpll. Remove
7669 checks for whether integers fit in mantissa bits.
7670 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7671 the range of signed 32-bit integers before using fistpl. Remove
7672 checks for whether integers fit in mantissa bits.
7673 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7674 (__ieee754_powl): Test for y outside the range of signed 64-bit
7675 integers before using fistpll. Reduce 64-bit values to 63-bit
7677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7678 divide-by-zero is raised for zero to large negative powers.
7679 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7680 (__ieee754_powl): Test for y outside the range of signed 64-bit
7681 integers before using fistpll. Reduce 64-bit values to 63-bit
7683 * math/libm-test.inc (pow_test): Add more tests.
7685 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7687 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7688 <stdio-common/_itoa.h>.
7689 * debug/segfault.c: Likewise.
7690 * elf/dl-cache.c: Likewise.
7691 * elf/dl-minimal.c: Likewise.
7692 * elf/dl-misc.c: Likewise.
7693 * elf/dl-sysdep.c: Likewise.
7694 * elf/dl-version.c: Likewise.
7695 * elf/rtld.c: Likewise.
7696 * hurd/hurdsock.c: Likewise.
7697 * hurd/lookup-retry.c: Likewise.
7698 * malloc/malloc.c: Likewise.
7699 * malloc/mtrace.c: Likewise.
7700 * nscd/nscd_getgr_r.c: Likewise.
7701 * nscd/nscd_getpw_r.c: Likewise.
7702 * nscd/nscd_getserv_r.c: Likewise.
7703 * posix/getopt_init.c: Likewise.
7704 * posix/wordexp.c: Likewise.
7705 * stdio-common/_itoa.c: Likewise.
7706 * stdio-common/printf_fphex.c: Likewise.
7707 * stdio-common/vfprintf.c: Likewise.
7708 * string/_strerror.c: Likewise.
7709 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7710 * sysdeps/i386/i686/hp-timing.h: Likewise.
7711 * sysdeps/mach/_strerror.c: Likewise.
7712 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7713 * sysdeps/mach/hurd/sethostid.c: Likewise.
7714 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7715 * sysdeps/mach/xpg-strerror.c: Likewise.
7716 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7718 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7719 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7720 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7721 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7722 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7723 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7724 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7725 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7726 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7727 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7728 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7729 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7730 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7731 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7732 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7734 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7735 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7736 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7738 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7740 * stdio-common/_itoa.h: Moved to ...
7741 * sysdeps/generic/_itoa.h: Here.
7743 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7745 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7746 instead of "_itoa.h" and "_itowa.h".
7747 * stdio-common/vfprintf.: Likewise.
7749 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7751 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7753 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7754 (__signbit): Likwise.
7758 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7760 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7763 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7765 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7766 OVERFLOW_EXCEPTION_OK.
7767 * math/libm-test.inc ("Philosophy"): Update comment about
7769 (OVERFLOW_EXCEPTION): Define.
7770 (OVERFLOW_EXCEPTION_OK): Likewise.
7771 (INVALID_EXCEPTION_OK): Renumber.
7772 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7773 (IGNORE_ZERO_INF_SIGN): Likewise.
7774 (test_exceptions): Handle FE_OVERFLOW.
7775 (exp10_test): Expect overflow exceptions.
7776 (exp2_test): Likewise.
7777 (expm1_test): Likewise.
7778 (nextafter_test): Likewise.
7779 (pow_test): Likewise.
7780 (scalbn_test): Likewise.
7781 (scalbln_test): Likewise.
7783 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7785 * sysdeps/x86_64/bits/atomic.h
7786 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7788 (atomic_exchange_acq): Likewise.
7789 (__arch_exchange_and_add_body): Likewise.
7790 (__arch_add_body): Likewise.
7791 (atomic_add_negative): Likewise.
7792 (atomic_add_zero): Likewise.
7794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7796 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7797 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7801 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7802 Check __x86_64__ instead of __WORDSIZE.
7804 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7806 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7808 2012-03-19 David S. Miller <davem@davemloft.net>
7810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7812 * sysdeps/sparc/fpu/fenv_private.h: New file.
7813 * sysdeps/sparc/fpu/math_private.h: Use it.
7814 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7816 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7817 (libc_feholdexcept_setroundl): Remove.
7818 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7820 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7821 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7823 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7825 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7826 int64_t instead of long int.
7827 (INSERT_WORDS64): Likwise.
7829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7831 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7832 _Unwind_GetCFA return to _Unwind_Ptr first.
7834 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7837 * math/s_clog.c: Include <float.h>.
7838 (__clog): Scale large or subnormal inputs.
7839 * math/s_clogf.c: Likewise.
7840 * math/s_clogl.c: Likewise.
7841 * math/s_clog10.c: Include <float.h>.
7842 (M_LOG10_2): Define.
7843 (__clog10): Scale large or subnormal inputs.
7844 * math/s_clog10f.c: Likewise.
7845 * math/s_clog10l.c: Likewise.
7846 * math/libm-test.inc (clog_test): Add more tests.
7847 (clog10_test): Likewise.
7848 * sysdeps/i386/fpu/libm-test-ulps: Update.
7849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7854 * math/libm-test.inc (atan2_test): Add another test.
7856 * Makerules (common-objdir-compile): Remove.
7857 * sysdeps/unix/Makefile (config-generated): Do not add
7858 $(unix-generated) to variable.
7859 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7860 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7862 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7864 [generic bits/local_lim.h] (before-compile): Do not append to
7866 [generic bits/local_lim.h] (common-generated): Likewise.
7867 [generic sys/param.h] (before-compile): Do not append to variable.
7868 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7869 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7870 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7871 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7873 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7874 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7875 [generic sys/param.h] ($(addprefix
7876 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7877 [generic sys/param.h] (common-generated): Do not append to
7879 [generic sys/param.h] (sysdep_headers): Likewise.
7880 [generic bits/errno.h] (before-compile): Do not append to
7882 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7884 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7885 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7886 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7887 [generic bits/errno.h] (common-generated): Do not append to
7889 [generic bits/ioctls.h] (before-compile): Do not append to
7891 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7893 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7894 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7895 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7897 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7898 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7899 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7900 [generic bits/ioctls.h] (common-generated): Do not append to
7902 [generic sys/syscall.h] (syscall.h): Remove variable.
7903 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7905 [generic sys/syscall.h] (before-compile): Do not append to
7907 [generic sys/syscall.h] (common-generated): Likewise.
7908 * sysdeps/unix/errnos-tmpl.c: Remove file.
7909 * sysdeps/unix/errnos.awk: Likewise.
7910 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7911 * sysdeps/unix/ioctls.awk: Likewise.
7912 * sysdeps/unix/mk-local_lim.c: Likewise.
7913 * sysdeps/unix/snarf-ioctls: Likewise.
7915 2012-03-19 Richard Henderson <rth@twiddle.net>
7917 * sysdeps/i386/fpu/fenv_private.h: New file.
7918 * sysdeps/i386/fpu/math_private.h: Use it.
7919 (math_opt_barrier, math_force_eval): Remove.
7920 (libc_feholdexcept_setround_53bit): Remove.
7921 (libc_feupdateenv_53bit): Remove.
7922 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7923 (math_opt_barrier, math_force_eval): Remove.
7924 (libc_feholdexcept): Remove.
7925 (libc_feholdexcept_setround): Remove.
7926 (libc_fetestexcept, libc_fesetenv): Remove.
7927 (libc_feupdateenv_test): Remove.
7928 (libc_feupdateenv, libc_feholdsetround): Remove.
7929 (libc_feresetround): Remove.
7931 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7932 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7934 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7935 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7936 (libc_feupdateenv_testl): New.
7937 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7938 (libc_feupdateenv_testf): New.
7939 (libc_feupdateenv): Use libc_feupdateenv_test.
7940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7943 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7944 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7945 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7946 (libc_feresetround_noex): New.
7947 (libc_feresetround_noexf): New.
7948 (libc_feresetround_noexl): New.
7949 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7950 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7951 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7952 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7957 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7959 SET_RESTORE_ROUND_NOEX.
7960 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7961 SET_RESTORE_ROUND_NOEXF.
7962 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7963 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7964 (libc_feholdsetroundf): New.
7965 (libc_feresetround, libc_feresetroundf): New.
7967 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7968 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7969 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7971 * sysdeps/generic/math_private.h: Include <fenv.h>.
7972 (default_libc_feholdexcept): New.
7973 (default_libc_feholdexcept_setround): New.
7974 (default_libc_fesetenv, default_libc_feupdateenv): New.
7975 (libc_feholdexcept): Only define if undefined.
7976 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7977 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7978 (libc_feholdexcept_setroundl): Likewise.
7979 (libc_feholdexcept_setround_53bit): Likewise.
7980 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7981 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7982 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7983 (libc_feupdateenv_53bit): Likewise.
7984 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7985 (libc_feholdexcept): Convert from macro to inline function.
7986 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7987 (libc_fesetenv, libc_feupdateenv): Likewise.
7989 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7990 not previously defined.
7991 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7992 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7993 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7994 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7995 * sysdeps/ieee754/flt-32/math_private.h: New file.
7996 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7997 math_private.h below SET_FLOAT_WORD.
7998 (__isnan, __isinf_ns, __finite): Remove.
7999 (__isnanf, __isinf_nsf, __finitef): Remove.
8001 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8005 2012-03-17 David S. Miller <davem@davemloft.net>
8008 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8011 2012-03-16 David S. Miller <davem@davemloft.net>
8013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8017 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8019 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8020 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8021 sysdep_routines when subdir is sysvipc.
8022 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8025 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8029 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8032 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8034 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8035 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8036 (__lround): Renamed to ...
8037 (__llround): This. Replace long int with long long int.
8038 Define lround functions as aliases of llround functions.
8039 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8041 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8043 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8044 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8045 adresses to uintptr_t. Replace "long int" and "unsigned long
8046 int" with "greg_t" on va_arg.
8048 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8051 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8053 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8054 Move e_machine check before EI_CLASS check. Handle x32
8055 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8056 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8057 SKIP_EM_IA_64 and include
8058 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8060 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8061 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8062 (add_system_dir): New macro.
8064 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8065 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8067 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8078 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8080 * math/w_j0f.c (j0f): Likewise.
8082 * math/w_j0l.c (__j0l): Likewise.
8084 * math/w_j1.c (j1): Likewise.
8086 * math/w_j1f.c (j1f): Likewise.
8088 * math/w_j1l.c (__j1l): Likewise.
8090 * math/w_jn.c (jn): Likewise.
8092 * math/w_jnf.c (jnf): Likewise.
8094 * math/w_jnl.c (__jnl): Likewise.
8096 * math/libm-test.inc (j0_test): Add more tests.
8097 (j1_test): Likewise.
8098 (jn_test): Likewise. Add trailing semicolon to existing test.
8099 (y0_test): Likewise.
8100 (y1_test): Likewise.
8101 * sysdeps/i386/fpu/libm-test-ulps: Update.
8102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8106 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8107 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8108 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8109 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8110 (__tanl): Set errno for infinite argument.
8111 * sysdeps/i386/fpu/mptan.c: Remove.
8112 * sysdeps/i386/fpu/s_tan.S: Likewise.
8113 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8114 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8115 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8116 * math/libm-test.inc (tan_test): Add more tests and enable more
8117 tests for double and long double.
8118 * sysdeps/i386/fpu/libm-test-ulps: Update.
8119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8121 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8123 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8124 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8126 2012-03-16 Roland McGrath <roland@hack.frob.com>
8128 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8129 * configure.in: Use it for both main tree and add-ons.
8130 * configure: Regenerated.
8132 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8134 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8136 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8138 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8142 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8143 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8148 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8151 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8152 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8153 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8154 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8155 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8156 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8157 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8158 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8159 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8160 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8161 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8162 * math/libm-test.inc (cos_test): Add more tests and enable more
8163 tests for long double.
8164 (sin_test): Likewise.
8165 (sincos_test): Likewise.
8166 * sysdeps/i386/fpu/libm-test-ulps: Update.
8167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8169 2012-03-16 David S. Miller <davem@davemloft.net>
8171 * sysdeps/sparc/fpu/math_private.h: New file.
8173 2012-03-15 David S. Miller <davem@davemloft.net>
8175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8189 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8190 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8192 * sysdeps/sparc/sparc-ifunc.h: New file.
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8238 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8240 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8244 2012-03-15 Andreas Jaeger <aj@suse.de>
8247 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8248 ieee754/flt-32 implementation for sin, cos and sincos.
8249 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8250 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8251 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8252 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8253 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8254 ieee754/flt-32 implementation for tan.
8256 * math/libm-test.inc (cos_test): Enable some large input tests for
8258 (sin_test): Likewise.
8259 (sincos_test): Likewise.
8260 (tan_test): Add tests for large input.
8262 * sysdeps/i386/fpu/libm-test-ulps: Update.
8264 2012-03-15 Andreas Jaeger <aj@suse.de>
8267 * math/libm-test.inc (cos_test): Add more test cases.
8268 (sin_test): Likewise.
8269 (sincos_test): Likewise.
8271 2012-03-15 Andreas Jaeger <aj@suse.de>
8274 * math/libm-test.inc (cos_test): Add a test case for large input
8276 (sin_test): Likewise.
8277 (sincos_test): Likewise.
8279 2012-03-15 Andreas Jaeger <aj@suse.de>,
8280 Joseph Myers <joseph@codesourcery.com>
8283 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8284 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8285 * sysdeps/i386/fpu/branred.c: Likewise.
8286 * sysdeps/i386/fpu/dosincos.c: Likewise.
8287 * sysdeps/i386/fpu/mpa.c: Likewise.
8288 * sysdeps/i386/fpu/s_cos.S: Likewise.
8289 * sysdeps/i386/fpu/s_sin.S: Likewise.
8290 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8291 * sysdeps/i386/fpu/sincos32.c: Likewise.
8293 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8295 (libc_feupdateenv_53bit): Define.
8296 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8298 (libc_feupdateenv_53bit): Define.
8300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8301 53 bit (without extend i386 double precision).
8303 * math/libm-test.inc (sincos_test): Add tests for large input.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8309 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8313 2012-03-15 David S. Miller <davem@davemloft.net>
8315 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8316 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8317 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8318 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8343 fmin/fmax sysdep routines.
8344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8346 2012-03-14 David S. Miller <davem@davemloft.net>
8348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8369 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8420 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8425 * sysdeps/sparc/configure.in: New file.
8426 * sysdeps/sparc/configure: Generate.
8427 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8428 * configure: Regenerate.
8429 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8430 * config.make.in (have-as-vis3): New.
8431 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8432 available use -Av9d instead of -Av9a.
8433 * sysdeps/sparc/sparc64/Makefile: Likewise.
8434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8444 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8449 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8450 fzeros/fnegs to load 0x80000000 into a float register instead of
8452 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8454 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8458 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8459 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8460 ($(inst_includedir)/bits/syscall.h): Remove rule.
8461 ($(objpfx)bits/syscall.d): Include instead of
8462 $(objpfx)syscall-list.d.
8463 (generated): Change syscall-list.h and syscall-list.d to
8464 bits/syscall.h and bits/syscall.d.
8466 2012-03-14 Roland McGrath <roland@hack.frob.com>
8469 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8471 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8474 * math/s_csqrt.c: Include <float.h>.
8475 (__csqrt): Scale large or subnormal inputs.
8476 * math/s_csqrtf.c: Likewise.
8477 * math/s_csqrtl.c: Likewise.
8478 * math/libm-test.inc (csqrt_test): Add more tests.
8479 * sysdeps/i386/fpu/libm-test-ulps: Update.
8480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8483 * math/libm-test.inc (hypot_test): Add more tests.
8485 2012-03-13 David S. Miller <davem@davemloft.net>
8488 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8489 double-precision for the calculation instead of scaling.
8491 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8493 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8494 manipulate bits before adding and subtracting TWO52[sx].
8495 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8496 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8498 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8500 2012-03-13 David S. Miller <davem@davemloft.net>
8502 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8503 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8505 rtld-global-offsets.h
8506 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8508 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8513 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8514 'err' in the ifdef scope in which it is actually used.
8516 * nss/nss_db/db-init.c: Include string.h
8518 2012-03-12 David S. Miller <davem@davemloft.net>
8520 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8521 masking out of the most significant byte of random value used.
8522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8523 Fix coding style in previous change.
8525 * sysdeps/unix/sysv/linux/kernel-features.h
8526 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8527 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8529 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8532 2012-03-11 David S. Miller <davem@davemloft.net>
8534 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8535 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8536 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8537 for 'resultvar' otherwise things get truncated on 64-bit.
8539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8540 Fix masking out of the most significant byte of random value used.
8542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8544 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8548 2012-03-09 David S. Miller <davem@davemloft.net>
8550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8551 variables with appropriate CPP guards.
8552 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8553 frame pointer, not the stack pointer. Correct layout comments. Fix test
8554 on resulting framesize and the management of the outregs buffer for pltexit.
8555 Preserve floating point return values across _dl_call_pltexit call.
8556 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8557 framesize and the management of the outregs buffer for pltexit.
8558 Preserve floating point return values across _dl_call_pltexit
8560 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8561 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8562 (print_exit): Fix format string for return register value.
8564 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8566 * sunrpc/Makefile (others): Add rpcgen.
8567 ($(objpfx)rpcgen): Remove special build rule and dependency on
8569 * sunrpc/rpcgen.c: New file.
8571 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8574 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8575 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8576 * sysdeps/i386/crti.S: Likewise.
8577 * sysdeps/i386/crtn.S: Likewise.
8578 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8579 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8580 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8581 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8582 * sysdeps/sh/crti.S: Likewise.
8583 * sysdeps/sh/crtn.S: Likewise.
8584 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8587 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8589 * locale/programs/locfile-kw.gperf: Likewise.
8590 * locale/programs/charmap-kw.h: Regenerated.
8591 * locale/programs/locfile-kw.h: Likewise.
8594 * intl/plural.y: Replace FSF snail mail address with URL.
8595 * intl/plural.c: Regenerated.
8597 2012-03-09 Richard Henderson <rth@twiddle.net>
8599 * include/math_private.h: Remove file.
8600 * math/math_private.h: Move file ...
8601 * sysdeps/generic/math_private.h: ... here.
8603 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8604 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8605 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8607 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8608 and <math_private.h>.
8609 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8610 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8611 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8612 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8613 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8697 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8699 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8702 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8706 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8707 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8710 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8711 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8712 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8714 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8720 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8721 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8722 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8723 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8724 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8728 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8729 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8730 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8732 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8733 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8734 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8735 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8736 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8738 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8739 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8740 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8741 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8742 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8743 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8744 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8746 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8748 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8749 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8750 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8751 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8752 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8753 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8754 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8755 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8756 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8757 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8758 * sysdeps/ieee754/k_standard.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8878 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8907 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8908 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8915 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8919 * sysdeps/ieee754/s_lib_version.c: Likewise.
8920 * sysdeps/ieee754/s_matherr.c: Likewise.
8921 * sysdeps/ieee754/s_signgam.c: Likewise.
8922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8924 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8925 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8926 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8927 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8928 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8929 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8930 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8931 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8932 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8933 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8934 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8935 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8936 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8937 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8939 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8940 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8942 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8944 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8946 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8947 * sunrpc/rpc_main.c: Likewise.
8948 * sunrpc/rpc_svcout.c: Likewise.
8950 2012-03-09 David S. Miller <davem@davemloft.net>
8952 * include/math_private.h: New file.
8954 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8956 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8957 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8958 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8959 from <bits/socket_type.h>.
8960 (enum __socket_type): Don't define here.
8961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8966 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8969 * Makerules ($(inst_includedir)/%.h): New rule.
8970 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8971 (install-others): Remove variable setting.
8972 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8974 2012-03-08 Richard Henderson <rth@twiddle.net>
8976 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8977 from macro to inline function; merge with the
8978 !__LIBC_INTERNAL_MATH_INLINES version.
8979 (__ieee754_sqrtf): Likewise.
8981 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8983 (__rintf, __floor, __floorf): Likewise.
8985 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8986 macro to inline function.
8987 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8990 not <math/math_private.h>.
8992 2012-03-08 David S. Miller <davem@davemloft.net>
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8996 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8998 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9000 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9002 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9003 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9005 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9007 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9008 be defined individually, they must be defined as a block. Define
9009 S for printing a string instead of hidint the different by using a
9010 macro for adding the 'l'.
9011 * stdio-common/tst-fphex-wide.c: Adjust.
9013 2012-03-07 Marek Polacek <polacek@redhat.com>
9015 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9017 2012-03-08 Marek Polacek <polacek@redhat.com>
9020 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9021 * stdio-common/tst-fphex.c: Define a few macros to make the
9022 test reusable. Use them.
9023 * stdio-common/tst-fphex-wide.c: New file.
9025 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9028 * manual/macros.texi (gnusystems): New macro.
9029 (nongnusystems): Likewise.
9030 (gnulinuxhurdsystems): Likewise.
9031 (gnuhurdsystems): Likewise..
9032 (gnulinuxsystems): Likewise.
9033 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9034 variants of the GNU system, not "GNU system".
9035 * manual/conf.texi: Likewise.
9036 * manual/errno.texi: Likewise. Update example of errno macro
9038 * manual/filesys.texi: Likewise.
9039 (getumask): Document as specific to GNU/Hurd.
9040 * manual/install.texi: Likewise. Reword some references to
9042 * manual/intro.texi: Likewise.
9043 * manual/io.texi: Likewise.
9044 (File Name Portability): Detail which constraints are inapplicable
9045 to all GNU systems and which are only inapplicable to GNU/Hurd.
9046 * manual/job.texi: Likewise.
9047 * manual/llio.texi: Likewise.
9048 (O_NOCTTY): Document as present on GNU/Linux.
9049 * manual/maint.texi: Likewise.
9050 * manual/memory.texi: Likewise.
9051 * manual/pattern.texi: Likewise.
9052 * manual/pipe.texi: Likewise.
9053 * manual/process.texi: Likewise.
9054 * manual/resource.texi: Likewise.
9055 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9057 * manual/setjmp.texi: Likewise.
9058 * manual/signal.texi: Likewise.
9059 * manual/startup.texi: Likewise.
9060 * manual/stdio.texi: Likewise.
9061 * manual/terminal.texi: Likewise.
9062 (ONLCR): Document as POSIX.
9063 (OXTABS): Document availability on GNU/Linux as XTABS.
9064 (ONOEOT): Document availability separately from other bits.
9065 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9066 * manual/time.texi: Likewise.
9067 * manual/users.texi: Likewise.
9068 * INSTALL: Regenerated.
9069 * sysdeps/gnu/errlist.c: Regenerated.
9071 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9072 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9073 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9075 * configure: Regenerated.
9077 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9079 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9080 default includes instead of AC_HEADER_CHECK.
9081 * sysdeps/i386/configure: Regenerated.
9084 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9085 * math/s_cacoshf.c (__cacoshf): Likewise.
9086 * math/s_cacoshl.c (__cacoshl): Likewise.
9087 * math/s_casinh.c (__casinh): Set signs of result from argument.
9088 * math/s_casinhf.c (__casinhf): Likewise.
9089 * math/s_casinhl.c (__casinhl): Likewise.
9090 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9091 (casinh_test): Add more tests.
9092 * sysdeps/i386/fpu/libm-test-ulps: Update.
9093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9095 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9097 * po/zh_TW.po: Update from translation team.
9099 * login/Makefile (distribute): Remove variable.
9100 * catgets/Makefile: Likewise.
9101 * mach/Makefile: Likewise.
9102 * malloc/Makefile: Likewise.
9103 * misc/Makefile: Likewise.
9104 * iconv/Makefile: Likewise.
9105 * nscd/Makefile: Likewise.
9106 * hurd/Makefile: Likewise.
9107 * manual/Makefile: Likewise.
9108 * locale/Makefile: Likewise.
9109 * intl/Makefile: Likewise.
9110 * conform/Makefile: Likewise.
9111 * nss/Makefile: Likewise.
9112 * time/Makefile: Likewise.
9113 * soft-fp/Makefile: Likewise.
9114 * dirent/Makefile: Likewise.
9115 * gmon/Makefile: Likewise.
9116 * po/Makefile: Likewise.
9117 * rt/Makefile: Likewise.
9118 * socket/Makefile: Likewise.
9119 * math/Makefile: Likewise.
9120 * signal/Makefile: Likewise.
9121 * debug/Makefile: Likewise.
9122 * elf/Makefile: Likewise.
9123 * timezone/Makefile: Likewise.
9124 * stdlib/Makefile: Likewise.
9125 * iconvdata/Makefile: Likewise.
9126 * sunrpc/Makefile: Likewise.
9127 * io/Makefile: Likewise.
9128 * argp/Makefile: Likewise.
9129 * inet/Makefile: Likewise.
9130 * hesiod/Makefile: Likewise.
9131 * grp/Makefile: Likewise.
9132 * csu/Makefile: Likewise.
9133 * wctype/Makefile: Likewise.
9134 * crypt/Makefile: Likewise.
9135 * libio/Makefile: Likewise.
9136 * string/Makefile: Likewise.
9137 * nis/Makefile: Likewise.
9138 * resolv/Makefile: Likewise.
9139 * stdio-common/Makefile: Likewise.
9140 * wcsmbs/Makefile: Likewise.
9141 * dlfcn/Makefile: Likewise.
9142 * posix/Makefile: Likewise.
9145 * timezone/Makefile: Don't install timezone files, just the programs
9148 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9150 * nss/databases.def: Add missing gshadow entry.
9152 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9154 2012-03-06 Marek Polacek <polacek@redhat.com>
9157 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9158 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9159 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9160 * stdio-common/tst-long-dbl-fphex.c: New file.
9162 2012-03-06 David S. Miller <davem@davemloft.net>
9164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9165 (set_obp_int): New function.
9166 (get_obp_int): New function.
9167 (__get_clockfreq_via_dev_openprom): Likewise.
9168 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9169 Avoid unused variable warnings on 'val' and use builtin_expect.
9170 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9172 (INLINE_CLONE_SYSCALL): Likewise.
9174 2012-03-05 David S. Miller <davem@davemloft.net>
9176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9178 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9186 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9189 Replace gettimeofday with __vdso_gettimeofday.
9191 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9192 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9193 __vdso_clock_gettime and __vdso_getcpu.
9195 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9196 time with __vdso_time.
9198 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9200 * manual/lang.texi (size_t): Note types to which size_t may be
9201 equivalent with the GNU C Library, but do not describe when
9202 differences between them are significant.
9204 2012-03-05 Andreas Jaeger <aj@suse.de>
9206 * sysdeps/i386/fpu/libm-test-ulps: Update.
9208 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9211 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9212 (__ieee754_pow): Save and restore rounding mode and use
9213 round-to-nearest for main computations.
9214 * math/libm-test.inc (pow_test_tonearest): New function.
9215 (pow_test_towardzero): Likewise.
9216 (pow_test_downward): Likewise.
9217 (pow_test_upward): Likewise.
9218 (main): Call the new functions.
9219 * sysdeps/i386/fpu/libm-test-ulps: Update.
9220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223 * math/libm-test.inc (cosh_test_tonearest): New function.
9224 (cosh_test_towardzero): Likewise.
9225 (cosh_test_downward): Likewise.
9226 (cosh_test_upward): Likewise.
9227 (sinh_test_tonearest): Likewise.
9228 (sinh_test_towardzero): Likewise.
9229 (sinh_test_downward): Likewise.
9230 (sinh_test_upward): Likewise.
9231 (main): Call the new functions.
9232 * sysdeps/i386/fpu/libm-test-ulps: Update.
9233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9235 2012-03-05 Tom de Vries <tom@codesourcery.com>
9237 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9238 default stack guard is set in last bytes.
9239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9241 2012-03-05 Kees Cook <keescook@chromium.org>
9243 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9246 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9247 possibly allocate from heap instead of stack.
9248 * stdio-common/bug-vfprintf-nargs.c: New file.
9249 * stdio-common/Makefile (tests): Add nargs overflow test.
9251 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9255 2012-03-03 Marek Polacek <polacek@redhat.com>
9257 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9258 * math/math_private.h: Likewise.
9259 * stdlib/tst-strtod.c: Likewise.
9260 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9261 * sysdeps/x86_64/bits/atomic.h: Likewise.
9263 2012-03-02 David S. Miller <davem@davemloft.net>
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9269 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9270 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9271 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9272 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9274 2012-03-02 Roland McGrath <roland@hack.frob.com>
9277 * manual/examples/README: New file, says the example source files
9278 can be used under GPL>=2.
9279 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9280 line containing just "*/".
9281 * manual/examples/add.c: Add copyright header (GPL>=2).
9282 * manual/examples/argp-ex1.c: Likewise.
9283 * manual/examples/argp-ex2.c: Likewise.
9284 * manual/examples/argp-ex3.c: Likewise.
9285 * manual/examples/argp-ex4.c: Likewise.
9286 * manual/examples/atexit.c: Likewise.
9287 * manual/examples/db.c: Likewise.
9288 * manual/examples/dir.c: Likewise.
9289 * manual/examples/dir2.c: Likewise.
9290 * manual/examples/execinfo.c: Likewise.
9291 * manual/examples/filecli.c: Likewise.
9292 * manual/examples/filesrv.c: Likewise.
9293 * manual/examples/fmtmsgexpl.c: Likewise.
9294 * manual/examples/genpass.c: Likewise.
9295 * manual/examples/inetcli.c: Likewise.
9296 * manual/examples/inetsrv.c: Likewise.
9297 * manual/examples/isockad.c: Likewise.
9298 * manual/examples/longopt.c: Likewise.
9299 * manual/examples/memopen.c: Likewise.
9300 * manual/examples/memstrm.c: Likewise.
9301 * manual/examples/mkfsock.c: Likewise.
9302 * manual/examples/mkisock.c: Likewise.
9303 * manual/examples/mygetpass.c: Likewise.
9304 * manual/examples/pipe.c: Likewise.
9305 * manual/examples/popen.c: Likewise.
9306 * manual/examples/rprintf.c: Likewise.
9307 * manual/examples/search.c: Likewise.
9308 * manual/examples/select.c: Likewise.
9309 * manual/examples/setjmp.c: Likewise.
9310 * manual/examples/sigh1.c: Likewise.
9311 * manual/examples/sigusr.c: Likewise.
9312 * manual/examples/stpcpy.c: Likewise.
9313 * manual/examples/strdupa.c: Likewise.
9314 * manual/examples/strftim.c: Likewise.
9315 * manual/examples/strncat.c: Likewise.
9316 * manual/examples/subopt.c: Likewise.
9317 * manual/examples/swapcontext.c: Likewise.
9318 * manual/examples/termios.c: Likewise.
9319 * manual/examples/testopt.c: Likewise.
9320 * manual/examples/testpass.c: Likewise.
9321 * manual/examples/timeval_subtract.c: Likewise.
9324 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9326 * manual/timeval_subtract.c.texi: ... here, new file.
9328 2012-03-02 David S. Miller <davem@davemloft.net>
9330 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9332 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9335 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9336 (__sin): Save and restore rounding mode and use round-to-nearest
9337 for all computations.
9338 (__cos): Save and restore rounding mode and use round-to-nearest
9339 for all computations.
9340 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9342 (tan): Save and restore rounding mode and use round-to-nearest for
9344 * math/libm-test.inc (cos_test_tonearest): New function.
9345 (cos_test_towardzero): Likewise.
9346 (cos_test_downward): Likewise.
9347 (cos_test_upward): Likewise.
9348 (sin_test_tonearest): Likewise.
9349 (sin_test_towardzero): Likewise.
9350 (sin_test_downward): Likewise.
9351 (sin_test_upward): Likewise.
9352 (tan_test_tonearest): Likewise.
9353 (tan_test_towardzero): Likewise.
9354 (tan_test_downward): Likewise.
9355 (tan_test_upward): Likewise.
9356 (main): Call the new functions.
9357 * sysdeps/i386/fpu/libm-test-ulps: Update.
9358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9362 small n, then large n, before computing and testing k+n.
9363 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9368 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9369 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9370 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9371 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9372 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9374 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9375 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9376 * math/libm-test.inc (scalbn_test): Add more tests.
9377 (scalbln_test): Likewise.
9379 * manual/filesys.texi (mode_t): Describe constraints on size and
9380 signedness, not exact equivalence to a particular type.
9382 (ino64_t): Likewise.
9384 (nlink_t): Likewise.
9385 (blkcnt_t): Likewise.
9386 (blkcnt64_t): Likewise.
9387 * manual/llio.texi (off_t): Likewise.
9390 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9391 (__ieee754_exp): Save and restore rounding mode and use
9392 round-to-nearest for all computations.
9393 * math/libm-test.inc (exp_test_tonearest): New function.
9394 (exp_test_towardzero): Likewise.
9395 (exp_test_downward): Likewise.
9396 (exp_test_upward): Likewise.
9397 (main): Call the new functions.
9398 * sysdeps/i386/fpu/libm-test-ulps: Update.
9399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9401 2012-03-01 Chris Demetriou <cgd@google.com>
9403 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9404 have predictable order.
9406 2012-03-01 David S. Miller <davem@davemloft.net>
9408 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9410 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9411 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9412 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9413 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9415 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9416 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9417 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9419 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9420 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9421 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9422 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9423 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9427 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9428 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9429 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9431 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9432 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9433 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9434 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9435 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9436 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9438 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9439 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9440 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9441 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9447 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9448 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9449 * sysdeps/sparc/elf/configure: Regenerated.
9451 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9453 * configure.in (AS, LD): Require binutils 2.20 or later.
9454 * configure: Regenerated.
9455 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9456 as required minimum version.
9457 * INSTALL: Regenerated.
9461 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9462 before squaring exponent.
9463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9464 bottom long double and 27 bits of top long double before squaring
9466 * math/libm-test.inc (erfc_test): Add more tests.
9467 * sysdeps/i386/fpu/libm-test-ulps: Update.
9468 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9471 2012-03-01 Kai Tietz <ktietz@redhat.com>
9473 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9474 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9475 containing bit-fields.
9476 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9477 * soft-fp/single.h (_FP_UNION_S): Likewise.
9478 * soft-fp/double.h (_FP_UNION_D): Likewise.
9480 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9483 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9484 not include ../strcmp.S.
9485 [USE_AS_STRNCASECMP_L]: Likewise.
9486 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9487 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9488 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9489 (__strncasecmp_l_ia32): Define as alias to
9490 __strncasecmp_l_nonascii.
9493 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9494 * sysdeps/i386/fpu/libm-test-ulps: Update.
9495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9497 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500 2012-02-29 Jeff Law <law@redhat.com>
9502 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9505 2012-02-29 Marek Polacek <polacek@redhat.com>
9508 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9509 * elf/Makefile: Add rules to run tst-unused-dep.out.
9511 2012-02-28 David S. Miller <davem@davemloft.net>
9513 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9514 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9517 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9518 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9520 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9522 * math/libm-test.inc (llround_test): Move one test from
9523 lround_test. Use TEST_f_L in moved test.
9524 (lround_test): Move misplaced test to llround_test. Add testcase
9527 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9529 * sysdeps/x86_64/fpu/e_expf.S: New file.
9530 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9532 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9535 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9536 of remain_len that may cause incomplete multi-byte character and
9538 * posix/bug-regex33.c: New file.
9539 * posix/Makefile (tests): Add bug-regex33.
9541 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9543 * manual/macros.texi: New file.
9544 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9545 * manual/libc.texinfo: Include macros.texi.
9546 * manual/creatute.texi: Likewise.
9547 * manual/install.texi: Likewise.
9548 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9549 @glibcadj{} in references to the GNU C Library.
9550 * manual/charset.texi: Likewise.
9551 * manual/conf.texi: Likewise.
9552 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9553 when not using those macros.
9554 * manual/creature.texi: Likewise.
9555 * manual/crypt.texi: Likewise.
9556 * manual/errno.texi: Likewise.
9557 * manual/filesys.texi: Likewise.
9558 * manual/header.texi: Likewise.
9559 * manual/install.texi: Likewise.
9560 * manual/intro.texi: Likewise.
9561 * manual/io.texi: Likewise.
9562 * manual/job.texi: Likewise.
9563 * manual/lang.texi: Likewise.
9564 * manual/libc.texiinfo: Likewise.
9565 * manual/llio.texi: Likewise.
9566 * manual/locale.texi: Likewise.
9567 * manual/maint.texi: Likewise.
9568 * manual/math.texi: Likewise.
9569 * manual/memory.texi: Likewise.
9570 * manual/message.texi: Likewise.
9571 * manual/nss.texi: Likewise.
9572 * manual/pattern.texi: Likewise.
9573 * manual/process.texi: Likewise.
9574 * manual/resource.texi: Likewise.
9575 * manual/search.texi: Likewise.
9576 * manual/setjmp.texi: Likewise.
9577 * manual/signal.texi: Likewise.
9578 * manual/socket.texi: Likewise.
9579 * manual/startup.texi: Likewise.
9580 * manual/stdio.texi: Likewise.
9581 * manual/string.texi: Likewise.
9582 * manual/sysinfo.texi: Likewise.
9583 * manual/syslog.texi: Likewise.
9584 * manual/terminal.texi: Likewise.
9585 * manual/time.texi: Likewise.
9586 * manual/users.texi: Likewise.
9587 * INSTALL: Regenerated.
9588 * NOTES: Regenerated.
9589 * sysdeps/gnu/errlist.c: Regenerated.
9591 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9593 * include/dirent.h: Include <dirstream.h> before
9596 2012-02-28 David S. Miller <davem@davemloft.net>
9598 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9599 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9600 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9601 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9603 2012-02-27 David S. Miller <davem@davemloft.net>
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9607 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9608 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9611 frame pointer instead of stack pointer relative arg slot.
9612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9613 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9614 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9616 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9619 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9621 2012-02-27 David S. Miller <davem@davemloft.net>
9623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9627 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9628 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9629 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9630 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9632 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9634 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9635 later. Allow versions 5-9.
9636 * configure: Regenerated.
9637 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9638 required minimum version and 4.6 as recommended version. Do not
9639 mention bugs in GCC 2.7 and 2.8.
9640 * INSTALL: Regenerated.
9642 2012-02-27 David S. Miller <davem@davemloft.net>
9644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9650 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9651 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9654 manipulate bits before adding and subtracting TWO112[sx].
9655 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9657 2012-02-27 Roland McGrath <roland@hack.frob.com>
9660 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9661 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9662 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9663 being in POSIX, because they are in 1003.1-2008.
9665 * rt/tst-aio.c: Include <fcntl.h>.
9666 * rt/tst-aio7.c: Likewise.
9667 * rt/tst-aio64.c: Likewise.
9669 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9671 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9673 * manual/install.texi (--with-headers): Describe headers as
9674 interface headers, not private headers.
9675 (Specific advice for GNU/Linux systems): Describe use of headers
9676 from "make headers_install", not private headers from older
9678 * INSTALL: Regenerated.
9679 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9681 * sysdeps/unix/sysv/linux/configure: Regenerated.
9683 * manual/llio.texi (fclean): Remove documentation.
9685 * manual/Makefile (libc-texi-generated): New variable. Include
9687 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9688 $(libc-texi-generated), not duplicated list of files.
9689 (version.texi, stamp-version): New rules.
9690 (realclean): Remove $(libc-texi-generated), not individual files
9691 from that list. Do not remove dir-add.texinfo.
9692 * manual/libc.texinfo: Comment out uses of edition numbers and
9693 references to printed manual. Remove last-updated dates.
9694 (EDITION): Comment out.
9696 (VERSION, UPDATED): Remove.
9697 (version.texi): Include.
9699 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9701 * sysdeps/posix/spawni.c: Include <signal.h>.
9702 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9703 * sysdeps/pthread/aio_fsync.c: Likewise.
9705 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9707 * conform/Makefile (tests): Run only when not cross-compiling and
9708 when fast-check is not defined.
9710 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9711 * conform/data/limits.h-data: Fixes for POSIX2008.
9712 * conform/run-conformtest.sh: Run all tests.
9713 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9715 * include/bits/dlfcn.h: Likewise.
9716 * include/langinfo.h: Likewise.
9717 * include/monetary.h: Likewise.
9718 * include/sys/poll.h: Likewise.
9720 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9722 * posix/spawn.h: Define __need_sigset_t.
9723 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9724 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9725 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9726 to get sigevent_t only.
9727 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9730 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9731 process_vm_writev only for __USE_GNU.
9732 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9734 * conform/Makefile: For now ignore errors from run-conformtest.
9735 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9736 POSIX to avoid namespace pollution. Don't prepend headers.
9737 * conform/data/aio.h-data: Fixes for POSIX testing.
9738 * conform/data/fcntl.h-data: Likewise.
9739 * conform/data/glob.h-data: Likewise.
9740 * conform/data/grp.h-data: Likewise.
9741 * conform/data/pthread.h-data: Likewise.
9742 * conform/data/pwd.h-data: Likewise.
9743 * conform/data/signal.h-data: Likewise.
9744 * conform/data/spawn.h-data: Likewise.
9745 * conform/data/stdio.h-data: Likewise.
9746 * conform/data/stdlib.h-data: Likewise.
9747 * conform/data/stropts.h-data: Likewise.
9748 * conform/data/sys/mman.h-data: Likewise.
9749 * conform/data/sys/stat.h-data: Likewise.
9750 * conform/data/sys/types.h-data: Likewise.
9751 * conform/data/sys/wait.h-data: Likewise.
9752 * conform/data/time.h-data: Likewise.
9753 * conform/data/unistd.h-data: Likewise.
9754 * conform/data/utime.h-data: Likewise.
9756 * io/sys/stat.h: fchmod was always in POSIX.
9757 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9758 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9759 * rt/aio.h: Define __need_timespec before including <time.h>.
9760 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9761 struct. Add forward declaration of pthread_attr_t and use it in
9763 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9764 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9765 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9766 always remove CLK_TCK definition.
9768 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9770 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9772 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9774 * conform/run-conformtest.sh: New file.
9775 * conform/Makefile: Run run-conformtest for tests.
9776 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9779 * conform/data/uchar.h-data: New file.
9780 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9781 * conform/data/arpa/inet.h-data: Likewise.
9782 * conform/data/assert.h-data: Likewise.
9783 * conform/data/complex.h-data: Likewise.
9784 * conform/data/cpio.h-data: Likewise.
9785 * conform/data/ctype.h-data: Likewise.
9786 * conform/data/dirent.h-data: Likewise.
9787 * conform/data/dlfcn.h-data: Likewise.
9788 * conform/data/errno.h-data: Likewise.
9789 * conform/data/fcntl.h-data: Likewise.
9790 * conform/data/float.h-data: Likewise.
9791 * conform/data/fmtmsg.h-data: Likewise.
9792 * conform/data/fnmatch.h-data: Likewise.
9793 * conform/data/ftw.h-data: Likewise.
9794 * conform/data/glob.h-data: Likewise.
9795 * conform/data/grp.h-data: Likewise.
9796 * conform/data/iconv.h-data: Likewise.
9797 * conform/data/inttypes.h-data: Likewise.
9798 * conform/data/langinfo.h-data: Likewise.
9799 * conform/data/libgen.h-data: Likewise.
9800 * conform/data/limits.h-data: Likewise.
9801 * conform/data/locale.h-data: Likewise.
9802 * conform/data/math.h-data: Likewise.
9803 * conform/data/monetary.h-data: Likewise.
9804 * conform/data/mqueue.h-data: Likewise.
9805 * conform/data/ndbm.h-data: Likewise.
9806 * conform/data/net/if.h-data: Likewise.
9807 * conform/data/netdb.h-data: Likewise.
9808 * conform/data/netinet/in.h-data: Likewise.
9809 * conform/data/nl_types.h-data: Likewise.
9810 * conform/data/poll.h-data: Likewise.
9811 * conform/data/pthread.h-data: Likewise.
9812 * conform/data/pwd.h-data: Likewise.
9813 * conform/data/regex.h-data: Likewise.
9814 * conform/data/sched.h-data: Likewise.
9815 * conform/data/search.h-data: Likewise.
9816 * conform/data/semaphore.h-data: Likewise.
9817 * conform/data/setjmp.h-data: Likewise.
9818 * conform/data/signal.h-data: Likewise.
9819 * conform/data/spawn.h-data: Likewise.
9820 * conform/data/stdarg.h-data: Likewise.
9821 * conform/data/stdio.h-data: Likewise.
9822 * conform/data/stdlib.h-data: Likewise.
9823 * conform/data/string.h-data: Likewise.
9824 * conform/data/strings.h-data: Likewise.
9825 * conform/data/stropts.h-data: Likewise.
9826 * conform/data/sys/ipc.h-data: Likewise.
9827 * conform/data/sys/mman.h-data: Likewise.
9828 * conform/data/sys/msg.h-data: Likewise.
9829 * conform/data/sys/resource.h-data: Likewise.
9830 * conform/data/sys/select.h-data: Likewise.
9831 * conform/data/sys/sem.h-data: Likewise.
9832 * conform/data/sys/shm.h-data: Likewise.
9833 * conform/data/sys/socket.h-data: Likewise.
9834 * conform/data/sys/stat.h-data: Likewise.
9835 * conform/data/sys/statvfs.h-data: Likewise.
9836 * conform/data/sys/time.h-data: Likewise.
9837 * conform/data/sys/timeb.h-data: Likewise.
9838 * conform/data/sys/times.h-data: Likewise.
9839 * conform/data/sys/types.h-data: Likewise.
9840 * conform/data/sys/uio.h-data: Likewise.
9841 * conform/data/sys/un.h-data: Likewise.
9842 * conform/data/sys/utsname.h-data: Likewise.
9843 * conform/data/sys/wait.h-data: Likewise.
9844 * conform/data/syslog.h-data: Likewise.
9845 * conform/data/tar.h-data: Likewise.
9846 * conform/data/termios.h-data: Likewise.
9847 * conform/data/utime.h-data: Likewise.
9848 * conform/data/utmpx.h-data: Likewise.
9849 * conform/data/varargs.h-data: Likewise.
9850 * conform/data/wchar.h-data: Likewise.
9851 * conform/data/wctype.h-data: Likewise.
9852 * conform/data/wordexp.h-data: Likewise.
9854 * include/stropts.h: New file.
9855 * include/uchar.h: New file.
9856 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9857 * include/assert.h: Likewise.
9858 * include/ctype.h: Likewise.
9859 * include/dirent.h: Likewise.
9860 * include/dlfcn.h: Likewise.
9861 * include/fcntl.h: Likewise.
9862 * include/fnmatch.h: Likewise.
9863 * include/glob.h: Likewise.
9864 * include/grp.h: Likewise.
9865 * include/libio.h: Likewise.
9866 * include/locale.h: Likewise.
9867 * include/math.h: Likewise.
9868 * include/net/if.h: Likewise.
9869 * include/netdb.h: Likewise.
9870 * include/netinet/in.h: Likewise.
9871 * include/pthread.h: Likewise.
9872 * include/pwd.h: Likewise.
9873 * include/regex.h: Likewise.
9874 * include/sched.h: Likewise.
9875 * include/search.h: Likewise.
9876 * include/setjmp.h: Likewise.
9877 * include/signal.h: Likewise.
9878 * include/stdio.h: Likewise.
9879 * include/stdlib.h: Likewise.
9880 * include/string.h: Likewise.
9881 * include/sys/cdefs.h: Likewise.
9882 * include/sys/mman.h: Likewise.
9883 * include/sys/msg.h: Likewise.
9884 * include/sys/resource.h: Likewise.
9885 * include/sys/select.h: Likewise.
9886 * include/sys/socket.h: Likewise.
9887 * include/sys/stat.h: Likewise.
9888 * include/sys/statvfs.h: Likewise.
9889 * include/sys/time.h: Likewise.
9890 * include/sys/times.h: Likewise.
9891 * include/sys/uio.h: Likewise.
9892 * include/sys/utsname.h: Likewise.
9893 * include/sys/wait.h: Likewise.
9894 * include/termios.h: Likewise.
9895 * include/time.h: Likewise.
9896 * include/ulimit.h: Likewise.
9897 * include/unistd.h: Likewise.
9898 * include/utime.h: Likewise.
9899 * include/wchar.h: Likewise.
9900 * include/wctype.h: Likewise.
9901 * include/wordexp.h: Likewise.
9903 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9905 * time/time.h: TIME_UTC must be a macro.
9906 Make timespec_get available for ISO C11 only as well.
9908 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9910 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9911 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9913 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9915 * configure.in: Use -o not -a in test for unsupported multi-arch.
9917 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9919 * manual/texinfo.tex: Update to version 2012-01-19.16.
9921 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9923 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9925 2012-02-24 Roland McGrath <roland@hack.frob.com>
9928 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9929 * manual/fdl-1.3.texi: New file.
9930 * manual/fdl-1.1.texi: File removed.
9933 * manual/libc.texinfo (FDL_VERSION): New @set.
9934 Use it for mention of FDL in cover text.
9935 (Documentation License): Use it in @include file name.
9937 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9938 Roland McGrath <roland@hack.frob.com>
9941 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9942 not LONG_LONG_MAX and LONG_LONG_MIN.
9943 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9944 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9946 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9948 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9952 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9953 manipulate bits before adding and subtracting TWO23[sx].
9954 * math/libm-test.inc (nearbyint_test): Add more tests.
9956 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9959 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9960 bits before adding and subtracting TWO23[sx].
9961 * math/libm-test.inc (rint_test): Add more tests.
9962 (rint_test_tonearest): Likewise.
9963 (rint_test_towardzero): Likewise.
9964 (rint_test_downward): Likewise.
9965 (rint_test_upward: Likewise.
9967 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9970 * include/stdc-predef.h: New file. Extracted from features.h.
9971 * include/features.h: Include stdc-predef.h.
9972 * Makefile (headers): Add stdc-predef.h.
9973 * CONFORMANCE (Compiler limitations): Update.
9975 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9977 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9979 2012-02-21 David S. Miller <davem@davemloft.net>
9981 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9984 2012-02-20 David S. Miller <davem@davemloft.net>
9986 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9987 using a normal save/restore sequence, rather than allocating a
9988 dummy stack frame just to store a frame pointer and restore.
9989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9991 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9993 * manual/install.texi: Fix stray word in line-wrapped comment.
9995 2012-02-20 David S. Miller <davem@davemloft.net>
9997 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9998 both binutils and gcc support GOTDATA.
10000 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10001 "rd %pc" in the PIC register setup sequences.
10003 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10004 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10005 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10006 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10007 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10009 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10012 (SYSCALL_ERROR_HANDLER): Likewise.
10013 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10016 (SYSCALL_ERROR_HANDLER): Likewise.
10018 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10019 (HAVE_GCC_GOTDATA): New.
10020 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10021 relocation support in both binutils and gcc.
10022 * sysdeps/sparc/elf/configure: Regenerate.
10024 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10025 * sysdeps/sparc/sparc32/elf/configure: Delete.
10026 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10027 * sysdeps/sparc/sparc64/elf/configure: Delete.
10028 * sysdeps/sparc/elf/configure.in: New file.
10029 * sysdeps/sparc/elf/configure: Generate.
10031 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10032 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10033 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10034 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10035 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10037 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10039 * manual/install.texi: Do not mention specific glibc version
10041 * manual/libc.texinfo (VERSION, UPDATED): Update.
10042 (@copying): Use @copyright{} and range of years.
10044 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10047 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10048 [crti.S not in sysdirs] (generated): Do not append.
10049 [crti.S not in sysdirs] (omit-deps): Likewise.
10050 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10051 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10052 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10053 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10054 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10056 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10057 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10058 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10059 * csu/defs.awk: Remove file.
10060 * sysdeps/generic/initfini.c: Likewise.
10061 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10063 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10066 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10068 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10069 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10070 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10071 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10073 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10075 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10076 (__EPOLL_PACKED): Define to empty if not defined by
10078 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10082 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10084 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10085 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10086 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10087 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10089 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10093 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10095 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10097 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10098 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10099 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10102 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10104 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10105 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10107 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10109 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10110 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10112 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10114 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10117 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10119 * math/w_acos.c: Use non-signaling floating-point comparisons.
10120 * math/w_acosf.c: Likewise.
10121 * math/w_acosh.c: Likewise.
10122 * math/w_acoshf.c: Likewise.
10123 * math/w_acoshl.c: Likewise.
10124 * math/w_acosl.c: Likewise.
10125 * math/w_asin.c: Likewise.
10126 * math/w_asinf.c: Likewise.
10127 * math/w_asinl.c: Likewise.
10128 * math/w_atanh.c: Likewise.
10129 * math/w_atanhf.c: Likewise.
10130 * math/w_atanhl.c: Likewise.
10131 * math/w_exp2.c: Likewise.
10132 * math/w_exp2f.c: Likewise.
10133 * math/w_exp2l.c: Likewise.
10134 * math/w_j0.c: Likewise.
10135 * math/w_j0f.c: Likewise.
10136 * math/w_j0l.c: Likewise.
10137 * math/w_j1.c: Likewise.
10138 * math/w_j1f.c: Likewise.
10139 * math/w_j1l.c: Likewise.
10140 * math/w_jn.c: Likewise.
10141 * math/w_jnf.c: Likewise.
10142 * math/w_log.c: Likewise.
10143 * math/w_log10.c: Likewise.
10144 * math/w_log10f.c: Likewise.
10145 * math/w_log10l.c: Likewise.
10146 * math/w_log2.c: Likewise.
10147 * math/w_log2f.c: Likewise.
10148 * math/w_log2l.c: Likewise.
10149 * math/w_logf.c: Likewise.
10150 * math/w_logl.c: Likewise.
10151 * math/w_sqrt.c: Likewise.
10152 * math/w_sqrtf.c: Likewise.
10153 * math/w_sqrtl.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10156 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10158 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10160 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10163 * manual/string.texi (strnlen): Use correct parameter name in
10164 equivalent expression.
10166 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10169 * manual/users.texi (seteuid): Consistently use neweuid for
10172 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10175 * manual/nss.texi (Services in the NSS configuration): Correct
10176 list of services in example configuration file.
10178 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10181 * manual/arith.texi: Remove statements about negative zero
10182 behaving identically to zero.
10184 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10187 * manual/install.texi: Do not document upgrading from libc5.
10189 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10192 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10194 2012-02-18 David S. Miller <davem@davemloft.net>
10196 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10197 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10198 %o7 across the call.
10199 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10202 SETUP_PIC_REG_LEAF.
10203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10204 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10205 * sysdeps/sparc/crtn.S: Likewise.
10207 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10209 * aout/Makefile: Remove.
10211 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10214 * manual/examples/argp-ex1.c (main): Format definition in GNU
10216 * manual/examples/argp-ex2.c (main): Likewise.
10217 * manual/examples/argp-ex3.c (main): Likewise.
10218 * manual/examples/argp-ex4.c (main): Likewise.
10219 * manual/examples/longopt.c (main): Use new-style prototype
10221 * manual/examples/strncat.c (main): Specify return type and use
10222 (void) for arguments.
10223 * manual/examples/subopt.c (main): Use char **argv argument.
10225 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10228 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10231 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10234 * manual/string.texi (strchr): Change when strchrnul is
10237 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10240 * manual/locale.texi (setlocale): Document LOCPATH.
10242 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10245 * manual/process.texi (execle): Move @dots{} before last argument.
10247 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10250 * manual/charset.texi (Generic Charset Conversion): Fix typo
10251 (LC_TYPE -> LC_CTYPE).
10253 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10256 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10257 (scalbnf): Likewise.
10258 (scalbnl): Likewise.
10259 (scalbln): Likewise.
10260 (scalblnf): Likewise.
10261 (scalblnl): Likewise.
10262 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10263 (vwarnx): Likewise.
10266 * manual/filesys.texi (telldir): Use braces around return type.
10267 * manual/llio.texi (mmap): Add space after comma.
10268 (mmap64): Likewise.
10269 * manual/math.texi (jn): Use @var{} on parameter names.
10275 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10277 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10279 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10280 (sched_get_priority_max): Likewise.
10281 * manual/signal.texi (sigvec): Add space after comma.
10282 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10284 (if_indextoname): Likewise.
10285 (if_freenameindex): Likewise.
10286 (sendto): Use ',' instead of '.' in prototype.
10287 * manual/startup.texi (syscall): Use @dots{} instead of literal
10289 * manual/stdio.texi (__fpending): Separate initial words of
10290 paragraph from @deftypefun line.
10291 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10293 (vsyslog): Use @var{} on parameter names.
10294 * manual/terminal.texi (stty): Use @var{} on parameter names.
10295 * manual/users.texi (getutmp): Use @var{} on parameter names.
10296 (getutmpx): Likewise.
10298 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10301 * manual/stdio.texi (fopen): Fix typos in description of
10304 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10307 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10308 get clock_id definition.
10310 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10313 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10314 (madvise): Cast every argument to void on its own.
10316 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10319 * manual/startup.texi (Exit Status): Fix typo.
10321 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10324 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10325 * manual/examples/argp-ex2.c: Likewise.
10326 * manual/examples/argp-ex3.c: Likewise.
10328 2012-02-16 Richard Henderson <rth@redhat.com>
10330 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10331 * sysdeps/s390/s390-32/initfini.c: Remove.
10332 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10333 * sysdeps/s390/s390-64/initfini.c: Remove.
10335 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10337 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10338 compiler output for sysdeps/generic/initfini.c.
10339 * sysdeps/sh/elf/initfini.c: Remove file.
10341 2012-02-16 David S. Miller <davem@davemloft.net>
10344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10346 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10347 * sysdeps/sparc/crti.S: New file.
10348 * sysdeps/sparc/crtn.S: New file.
10349 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10350 * sysdeps/sparc/sparc64/Makefile: Likewise.
10352 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10355 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10357 2012-02-15 Roland McGrath <roland@hack.frob.com>
10360 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10362 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10363 (write, read, close): Likewise.
10364 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10366 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10368 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10369 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10370 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10371 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10373 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10377 2012-02-14 Marek Polacek <polacek@redhat.com>
10379 * sysdeps/x86_64/crti.S: New file.
10380 * sysdeps/x86_64/crtn.S: New file.
10381 * sysdeps/x86_64/elf/initfini.c: Remove file.
10383 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10385 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10386 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10388 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10390 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10394 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10396 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10397 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10399 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10401 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10405 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10407 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10408 __feraiseexcept instead of feraiseexcept.
10410 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10411 nanosleep invocations.
10412 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10413 strings, and add error checking for a nanosleep invocations.
10415 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10417 Replace FSF snail mail address with URLs, as per GNU coding standards.
10418 Most of the snail mail addresses were wrong anyway, and omitting
10419 them makes the source code easier to maintain. Almost all of the
10420 changes are to license notices and to locale LC_IDENTIFICATION
10421 addresses, except for this one:
10422 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10423 not its snail mail address.
10425 2012-02-09 Richard Henderson <rth@twiddle.net>
10427 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10428 of kernel-features.h.
10430 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10432 2012-02-08 Marek Polacek <polacek@redhat.com>
10434 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10435 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10436 * sysdeps/gnu/_G_config.h: Likewise.
10437 * sysdeps/generic/_G_config.h: Likewise.
10439 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10441 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10445 * sysdeps/powerpc/powerpc32/crti.S: New file.
10446 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10447 * sysdeps/powerpc/powerpc64/crti.S: New file.
10448 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10450 * Makeconfig (have-initfini): Don't set.
10451 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10452 * configure.in (nopic_initfini): Don't substitute.
10453 * config.h.in (HAVE_INITFINI): Don't #undef.
10454 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10455 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10457 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10459 Support crti.S and crtn.S provided directly by architectures.
10460 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10461 [crti.S in sysdirs] (omit-deps): Likewise.
10462 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10463 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10464 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10465 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10466 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10467 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10468 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10469 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10470 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10471 compiler output for sysdeps/generic/initfini.c.
10472 * sysdeps/i386/elf/Makefile: Remove file.
10473 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10475 2012-02-07 Marek Polacek <polacek@redhat.com>
10477 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10478 * sysdeps/gnu/_G_config.h: Likewise.
10479 * sysdeps/mach/hurd/_G_config.h: Likewise.
10481 2012-02-07 Marek Polacek <polacek@redhat.com>
10483 * math/Makefile (tests): Add tst-CMPLX2.
10484 * math/tst-CMPLX2.c: New file.
10486 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10488 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10490 * math/libm-test.inc (jn_test): Add missing L suffix.
10492 2012-02-06 Marek Polacek <polacek@redhat.com>
10494 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10495 * sysdeps/i386/fpu/e_powf.S: Likewise.
10496 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10497 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10498 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10499 * sysdeps/i386/fpu/e_pow.S: Likewise.
10500 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10501 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10502 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10503 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10504 * sysdeps/i386/fpu/e_log2.S: Likewise.
10505 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10506 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10507 * sysdeps/i386/fpu/e_powl.S: Likewise.
10508 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10509 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10510 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10511 * sysdeps/i386/fpu/e_logl.S: Likewise.
10512 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10513 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10514 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10515 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10517 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10518 * sysdeps/i386/fpu/e_log.S: Likewise.
10519 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10520 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10521 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10522 * sysdeps/i386/fpu/e_logf.S: Likewise.
10523 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10524 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10525 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10526 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10527 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10528 * sysdeps/i386/fpu/e_log10.S: Likewise.
10529 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10530 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10531 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10532 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10533 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10534 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10535 * sysdeps/i386/asm-syntax.h: Likewise.
10536 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10537 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10538 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10539 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10540 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10541 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10542 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10543 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10544 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10545 * sysdeps/powerpc/sysdep.h: Likewise.
10546 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10547 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10549 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10552 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10554 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10556 * sysdeps/i386/sysdep.h: Include <features.h>.
10557 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10560 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10564 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10567 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10569 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10570 (SETUP_PIC_REG): Use GET_PC_THUNK.
10571 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10574 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10576 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10577 for non-PIC compilation.
10578 (SETUP_PIC_REG): Add .p2align directive.
10579 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10580 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10581 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10582 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10583 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10584 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10585 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10586 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10587 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10588 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10589 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10590 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10591 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10592 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10593 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10594 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10595 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10596 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10597 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10598 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10599 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10601 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10602 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10603 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10605 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10606 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10607 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10608 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10609 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10610 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10611 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10612 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10613 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10614 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10615 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10616 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10617 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10618 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10619 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10621 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10623 * math/tst-CMPLX.c: Include <stdio.h>.
10625 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10627 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10629 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10630 * sysdeps/sparc/bits/mathdef.h: Likewise.
10632 2012-01-31 Marek Polacek <polacek@redhat.com>
10634 * libio/libio.h: Don't define _PARAMS.
10635 * locale/programs/config.h: Don't define PARAMS.
10636 * stdlib/strtol_l.c: Likewise.
10637 (__strtol_l): Remove PARAMS from the prototype.
10639 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10641 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10642 names. Just use the correct names. Remove unnecessary wrapper
10644 * malloc/arena.c: Likewise.
10645 * malloc/hooks.c: Likewise.
10647 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10648 ARENA_TEST says not to. Simplify test for creation of a new arena.
10649 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10651 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10653 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10655 (update_get_addr): New function.
10656 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10657 GET_ADDR_MODULE parameter.
10659 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10661 * crypt/cert.c: Remove __STDC__ conditionals.
10662 * crypt/crypt-entry.c: Likewise.
10663 * crypt/crypt_util.c: Likewise.
10664 * libio/filedoalloc.c: Likewise.
10665 * libio/fileops.c: Likewise.
10666 * libio/genops.c: Likewise.
10667 * libio/iofclose.c: Likewise.
10668 * libio/iofdopen.c: Likewise.
10669 * libio/iofopen.c: Likewise.
10670 * libio/iofopen64.c: Likewise.
10671 * libio/iogetdelim.c: Likewise.
10672 * libio/iopopen.c: Likewise.
10673 * libio/obprintf.c: Likewise.
10674 * libio/oldfileops.c: Likewise.
10675 * libio/oldiofclose.c: Likewise.
10676 * libio/oldiofdopen.c: Likewise.
10677 * libio/oldiofopen.c: Likewise.
10678 * libio/oldiopopen.c: Likewise.
10679 * libio/wfiledoalloc.c: Likewise.
10680 * libio/wgenops.c: Likewise.
10681 * locale/programs/xmalloc.c: Likewise.
10682 * misc/syslog.c: Likewise.
10683 * stdio-common/xbug.c: Likewise.
10684 * string/memchr.c: Likewise.
10685 * string/memcmp.c: Likewise.
10686 * string/memrchr.c: Likewise.
10687 * string/rawmemchr.c: Likewise.
10688 * sysdeps/posix/getcwd.c: Likewise.
10689 * time/strftime_l.c: Likewise.
10691 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10693 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10694 * config.make.in (config-cflags-sse2avx): Define.
10695 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10698 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10700 * scripts/config.guess: Update from upstream config git repository.
10701 * scripts/config.sub: Likewise.
10703 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10705 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10707 (R_TILEPRO_*, R_TILEGX_*): New macros.
10709 * scripts/firstversions.awk: Fix bug in version range handling.
10711 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10713 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10715 * include/sys/epoll.h: New file.
10716 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10719 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10721 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10722 Avoid unnecessary __WORDSIZE == 64 test.
10723 (fmaxf): Use VEX format if possible.
10728 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10729 * math/math_private.h: Remove libc_fegetround* and
10731 * sysdeps/i386/configure.in: Check for -msse2avx.
10732 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10733 also if SSE2AVX is defined.
10734 Remove libc_fegetround* and libc_fesetround*.
10735 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10736 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10737 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10739 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10740 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10742 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10743 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10745 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10747 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10749 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10751 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10753 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10756 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10758 * Makeconfig (libm): Define.
10759 * elf/Makefile: Add rules to build and run tst-relsort1.
10760 * elf/tst-relsort1.c: New file.
10761 * elf/tst-relsort1mod1.c: New file.
10762 * elf/tst-relsort1mod2.c: New file.
10764 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10766 * math/s_ldexp.c: Remove __STDC__ conditionals.
10767 * math/s_ldexpf.c: Likewise.
10768 * math/s_ldexpl.c: Likewise.
10769 * math/s_nextafter.c: Likewise.
10770 * math/s_nexttowardf.c: Likewise.
10771 * math/s_significand.c: Likewise.
10772 * math/s_significandf.c: Likewise.
10773 * math/s_significandl.c: Likewise.
10774 * math/w_jnl.c: Likewise.
10775 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10776 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10777 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10778 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10779 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10794 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10795 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10796 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10797 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10798 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10799 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10800 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10801 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10802 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10803 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10804 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10805 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10807 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10808 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10809 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10810 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10812 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10813 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10814 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10815 * sysdeps/ieee754/k_standard.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10820 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10834 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10864 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10877 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10878 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10882 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10883 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10885 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10886 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10887 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10890 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10891 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10895 * sysdeps/ieee754/s_matherr.c: Likewise.
10896 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10897 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10901 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10903 * crypt/md5.h: Remove __STDC__ conditionals.
10904 * libio/libioP.h: Likewise.
10905 * locale/programs/config.h: Likewise.
10906 * sysdeps/generic/sysdep.h: Likewise.
10907 * sysdeps/i386/asm-syntax.h: Likewise.
10908 * sysdeps/s390/asm-syntax.h: Likewise.
10909 * sysdeps/unix/sysdep.h: Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10913 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10915 * libio/libio.h: Remove __STDC__ conditionals.
10916 * malloc/obstack.h: Likewise.
10917 * math/complex.h: Likewise.
10918 * math/math.h: Likewise.
10919 * sysdeps/generic/_G_config.h: Likewise.
10920 * sysdeps/gnu/_G_config.h: Likewise.
10921 * sysdeps/mach/hurd/_G_config.h: Likewise.
10922 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10923 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10924 * sysdeps/sparc/bits/mathdef.h: Likewise.
10926 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10929 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10930 Clean up HAS_* macros.
10931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10932 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10942 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10944 * elf/tst-unique3.cc (gets): Remove declaration.
10945 * elf/tst-unique3lib.cc (gets): Likewise.
10946 * elf/tst-unique3lib2.cc (gets): Likewise.
10947 * elf/tst-unique4.cc (gets): Likewise.
10949 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10951 * include/stdio.h: Add C++ protection. Add gets declarations and
10953 * debug/tst-chk1.c: Don't declare gets here.
10954 * stdio-common/tst-gets.c: Likewise.
10956 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10958 * posix/glob: Remove directory.
10960 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10962 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10964 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10966 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10967 of the non-standard EPFNOSUPPORT.
10969 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10971 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10972 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10973 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10975 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10977 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10979 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10981 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10983 * nscd/grpcache.c (cache_addgr): Likewise.
10984 * nscd/hstcache.c (cache_addhst): Likewise.
10985 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10986 * nscd/pwdcache.c (cache_addpw): Likewise.
10987 * nscd/servicescache.c (cache_addserv): Likewise.
10989 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10991 * malloc/malloc.c: Various cleanups.
10992 * malloc/hooks.c: Likewise.
10994 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10995 * stdlib/bug-fmtmsg1.c: New file.
10997 * stdlib/fmtmsg.c (init): Add missing unlock.
10998 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11000 2012-01-12 Marek Polacek <polacek@redhat.com>
11002 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11005 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11007 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11008 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11009 macro to ensure uniqueness of label name.
11010 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11011 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11013 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11015 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11017 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11022 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11026 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11027 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11030 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11032 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11033 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11034 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11037 * math/bits/math-finite.h: Add ldexp support.
11039 2012-01-10 Marek Polacek <polacek@redhat.com>
11041 * locale/programs/localedef.h (show_archive_content): Add noreturn
11044 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11046 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11048 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11050 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11052 * io/Makefile (headers): Add bits/poll2.h.
11054 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11057 typo #include statement.
11059 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11061 * include/sys/cdefs.h: Define __attribute_alloc_size.
11062 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11063 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11064 * elf/pldd.c: Likewise.
11065 * iconv/iconv_charmap.c: Likewise.
11066 * iconv/iconvconfig.c: Likewise.
11067 * iconv/strtab.c: Likewise.
11068 * locale/programs/locale.c: Likewise.
11069 * locale/programs/localedef.h: Likewise.
11070 * locale/programs/simple-hash.c: Likewise.
11071 * nscd/nscd.h: Likewise.
11072 * nss/makedb.c: Likewise.
11073 * sysdeps/generic/ldconfig.h: Likewise.
11074 * locale/programs/localedef.c: Remove xmalloc prototype.
11075 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11077 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11079 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11082 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11084 * math/Makefile (tests): Add tst-CMPLX.
11085 * math/tst-CMPLX.c: New file.
11087 * math/complex.h (CMPLXL): Fix typo.
11089 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11090 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11092 * debug/tst-chk1.c: Add poll and ppoll tests.
11093 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11094 * include/sys/poll.h: Add hidden proto for ppoll.
11095 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11096 * sysdeps/mach/hurd/ppoll.c: Likewise.
11097 * io/ppoll.c: Likewise.
11098 * debug/poll_chk.c: New file.
11099 * debug/ppoll_chk.c: New file.
11100 * include/bits/poll2.h: New file.
11101 * io/bits/poll2.h: New file.
11104 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11106 * configure.in: static is always set to yes. Remove.
11107 * config.make.in: Don't set build-static.
11108 * Makeconfig: Remove use of build-static.
11109 * dlfcn/Makefile: Likewise.
11110 * elf/Makefile: Likewise.
11111 * math/Makefile: Likewise.
11112 * misc/Makefile: Likewise.
11113 * nptl/Makefile: Likewise.
11114 * sysdeps/mach/hurd/Makefile: Likewise.
11116 * configure.in: PWD_P is not used anymore.
11117 * config.make.in: Remove PWD_P entry.
11119 * configure.in: Remove last remnants of RANLIB.
11120 No need to check for signed size_t anymore.
11121 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11123 Remove __builtin_expect test because we require at least gcc 3.4.
11124 * aclocal.m4: Likewise.
11126 * wcsmbs/mbrtoc16.c: Implement using towc function.
11127 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11128 * wcsmbs/wcsmbsload.c: Likewise.
11129 * iconv/gconv_simple.c: Likewise.
11130 * iconv/gconv_int.h: Likewise.
11131 * iconv/gconv_builtin.h: Likewise.
11132 * iconv/iconv_prog.c: Remove CHAR16 handling.
11134 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11136 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11138 * configure.in: Remove --with-elf and --enable-bounded options.
11139 Dont set base_machine for ia64. More non-ELF conditions removed.
11140 Remove testing and setting of leading underscore information.
11141 * config.make.in (build-bounded): Set to no.
11142 * config.h.in: Remove NO_UNDERSCORES entry.
11143 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11145 * csu/start.c: Remove !NO_UNDERSCORE code.
11146 * locale/localeinfo.h: Likewise.
11147 * sysdeps/generic/machine-gmon.h: Likewise.
11148 * sysdeps/generic/sysdep.h: Likewise.
11149 * sysdeps/i386/sysdep.h: Likewise.
11150 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11151 * sysdeps/mach/sysdep.h: Likewise.
11152 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11153 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11154 * sysdeps/sh/sysdep.h: Likewise.
11155 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11156 * sysdeps/unix/i386/sysdep.S: Likewise.
11157 * sysdeps/unix/sparc/start.c: Likewise.
11158 * sysdeps/unix/sparc/sysdep.S: Likewise.
11159 * sysdeps/unix/sparc/sysdep.h: Likewise.
11160 * sysdeps/unix/start.c: Likewise.
11161 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11162 * sysdeps/x86_64/sysdep.h: Likewise.
11164 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11167 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11169 * argp/argp-fmtstream.h: Use const instead __const.
11170 * argp/argp.h: Likewise.
11171 * assert/assert.h: Likewise.
11172 * bits/fenv.h: Likewise.
11173 * bits/sched.h: Likewise.
11174 * bits/sigset.h: Likewise.
11175 * bits/sigthread.h: Likewise.
11176 * catgets/nl_types.h: Likewise.
11177 * conform/data/pthread.h-data: Likewise.
11178 * crypt/crypt-private.h: Likewise.
11179 * crypt/crypt.h: Likewise.
11180 * crypt/crypt_util.c: Likewise.
11181 * ctype/ctype.h: Likewise.
11182 * debug/execinfo.h: Likewise.
11183 * debug/mbsnrtowcs_chk.c: Likewise.
11184 * debug/mbsrtowcs_chk.c: Likewise.
11185 * debug/wcsnrtombs_chk.c: Likewise.
11186 * debug/wcsrtombs_chk.c: Likewise.
11187 * debug/wcstombs_chk.c: Likewise.
11188 * dirent/dirent.h: Likewise.
11189 * dlfcn/dlfcn.h: Likewise.
11190 * elf/neededtest4.c: Likewise.
11191 * grp/grp.h: Likewise.
11192 * gshadow/gshadow.h: Likewise.
11193 * iconv/gconv.h: Likewise.
11194 * iconv/gconv_int.h: Likewise.
11195 * iconv/gconv_simple.c: Likewise.
11196 * iconv/iconv.h: Likewise.
11197 * iconv/loop.c: Likewise.
11198 * iconv/skeleton.c: Likewise.
11199 * include/aio.h: Likewise.
11200 * include/aliases.h: Likewise.
11201 * include/argz.h: Likewise.
11202 * include/arpa/inet.h: Likewise.
11203 * include/assert.h: Likewise.
11204 * include/dirent.h: Likewise.
11205 * include/dlfcn.h: Likewise.
11206 * include/execinfo.h: Likewise.
11207 * include/fcntl.h: Likewise.
11208 * include/fenv.h: Likewise.
11209 * include/glob.h: Likewise.
11210 * include/grp.h: Likewise.
11211 * include/libintl.h: Likewise.
11212 * include/mntent.h: Likewise.
11213 * include/netdb.h: Likewise.
11214 * include/pwd.h: Likewise.
11215 * include/rpc/netdb.h: Likewise.
11216 * include/sched.h: Likewise.
11217 * include/search.h: Likewise.
11218 * include/shadow.h: Likewise.
11219 * include/signal.h: Likewise.
11220 * include/stdio.h: Likewise.
11221 * include/stdlib.h: Likewise.
11222 * include/string.h: Likewise.
11223 * include/sys/socket.h: Likewise.
11224 * include/sys/stat.h: Likewise.
11225 * include/sys/statfs.h: Likewise.
11226 * include/sys/statvfs.h: Likewise.
11227 * include/sys/syslog.h: Likewise.
11228 * include/sys/time.h: Likewise.
11229 * include/sys/uio.h: Likewise.
11230 * include/time.h: Likewise.
11231 * include/unistd.h: Likewise.
11232 * include/utmp.h: Likewise.
11233 * include/wchar.h: Likewise.
11234 * include/wctype.h: Likewise.
11235 * inet/aliases.h: Likewise.
11236 * inet/arpa/inet.h: Likewise.
11237 * inet/netinet/ether.h: Likewise.
11238 * inet/netinet/in.h: Likewise.
11239 * intl/libintl.h: Likewise.
11240 * io/bits/fcntl2.h: Likewise.
11241 * io/fcntl.h: Likewise.
11242 * io/ftw.h: Likewise.
11243 * io/sys/poll.h: Likewise.
11244 * io/sys/stat.h: Likewise.
11245 * io/sys/statfs.h: Likewise.
11246 * io/sys/statvfs.h: Likewise.
11247 * io/utime.h: Likewise.
11248 * libio/bits/stdio.h: Likewise.
11249 * libio/bits/stdio2.h: Likewise.
11250 * libio/libio.h: Likewise.
11251 * libio/libioP.h: Likewise.
11252 * libio/stdio.h: Likewise.
11253 * locale/lc-ctype.c: Likewise.
11254 * locale/locale.h: Likewise.
11255 * login/utmp.h: Likewise.
11256 * malloc/arena.c: Likewise.
11257 * malloc/malloc.c: Likewise.
11258 * malloc/malloc.h: Likewise.
11259 * malloc/mcheck.c: Likewise.
11260 * malloc/mtrace.c: Likewise.
11261 * math/bits/mathcalls.h: Likewise.
11262 * math/fenv.h: Likewise.
11263 * math/math_private.h: Likewise.
11264 * misc/bits/error.h: Likewise.
11265 * misc/bits/syslog.h: Likewise.
11266 * misc/err.h: Likewise.
11267 * misc/error.h: Likewise.
11268 * misc/fstab.h: Likewise.
11269 * misc/mntent.h: Likewise.
11270 * misc/regexp.h: Likewise.
11271 * misc/search.h: Likewise.
11272 * misc/sgtty.h: Likewise.
11273 * misc/sys/mman.h: Likewise.
11274 * misc/sys/syslog.h: Likewise.
11275 * misc/sys/uio.h: Likewise.
11276 * misc/sys/xattr.h: Likewise.
11277 * misc/ttyent.h: Likewise.
11278 * nis/rpcsvc/ypclnt.h: Likewise.
11279 * nss/nss.h: Likewise.
11280 * posix/bits/unistd.h: Likewise.
11281 * posix/fnmatch.h: Likewise.
11282 * posix/glob.h: Likewise.
11283 * posix/sched.h: Likewise.
11284 * posix/spawn.h: Likewise.
11285 * posix/sys/wait.h: Likewise.
11286 * posix/unistd.h: Likewise.
11287 * posix/wordexp.h: Likewise.
11288 * pwd/pwd.h: Likewise.
11289 * resolv/netdb.h: Likewise.
11290 * resource/sys/resource.h: Likewise.
11291 * rt/aio.h: Likewise.
11292 * rt/bits/mqueue2.h: Likewise.
11293 * rt/mqueue.h: Likewise.
11294 * shadow/shadow.h: Likewise.
11295 * signal/signal.h: Likewise.
11296 * socket/send.c: Likewise.
11297 * socket/sendto.c: Likewise.
11298 * socket/sys/socket.h: Likewise.
11299 * stdio-common/printf.h: Likewise.
11300 * stdlib/bits/stdlib.h: Likewise.
11301 * stdlib/fmtmsg.h: Likewise.
11302 * stdlib/monetary.h: Likewise.
11303 * stdlib/stdlib.h: Likewise.
11304 * stdlib/ucontext.h: Likewise.
11305 * streams/stropts.h: Likewise.
11306 * string/argz.h: Likewise.
11307 * string/bits/string2.h: Likewise.
11308 * string/string.h: Likewise.
11309 * string/strings.h: Likewise.
11310 * sunrpc/rpc/auth.h: Likewise.
11311 * sunrpc/rpc/auth_des.h: Likewise.
11312 * sunrpc/rpc/clnt.h: Likewise.
11313 * sunrpc/rpc/netdb.h: Likewise.
11314 * sunrpc/rpc/pmap_clnt.h: Likewise.
11315 * sunrpc/rpc/xdr.h: Likewise.
11316 * sysdeps/generic/inttypes.h: Likewise.
11317 * sysdeps/generic/net/if.h: Likewise.
11318 * sysdeps/generic/sys/swap.h: Likewise.
11319 * sysdeps/gnu/net/if.h: Likewise.
11320 * sysdeps/gnu/utmpx.h: Likewise.
11321 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11322 * sysdeps/i386/i486/bits/string.h: Likewise.
11323 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11324 * sysdeps/s390/bits/string.h: Likewise.
11325 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11326 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11327 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11328 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11329 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11330 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11331 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11332 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11333 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11334 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11335 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11336 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11337 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11338 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11339 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11340 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11341 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11343 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11345 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11346 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11347 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11348 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11349 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11350 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11351 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11352 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11353 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11354 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11355 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11356 * sysvipc/sys/ipc.h: Likewise.
11357 * sysvipc/sys/msg.h: Likewise.
11358 * sysvipc/sys/sem.h: Likewise.
11359 * sysvipc/sys/shm.h: Likewise.
11360 * termios/termios.h: Likewise.
11361 * time/sys/time.h: Likewise.
11362 * time/time.h: Likewise.
11363 * wcsmbs/bits/wchar2.h: Likewise.
11364 * wcsmbs/uchar.h: Likewise.
11365 * wcsmbs/wchar.h: Likewise.
11366 * wctype/wctype.h: Likewise.
11369 * Makeconfig: Remove all but ELF support including AIX support.
11370 * Makerules: Likewise.
11371 * config.h.in: Likewise.
11372 * config.make.in: Likewise.
11373 * configure: Likewise.
11374 * configure.in: Likewise.
11375 * csu/Makefile: Likewise.
11376 * csu/version.c: Likewise.
11377 * debug/Makefile: Likewise.
11378 * dlfcn/Makefile: Likewise.
11379 * elf/Makefile: Likewise.
11380 * extra-lib.mk: Likewise.
11381 * iconv/Makefile: Likewise.
11382 * include/libc-symbols.h: Likewise.
11383 * include/shlib-compat.h: Likewise.
11384 * resolv/Makefile: Likewise.
11385 * resolv/res_libc.c: Likewise.
11386 * rt/Makefile: Likewise.
11387 * sysdeps/i386/asm-syntax.h: Likewise.
11388 * sysdeps/i386/sysdep.h: Likewise.
11389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11390 * sysdeps/mach/sysdep.h: Likewise.
11391 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11392 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11393 * sysdeps/s390/asm-syntax.h: Likewise.
11394 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11396 * sysdeps/sh/sysdep.h: Likewise.
11397 * sysdeps/unix/sparc/sysdep.h: Likewise.
11398 * sysdeps/wordsize-32/divdi3.c: Likewise.
11399 * sysdeps/x86_64/sysdep.h: Likewise.
11401 * argp/Versions: Remove _argp_unlock_xxx.
11404 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11405 * abilist/libBrokenLocale.abilist: Likewise.
11406 * abilist/libanl.abilist: Likewise.
11407 * abilist/libc.abilist: Likewise.
11408 * abilist/libcrypt.abilist: Likewise.
11409 * abilist/libdl.abilist: Likewise.
11410 * abilist/libm.abilist: Likewise.
11411 * abilist/libnsl.abilist: Likewise.
11412 * abilist/libpthread.abilist: Likewise.
11413 * abilist/libresolv.abilist: Likewise.
11414 * abilist/librt.abilist: Likewise.
11415 * abilist/libthread_db.abilist: Likewise.
11416 * abilist/libutil.abilist: Likewise.
11417 * abilist/libnss_db.abilist: New file.
11419 * scripts/abilist.awk: Add support for indirect functions.
11421 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11423 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11425 * shlib-versions: Remove entries for ports architectures.
11427 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11429 * elf/stackguard-macros.h: Remove support for IA-64.
11430 * elf/tst-auditmod1.c: Likewise.
11431 * sysdeps/generic/ldsodefs.h: Likewise.
11433 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11434 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11438 * configure.in: Remove --enable-omitfp support.
11440 * config.make.in: Likewise.
11441 * Makeconfig: Likewise.
11442 * manual/install.texi: Likewise.
11444 In case anyone cares, the IA-64 architecture could move to ports.
11445 * sysdeps/ia64/*: Removed.
11446 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11447 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11450 * configure.in: Remove entries for unsupported architectures.
11453 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11454 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11456 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11457 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11458 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11459 fall back to using wcrtomb.
11460 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11461 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11463 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11464 * wcsmbs/tst-c16c32-1.c: New file.
11466 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11469 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11471 * elf/tst-unique3.cc: Add explicit declaration of gets.
11472 * elf/tst-unique3lib.cc: Likewise.
11473 * elf/tst-unique3lib2.cc: Likewise.
11474 * elf/tst-unique4.cc: Likewise.
11476 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11478 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11481 * assert/assert.h (static_assert): Don't define for C++.
11482 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11483 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11485 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11487 * iconv/loop.c (single loop): Fix assertion in storing of
11490 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11492 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11494 * posix/getconf.c: Update copyright year.
11495 * nss/getent.c: Likewise.
11496 * nss/makedb.c: Likewise.
11497 * iconv/iconvconfig.c: Likewise.
11498 * iconv/iconv_prog.c: Likewise.
11499 * elf/ldconfig.c: Likewise.
11500 * elf/pldd.c: Likewise.
11501 * elf/sotruss.ksh: Likewise.
11502 * catgets/gencat.c: Likewise.
11503 * csu/version.c: Likewise.
11504 * elf/ldd.bash.in: Likewise.
11505 * elf/sprof.c (print_version): Likewise.
11506 * locale/programs/locale.c: Likewise.
11507 * locale/programs/localedef.c: Likewise.
11508 * login/programs/pt_chown.c: Likewise.
11509 * nscd/nscd.c (print_version): Likewise.
11510 * debug/xtrace.sh: Likewise.
11511 * malloc/memusage.sh: Likewise.
11512 * malloc/mtrace.pl: Likewise.
11513 * debug/catchsegv.sh: Likewise.
11515 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11517 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11520 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11523 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11524 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11526 * iconv/gconv_int.h: Likewise.
11527 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11528 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11529 from libc for GLIBC_2.16.
11530 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11531 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11532 * wcsmbs/uchar.h: Really define mbstate_t.
11533 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11534 * wcsmbs/c16rtomb.c: New file.
11535 * wcsmbs/mbrtoc16.c: New file.
11536 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11537 for C/POSIX locale.
11538 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11539 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11541 * wcsmbs/wchar.h: Add missing __restrict.
11543 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11546 * time/Makefile (routines): Add timespec_get.
11547 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11548 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11549 timespec for ISO C11.
11550 * time/timespec_get.c: New file.
11551 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11552 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11555 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11556 * stdlib/stdlib.h: Declare aligned_alloc.
11557 * Versions.def: Add GLIBC_2.16 for libc.
11558 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11561 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11564 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11568 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11571 * assert/assert.h (static_assert): Define.
11573 * version.h: Update for 2.16 development version.
11576 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11579 * version.h (RELEASE): Bump for 2.15 release.
11580 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11582 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11583 Patch by Marek Polacek <mpolacek@redhat.com>.
11585 * bits/byteswap.h: Protect long long constants with __extension__.
11586 * sysdeps/i386/bits/byteswap.h: Likewise.
11587 * sysdeps/ia64/bits/byteswap.h: Likewise.
11588 * sysdeps/s390/bits/byteswap.h: Likewise.
11589 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11591 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11595 destination buffer.
11596 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11598 2011-12-23 Marek Polacek <polacek@redhat.com>
11600 * elf/dl-addr.c (determine_info): Add inline keyword.
11601 * elf/tst-auditmod4b.c (check_avx): Likewise.
11602 * elf/tst-auditmod6b.c (check_avx): Likewise.
11603 * elf/tst-auditmod6c.c (check_avx): Likewise.
11604 * elf/tst-auditmod7b.c (check_avx): Likewise.
11606 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11608 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11611 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11614 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11615 processing for last bytes.
11617 2011-08-06 Bruno Haible <bruno@clisp.org>
11620 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11621 U+0385, not to U+1FEE.
11624 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11625 entry for U+00A5 U+0301.
11627 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11630 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11631 buffer for the output is too small.
11633 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11637 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11638 SSE flags if possible.
11640 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11644 processing for last bytes.
11646 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11649 (syscall-list-default-options, syscall-list-default-condition)
11650 (syscall-list-includes): Define.
11651 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11652 list of ABIs and options and #if conditions for each ABI. Do not
11653 handle common syscalls between ABIs specially.
11654 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11656 (syscall-list-variants, syscall-list-32bit-options)
11657 (syscall-list-32bit-condition, syscall-list-64bit-options)
11658 (syscall-list-64bit-condition): Define.
11659 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11660 (syscall-list-variants, syscall-list-32bit-options)
11661 (syscall-list-32bit-condition, syscall-list-64bit-options)
11662 (syscall-list-64bit-condition): Define.
11663 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11665 (syscall-list-variants, syscall-list-32bit-options)
11666 (syscall-list-32bit-condition, syscall-list-64bit-options)
11667 (syscall-list-64bit-condition): Define.
11668 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11670 (syscall-list-variants, syscall-list-32bit-options)
11671 (syscall-list-32bit-condition, syscall-list-64bit-options)
11672 (syscall-list-64bit-condition): Define.
11674 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11676 * locale/iso-639.def: Add brx entry.
11679 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11680 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11682 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11683 __feraiseexcept_renamed.
11685 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11688 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11689 EPOLLET with unsigned values.
11690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11693 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11694 to large cancellation.
11695 * math/s_cacoshf.c: Likewise.
11696 * math/s_cacoshl.c: Likewise.
11698 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11702 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11703 * math/s_cacoshf.c: Likewise.
11704 * math/s_cacoshl.c: Likewise.
11706 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11709 * iconv/gconv.h: Define __GCONV_SWAP.
11710 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11711 * iconvdata/utf-16.c: Likewise.
11712 * iconvdata/utf-32.c: Likewise.
11714 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11717 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11718 numerator after shifting it by one limb.
11720 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11722 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11723 under [__USE_EXTERN_INLINES].
11725 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11728 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11730 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11732 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11733 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11735 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11736 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11737 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11738 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11739 for strncasecmp/strncasecmp_l compilation.
11740 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11741 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11743 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11746 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11749 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11752 * time/tzfile.c (__tzfile_read): Check values from file header.
11754 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11756 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11757 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11758 * powerpc/powerpc32/dl-start.S: Likewise.
11759 * powerpc/powerpc32/elf/start.S: Likewise.
11760 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11761 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11762 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11763 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11764 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11765 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11766 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11767 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11768 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11769 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11770 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11771 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11772 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11773 * powerpc/powerpc32/memset.S: Likewise.
11774 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11775 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11776 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11777 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11778 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11779 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11780 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11781 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11782 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11783 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11784 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11785 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11786 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11788 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11790 * math/libm-test.inc: Added more nearbyint tests.
11791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11796 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11798 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11801 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11803 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11804 Add wcscpy-ssse3 wcscpy-c.
11805 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11806 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11807 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11808 * sysdeps/x86_64/wcschr.S: New file.
11809 * sysdeps/x86_64/wcsrchr.S: New file.
11810 * string/test-strcmp.c: Remove checking of wcscmp function for
11812 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11813 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11814 wcsrchr-sse2 wcsrchr-c.
11815 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11816 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11817 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11818 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11819 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11820 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11821 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11822 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11823 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11824 * wcsmbc/wcschr.c (WCSCHR): New macro.
11826 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11828 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11829 * wcsmbs/test-wcsrchr.c: New file.
11830 * string/test-strrchr.c: Add wcsrchr support.
11832 * wcsmbs/test-wcscpy.c: New file.
11833 * string/test-strcpy.c: Add wcscpy support.
11836 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11838 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11841 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11844 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11846 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11849 Minor optimizations.
11851 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11852 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11853 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11855 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11857 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11858 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11859 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11860 for gcc to avoid warnings.
11861 * inet/Makefile (tests): Add tst-checks.
11862 * inet/tst-checks.c: New file.
11864 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11867 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11870 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11871 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11873 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11875 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11877 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11880 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11882 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11884 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11885 conditional on GCC version.
11886 (__arch_compare_and_exchange_val_8_acq)
11887 (__arch_compare_and_exchange_val_16_acq)
11888 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11889 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11890 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11892 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11894 * sysdeps/sh/backtrace.c: New file.
11896 2011-12-02 Andreas Schwab <schwab@redhat.com>
11898 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11901 2011-12-01 Andreas Schwab <schwab@redhat.com>
11903 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11904 falling back to utime.
11906 2011-11-30 Andreas Schwab <schwab@redhat.com>
11908 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11909 expectations for float.
11911 2011-11-29 Andreas Schwab <schwab@redhat.com>
11913 * locale/weight.h (findidx): Add parameter len.
11914 * locale/weightwc.h (findidx): Likewise.
11915 * posix/fnmatch_loop.c (FCT): Adjust caller.
11916 * posix/regcomp.c (build_equiv_class): Likewise.
11917 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11918 * posix/regexec.c (check_node_accept_bytes): Likewise.
11919 * string/strcoll_l.c (STRCOLL): Likewise.
11920 * string/strxfrm_l.c (STRXFRM): Likewise.
11922 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11924 * Makefile.in: Remove CVSOPT handling.
11925 * configure.in: Remove use of AC_REVISION.
11926 * iconvdata/Makefile (distribute): No need to filter out CVS.
11927 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11930 2011-11-16 Andreas Schwab <schwab@redhat.com>
11932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11933 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11934 [USE_AS_STRNCASECMP_L]: Likewise.
11935 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11936 NO_TLS_DIRECT_SEG_REFS.
11937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11938 Fix argument offsets for non-PIC.
11939 [USE_AS_STRNCASECMP_L]: Likewise.
11940 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11941 NO_TLS_DIRECT_SEG_REFS.
11943 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11945 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11947 * locale/loadlocale.c (_nl_load_locale): Likewise.
11949 2011-11-15 Andreas Schwab <schwab@redhat.com>
11951 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11952 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11953 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11954 (SYSCALL_GETTIME): Set errno on error.
11956 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11957 count references to noai6ai_cached.
11959 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11961 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11963 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11964 FD_CLOEXEC for /proc/self/maps.
11966 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11967 FD_CLOEXEC for /proc/meminfo.
11969 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11972 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11973 FD_CLOEXEC for given file.
11975 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11977 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11978 FD_CLOEXEC for /etc/hosts.
11979 (_gethtent): Likewise.
11981 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11983 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11984 cancellation and set FD_CLOEXEC for /etc/netgroup.
11986 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11987 reading /etc/publickey.
11989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11990 allow cancellation when reading /etc/group.
11992 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11994 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11996 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11997 when using data file.
11999 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12001 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12002 (write_nis_obj): Use "c" and "e" in fopen.
12004 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12006 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12008 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12010 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12012 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12015 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12017 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12019 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12021 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12022 file parsing and set FD_CLOEXEC.
12024 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12026 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12028 2011-11-14 Andreas Schwab <schwab@redhat.com>
12030 * malloc/arena.c (arena_get2): Don't call reused_arena when
12031 _int_new_arena failed.
12033 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12035 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12036 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12038 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12041 to compile strcasecmp and strncasecmp.
12042 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12043 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12047 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12049 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12050 locale-defines.sym to gen-as-const-headers.
12051 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12052 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12054 to compile strcasecmp and strncasecmp.
12055 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12056 strcasecmp_l and strncasecmp_l.
12057 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12058 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12059 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12060 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12061 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12062 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12063 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12064 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12065 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12066 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12067 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12069 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12071 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12072 result of SYSDEP_GETTIME_CPU to retval.
12073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12074 parameter list to macro. Remove trailing semicolon. Adjust users.
12076 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12079 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12083 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12084 from unused variable.
12086 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12088 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12091 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12094 * sunrpc/rpc_prot.c (rejected): Fix case value.
12096 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12097 unsigned long long int to avoid warnings in shift.
12099 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12101 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12104 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12105 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12106 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12108 * nis/nis_table.c (nis_list): Use variable of correct type for
12109 result of __follow_path call.
12111 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12113 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12114 of math functions ceil, trunc, floor, round, and sqrt, when
12115 avaliable on the platform.
12116 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12118 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12119 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12120 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12122 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12124 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12125 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12127 2011-11-11 Roland McGrath <roland@hack.frob.com>
12129 * include/unistd.h: Fix __readlink return type.
12130 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12132 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12134 * stdlib/ucontext.h: Undo last change for makecontext.
12136 2011-11-11 Andreas Schwab <schwab@redhat.com>
12138 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12140 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12141 * setjmp/setjmp.h: Mark functions as non-leaf.
12142 * setjmp/bits/setjmp2.h: Likewise.
12143 * stdlib/ucontext.h: Likewise.
12145 2011-11-10 Andreas Schwab <schwab@redhat.com>
12147 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12148 (reused_arena): Don't check arena limit.
12149 (arena_get2): Atomically check arena limit.
12151 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12153 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12154 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12156 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12159 2011-11-07 Andreas Schwab <schwab@redhat.com>
12161 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12162 handler when locking.
12164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12165 Fix size of allocated buffer.
12167 2011-11-04 Andreas Schwab <schwab@redhat.com>
12170 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12171 declarations for long double functions.
12172 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12174 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12176 2011-11-03 Andreas Schwab <schwab@redhat.com>
12178 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12181 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12184 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12186 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12188 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12190 * include/alloca.h (stackinfo_alloca_round): Define.
12191 (extend_alloca): Use it.
12192 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12193 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12196 * scripts/check-local-headers.sh: Ignore libaudit.h.
12198 * nscd/Makefile (extra-objs): Make recursively expanded.
12200 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12202 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12203 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12205 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12206 * posix/tst-rfc3484-2.c: Likewise.
12207 * posix/tst-rfc3484-3.c: Likewise.
12209 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12211 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12213 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12214 process_vm_writev from libc using GLIBC_2.15 version.
12216 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12218 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12220 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12223 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12226 * nss/getent.c (initgroups_keys): Show error message in case no group
12229 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12230 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12231 __bump_nl_timestamp.
12232 * nscd/connections (nscd_init): When host database is served open
12233 netlink socket and request notification about configuration changes.
12234 (main_loop_poll): Track netlink file descriptor and bump timestamp
12235 in case data becomes available.
12236 (main_loop_epoll): Likewise.
12237 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12238 (database_pers_head): Add extra_data fileds.
12239 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12240 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12241 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12244 in6ai data, call __free_in6ai.
12245 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12246 Add -DHAVE_NETLINK.
12247 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12248 interface information. Reuse previous data if netlink timestamp
12250 (__bump_nl_timestamp): New function.
12251 (__free_in6ai): New function.
12253 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12255 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12256 close_not_cancel_no_status here.
12257 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12259 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12262 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12265 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12266 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12267 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12269 2011-07-03 Andreas Jaeger <aj@suse.de>
12272 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12273 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12274 * math/libm-test.inc (sin_test): Add test case.
12276 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12279 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12280 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12282 * elf/chroot_canon.c (chroot_canon): Cleanups.
12284 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12287 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12288 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12290 * string/test-strchr.c: Make usable for strchrnul testing.
12291 * string/test-strchrnul.c: New file.
12292 * string/Makefile (strop-tests): Add strchrnul.
12294 * po/it.po: Update from translation team.
12295 * po/es.po: Likewise.
12297 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12299 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12300 the three constants needed as parameters. Drop the others.
12301 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12302 __m128i_strloadu_tolower.
12303 Create and initialize variable zero and use it in all the places
12304 where _mm_setzero_si128 was used.
12306 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12307 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12308 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12309 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12311 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12312 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12313 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12314 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12315 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12316 __mpranred, __mptan.
12317 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12318 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12319 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12320 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12321 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12322 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12323 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12324 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12325 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12327 2011-10-28 Andreas Schwab <schwab@redhat.com>
12329 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12330 redefine if SHARED.
12331 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12334 wide char related routines to wcsmbs subdir.
12336 2011-10-27 Andreas Schwab <schwab@redhat.com>
12339 * misc/sys/cdefs.h (__THROWNL): Define.
12340 * posix/unistd.h: Use __THREADNL instead of __THREAD
12341 for memory synchronization functions.
12343 2011-10-26 Roland McGrath <roland@hack.frob.com>
12346 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12348 * manual/stdio.texi (Obstack Streams): Node removed.
12350 2011-10-26 Andreas Schwab <schwab@redhat.com>
12352 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12356 * math/math_private.h (math_force_eval): Allow non-addressable
12358 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12360 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12362 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12363 file is not needed.
12365 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12366 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12367 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12368 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12370 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12371 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12372 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12374 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12375 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12376 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12377 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12378 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12379 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12380 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12381 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12382 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12383 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12384 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12385 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12387 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12388 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12389 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12390 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12391 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12392 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12394 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12395 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12397 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12398 place. Use VEX encoding when compiling for AVX.
12400 2011-10-25 Andreas Schwab <schwab@redhat.com>
12402 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12403 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12405 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12407 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12409 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12410 useless if() expression.
12411 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12422 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12424 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12426 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12429 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12431 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12433 2011-10-25 Andreas Schwab <schwab@redhat.com>
12435 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12437 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12439 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12441 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12442 .text section. Avoid duplicate constants.
12443 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12453 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12455 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12458 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12460 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12466 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12467 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12468 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12469 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12470 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12471 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12472 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12473 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12474 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12476 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12477 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12478 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12479 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12481 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12482 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12483 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12484 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12486 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12487 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12489 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12491 * sysdeps/x86_64/dla.h: Move to ...
12492 * sysdeps/x86_64/fpu/dla.h: ...here.
12493 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12494 situations. Use __builtin_fma only for gcc 4.6 and up.
12496 * config.make.in: Add have-mfma4 entry.
12497 * configure.in: Substitute libc_cv_cc_fma4.
12498 * math/Makefile (dbl-only-routines): Add sincostab.
12499 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12500 Use __sincostab not sincos.
12501 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12508 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12509 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12510 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12511 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12513 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12514 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12516 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12517 define aliases when function name is a macro.
12518 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12519 sysdeps/ieee754/dbl-64/sincos.tbl.
12520 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12521 fma4-enabled routines.
12522 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12523 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12524 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12525 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12526 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12527 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12528 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12529 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12530 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12531 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12532 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12533 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12534 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12535 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12536 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12537 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12538 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12539 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12540 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12542 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12543 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12545 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12547 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12548 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12549 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12550 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12551 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12553 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12564 2011-10-24 Andreas Schwab <schwab@redhat.com>
12566 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12568 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12570 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12572 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12574 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12576 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12577 Remove unused variable magic_bits.
12578 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12580 * string/strnlen.c: Define and use STRNLEN macro.
12581 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12582 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12583 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12584 * wcsmbs/wcslen.c: Define and use WCSLEN.
12585 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12586 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12587 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12588 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12589 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12590 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12591 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12593 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12596 strnlen-sse2-no-bsf.
12597 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12599 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12600 Add strnlen support.
12601 (USE_AS_STRNLEN): New macro.
12602 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12603 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12604 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12605 * sysdeps/x86_64/wcslen.S: New file.
12607 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12609 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12610 XMM-moves are used for copying on small sizes.
12612 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12614 * wcsmbs/Makefile (strop-tests): Add wcschr.
12615 * wcsmbs/test-wcschr.c: New file.
12616 * string/test-strchr.c: Update.
12617 Add wcschr support.
12620 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12622 * wcsmbs/Makefile (strop-tests): Add wcslen.
12623 * wcsmbs/test-wcslen.c: New file.
12624 * string/test-strlen.c: Update.
12625 Add wcslen support.
12628 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12630 * po/it.po: Update from translation team.
12632 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12634 * sysdeps/x86_64/wcscmp.S: Update.
12635 Fix wrong comparison semantics.
12636 wcscmp shall use signed comparison not unsigned.
12637 Don't use substraction to avoid overflow bug.
12638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12639 * wcsmbc/wcscmp.c: Likewise.
12640 * string/test-strcmp.c: Likewise.
12641 Add new tests to check cases with negative values.
12643 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12645 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12646 * sysdeps/x86_64/dla.h: ...here. New file.
12647 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12657 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12660 __ynl_finite aliases.
12662 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12666 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12668 [DLA_FMA] (EMULV): Use DLA_FMA.
12669 [DLA_FMA] (MUL12): Use EMULV.
12670 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12671 that are not needed.
12672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12680 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12682 * math/s_nan.c: Undef __nan.
12683 * math/s_nanf.c: Undef __nanf.
12684 * math/s_nanl.c: Undef __nanl.
12685 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12688 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12690 * math/s_catan.c: Add branch predictions.
12691 * math/s_catanf.c: Likewise.
12692 * math/s_catanh.c: Likewise.
12693 * math/s_catanhf.c: Likewise.
12694 * math/s_catanhl.c: Likewise.
12695 * math/s_catanl.c: Likewise.
12696 * math/s_cexp.c: Likewise.
12697 * math/s_cexpf.c: Likewise.
12698 * math/s_cexpl.c: Likewise.
12699 * math/s_clog.c: Likewise.
12700 * math/s_clog10.c: Likewise.
12701 * math/s_clog10f.c: Likewise.
12702 * math/s_clog10l.c: Likewise.
12703 * math/s_clogf.c: Likewise.
12704 * math/s_clogl.c: Likewise.
12705 * math/s_csqrt.c: Likewise.
12706 * math/s_csqrtf.c: Likewise.
12707 * math/s_csqrtl.c: Likewise.
12708 * math/s_ctanf.c: Likewise.
12709 * math/s_ctanh.c: Likewise.
12710 * math/s_ctanhf.c: Likewise.
12711 * math/s_ctanhl.c: Likewise.
12712 * math/s_ctanl.c: Likewise.
12714 * math/math_private.h: Define __nan, __nanf, __nanl.
12715 * math/s_cacosh.c: Include <math_private.h>.
12716 * math/s_cacoshl.c: Likewise.
12717 * math/s_casinh.c: Likewise.
12718 * math/s_casinhf.c: Likewise.
12719 * math/s_casinhl.c: Likewise.
12720 * math/s_ccos.c: Rely entire on ccosh.
12721 * math/s_ccosf.c: Rely entire on ccoshf.
12722 * math/s_ccosl.c: Rely entirely on ccoshl.
12723 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12724 Remove tests for FE_INVALID.
12725 * math/s_ccoshf.c: Likewise.
12726 * math/s_ccoshl.c: Likewise.
12727 * math/s_csin.c: Likewise.
12728 * math/s_csinf.c: Likewise.
12729 * math/s_csinh.c Likewise.
12730 * math/s_csinhf.c: Likewise.
12731 * math/s_csinhl.c: Likewise.
12732 * math/s_csinl.c: Likewise.
12733 * math/s_ctan.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12735 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12736 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12738 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12741 compilation problems.
12743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12746 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12748 * sysdeps/i386/configure.in: Test for -mfma4 option.
12749 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12750 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12751 COMMON_CPUID_INDEX_80000001.
12752 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12753 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12754 use it if FMA3 is not supported.
12755 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12757 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12758 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12760 2011-10-20 Andreas Schwab <schwab@redhat.com>
12763 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12764 it would create a cycle with a link time dependency.
12766 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12768 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12770 * string/Makefile (strop-tests): Add rawmemchr.
12771 * string/test-rawmemchr.c: New file.
12773 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12775 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12776 when compiling str{,n}casecmp and when AVX is available. Hook up
12777 new optimized code in initializers.
12779 2011-10-19 Andreas Schwab <schwab@redhat.com>
12781 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12782 __feraiseexcept instead of feraiseexcept.
12784 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12786 * math/math_private.h: Define defaults for libc_fetestexcept and
12788 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12789 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12790 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12792 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12793 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12794 libc_fetestexcept and libc_feupdateenv.
12796 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12797 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12798 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12799 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12800 libc_feholdexcept_setround.
12802 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12803 Add s_nearbyint-c and s_nearbyintf-c.
12804 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12805 nearbyintf inlines.
12806 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12807 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12808 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12809 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12811 * math/math_private.h: Define defaults for libc_fegetround,
12812 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12813 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12814 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12816 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12817 standard functions.
12818 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12819 Remove comments and hacks for old compiler versions.
12820 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12821 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12822 libc_feholdexceptl.
12824 2011-10-18 Andreas Schwab <schwab@redhat.com>
12826 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12827 (__feraiseexcept_renamed): Add __NTH.
12828 (feraiseexcept): Add __NTH. Rename local variables to fix
12829 namespace violations.
12831 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12833 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12835 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12837 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12838 recently added interfaces.
12839 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12841 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12842 about macro parameter expansion.
12844 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12845 __NO_MATH_INLINES is defined. Cleanups.
12847 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12848 and __floorf is target has SSE4.1.
12849 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12850 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12852 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12854 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12856 (floorf): Likewise.
12858 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12860 2011-10-17 Andreas Schwab <schwab@redhat.com>
12862 * misc/sys/cdefs.h: Fix last change.
12864 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12867 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12869 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12871 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12872 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12877 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12878 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12879 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12880 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12881 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12882 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12883 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12884 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12885 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12886 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12887 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12888 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12889 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12890 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12891 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12892 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12894 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12895 ceil, ceilf, floor, floorf.
12897 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12898 Perform IRELATIVE relocations last.
12900 * elf/do-rel.h: Add another parameter nrelative, replacing the
12901 local variable with the same name. Change name of the function
12902 to end in Rel or Rela (uppercase).
12903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12904 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12905 elf_dynamic_do_##reloc function.
12907 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12909 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12910 is sufficient, at least on modern CPUs.
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12914 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12915 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12917 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12919 * math/bits/math-finite.h: Add entries for exp.
12920 * math/e_expl.c: Add __*_finite alias.
12921 * sysdeps/i386/fpu/e_exp.S: Likewise.
12922 * sysdeps/i386/fpu/e_expf.S: Likewise.
12923 * sysdeps/i386/fpu/e_expl.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12925 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12929 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12930 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12932 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12933 is sufficient, at least on modern CPUs.
12935 * ctype/ctype-info.c (__ctype_init): Define.
12936 * include/ctype.h (__ctype_init): Declare.
12937 (__ctype_b_loc): The variable is always initialized.
12938 (__ctype_toupper_loc): Likewise.
12939 (__ctype_tolower_loc): Likewise.
12940 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12941 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12943 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12945 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12947 * configure.in: Also look in $cxxmachine/include for C++ system
12950 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12952 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12953 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12954 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12955 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12956 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12957 (USE_AS_WMEMCMP): New macro.
12959 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12960 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12961 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12962 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12964 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12965 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12966 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12967 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12968 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12969 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12970 (USE_AS_WMEMCMP): New macro.
12971 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12972 * sysdeps/string/test-memcmp.c: Update.
12973 Fix simple_wmemcmp.
12975 * wcsmbs/wmemcmp.c: Update.
12976 (WMEMCMP): New macro.
12979 2011-10-12 Andreas Jaeger <aj@suse.de>
12982 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12984 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12986 * libio/iofwide.c (do_length): Avoid warning.
12988 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12990 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12992 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12994 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12995 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12996 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12997 * sysdeps/i386/i686/fpu/e_log.S: New file.
12998 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12999 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13001 * ctype/ctype.h: Add support for inlined isXXX functions when
13002 compiling C++ code.
13004 2011-10-14 Andreas Schwab <schwab@redhat.com>
13006 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13008 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13010 2011-10-13 Roland McGrath <roland@hack.frob.com>
13013 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13015 2011-10-13 Andreas Schwab <schwab@redhat.com>
13017 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13018 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13021 * sysdeps/x86_64/memrchr.S: Check for zero size.
13023 * string/stratcliff.c: Add memrchr tests.
13025 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13028 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13029 rawmemchr-sse2 rawmemchr-sse2-bsf.
13030 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13031 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13032 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13033 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13034 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13035 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13036 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13037 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13038 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13039 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13040 * string/memrchr.c (MEMRCHR): New macro.
13042 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13044 Add integration with gcc's -ffinite-math-only and optimize wrapper
13046 * Versions.def: Define GLIBC_2.15 version for libm.
13047 * math/Makefile (headers): Add bits/math-finite.h.
13048 * math/bits/math-finite.h: New file.
13049 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13050 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13051 * math/e_acoshl.c: Add __*_finite alias.
13052 * math/e_acosl.c: Likewise.
13053 * math/e_asinl.c: Likewise.
13054 * math/e_atan2l.c: Likewise.
13055 * math/e_atanhl.c: Likewise.
13056 * math/e_coshl.c: Likewise.
13057 * math/e_exp10.c: Likewise.
13058 * math/e_exp10f.c: Likewise.
13059 * math/e_exp10l.c: Likewise.
13060 * math/e_exp2l.c: Likewise.
13061 * math/e_fmodl.c: Likewise.
13062 * math/e_gammal_r.c: Likewise.
13063 * math/e_hypotl.c: Likewise.
13064 * math/e_j0l.c: Likewise.
13065 * math/e_j1l.c: Likewise.
13066 * math/e_jnl.c: Likewise.
13067 * math/e_lgammal_r.c: Likewise.
13068 * math/e_log10l.c: Likewise.
13069 * math/e_log2l.c: Likewise.
13070 * math/e_logl.c: Likewise.
13071 * math/e_powl.c: Likewise.
13072 * math/e_sinhl.c: Likewise.
13073 * math/e_sqrtl.c: Likewise.
13074 * math/e_scalb.c: Completely rewritten and optimized.
13075 * math/e_scalbf.c: Likewise.
13076 * math/e_scalbl.c: Likewise.
13077 * math/w_acos.c: Likewise.
13078 * math/w_acosf.c: Likewise.
13079 * math/w_acosl.c: Likewise.
13080 * math/w_acosh.c: Likewise.
13081 * math/w_acoshf.c: Likewise.
13082 * math/w_acoshl.c: Likewise.
13083 * math/w_asin.c: Likewise.
13084 * math/w_asinf.c: Likewise.
13085 * math/w_asinl.c: Likewise.
13086 * math/w_atan2.c: Likewise.
13087 * math/w_atan2f.c: Likewise.
13088 * math/w_atan2l.c: Likewise.
13089 * math/w_atanh.c: Likewise.
13090 * math/w_atanhf.c: Likewise.
13091 * math/w_atanhl.c: Likewise.
13092 * math/w_exp10.c: Likewise.
13093 * math/w_exp10f.c: Likewise.
13094 * math/w_exp10l.c: Likewise.
13095 * math/w_fmod.c: Likewise.
13096 * math/w_fmodf.c: Likewise.
13097 * math/w_fmodl.c: Likewise.
13098 * math/w_j0.c: Likewise.
13099 * math/w_j0f.c: Likewise.
13100 * math/w_j0l.c: Likewise.
13101 * math/w_j1.c: Likewise.
13102 * math/w_j1f.c: Likewise.
13103 * math/w_j1l.c: Likewise.
13104 * math/w_jn.c: Likewise.
13105 * math/w_jnf.c: Likewise.
13106 * math/w_log.c: Likewise.
13107 * math/w_logf.c: Likewise.
13108 * math/w_logl.c: Likewise.
13109 * math/w_log10.c: Likewise.
13110 * math/w_log10f.c: Likewise.
13111 * math/w_log10l.c: Likewise.
13112 * math/w_log2.c: Likewise.
13113 * math/w_log2f.c: Likewise.
13114 * math/w_log2l.c: Likewise.
13115 * math/w_pow.c: Likewise.
13116 * math/w_powf.c: Likewise.
13117 * math/w_powl.c: Likewise.
13118 * math/w_remainder.c: Likewise.
13119 * math/w_remainderf.c: Likewise.
13120 * math/w_remainderl.c: Likewise.
13121 * math/w_scalb.c: Likewise.
13122 * math/w_scalbf.c: Likewise.
13123 * math/w_scalbl.c: Likewise.
13124 * math/w_sqrt.c: Likewise.
13125 * math/w_sqrtf.c: Likewise.
13126 * math/w_sqrtl.c: Likewise.
13127 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13128 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13130 * math/math_private.h: Declare __kernel_standard_f.
13131 * math/w_cosh.c: Remove cruft and optimize a bit.
13132 * math/w_coshf.c: Likewise.
13133 * math/w_coshl.c: Likewise.
13134 * math/w_exp2.c: Likewise.
13135 * math/w_exp2f.c: Likewise.
13136 * math/w_exp2l.c: Likewise.
13137 * math/w_hypot.c: Likewise.
13138 * math/w_hypotf.c: Likewise.
13139 * math/w_hypotl.c: Likewise.
13140 * math/w_lgamma.c: Likewise.
13141 * math/w_lgamma_r.c: Likewise.
13142 * math/w_lgammaf.c: Likewise.
13143 * math/w_lgammaf_r.c: Likewise.
13144 * math/w_lgammal.c: Likewise.
13145 * math/w_lgammal_r.c: Likewise.
13146 * math/w_sinh.c: Likewise.
13147 * math/w_sinhf.c: Likewise.
13148 * math/w_sinhl.c: Likewise.
13149 * math/w_tgamma.c: Likewise.
13150 * math/w_tgammaf.c: Likewise.
13151 * math/w_tgammal.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13154 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13155 Minor optimizations. Pretty printing. Remove cruft.
13156 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13157 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13158 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13159 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13160 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13161 * sysdeps/i386/fpu/e_asin.S: Likewise.
13162 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13163 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13164 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13165 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13166 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13167 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13168 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13169 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13170 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13171 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13172 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13173 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13174 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13175 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13176 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13177 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13178 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13179 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13180 * sysdeps/i386/fpu/e_log.S: Likewise.
13181 * sysdeps/i386/fpu/e_log10.S: Likewise.
13182 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13183 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13184 * sysdeps/i386/fpu/e_log2.S: Likewise.
13185 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13186 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13187 * sysdeps/i386/fpu/e_logf.S: Likewise.
13188 * sysdeps/i386/fpu/e_logl.S: Likewise.
13189 * sysdeps/i386/fpu/e_pow.S: Likewise.
13190 * sysdeps/i386/fpu/e_powf.S: Likewise.
13191 * sysdeps/i386/fpu/e_powl.S: Likewise.
13192 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13193 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13194 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13195 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13196 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13197 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13198 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13199 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13200 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13222 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13223 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13225 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13226 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13227 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13228 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13229 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13230 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13231 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13232 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13233 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13234 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13235 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13236 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13237 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13238 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13239 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13240 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13241 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13242 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13281 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13286 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13292 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13293 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13294 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13295 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13296 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13297 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13298 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13299 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13300 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13301 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13302 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13303 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13304 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13305 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13306 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13307 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13308 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13309 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13310 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13311 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13312 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13313 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13314 (__isnanf): Likewise.
13315 (__isinf_ns): Likewise.
13316 (__isinf_nsf): Likewise.
13317 (__finite): Likewise.
13318 (__finitef): Likewise.
13319 (__ieee754_sqrt): Define as macro.
13320 (__ieee754_sqrtf): Define as macro.
13321 (__ieee754_sqrtl): Define as macro.
13322 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13324 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13325 __FINITE_MATH_ONLY__ consistent.
13326 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13328 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13330 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13333 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13335 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13337 * po/ja.po: Update from translation team.
13339 2011-10-08 Roland McGrath <roland@hack.frob.com>
13341 * locale/programs/locarchive.c (prepare_address_space): New function.
13342 (create_archive, enlarge_archive, open_archive): Use it.
13344 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13345 inside [SHARED], where it is used.
13347 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13349 * nss/getent.c (netgroup_keys): Remove unused variable.
13350 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13352 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13354 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13355 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13356 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13357 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13358 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13359 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13360 * math/Makefile (libm-calls): Add s_isinf_ns.
13361 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13362 * math/multc3.c: Likewise.
13363 * math/s_casin.c: Likewise.
13364 * math/s_casinf.c: Likewise.
13365 * math/s_casinl.c: Likewise.
13366 * math/s_ccos.c: Likewise.
13367 * math/s_ccosf.c: Likewise.
13368 * math/s_ccosl.c: Likewise.
13369 * math/s_ctan.c: Likewise.
13370 * math/s_ctanf.c: Likewise.
13371 * math/s_ctanh.c: Likewise.
13372 * math/s_ctanhf.c: Likewise.
13373 * math/s_ctanhl.c: Likewise.
13374 * math/s_ctanl.c: Likewise.
13375 * math/w_fmod.c: Likewise.
13376 * math/w_fmodf.c: Likewise.
13377 * math/w_fmodl.c: Likewise.
13378 * math/w_remainder.c: Likewise.
13379 * math/w_remainderf.c: Likewise.
13380 * math/w_remainderl.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13382 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13385 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13386 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13387 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13388 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13390 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13392 * stdio-common/printf_fphex.c: Likewise.
13393 * stdio-common/printf_size.c: Likewise.
13395 * math/e_exp10.c: Include math_private.h using <...> not "...".
13396 * math/e_exp10f.c: Likewise.
13397 * math/e_exp10l.c: Likewise.
13398 * math/e_exp2l.c: Likewise.
13399 * math/e_j0l.c: Likewise.
13400 * math/e_j1l.c: Likewise.
13401 * math/e_jnl.c: Likewise.
13402 * math/e_lgammal_r.c: Likewise.
13403 * math/e_rem_pio2l.c: Likewise.
13404 * math/e_scalb.c: Likewise.
13405 * math/e_scalbf.c: Likewise.
13406 * math/e_scalbl.c: Likewise.
13407 * math/k_cosl.c: Likewise.
13408 * math/k_sinl.c: Likewise.
13409 * math/k_tanl.c: Likewise.
13410 * math/s_cacoshf.c: Likewise.
13411 * math/s_catan.c: Likewise.
13412 * math/s_catanf.c: Likewise.
13413 * math/s_catanh.c: Likewise.
13414 * math/s_catanhf.c: Likewise.
13415 * math/s_catanhl.c: Likewise.
13416 * math/s_catanl.c: Likewise.
13417 * math/s_ccosh.c: Likewise.
13418 * math/s_ccoshf.c: Likewise.
13419 * math/s_ccoshl.c: Likewise.
13420 * math/s_cexp.c: Likewise.
13421 * math/s_cexpf.c: Likewise.
13422 * math/s_cexpl.c: Likewise.
13423 * math/s_clog.c: Likewise.
13424 * math/s_clog10.c: Likewise.
13425 * math/s_clog10f.c: Likewise.
13426 * math/s_clog10l.c: Likewise.
13427 * math/s_clogf.c: Likewise.
13428 * math/s_clogl.c: Likewise.
13429 * math/s_csin.c: Likewise.
13430 * math/s_csinf.c: Likewise.
13431 * math/s_csinh.c: Likewise.
13432 * math/s_csinhf.c: Likewise.
13433 * math/s_csinhl.c: Likewise.
13434 * math/s_csinl.c: Likewise.
13435 * math/s_csqrt.c: Likewise.
13436 * math/s_csqrtf.c: Likewise.
13437 * math/s_csqrtl.c: Likewise.
13438 * math/s_ctan.c: Likewise.
13439 * math/s_ctanf.c: Likewise.
13440 * math/s_ctanh.c: Likewise.
13441 * math/s_ctanhf.c: Likewise.
13442 * math/s_ctanhl.c: Likewise.
13443 * math/s_ctanl.c: Likewise.
13444 * math/s_ldexp.c: Likewise.
13445 * math/s_ldexpf.c: Likewise.
13446 * math/s_ldexpl.c: Likewise.
13447 * math/s_significand.c: Likewise.
13448 * math/s_significandf.c: Likewise.
13449 * math/s_significandl.c: Likewise.
13450 * math/w_acos.c: Likewise.
13451 * math/w_acosf.c: Likewise.
13452 * math/w_acosh.c: Likewise.
13453 * math/w_acoshf.c: Likewise.
13454 * math/w_acoshl.c: Likewise.
13455 * math/w_acosl.c: Likewise.
13456 * math/w_asin.c: Likewise.
13457 * math/w_asinf.c: Likewise.
13458 * math/w_asinl.c: Likewise.
13459 * math/w_atan2.c: Likewise.
13460 * math/w_atan2f.c: Likewise.
13461 * math/w_atan2l.c: Likewise.
13462 * math/w_atanh.c: Likewise.
13463 * math/w_atanhf.c: Likewise.
13464 * math/w_atanhl.c: Likewise.
13465 * math/w_cosh.c: Likewise.
13466 * math/w_coshf.c: Likewise.
13467 * math/w_coshl.c: Likewise.
13468 * math/w_dremf.c: Likewise.
13469 * math/w_exp10.c: Likewise.
13470 * math/w_exp10f.c: Likewise.
13471 * math/w_exp10l.c: Likewise.
13472 * math/w_exp2.c: Likewise.
13473 * math/w_exp2f.c: Likewise.
13474 * math/w_fmod.c: Likewise.
13475 * math/w_fmodf.c: Likewise.
13476 * math/w_fmodl.c: Likewise.
13477 * math/w_hypot.c: Likewise.
13478 * math/w_hypotf.c: Likewise.
13479 * math/w_hypotl.c: Likewise.
13480 * math/w_j0.c: Likewise.
13481 * math/w_j0f.c: Likewise.
13482 * math/w_j0l.c: Likewise.
13483 * math/w_j1.c: Likewise.
13484 * math/w_j1f.c: Likewise.
13485 * math/w_j1l.c: Likewise.
13486 * math/w_jn.c: Likewise.
13487 * math/w_jnf.c: Likewise.
13488 * math/w_jnl.c: Likewise.
13489 * math/w_lgamma.c: Likewise.
13490 * math/w_lgamma_r.c: Likewise.
13491 * math/w_lgammaf.c: Likewise.
13492 * math/w_lgammaf_r.c: Likewise.
13493 * math/w_lgammal.c: Likewise.
13494 * math/w_lgammal_r.c: Likewise.
13495 * math/w_log.c: Likewise.
13496 * math/w_log10.c: Likewise.
13497 * math/w_log10f.c: Likewise.
13498 * math/w_log10l.c: Likewise.
13499 * math/w_log2.c: Likewise.
13500 * math/w_log2f.c: Likewise.
13501 * math/w_log2l.c: Likewise.
13502 * math/w_logf.c: Likewise.
13503 * math/w_logl.c: Likewise.
13504 * math/w_pow.c: Likewise.
13505 * math/w_powf.c: Likewise.
13506 * math/w_powl.c: Likewise.
13507 * math/w_remainder.c: Likewise.
13508 * math/w_remainderf.c: Likewise.
13509 * math/w_remainderl.c: Likewise.
13510 * math/w_scalb.c: Likewise.
13511 * math/w_scalbf.c: Likewise.
13512 * math/w_scalbl.c: Likewise.
13513 * math/w_sinh.c: Likewise.
13514 * math/w_sinhf.c: Likewise.
13515 * math/w_sinhl.c: Likewise.
13516 * math/w_sqrt.c: Likewise.
13517 * math/w_sqrtf.c: Likewise.
13518 * math/w_sqrtl.c: Likewise.
13519 * math/w_tgamma.c: Likewise.
13520 * math/w_tgammaf.c: Likewise.
13521 * math/w_tgammal.c: Likewise.
13523 * po/ja.po: Update from translation team.
13525 2011-09-29 Andreas Jaeger <aj@suse.de>
13528 * sunrpc/netname.c (netname2host): Fix logic.
13532 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13534 * math/w_remainder.c (__remainder): Likewise.
13535 * math/w_remainderf.c (__remainderf): Likewise.
13536 * math/libm-test.inc (remainder_test): Add test cases.
13538 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13540 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13543 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13545 * string/test-memcmp.c: Avoid unncessary #defines.
13546 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13548 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13550 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13551 Use new sse2 version for core i3 - i7 as it's faster
13552 than sse42 version.
13553 (bit_Prefer_PMINUB_for_stringop): New.
13554 * sysdeps/x86_64/rawmemchr.S: Update.
13555 Replace with faster SSE2 version.
13556 * sysdeps/x86_64/memrchr.S: New file.
13557 * sysdeps/x86_64/memchr.S: Update.
13558 Replace with faster SSE2 version.
13560 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13562 * elf/dl-load.c (lose): Add cast to avoid warning.
13564 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13566 * po/ca.po: Update from translation team.
13568 * inet/getnetgrent_r.c: Hook up nscd.
13569 * nscd/Makefile (routines): Add nscd_netgroup.
13570 (nscd-modules): Add netgroupcache.
13571 (CFLAGS-netgroupcache.c): Define.
13572 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13573 (cache_search): Add const to second parameter.
13574 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13576 (dbs): Add netgrdb entry.
13577 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13578 (verify_persistent_db): Handle netgrdb.
13579 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13580 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13582 (netgroup_response_header): Define.
13583 (innetgroup_response_header): Define.
13584 (datahead): Add netgroup_response_header and innetgroup_response_header
13586 * nscd/nscd.conf: Add entries for netgroup cache.
13587 * nscd/nscd.h (dbtype): Add netgrdb.
13588 (_PATH_NSCD_NETGROUP_DB): Define.
13589 (netgroup_iov_disabled): Declare.
13590 (xmalloc, xcalloc, xrealloc): Move declarations here.
13591 (cache_search): Adjust prototype.
13592 Add netgroup-related prototypes.
13593 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13594 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13595 (__nscd_innetgr): Declare.
13596 * nscd/selinux.c (perms): Use access_vector_t as element type and
13597 add netgroup-related initializers.
13598 * nscd/netgroupcache.c: New file.
13599 * nscd/nscd_netgroup.c: New file.
13600 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13601 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13602 For four parameters use innetgr.
13603 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13604 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13605 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13606 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13608 * nscd/connections.c (register_traced_file): Don't register file
13609 for disabled databases.
13611 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13613 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13615 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13616 from tree and freeing node.
13618 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13620 * nss/nsswitch.c (__nss_database_lookup): Handle
13621 nss_parse_service_list out of memory case.
13623 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13625 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13626 out of memory case.
13628 2011-10-04 Andreas Schwab <schwab@redhat.com>
13630 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13631 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13633 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13634 elf_machine_rela, elf_machine_lazy_rel.
13635 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13636 (ELF_DYNAMIC_DO_REL): Likewise.
13637 (ELF_DYNAMIC_DO_RELA): Likewise.
13638 (ELF_DYNAMIC_RELOCATE): Likewise.
13639 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13640 to ELF_DYNAMIC_DO_REL.
13641 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13642 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13643 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13646 skip_ifunc, don't call ifunc function if non-zero.
13647 (elf_machine_rela): Likewise.
13648 (elf_machine_lazy_rel): Likewise.
13649 (elf_machine_lazy_rela): Likewise.
13650 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13651 (elf_machine_lazy_rel): Likewise.
13652 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13654 (elf_machine_lazy_rel): Likewise.
13655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13657 (elf_machine_lazy_rel): Likewise.
13658 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13659 (elf_machine_lazy_rel): Likewise.
13660 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13661 (elf_machine_lazy_rel): Likewise.
13662 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13663 (elf_machine_lazy_rel): Likewise.
13664 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13665 (elf_machine_lazy_rel): Likewise.
13666 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13667 (elf_machine_lazy_rel): Likewise.
13668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13669 (elf_machine_lazy_rel): Likewise.
13671 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13673 * nss/nss_files/files-init.c (_nss_files_init): Use static
13674 initialization for all the *_traced_file variables.
13676 2011-09-28 Andreas Schwab <schwab@redhat.com>
13678 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13680 2011-09-27 Roland McGrath <roland@hack.frob.com>
13683 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13685 2011-09-27 Andreas Schwab <schwab@redhat.com>
13687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13688 Reread the line before reparsing it.
13690 2011-09-26 Andreas Schwab <schwab@redhat.com>
13692 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13694 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13695 Maxim Kuvyrkov <maxim@codesourcery.com>
13696 Joseph Myers <joseph@codesourcery.com>
13698 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13699 if needed for __stack_chk_guard.
13701 2011-09-19 Roland McGrath <roland@hack.frob.com>
13703 * sysdeps/posix/spawni.c (script_execute): Always define it.
13704 It will be optimized away if unused.
13705 (maybe_script_execute): New function.
13706 (__spawni): Call it.
13708 * Makerules: Don't include tls.make.
13709 (config-tls): Always set to thread.
13710 * tls.make.c: File removed.
13712 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13714 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13715 * config.make.in (CPPFLAGS-config): New substituted variable.
13717 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13719 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13722 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13723 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13725 2011-09-15 Roland McGrath <roland@hack.frob.com>
13727 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13728 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13729 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13730 (CALL_FAIL): Likewise.
13731 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13732 (CALL_FAIL): Macro removed.
13733 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13735 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13737 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13738 for __FINITE_MATH_ONLY__ == 1.
13740 2011-09-15 Andreas Schwab <schwab@redhat.com>
13742 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13743 __ieee754_sqrt instead of sqrt.
13744 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13745 __ieee754_sqrtf instead of sqrtf.
13746 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13747 __floorf instead of floorf.
13748 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13749 __floorf, __truncf instead of floorf, truncf.
13751 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13753 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13755 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13756 __extern_always_inline.
13757 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13760 2011-09-14 Andreas Schwab <schwab@redhat.com>
13762 * elf/rtld.c (dl_main): Also relocate in dependency order when
13763 doing symbol dependency testing.
13765 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13768 Always define `refsym'.
13770 2011-09-13 Andreas Schwab <schwab@redhat.com>
13772 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13773 (__FD_ELT): Renamed from __FDELT.
13774 * misc/bits/select2.h (__FD_ELT): Likewise.
13775 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13776 __FD_MASK instead of __FDELT, __FDMASK.
13777 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13779 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13782 * elf/Makefile (gen-ldd): Fix pattern.
13784 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13785 (init_tls): Likewise.
13787 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13789 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13791 2011-09-12 Andreas Schwab <schwab@redhat.com>
13793 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13794 `struct cmsghdr *' instead of `void *'.
13795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13798 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13800 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13802 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13803 ldd_rewrite_script.
13805 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13807 * configure.in: Remove --with-tls option.
13808 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13809 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13810 out in case it is missing.
13811 * sysdeps/ia64/elf/configure.in: Likewise.
13812 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13813 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13814 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13815 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13816 * sysdeps/sh/elf/configure.in: Likewise.
13817 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13818 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13819 * sysdeps/x86_64/elf/configure.in: Likewise.
13820 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13821 * sysdeps/mach/hurd/tls.h: Likewise.
13824 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13827 * configure.in: Fix use of AC_INIT.
13829 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13831 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13833 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13835 * malloc/hooks.c: Likewise.
13838 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13839 variables statically.
13840 (narenas): Initialize.
13841 (list_lock): Initialize.
13842 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13843 initializtion of main_arena and list_lock. Small cleanups.
13844 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13845 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13846 Add initializers to main_arena and mp_.
13847 (malloc_state): Remove pagesize member. Change all users to use
13850 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13851 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13852 is always initialized.
13854 * malloc/malloc.c: Removed unused configurations and dead code.
13855 * malloc/arena.c: Likewise.
13856 * malloc/hooks.c: Likewise.
13857 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13859 * include/tls.h: Removed. USE___THREAD must always be defined.
13860 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13861 * elf/dl-libc.c: Likewise.
13862 * elf/dl-tsd.c: Likewise.
13863 * include/errno.h: Likewise.
13864 * include/netdb.h: Likewise.
13865 * include/resolv.h: Likewise.
13866 * inet/herrno-loc.c: Likewise.
13867 * inet/herrno.c: Likewise.
13868 * malloc/arena.c: Likewise.
13869 * malloc/hooks.c: Likewise.
13870 * malloc/malloc.c: Likewise.
13871 * resolv/res-state.c: Likewise.
13872 * resolv/res_libc.c: Likewise.
13873 * sysdeps/i386/dl-machine.h: Likewise.
13874 * sysdeps/ia64/dl-machine.h: Likewise.
13875 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13876 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13877 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13878 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13879 * sysdeps/sh/dl-machine.h: Likewise.
13880 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13881 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13882 * sysdeps/unix/i386/sysdep.S: Likewise.
13883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13884 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13885 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13889 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13893 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13894 * sysdeps/x86_64/dl-machine.h: Likewise.
13895 * tls.make.c: Likewise.
13897 * configure.in: Remove --with-__thread option. Make tests for
13898 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13899 tls_model attribute fail if no support is available. Remove
13901 * Makeconfig: Adjust for dropped configure option. All features are
13903 * Makerules: Likewise.
13904 * Versions.def: Likewise.
13905 * argp/argp-fmtstream.c: Likewise.
13906 * argp/argp-fmtstream.h: Likewise.
13907 * argp/argp-help.c: Likewise.
13908 * assert/assert.c: Likewise.
13909 * config.h.in: Likewise.
13910 * config.make.in: Likewise.
13911 * configure: Likewise.
13912 * configure.in: Likewise.
13913 * csu/Versions: Likewise.
13914 * csu/init.c: Likewise.
13915 * elf/tst-audit2.c: Likewise.
13916 * elf/tst-tls10.c: Likewise.
13917 * elf/tst-tls10.h: Likewise.
13918 * elf/tst-tls11.c: Likewise.
13919 * elf/tst-tls12.c: Likewise.
13920 * elf/tst-tls14.c: Likewise.
13921 * elf/tst-tlsmod11.c: Likewise.
13922 * elf/tst-tlsmod12.c: Likewise.
13923 * elf/tst-tlsmod13.c: Likewise.
13924 * elf/tst-tlsmod13a.c: Likewise.
13925 * elf/tst-tlsmod14a.c: Likewise.
13926 * elf/tst-tlsmod15b.c: Likewise.
13927 * elf/tst-tlsmod16a.c: Likewise.
13928 * elf/tst-tlsmod16b.c: Likewise.
13929 * elf/tst-tlsmod7.c: Likewise.
13930 * elf/tst-tlsmod8.c: Likewise.
13931 * elf/tst-tlsmod9.c: Likewise.
13932 * gmon/gmon.c: Likewise.
13933 * grp/fgetgrent_r.c: Likewise.
13934 * grp/putgrent.c: Likewise.
13935 * hurd/fopenport.c: Likewise.
13936 * include/libc-symbols.h: Likewise.
13937 * include/tls.h: Likewise.
13938 * intl/gettextP.h: Likewise.
13939 * intl/loadinfo.h: Likewise.
13940 * locale/global-locale.c: Likewise.
13941 * locale/localeinfo.h: Likewise.
13942 * mach/devstream.c: Likewise.
13943 * malloc/arena.c: Likewise.
13944 * malloc/set-freeres.c: Likewise.
13945 * misc/err.c: Likewise.
13946 * misc/getttyent.c: Likewise.
13947 * misc/mntent_r.c: Likewise.
13948 * posix/getopt.c: Likewise.
13949 * posix/wordexp.c: Likewise.
13950 * pwd/fgetpwent_r.c: Likewise.
13951 * resolv/Versions: Likewise.
13952 * resolv/res_hconf.c: Likewise.
13953 * shadow/fgetspent_r.c: Likewise.
13954 * shadow/putspent.c: Likewise.
13955 * stdio-common/printf_fphex.c: Likewise.
13956 * stdio-common/tmpfile.c: Likewise.
13957 * stdlib/abort.c: Likewise.
13958 * stdlib/fmtmsg.c: Likewise.
13959 * sunrpc/auth_unix.c: Likewise.
13960 * sunrpc/clnt_perr.c: Likewise.
13961 * sunrpc/clnt_tcp.c: Likewise.
13962 * sunrpc/clnt_udp.c: Likewise.
13963 * sunrpc/clnt_unix.c: Likewise.
13964 * sunrpc/openchild.c: Likewise.
13965 * sunrpc/svc_simple.c: Likewise.
13966 * sunrpc/svc_tcp.c: Likewise.
13967 * sunrpc/svc_udp.c: Likewise.
13968 * sunrpc/svc_unix.c: Likewise.
13969 * sunrpc/xdr.c: Likewise.
13970 * sunrpc/xdr_array.c: Likewise.
13971 * sunrpc/xdr_rec.c: Likewise.
13972 * sunrpc/xdr_ref.c: Likewise.
13973 * sunrpc/xdr_stdio.c: Likewise.
13975 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13977 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13979 2011-07-03 Andreas Jaeger <aj@suse.de>
13981 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13982 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13983 regenerate with gen-libm-tests.pl.
13985 2010-05-12 Petr Baudis <pasky@suse.cz>
13988 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13989 around j0() zero points by switching to j1().
13990 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13995 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13997 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13999 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14002 Patch in part by Pavel Roskin <proski@gnu.org>.
14005 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14007 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14008 Free memory block if necessary.
14011 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14012 be NULL. Don't lock in this case.
14014 2011-09-09 Roland McGrath <roland@hack.frob.com>
14016 * elf/elf.h (ELFOSABI_GNU): New macro.
14017 (ELFOSABI_LINUX): Define to that.
14019 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14021 * string/strncat.c (strncat): Undef the symbol in case it has been
14022 defined in bits/string.h.
14024 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14026 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14028 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14031 2011-08-17 Andreas Jaeger <aj@suse.de>
14033 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14035 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14036 Ian Lance Taylor <iant@google.com>
14038 * math/libm-test.inc (lround_test): New testcase.
14039 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14041 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14043 * Makefile: Remove support for automatic cvs check-ins.
14044 * Makerules: Likewise.
14045 * config.make.in: Likewise.
14046 * configure.in: Likewise.
14047 * intl/Makefile: Likewise.
14048 * locale/Makefile: Likewise.
14049 * po/Makefile: Likewise.
14050 * posix/Makefile: Likewise.
14051 * sysdeps/gnu/Makefile: Likewise.
14052 * sysdeps/mach/hurd/Makefile: Likewise.
14053 * sysdeps/sparc/sparc32/Makefile: Likewise.
14056 * posix/Makefile (bug-regex32-ENV): Define.
14057 Patch by John Stanley <jpsinthemix@verizon.net>.
14059 * misc/Makefile (headers): Add bits/select2.h.
14060 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14061 * misc/bits/select2.h: New file.
14062 * include/bits/select2.h: New file.
14063 * debug/Makefile (routines): Add fdelt_chk.
14064 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14065 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14067 * debug/fdelt_chk.c: New file.
14069 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14070 * wcsmbs/test-wmemcmp.c: Likewise.
14071 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14072 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14074 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14076 * string/Makefile (strop-tests): Add memcmp.
14077 * string/test-wmemcmp.c: New file.
14078 * string/test-memcmp.c: Add wmemcmp support.
14080 2011-09-08 Roland McGrath <roland@hack.frob.com>
14083 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14086 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14087 garbage value in a __mach_port_mod_refs call in the cases of the
14088 task-self and thread-self ports.
14090 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14092 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14094 2011-09-08 Andreas Schwab <schwab@redhat.com>
14096 * elf/dl-load.c (lose): Check for non-null L.
14098 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14100 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14102 * elf/dl-libc.c (dlerror_run): Pass back error code from
14106 * elf/dl-load.c (lose): Free l_origin if it is valid.
14108 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14110 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14111 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14112 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14113 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14114 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14115 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14117 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14119 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14120 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14121 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14122 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14123 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14124 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14125 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14126 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14127 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14128 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14130 2011-08-15 Alan Modra <amodra@gmail.com>
14133 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14134 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14135 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14136 ppc_mcount to static-only-routines.
14137 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14139 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14140 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14142 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14144 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14145 for finite and infinity parameters.
14147 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14150 and add nop instructions for throughput optimization.
14151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14153 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14155 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14156 aligned copy for power7 with vector-scalar instructions.
14157 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14159 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14164 2011-09-07 Andreas Schwab <schwab@redhat.com>
14167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14170 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14172 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14173 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14174 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14175 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14178 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14180 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14181 Forgot to demangle the pointer.
14183 * sysdeps/i386/sysdep.h: Define atom_text_section.
14184 * sysdeps/x86_64/sysdep.h: Likewise.
14185 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14186 section with atom_text_section.
14187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14188 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14189 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14191 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14194 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14195 already be defined. Change to take two parameters and don't assign
14196 result to variable. Adjust all users.
14197 Define INTERNAL_GETTIME if not already defined.
14198 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14201 HAVE_CLOCK_GETTIME_VSYSCALL.
14202 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14205 gettimeofday vsyscall, just use time.
14207 2011-09-06 Andreas Schwab <schwab@redhat.com>
14209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14212 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14214 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14218 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14219 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14220 syscall if possible.
14222 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14224 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14225 e_ident. Don't pass to find_mapsXX.
14226 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14228 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14231 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14232 * sysdeps/x86_64/multiarch/strchr.S: Update.
14233 Check bit_slow_BSF bit.
14234 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14235 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14236 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14238 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14241 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14243 (tryshell): Define.
14244 (__spawni): Change last parameter to be flag. Test
14245 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14246 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14247 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14248 * posix/spawni.c: Likewise.
14249 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14250 * posix/spawnp.c: Likewise. Change normal version to use
14251 SPAWN_XFLAGS_USE_PATH.
14252 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14253 SPAWN_XFLAGS_TRY_SHELL.
14256 * posix/glob.h: Remove gcc 1.x support.
14259 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14261 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14264 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14266 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14267 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14268 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14269 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14270 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14271 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14273 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14275 * sysdeps/x86_64/wcscmp.S: New file.
14277 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14278 wcscmp-c wcscmp-sse2
14279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14280 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14281 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14282 * wcsmbs/wcscmp.c: Allow renaming.
14284 2011-09-05 David S. Miller <davem@davemloft.net>
14286 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14287 stack slot, rather than the struct return pointer slot.
14288 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14289 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14291 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14293 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14295 * po/ja.po: Update from translation team.
14298 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14299 kernel in 64-bit binaries.
14301 2011-09-01 David S. Miller <davem@davemloft.net>
14303 * elf/elf.h (HWCAP_SPARC_*): Move to..
14304 * sysdeps/sparc/sysdep.h: this new file and add new values.
14305 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14306 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14307 _DL_HWCAP_COUNT to 24.
14308 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14310 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14311 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14312 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14314 instead of magic constants.
14315 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14317 2011-08-31 David S. Miller <davem@davemloft.net>
14319 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14321 Reimplement to do errno handling inline.
14322 (SYSCALL_ERROR_HANDLER): New macro.
14323 (__SYSCALL_STRING): Do not do errno handling in asm.
14324 (__CLONE_SYSCALL_STRING): Delete.
14325 (__INTERNAL_SYSCALL_STRING): Delete.
14326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14327 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14328 (PSEUDO): Reimplement to do errno handling inline.
14329 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14330 (SYSCALL_ERROR_HANDLER): New macro.
14331 (__SYSCALL_STRING): Do not do errno handling in asm.
14332 (__CLONE_SYSCALL_STRING): Delete.
14333 (__INTERNAL_SYSCALL_STRING): Delete.
14334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14335 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14337 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14338 (inline_syscall*): Add 'err' argument.
14339 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14340 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14341 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14342 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14344 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14345 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14347 2011-08-30 Andreas Schwab <schwab@redhat.com>
14349 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14351 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14353 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14356 2011-08-24 David S. Miller <davem@davemloft.net>
14358 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14360 2011-08-24 Andreas Schwab <schwab@redhat.com>
14362 * elf/Makefile: Add rules to build and run unload8 test.
14363 * elf/unload8.c: New file.
14364 * elf/unload8mod1.c: New file.
14365 * elf/unload8mod1x.c: New file.
14366 * elf/unload8mod2.c: New file.
14367 * elf/unload8mod3.c: New file.
14369 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14372 2011-08-23 David S. Miller <davem@davemloft.net>
14374 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14375 subtract stack bias.
14376 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14377 %sp not %fp in calculations.
14378 (_JMPBUF_UNWINDS_ADJ): Likewise.
14380 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14381 (aio_suspend): Call it to force an exception region around the
14382 AIO_MISC_WAIT() invocation.
14384 2011-08-23 Andreas Schwab <schwab@redhat.com>
14386 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14389 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14391 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14393 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14394 and <dl-machine.h>.
14395 (Elf64_FuncDesc): Remove.
14397 2011-08-22 David S. Miller <davem@davemloft.net>
14399 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14400 sigaltstack check, add missing cfi directives.
14401 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14402 missing cfi directives, and sigaltstack handling.
14404 2011-08-16 Andreas Schwab <schwab@redhat.com>
14407 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14408 object is seen twice.
14409 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14411 * elf/Makefile (distribute): Add tst-initorder2.c.
14412 (tests): Add tst-initorder2.
14413 (modules-names): Add tst-initorder2a tst-initorder2b
14414 tst-initorder2c tst-initorder2d. Add rules to build them.
14415 ($(objpfx)tst-initorder2.out): New rule.
14416 * elf/tst-initorder2.c: New file.
14417 * elf/tst-initorder2.exp: New file.
14419 2011-08-22 Andreas Schwab <schwab@redhat.com>
14421 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14423 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14424 dependencies back to end of function.
14426 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14427 $(elfobjdir)/ld.so.
14429 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14432 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14434 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14435 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14436 of __vdso_gettimeofday.
14437 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14438 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14440 (_libc_vdso_platform_setup): Remove initialization of
14441 __vdso_gettimeofday and __vdso_time.
14443 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14445 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14446 and fgetc_unlocked.
14447 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14450 * elf/dl-open.c (add_to_global): Report additions to the global scope
14451 for LD_DEBUG=scopes.
14452 (dl_open_worker): Also print scope of newly loaded dependencies.
14453 (_dl_show_scope): Indicate if there is no scope.
14456 * stdio-common/Makefile (tests): Add bug24.
14457 * stdio-common/bug24.c: New file.
14459 2011-08-19 Andreas Jaeger <aj@suse.de>
14462 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14463 non-existant file when using close-on-exec mode.
14465 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14468 the very first instruction.
14470 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14471 the CFI state in the end.
14472 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14473 inclusion of dl-trampoline.h.
14474 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14476 2011-08-19 Andreas Schwab <schwab@redhat.com>
14478 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14479 expectations for long double.
14481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14482 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14484 2011-08-14 David S. Miller <davem@davemloft.net>
14486 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14487 artificual limit depends upon the system page size.
14489 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14491 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14492 * resolv/Makefile: Define CFLAGS-libresolv.
14494 2011-08-17 Andreas Schwab <schwab@redhat.com>
14496 * nss/makedb.c (compute_tables): Make variables used in nested
14499 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14501 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14502 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14503 if buffer was too small.
14505 * elf/pldd.c (main): Attach to all threads in the process.
14506 Rewrite /proc handling to use *at functions.
14508 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14510 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14511 specifies first scope to show.
14512 (dl_open_worker): Update callers. Move printing scope of new
14513 object to before the relocation.
14514 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14515 * sysdeps/generic/ldsodefs.h: Update declaration.
14517 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14518 string for the scope number.
14520 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14522 * nscd/servicescache.c (cache_addserv): Make sure written is always
14525 2011-08-14 Roland McGrath <roland@hack.frob.com>
14527 * sysdeps/i386/i486/bits/atomic.h
14528 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14529 statement expression, so as to suppress "set but not used" warning.
14530 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14532 * string/strncat.c (STRNCAT): Use prototype definition.
14534 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14535 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14537 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14538 (localedef-modules): Add localedef.
14539 (locale-modules): Add locale.
14541 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14542 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14543 to avoid a warning.
14545 2011-08-14 David S. Miller <davem@davemloft.net>
14547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14548 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14550 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14552 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14553 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14554 * elf/rtld.c (dl_main): Set l_name of vDSO.
14555 Call _dl_show_scope when DL_DEBUG_SCOPES.
14556 (process_dl_debug): Recognize scopes flag and also set it for all.
14557 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14558 Declare _dl_show_scope.
14560 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14561 (do_dlopen): Pass caller_dlopen to dl_open.
14562 (__libc_dlopen_mode): Initialize caller_dlopen.
14564 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14565 of libc. Make tolower call locale-independent. Optimize a bit by
14566 using isdigit instead of isalnum.
14567 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14569 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14571 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14572 was a dependency or dynamically loaded.
14574 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14576 * intl/l10nflist.c: Allow architecture-specific pop function.
14577 * sysdeps/x86_64/l10nflist.c: New file.
14579 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14582 2011-08-10 Andreas Schwab <schwab@redhat.com>
14584 * include/dirent.h: Add libc_hidden_proto for scandirat and
14585 scandirat64. Don't declare __scandirat64.
14586 * dirent/scandirat.c: Add libc_hidden_def.
14587 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14588 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14590 2011-08-10 David S. Miller <davem@davemloft.net>
14592 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14594 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14596 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14598 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14600 * Versions.def [libc]: Add GLIBC_2.15.
14601 * dirent/Makefile (routines): Add scandirat and scandirat64.
14602 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14604 * dirent/dirent.h: Declare scandirat and scandirat64.
14605 * dirent/scandirat.c: New file.
14606 * dirent/scandirat64.c: New file.
14607 * sysdeps/wordsize-64/scandirat.c: New file.
14608 * sysdeps/wordsize-64/scandirat64.c: New file.
14609 * dirent/opendir.c: Define opendirat.
14610 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14612 * dirent/scandir64.c: Adjust for scandir.c change.
14613 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14614 __scandirat64, and __scandir_cancel_handler.
14615 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14616 additional parameter and use openat instead of open (outside of ld.so).
14617 Add new __opendir as wrapper around __opendirat.
14618 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14619 here without requiring old scandirat implementation.
14621 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14623 * dirent/scandir.c (cancel_handler): Renamed to
14624 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14625 defined. Adjust users.
14626 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14629 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14631 * string/test-string.h (IMPL): Use __STRING to expand name and then
14634 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14637 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14639 * string/Makefile: Update.
14640 (strop-tests): Append strncat.
14641 * string/test-wcscmp.c: New file.
14642 New comprehensive test for wcscmp.
14643 * string/test-strcmp.c: Update.
14644 (WIDE): New define.
14646 2011-07-22 Andreas Schwab <schwab@redhat.com>
14648 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14651 2011-07-26 Andreas Schwab <schwab@redhat.com>
14653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14654 encoding to ACE if AI_IDN.
14656 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14659 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14661 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14663 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14664 Fix overflow bug in strncat.
14665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14667 * string/test-strncat.c: Update.
14668 Add new tests for checking overflow bugs.
14670 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14673 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14674 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14675 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14677 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14678 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14679 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14680 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14683 (USE_AS_STRCAT): Define.
14684 Add strcat and strncat support.
14685 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14687 2011-07-25 Andreas Schwab <schwab@redhat.com>
14689 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14690 __n bigger than INT_MAX+1.
14691 (__strncmp_g): Likewise.
14693 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14695 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14696 * libio/stido.h: Likewise.
14698 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14703 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14704 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14705 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14706 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14707 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14710 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14715 (_dl_x86_64_save_sse): Likewise.
14717 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14721 (_dl_x86_64_save_sse): Likewise.
14723 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14725 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14727 2011-07-21 Andreas Schwab <schwab@redhat.com>
14729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14731 (_dl_x86_64_save_sse): Use correct AVX check.
14733 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14735 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14736 bug in strncpy/strncat.
14737 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14739 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14741 * string/tester.c (test_strcat): Add tests for different alignments
14742 of source and destination.
14743 (test_strncat): Likewise.
14745 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14748 * posix/glob.c (glob): Check passed in values before using them in
14749 expressions to avoid some overflows.
14750 (glob_in_dir): Likewise.
14753 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14754 check for AVX enablement so that we don't crash with old kernels and
14756 * elf/tst-audit4.c: Add same checks here.
14757 * elf/tst-audit6.c: Likewise.
14759 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14761 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14763 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14765 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14767 * po/cs.po: Update from translation team.
14768 * po/bg.po: Likewise.
14770 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14772 * misc/sys/cdefs.h: Add support for const attribute.
14773 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14774 to gnu_dev_{major,minor,makedev} functions.
14776 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14778 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14780 2011-07-20 Andreas Schwab <schwab@redhat.com>
14782 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14785 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14788 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14789 register in order to avoid conflicts with the soft frame pointer
14790 being held in r11 when necessary.
14791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14792 (INTERNAL_VSYSCALL_NCS): Likewise.
14794 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14796 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14797 * elf/dl-fini.c (_dl_fini): Adjust caller.
14798 * elf/dl-close.c (_dl_close_worker): Likewise.
14799 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14801 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14803 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14804 "aux_cache->nlibs < 0".
14806 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14807 in the reload-count case.
14809 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14812 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14813 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14814 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14815 * sysdeps/x86_64/multiarch/strcat.S: New file.
14816 * sysdeps/x86_64/multiarch/strncat.S: New file.
14817 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14818 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14819 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14820 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14821 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14822 (USE_AS_STRCAT): Define.
14823 Add strcat and strncat support.
14824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14825 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14826 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14827 * string/strncat.c: Update.
14828 (USE_AS_STRNCAT): Define.
14829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14830 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14832 * sysdeps/x86_64/multiarch/init-arch.h
14833 (bit_Prefer_PMINUB_for_stringop): New.
14834 (index_Prefer_PMINUB_for_stringop): Likewise.
14835 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14836 bit_Prefer_PMINUB_for_stringop.
14838 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14840 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14842 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14843 of casting of buffer.
14844 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14845 buffer32 and buffer64.
14846 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14847 writes instead of casting of buffer.
14848 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14850 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14853 2011-07-19 Andreas Schwab <schwab@redhat.com>
14855 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14857 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14859 * nscd/nscd.c (termination_handler): Don't do anything for a database
14860 if it has not yet been initialized.
14862 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14864 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14866 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14868 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14870 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14872 * po/nl.po: Update from translation team.
14873 * po/sv.po: Likewise.
14875 2011-07-16 Roland McGrath <roland@hack.frob.com>
14877 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14878 now disallowed by GCC.
14880 * configure.in (use-default-link): Default to yes if a test -shared
14881 link meets our qualifications.
14882 * configure: Regenerated.
14884 * config.make.in (output-format): New variable.
14885 * configure.in: Check for ld --print-output-format support.
14886 * configure: Regenerated.
14887 * Makerules ($(common-objpfx)format.lds)
14888 [$(output-format) != unknown]: Just use $(output-format),
14889 instead of the linker-script munging.
14891 2011-07-14 Roland McGrath <roland@hack.frob.com>
14893 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14894 of $(common-objpfx)shlib.lds.
14895 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14897 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14898 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14900 * configure.in (-z relro check): Adjust test code to add a large
14901 writable data section after it.
14902 * configure: Regenerated.
14904 2011-07-11 Roland McGrath <roland@hack.frob.com>
14906 * configure.in (-z relro check): Fix test code to make the variable
14908 * configure: Regenerated.
14910 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14912 * nscd/nscd.h (struct traced_file): Define.
14913 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14914 elements. Add traced_files.
14915 (inotify_fd): Declare.
14916 (register_traced_file): Declare.
14917 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14918 (inotify_fd): Export.
14919 (resolv_conf_descr): Remove.
14920 (nscd_init): Move inotify descriptor creation to main.
14921 Don't register files for notification here.
14922 (register_traced_file): New function.
14923 (invalidate_cache): Don't use reset_res to determine whether to call
14924 res_init, go through the list of registered files.
14925 (main_loop_poll): The inotify descriptors are now stored in the
14926 structures for the traced files.
14927 (main_loop_epoll): Likewise
14928 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14929 to __nss_disable_nscd.
14930 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14931 for a database anymore. Check the records for all the registered
14933 * nss/Makefile (libnss_files-routines): Add files-init.
14934 (libnss_db-routines): Add db-init.
14935 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14936 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14937 * nss/nss_db/db-init.c: New file.
14938 * nss/nss_files/files-init.c: New file.
14939 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14940 __nss_lookup_function.
14941 (__nss_lookup_function): Call nss_load_library.
14942 (nss_load_all_libraries): New function.
14943 (__nss_disable_nscd): Take parameter with callback function for files
14944 to register. Set is_nscd. Load all the DSOs for the NSS modules
14945 used for the cached services.
14946 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14947 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14948 options for features to all the files in nscd.
14950 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14952 2011-07-10 Roland McGrath <roland@hack.frob.com>
14954 * csu/elf-init.c (__libc_csu_init): Comment typo.
14956 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14958 * po/pl.po: Update from translation team.
14959 * po/ja.po: Likewise.
14960 * po/ru.po: Likewise.
14961 * po/ko.po: Likewise.
14962 * po/fr.po: Likewise.
14964 2011-07-09 Roland McGrath <roland@hack.frob.com>
14966 * configure.in (.ctors/.dtors header and trailer check):
14967 Use an empirical test on a built program.
14968 * configure: Regenerated.
14970 * configure.in (-z relro check): Use an empirical test on a built DSO.
14971 Detect, but do not require, on ia64.
14972 * configure: Regenerated.
14974 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14975 Update tests that use readelf to use $READELF instead.
14976 * configure: Regenerated.
14978 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14980 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14981 if the result is not used.
14983 2011-07-05 Andreas Jaeger <aj@suse.de>
14986 * stdlib/tst-strtod.c: Add testcase.
14988 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14990 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14991 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14992 The latter has a higher limit. Take additional parameter to pass to
14994 (__pathconf): Pass file to __statfs_link_max.
14995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14997 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15001 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15002 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15004 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15005 (__statfs_filesize_max): Likewise.
15006 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15008 2011-07-05 Andreas Jaeger <aj@suse.de>
15010 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15012 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15014 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15016 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15019 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15021 * Makefile (strop-tests): Add strncat.
15022 * string/test-strncat.c: New file.
15024 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15026 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15028 2011-06-21 Andreas Jaeger <aj@suse.de>
15030 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15031 Copy rule from iconvdata/Makefile.
15033 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15036 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15037 but no long options are defined, just return 'W'.
15039 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15042 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15044 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15046 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15048 (innetgr): Likewise.
15050 2011-07-05 Roland McGrath <roland@hack.frob.com>
15052 * config.make.in (install_root): Default to $(DESTDIR).
15054 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15058 2011-07-02 Roland McGrath <roland@hack.frob.com>
15060 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15062 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15063 containing directory rather than embedding absolute directory names.
15065 * scripts/check-local-headers.sh: Rewritten using awk.
15066 Match by word, not by line. Print error messages for matches.
15067 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15069 * Makerules [shlib-lds-flags empty]:
15070 ($(common-objpfx)libc_pic.opts): New target.
15071 ($(common-objpfx)libc_pic.os.clean): New target.
15072 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15074 * config.make.in (OBJCOPY): New variable.
15075 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15076 * configure: Regenerated.
15078 * config.make.in (use-default-link): New variable.
15079 * configure.in (use_default_link): Grok --with-default-link to set it.
15080 * configure: Regenerated.
15081 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15082 (shlib-lds, shlib-lds-flags): Define to empty.
15084 * Makerules (shlib-lds): New variable.
15085 (shlib-lds-flags): New variable.
15086 (build-shlib, build-moduile, build-module-asneeded): Use it.
15087 ($(common-objpfx)libc.so): Use $(shlib-lds).
15088 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15089 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15091 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15092 DT_FLAGS/DT_FLAGS_1 with zero flags.
15094 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15095 linker script munging.
15097 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15099 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15101 * crypt/sha512.c (sha512_process_block): Perform total addition using
15102 128-bit if possible.
15103 (__sha512_finish_ctx): Likewise.
15104 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15106 * crypt/sha256.c (SWAP64): Define.
15107 (sha256_process_block): Perform total addition using 64-bit if
15109 (__sha256_finish_ctx): Likewise.
15111 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15113 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15115 * nscd/hstcache.c (cache_addhst): Likewise.
15116 * nscd/grpcache.c (cache_addgr): Likewise.
15117 * nscd/aicache.c (addhstaiX): Likewise
15118 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15120 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15122 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15124 * nscd/hstcache.c (cache_addhst): Likewise.
15125 * nscd/grpcache.c (cache_addgr): Likewise.
15126 * nscd/aicache.c (addhstaiX): Likewise
15128 2011-07-01 Andreas Schwab <schwab@redhat.com>
15130 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15131 domain only when needed.
15133 2011-06-30 Andreas Schwab <schwab@redhat.com>
15135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15136 is always restored.
15138 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15140 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15141 are re-adding the entry.
15142 * nscd/servicescache.c (cache_addserv): Likewise.
15144 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15146 * sysdeps/generic/dl-irel.h: fix protection against multiple
15148 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15150 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15153 * malloc/memusage.sh: Fix quoting in message.
15154 * debug/xtrace.sh: Likewise.
15156 * configure.in: Remove support for --experimental-malloc option, make
15158 * config.make.in: Likewise.
15159 * malloc/Makefile: Likewise.
15161 2011-06-27 Andreas Schwab <schwab@redhat.com>
15163 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15164 two-byte characters.
15166 2011-06-27 Roland McGrath <roland@hack.frob.com>
15168 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15169 AC_CACHE_CHECK invocation.
15170 * configure: Regenerated.
15172 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15174 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15177 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15178 bit from old_res_options.
15180 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15182 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15183 value type for setfct.
15185 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15187 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15188 __gettimeofday instead of gettimeofday.
15190 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15192 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15194 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15196 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15198 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15201 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15204 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15205 strcpy-sse2-unaligned strncpy-sse2-unaligned
15206 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15207 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15208 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15209 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15210 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15211 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15213 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15214 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15215 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15216 (STRCPY): Support SSE2 and SSSE3 versions.
15218 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15221 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15222 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15223 kernels which artificially limit size of requests.
15225 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15228 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15229 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15230 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15231 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15232 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15233 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15234 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15236 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15237 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15238 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15239 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15240 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15241 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15243 Enable unaligned load optimization for Intel Core i3, i5 and i7
15245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15247 (index_Fast_Unaligned_Load): Define.
15248 (HAS_FAST_UNALIGNED_LOAD): Define.
15250 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15252 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15254 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15258 until it is clear that the information is realy needed.
15259 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15261 2011-06-22 Andreas Schwab <schwab@redhat.com>
15263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15265 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15268 /sys/devices/system/cpu/online if it is usable.
15270 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15271 reading the information from the /proc filesystem to once a second.
15273 2011-06-21 Andreas Jaeger <aj@suse.de>
15275 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15276 NULL after inclusion of kernel headers.
15278 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15280 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15281 calls to internal_setent.
15284 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15285 addresses using gethostbyname4_r ignore IPv4 addresses.
15287 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15288 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15290 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15292 2011-06-20 David S. Miller <davem@davemloft.net>
15294 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15296 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15298 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15299 (elf_irel): Use it.
15300 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15301 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15302 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15303 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15304 * sysdeps/x86_64/dl-irel.h: Likewise.
15306 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15307 * elf/dl-sym.c: Likewise.
15309 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15311 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15312 need to dereference resplen2.
15314 2011-06-14 Andreas Schwab <schwab@redhat.com>
15316 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15318 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15320 * Makeconfig: Define vardbdir and inst_vardbdir.
15321 * nss/Makefile: Add rules to install db-Makefile.
15323 * nss/nss_db/db-XXX.c: Cleanup.
15325 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15326 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15328 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15329 * nss/makedb.c: Implement -g option to specify that value strings
15330 are generated and should not be added to table iterated over for
15332 * nss/nss_db/db-initgroups.c: New file.
15334 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15337 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15338 (internal_getgrouplist): Adjust to name change.
15339 Update use_initgroups_entry if this is not the first call.
15340 * nss/databases.def: Add initgroups entry.
15342 * nss/makedb.c (compute_tables): Check result of multiple hash table
15343 sizes to minimize maximum chain length.
15345 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15347 * Versions.def: Add entry for libnss_db.
15348 * shlib-versions: Likewise.
15349 * nss/Makefile: Add rules to build libnss_db.
15350 * nss/Versions: Add libnss_db information. Organize libnss_files
15352 * nss/db-Makefile: Add gshadow support. Change rules for the new
15353 makedb progra. Some minor improvements to generate smaller files.
15354 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15356 * nss/makedb.c: ...here.
15357 Improve database format to be smaller and require less memory at
15359 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15361 * nss/nss_db/db-netgrp.c: Likewise.
15362 * nss/nss_db/db-open.c: Likewise.
15363 * nss/nss_files/flies-XXX.x: Adjust comments.
15364 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15365 * nss/nss_files/files-grp.c: Likewise.
15366 * nss/nss_files/files-hosts.c: Likewise.
15367 * nss/nss_files/files-network.c: Likewise.
15368 * nss/nss_files/files-proto.c: Likewise.
15369 * nss/nss_files/files-pwd.c: Likewise.
15370 * nss/nss_files/files-rpc.c: Likewise.
15371 * nss/nss_files/files-service.c: Likewise.
15372 * nss/nss_files/files-sgrp.c: Likewise.
15373 * nss/nss_files/files-spwd.c: Likewise.
15374 * nss/nss_db/db-alias.c: Removed.
15375 * nss/nss_db/dummy-db.h: Removed.
15377 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15379 * nss/makedb.c: Rewritten to not use database library.
15380 * nss/Makefile: Update to build new makedb program.
15382 2011-06-14 Andreas Jaeger <aj@suse.de>
15384 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15385 memset declaration.
15387 2011-06-10 Andreas Schwab <schwab@redhat.com>
15389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15392 2011-06-10 Roland McGrath <roland@hack.frob.com>
15394 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15395 * elf/Makefile ($(objpfx)ld.so): Likewise.
15397 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15398 Don't list ld.so twice in dependencies.
15400 * posix/bug-regex31.c: Include <stdlib.h>.
15402 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15404 * nis/nss_compat/compat-spwd.c
15405 (getspent_next_nss_netgr): Remove unused variable.
15406 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15408 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15409 nonmembers" output to use the right array.
15411 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15413 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15415 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15416 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15417 * catgets/gencat.c (read_input_file): Likewise.
15418 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15420 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15421 variable definition inside #if's controlling its use.
15423 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15425 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15427 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15429 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15432 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15434 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15435 * configure: Regenerated.
15437 * Makerules: Revert last change.
15438 * elf/Makefile: Likewise.
15440 2011-06-09 Roland McGrath <roland@hack.frob.com>
15442 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15443 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15444 (reloc-link): Likewise.
15446 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15448 * elf/Makefile: Add rules to build pldd.
15449 * elf/pldd.c: New file.
15450 * elf/pldd-xx.c: New file.
15452 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15454 * version.h: Update for 2.15 development version.
15456 2011-06-07 David S. Miller <davem@davemloft.net>
15458 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15461 elf_machine_lazy_rel): Likewise.
15462 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15463 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15464 elf_machine_lazy_rel): Likewise.
15465 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15466 dl_hwcap via passed in argument.
15467 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15470 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15472 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15474 2011-06-06 Roland McGrath <roland@hack.frob.com>
15477 * manual/fdl-1.1.texi: New file, verbatim from:
15478 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15479 * manual/lgpl-2.1.texi: New file, verbatim from:
15480 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15481 * manual/Makefile (licenses): New variable, list those new file names.
15483 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15485 * manual/fdl.texi: File removed.
15486 * manual/lesser.texi: File removed.
15487 * manual/libc.texinfo (Copying, Documentation License):
15488 Use new @include file names, put @appendix directive before @include.
15490 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15493 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15494 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15495 (mq_open): Add __NTH.
15497 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15500 Assume Intel Core i3/i5/i7 processor if AVX is available.
15502 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15507 2011-05-31 Andreas Schwab <schwab@redhat.com>
15509 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15510 memory. Use alloca_account. Fix memory leak when retrying.
15512 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15514 * version.h (RELEASE): Bump for 2.14 release.
15515 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15517 * config.make.in (RANLIB): Remove entry.
15519 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15521 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15522 (libc.pot): Work around missing support for .ksh extension in xgettext.
15525 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15526 if both request failed.
15527 (send_dg): In case of server errors clear resplen or *resplen2.
15530 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15531 when there are multiple maps.
15532 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15533 (_dl_fini): Remove test here.
15535 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15537 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15540 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15541 bit from old_res_options.
15542 (gaih_inet): Likewise.
15545 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15548 * resolv/res_init.c (res_setoptions): Make the code more compact.
15551 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15555 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15557 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15560 * malloc/malloc.h: Declare malloc hook variables as volatile.
15562 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15566 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15567 raise in the comment.
15568 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15569 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15570 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15572 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15575 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15576 grow the buffers more if it already has to be sufficient.
15577 (build_wcs_upper_buffer): Likewise.
15578 * posix/regexec.c (check_matching): Likewise.
15579 (clean_state_log_if_needed): Likewise.
15580 (extend_buffers): Don't enlarge buffers beyond size of the input
15582 Patches mostly by Emil Wojak <emil@wojak.eu>.
15583 * posix/bug-regex32.c: New file.
15584 * posix/Makefile (tests): Add bug-regex32.
15586 * locale/findlocale.c (_nl_find_locale): Return right away if
15587 _nl_explode_name failed.
15588 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15590 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15592 * debug/xtrace.sh: Unify messages.
15593 * malloc/memusage.sh: Likewise.
15596 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15597 time symbol from vDSO. Substitute with vsyscall if not available.
15598 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15601 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15602 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15603 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15604 Add sendmmsg and internal_sendmmsg.
15605 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15606 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15607 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15609 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15610 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15613 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15616 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15617 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15623 * iconvdata/Makefile (tests): Add bug-iconv9.
15624 * iconvdata/bug-iconv9.c: New file.
15626 2011-05-27 Andreas Schwab <schwab@redhat.com>
15629 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15631 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15634 (struct user_regs_struct): Change intcs field back to cs.
15636 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15638 * po/ja.po: Update from translation team.
15640 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15643 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15644 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15646 2011-05-20 Andreas Schwab <schwab@redhat.com>
15648 * stdlib/longlong.h: Update from GCC.
15650 2011-05-23 Andreas Schwab <schwab@redhat.com>
15652 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15654 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15655 Add parameter name.
15656 (__sysconf): Pass it down.
15658 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15661 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15664 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15665 add in in __libc_use_alloca calls. Adjust callers.
15666 (glob): Use malloc in some situations.
15668 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15669 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15672 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15674 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15675 and CLOCK_BOOTTIME_ALARM.
15678 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15681 * string/_strerror.c (__strerror_r): Print negative errors as signed
15685 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15686 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15687 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15689 * configure.in: Fix typo in redirection and correct removal of test
15690 files in two cases.
15693 * locale/setlocale.c (new_composite_name): Fix test to check for
15694 identical name of all categories.
15697 * libio/filedoalloc.c (local_isatty): New function.
15698 (_IO_file_doallocate): Use local_isatty.
15699 * stdio-common/perror.c (perror): In case a new stream is used
15700 forward the stream error.
15701 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15704 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15709 * include/alloca.h (extend_alloca_account): Define.
15712 * posix/regex.h: Fix comments with documentation of user-accessible
15713 fields after compilation and describe correct free'ing of pattern
15714 after re_compile_pattern.
15715 Patch by Reuben Thomas <rrt@sc3d.org>.
15717 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15719 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15720 and -mno-altivec to prevent the compiler from using Altivec and/or
15721 VSX instructions when the corresponding registers are not available.
15723 2011-05-19 Andreas Schwab <schwab@redhat.com>
15725 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15727 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15729 * libio/freopen.c (freopen): Use __dup2, not dup2.
15730 * libio/freopen64.c (freopen64): Likewise.
15732 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15735 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15736 * math/Makefile (tests): Add test-powl.
15737 (CFLAGS-test-powl.c): Define.
15738 * math/test-powl.c: New file.
15740 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15742 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15744 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15747 * iconvdata/gb18030.c: Update to GB18020-2005.
15749 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15751 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15752 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15753 Patch by Aharon Robbins <arnold@skeeve.com>.
15756 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15760 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15761 through underflows.
15764 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15765 point to strings before performing equality test for error_one_per_line
15769 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15772 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15773 (struct user_fpregs_struct): Avoid __uint*_t types.
15776 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15777 symbol info. Use it instead of calling _dl_addr locally.
15778 (lock_and_info): New function.
15779 (tr_freehook): Call lock_and_info and pass symbol info as additional
15780 parameter to tr_where.
15781 (tr_mallochook): Likewise.
15782 (tr_reallochook): Likewise.
15783 (tr_memalignhook): Likewise.
15785 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15786 used and couldn't be at all thread-safe.
15788 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15790 * libio/freopen.c (freopen): Don't close old file descriptor
15791 before the new one is opened. Instead dup the new file descriptor
15792 to the old one after the new stream is created.
15793 * libio/freopen64.c (freopen64): Likewise.
15794 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15795 * libio/fileops.c (_IO_new_file_close_it): Handle new
15796 _IO_FLAGS2_NOCLOSE flag.
15797 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15798 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15799 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15800 _IO_FLAGS2_NOCLOSE flag.
15801 * include/unistd.h: Add hidden_proto for dup3.
15802 Define __have_dup3.
15803 * io/dup3.c: Define hidden symbol.
15804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15807 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15808 when an incomplete long option is used.
15809 * posix/tst-getopt_long1.c: New file.
15810 * posix/Makefile (tests): Add tst-getopt_long1.
15813 * scripts/config.guess: Update from autoconf-2.68.
15814 * scripts/config.sub: Likewise.
15817 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15819 (has_cpuclock): ...this. New function.
15820 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15821 macro here based on has_cpuclock code.
15824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15825 First byte (not low byte) is now always NUL.
15826 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15829 Use non-cancelable interfaces.
15832 * locale/iso-639.def: Add entry for Sorani.
15835 * include/stdlib.h: Move include protection to the right place.
15836 Define abort_msg_s. Declare __abort_msg with it.
15837 * stdlib/abort.c (__abort_msg): Adjust type.
15838 * assert/assert.c (__assert_fail_base): New function. Majority
15839 of code from __assert_fail. Allocate memory for __abort_msg with
15841 (__assert_fail): Now call __assert_fail_base.
15842 * assert/assert-perr.c: Remove bulk of implementation. Use
15843 __assert_fail_base.
15844 * include/assert.hL Declare __assert_fail_base.
15845 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15847 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15849 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15853 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15854 until all modules are registered in the DTV.
15855 * elf/Makefile: Add rules to build and run tst-tls19.
15856 * elf/tst-tls19.c: New file.
15857 * elf/tst-tls19mod1.c: New file.
15858 * elf/tst-tls19mod2.c: New file.
15859 * elf/tst-tls19mod3.c: New file.
15860 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15863 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15867 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15868 two-byte sequence errors.
15869 * iconvdata/Makefile (tests): Add bug-iconv8.
15870 * iconvdata/bug-iconv8.c: New file.
15873 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15876 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15879 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15880 (dummy_getcfa): New function.
15881 (init): Get _Unwind_GetCFA address, use dummy if not found.
15882 (backtrace_helper): In recursion check, also check whether CFA changes.
15883 (__backtrace): Completely initialize arg.
15885 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15886 storing incomplete byte sequence in state object. Avoid testing for
15887 guaranteed too small input if we know there is enough data available.
15889 2011-05-11 Andreas Schwab <schwab@redhat.com>
15891 * Makeconfig (+link-pie): Indent.
15892 * Rules (binaries-pie): Define if $(have-fpie) and
15894 (binaries-shared): Also filter out $(binaries-pie).
15895 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15896 * nscd/Makefile (others-pie): Add nscd.
15897 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15898 ($(objpfx)nscd): Remove command override.
15899 * login/Makefile (others-pie): Add pt_chown.
15900 ($(objpfx)pt_chown): Remove command override.
15901 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15902 remove command overrides.
15904 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15906 * libio/tst_putwc.c: Fix error messages.
15909 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15910 currently writing and seek to current position when not.
15911 * libio/Makefile (tests): Add bug-fclose1.
15912 * libio/bug-fclose1.c: New file.
15914 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15917 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15918 don't set DF_1_NODELETE here.
15919 (do_lookup_x): When entering new entry test for copy relocation
15920 and if necessary set DF_1_NODELETE flag.
15921 * elf/tst-unique4.cc: New file.
15922 * elf/tst-unique4.h: New file.
15923 * elf/tst-unique4lib.cc: New file.
15924 * elf/Makefile: Add rules to build and run tst-unique4.
15925 Patch by Piotr Bury <pbury@goahead.com>.
15927 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15930 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15933 * misc/mntent_r.c (addmntent): Flush the stream after the output
15936 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15937 (is_trusted_path_normalize): Skip initial colon. Append slash
15938 to empty buffer. Duplicate is_trusted_path code but allow
15939 constructed patch to be prefix.
15940 (is_dst): Allow $ORIGIN followed by /.
15941 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15942 Correct testing of result of is_trusted_path_normalize
15943 (decompose_rpath): Fix warning.
15945 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15948 * grp/initgroups.c (internal_getgrouplist): When we found the service
15949 list through the initgroups entry in nsswitch.conf do not always
15950 continue on a successful lookup. Don't always use the
15951 __nss_group_database value if it is set.
15952 * nss/nsswitch.conf (initgroups): Change action for successful db
15953 lookup to continue for compatibility.
15955 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15958 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15960 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15962 * iconvdata/tst-tables.sh: Likewise.
15963 * iconvdata/cp770.c: New file.
15964 * iconvdata/cp771.c: New file.
15965 * iconvdata/cp772.c: New file.
15966 * iconvdata/cp773.c: New file.
15967 * iconvdata/cp774.c: New file.
15968 * iconvdata/testdata/CP770: New file.
15969 * iconvdata/testdata/CP770..UTF8: New file.
15970 * iconvdata/testdata/CP771: New file.
15971 * iconvdata/testdata/CP771..UTF8: New file.
15972 * iconvdata/testdata/CP772: New file.
15973 * iconvdata/testdata/CP772..UTF8: New file.
15974 * iconvdata/testdata/CP773: New file.
15975 * iconvdata/testdata/CP773..UTF8: New file.
15976 * iconvdata/testdata/CP774: New file.
15977 * iconvdata/testdata/CP774..UTF8: New file.
15979 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15981 * iconvdata/gen-8bit-gap.sh: Likewise.
15982 * iconvdata/gen-8bit.sh: Likewise.
15984 * locale/iso-639.def: Add ary entry.
15987 * locale/C-translit.h.in: Add U20A1 transliteration.
15990 * locale/iso-639.def: Add wae entry.
15991 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15994 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15998 * locale/C-translit.h.in: Add entry for U20B9.
15999 Patch by pravin.d.s@gmail.com.
16001 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16004 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16005 ENAMETOOLONG use generic getcwd.
16006 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16007 in rtld. Use *stat64.
16008 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16009 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16010 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16011 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16012 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16013 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16014 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16015 __fstatat64 macros.
16016 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16017 * dirent/rewinddir.c: Add libc_hidden_def.
16018 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16019 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16021 * include/dirent.h (__alloc_dir): Add flags parameter.
16022 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16023 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16025 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16026 from fdopendir if O_CLOEXEC is already set.
16028 2011-03-15 Alan Modra <amodra@gmail.com>
16030 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16031 l_tls_firstbyte_offset non-zero. Save padding offset in
16032 l_tls_firstbyte_offset for later use.
16033 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16034 freeing static tls block.
16036 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16038 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16039 where #ifdef was intended. The intent is to prevent ARG_MAX from
16040 being defined by the kernel headers.
16042 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16045 * resolv/resolv.h: Define RES_NOTLDQUERY.
16046 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16047 no-tld-query and set RES_NOTLDQUERY.
16048 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16049 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16050 modern BIND to search name as TLD unless forbidden.
16052 2011-05-07 Petr Baudis <pasky@suse.cz>
16053 Ulrich Drepper <drepper@gmail.com>
16056 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16057 (is_trusted_path): ...to here.
16058 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16059 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16060 using is_trusted_path_normalize() in setuid scripts.
16062 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16064 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16065 __BEGIN/__END_DECLS.
16067 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16070 NSS_STATUS_NOTFOUND if no record was found.
16072 2011-05-05 Andreas Schwab <schwab@redhat.com>
16074 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16075 (headers-not-in-tirpc): Remove rpc/netdb.h
16076 * resolv/netdb.h: Revert last change.
16078 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16080 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16081 circular dependency between libgcc.a and libc.a.
16083 2011-05-05 Andreas Schwab <schwab@redhat.com>
16085 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16086 * nis/Makefile: Don't install rpcsvc/*.
16087 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16088 instead of <rpc/types.h>.
16089 (MAXHOSTNAMELEN): Define.
16091 2011-05-03 Andreas Schwab <schwab@redhat.com>
16093 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16095 2011-04-28 Maciej Babinski <mbabinski@google.com>
16098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16099 gethostbyname4_r when IPv6 results are possible.
16101 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16104 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16105 _PC_PIPE_BUF handling.
16107 2011-04-30 Bruno Haible <bruno@clisp.org>
16110 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16111 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16113 * inet/getnameinfo.c (getnameinfo): Likewise.
16115 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16117 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16118 to groups setting in database lookup.
16119 * nss/nsswitch.conf: Add initgroups entry.
16121 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16124 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16126 Patch by Eric Blake <eblake@redhat.com>.
16128 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16130 * sunrpc/Makefile (need-export-routines): Add svc_run.
16131 (routines): Remove svc_run.
16132 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16133 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16134 * sunrpc/svc_run.c (svc_run): Likewise.
16135 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16137 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16139 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16140 problem in reallocation in last patch.
16142 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16144 * sunrpc/Makefile: Move inclusion of Rules.
16146 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16148 * nss/nss_files/files-initgroups.c: New file.
16149 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16150 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16151 _nss_files_initgroups_dyn.
16153 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16155 * elf/elf.h (R_ARM_IRELATIVE): Define.
16157 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16159 * po/ru.po: Update from translation team.
16161 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16163 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16166 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16169 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16170 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16171 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16172 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16175 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16177 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16179 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16183 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16186 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16188 * stdlib/bug-getcontext.c: New file.
16189 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16191 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16193 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16194 instructions into .machine "z9-109".
16195 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16196 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16198 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16200 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16201 between environment variables and auxiliary vector.
16203 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16205 * Makefile: Add rules to build linkobj/libc.so.
16206 * include/libc-symbols.h: Define libc_hidden_nolink.
16207 * include/rpc/auth.h: Mark functions which are to be hidden.
16208 * include/rpc/auth_des.h: Likewise.
16209 * include/rpc/auth_unix.h: Likewise.
16210 * include/rpc/clnt.h: Likewise.
16211 * include/rpc/des_crypt.h: Likewise.
16212 * include/rpc/key_prot.h: Likewise.
16213 * include/rpc/pmap_clnt.h: Likewise.
16214 * include/rpc/pmap_prot.h: Likewise.
16215 * include/rpc/pmap_rmt.h: Likewise.
16216 * include/rpc/rpc_msg.h: Likewise.
16217 * include/rpc/svc.h: Likewise.
16218 * include/rpc/svc_auth.h: Likewise.
16219 * include/rpc/xdr.h: Likewise.
16220 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16221 * nss/Makefile: Likewise.
16222 * sunrpc/Makefile: Don't install headers. Build library with normal
16223 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16224 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16225 for the compat linking library. Remove use of INTDEF/INTUSE.
16226 * sunrpc/auth_none.c: Likewise.
16227 * sunrpc/auth_unix.c: Likewise.
16228 * sunrpc/authdes_prot.c: Likewise.
16229 * sunrpc/authuxprot.c: Likewise.
16230 * sunrpc/clnt_gen.c: Likewise.
16231 * sunrpc/clnt_perr.c: Likewise.
16232 * sunrpc/clnt_raw.c: Likewise.
16233 * sunrpc/clnt_simp.c: Likewise.
16234 * sunrpc/clnt_tcp.c: Likewise.
16235 * sunrpc/clnt_udp.c: Likewise.
16236 * sunrpc/clnt_unix.c: Likewise.
16237 * sunrpc/des_crypt.c: Likewise.
16238 * sunrpc/des_soft.c: Likewise.
16239 * sunrpc/get_myaddr.c: Likewise.
16240 * sunrpc/key_call.c: Likewise.
16241 * sunrpc/key_prot.c: Likewise.
16242 * sunrpc/netname.c: Likewise.
16243 * sunrpc/pm_getmaps.c: Likewise.
16244 * sunrpc/pm_getport.c: Likewise.
16245 * sunrpc/pmap_clnt.c: Likewise.
16246 * sunrpc/pmap_prot.c: Likewise.
16247 * sunrpc/pmap_prot2.c: Likewise.
16248 * sunrpc/pmap_rmt.c: Likewise.
16249 * sunrpc/publickey.c: Likewise.
16250 * sunrpc/rpc_cmsg.c: Likewise.
16251 * sunrpc/rpc_common.c: Likewise.
16252 * sunrpc/rpc_dtable.c: Likewise.
16253 * sunrpc/rpc_prot.c: Likewise.
16254 * sunrpc/rpc_thread.c: Likewise.
16255 * sunrpc/rtime.c: Likewise.
16256 * sunrpc/svc.c: Likewise.
16257 * sunrpc/svc_auth.c: Likewise.
16258 * sunrpc/svc_authux.c: Likewise.
16259 * sunrpc/svc_raw.c: Likewise.
16260 * sunrpc/svc_run.c: Likewise.
16261 * sunrpc/svc_simple.c: Likewise.
16262 * sunrpc/svc_tcp.c: Likewise.
16263 * sunrpc/svc_udp.c: Likewise.
16264 * sunrpc/svc_unix.c: Likewise.
16265 * sunrpc/svcauth_des.c: Likewise.
16266 * sunrpc/xcrypt.c: Likewise.
16267 * sunrpc/xdr.c: Likewise.
16268 * sunrpc/xdr_array.c: Likewise.
16269 * sunrpc/xdr_float.c: Likewise.
16270 * sunrpc/xdr_intXX_t.c: Likewise.
16271 * sunrpc/xdr_mem.c: Likewise.
16272 * sunrpc/xdr_rec.c: Likewise.
16273 * sunrpc/xdr_ref.c: Likewise.
16274 * sunrpc/xdr_sizeof.c: Likewise.
16275 * sunrpc/xdr_stdio.c: Likewise.
16277 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16280 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16281 * sysdeps/ia64/dl-tls.h: Likewise.
16282 * sysdeps/powerpc/dl-tls.h: Likewise.
16283 * sysdeps/s390/dl-tls.h: Likewise.
16284 * sysdeps/sh/dl-tls.h: Likewise.
16285 * sysdeps/sparc/dl-tls.h: Likewise.
16286 * sysdeps/x86_64/dl-tls.h: Likewise.
16287 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16289 2011-03-14 Andreas Schwab <schwab@redhat.com>
16291 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16292 rpath element also skip the following colon.
16293 (expand_dynamic_string_token): Add is_path parameter and pass
16294 down to DL_DST_REQUIRED and _dl_dst_substitute.
16295 (decompose_rpath): Call expand_dynamic_string_token with
16296 non-zero is_path. Ignore empty rpaths.
16297 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16300 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16305 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16308 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16309 Patch by Filipe David Manana <fdmanana@apache.org>.
16311 2011-04-07 Andreas Schwab <schwab@redhat.com>
16313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16314 Maintain aligned stack.
16315 (CHECK_RSP): Remove unused macro.
16317 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16319 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16320 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16322 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16324 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16326 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16328 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16331 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16332 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16333 * sysdeps/x86_64/memmove.c: New file.
16334 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16335 (memcpy): Renamed to ...
16336 (__new_memcpy): This.
16337 (memcpy): Provide GLIBC_2_14 memcpy.
16338 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16339 (memcpy): Provide GLIBC_2_2_5 memcpy.
16341 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16344 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16346 2011-03-30 Andreas Schwab <schwab@redhat.com>
16348 * misc/syncfs.c: New file.
16349 * misc/Makefile (routines): Add syncfs.
16350 * posix/unistd.h: Declare syncfs.
16351 * sysdeps/unix/syscalls.list: Add syncfs.
16353 2011-04-01 Andreas Schwab <schwab@redhat.com>
16355 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16362 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16365 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16369 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16371 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16375 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16376 sync_file_range.c with -fexceptions.
16377 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16378 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16379 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16380 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16381 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16382 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16384 sync_file_range as cancellation point
16385 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16386 now a wrapper around __call_sync_file_range with cancellation handling.
16387 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16388 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16389 function name to __call_sync_file_range.
16390 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16391 Add call_sync_file_range.
16393 2011-04-01 Andreas Schwab <schwab@redhat.com>
16395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16398 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16400 * iconv/iconv.h: Fix typo in comment.
16401 * io/fcntl.h: Likewise.
16402 * libio/stdio.h: Likewise.
16403 * posix/spawn.h: Likewise.
16404 * posix/unistd.h: Likewise.
16405 * stdlib/stdlib.h: Likewise.
16406 * time/time.h: Likewise.
16407 * wcsmbs/wchar.h: Likewise.
16409 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16410 open_by_handle): Add.
16411 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16412 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16413 Augment a few comments.
16414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16419 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16422 * io/fcntl.h (AT_EMPTY_PATH): Define.
16424 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16426 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16427 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16428 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16430 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16431 * Versions.def: Add GLIBC_2.14.
16432 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16435 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16437 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16439 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16441 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16444 * string/test-strncmp.c (do_page_test): New function.
16445 (check2): Likewise.
16446 (test_main): Call check2.
16447 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16449 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16452 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16453 Handle cache information in CPU leaf 4.
16454 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16456 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16459 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16460 character representation.
16461 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16463 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16465 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16466 END(__isnan) to END(__isnanf) to match function entry point/label
16467 EALIGN(__isnanf,...).
16469 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16471 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16473 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16476 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16477 copy from the symbol referenced in the relocation to initialize the
16479 Patch by Piotr Bury <pbury@goahead.com>.
16480 * elf/Makefile: Add rules to build and tst-unique3.
16481 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16482 * elf/tst-unique3.cc: New file.
16483 * elf/tst-unique3.h: New file.
16484 * elf/tst-unique3lib.cc: New file.
16485 * elf/tst-unique3lib2.cc: New file.
16487 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16489 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16491 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16492 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16495 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16497 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16498 to-be-loaded object along a path to loader is ld.so.
16500 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16501 Ulrich Drepper <drepper@gmail.com>
16503 * sysdeps/x86_64/memset.S: After aligning destination, code
16504 branches to different locations depending on the value of
16505 misalignment, when multiarch is enabled. Fix this.
16507 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16509 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16510 Set _x86_64_preferred_memory_instruction for AMD processsors.
16511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16512 Set bit_Prefer_SSE_for_memop for AMD processors.
16514 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16516 * libio/fmemopen.c (fmemopen): Optimize a bit.
16518 2011-03-03 Andreas Schwab <schwab@redhat.com>
16520 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16522 2011-03-03 Roland McGrath <roland@redhat.com>
16524 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16526 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16528 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16529 __bzero_ultra1 instead of __memset_ultra1.
16531 2011-02-23 Andreas Schwab <schwab@redhat.com>
16532 Ulrich Drepper <drepper@gmail.com>
16535 * include/link.h (struct link_map): Add l_orig_initfini.
16536 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16537 returning unsuccessfully.
16538 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16539 close of a file loaded at startup, restore the original l_initfini
16541 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16542 list, store the pointer.
16543 * elf/Makefile ($(objpfx)noload-mem): New rule.
16544 (noload-ENV): Define.
16545 (tests): Add $(objpfx)noload-mem.
16546 * elf/noload.c: Include <memcheck.h>.
16547 (main): Call mtrace. Close all opened handles.
16549 2011-02-17 Andreas Schwab <schwab@redhat.com>
16552 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16553 dependencies are missing.
16555 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16557 Fix __if_freereq crash: Unlike the generic version which uses free,
16559 * sysdeps/mach/hurd/ifreq.h: New file.
16561 2011-01-27 Petr Baudis <pasky@suse.cz>
16562 Ulrich Drepper <drepper@gmail.com>
16565 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16566 to extend_alloca().
16567 * stdio-common/bug23.c: New file.
16568 * stdio-common/Makefile (tests): Add bug23.
16570 2010-09-28 Andreas Schwab <schwab@redhat.com>
16571 Ulrich Drepper <drepper@gmail.com>
16574 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16575 before performing relro protection. At old place add assertion
16576 to make sure nothing changed.
16578 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16579 Glauber de Oliveira Costa <glommer@gmail.com>
16581 * elf/elf.h: Add new ARM TLS relocs.
16583 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16586 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16588 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16590 * sysdeps/wordsize-64/tst-writev.c: New file.
16592 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16594 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16595 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16596 insns in _dl_start to prevent a TOC reference before relocs are
16599 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16602 * Makeconfig: Remove RANLIB definition.
16603 * Makerules: Don't use RANLIB.
16604 * aclocal.m4: Remove ranlib test.
16605 * configure.in: No need to check for ranlib.
16606 * elf/rtld-Rules: Don't use RANLIB.
16608 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16610 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16612 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16613 inclusion protection macro.
16615 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16616 SIGRTMIN and SIGRTMAX and print information in that case only when
16617 SIGRTMIN is defined.
16619 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16621 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16622 arginfo fn returning -1.
16624 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16625 and thousands string is zero terminated.
16627 2011-02-03 Andreas Schwab <schwab@redhat.com>
16629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16630 sysdeps/unix/sysv/linux/bits/socket.h.
16632 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16634 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16635 (__CPU_COUNT): Remove old macros.
16636 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16637 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16638 (__CPU_ALLOC, __CPU_FREE): Add macros.
16639 (__sched_cpualloc, __sched_cpufree): Add declarations.
16641 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16643 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16644 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16645 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16646 (readdhstai): Return value of addhstaiX call.
16647 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16648 (addgrbyX): Return value returned by cache_addgr.
16649 (readdgrbyname): Return value returned by addgrbyX.
16650 (readdgrbygid): Likewise.
16651 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16652 (addpwbyX): Return value returned by cache_addpw.
16653 (readdpwbyname): Return value returned by addhstbyX.
16654 (readdpwbyuid): Likewise.
16655 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16656 (addservbyX): Return value returned by cache_addserv.
16657 (readdservbyname): Return value returned by addservbyX:
16658 (readdservbyport): Likewise.
16659 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16660 (addhstbyX): Return value returned by cache_addhst.
16661 (readdhstbyname): Return value returned by addhstbyX.
16662 (readdhstbyaddr): Likewise.
16663 (readdhstbynamev6): Likewise.
16664 (readdhstbyaddrv6): Likewise.
16665 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16666 (readdinitgroups): Return value returned by addinitgroupsX.
16667 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16668 (prune_cache): Keep track of timeout value of re-added entries.
16669 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16670 * nscd/nscd.h: Adjust prototypes of readd* functions.
16672 2011-02-04 Roland McGrath <roland@redhat.com>
16674 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16675 (nis_stats): Likewise.
16676 * nis/nis_modify.c (nis_modify): Likewise.
16677 * nis/nis_remove.c (nis_remove): Likewise.
16678 * nis/nis_add.c (nis_add): Likewise.
16680 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16682 * posix/fnmatch_loop.c: Add some consts.
16684 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16686 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16689 * config.make.in (config-cflags-novzeroupper): Define.
16690 * configure.in: Substitute libc_cv_cc_novzeroupper.
16691 * elf/Makefile (AVX-CFLAGS): Define.
16692 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16693 (CFLAGS-tst-auditmod4a.c): Likewise.
16694 (CFLAGS-tst-auditmod4b.c): Likewise.
16695 (CFLAGS-tst-auditmod6b.c): Likewise.
16696 (CFLAGS-tst-auditmod6c.c): Likewise.
16697 (CFLAGS-tst-auditmod7b.c): Likewise.
16698 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16700 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16702 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16703 function to the callback.
16704 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16706 2011-02-02 Andreas Schwab <schwab@redhat.com>
16708 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16711 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16714 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16716 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16718 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16721 * elf/Makefile: Add rules to build and run new test.
16722 * elf/tst-initorder.c: New file.
16723 * elf/tst-initorder.exp: New file.
16724 * elf/tst-initordera1.c: New file.
16725 * elf/tst-initordera2.c: New file.
16726 * elf/tst-initordera3.c: New file.
16727 * elf/tst-initordera4.c: New file.
16728 * elf/tst-initorderb1.c: New file.
16729 * elf/tst-initorderb2.c: New file.
16730 * elf/tst-order-a1.c: New file.
16731 * elf/tst-order-a2.c: New file.
16732 * elf/tst-order-a3.c: New file.
16733 * elf/tst-order-a4.c: New file.
16734 * elf/tst-order-b1.c: New file.
16735 * elf/tst-order-b2.c: New file.
16736 * elf/tst-order-main.c: New file.
16737 New test case by George Gensure <werkt0@gmail.com>.
16739 2010-10-01 Andreas Schwab <schwab@redhat.com>
16741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16742 decoding ACE if AI_CANONIDN.
16744 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16746 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16748 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16750 * version.h (RELEASE): Bump for 2.13 release.
16751 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16753 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16757 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16758 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16760 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16762 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16764 * posix/getconf.c: Update copyright year.
16765 * catgets/gencat.c: Likewise.
16766 * csu/version.c: Likewise.
16767 * debug/catchsegv.sh: Likewise.
16768 * debug/xtrace.sh: Likewise.
16769 * elf/ldconfig.c: Likewise.
16770 * elf/ldd.bash.in: Likewise.
16771 * elf/sprof.c (print_version): Likewise.
16772 * iconv/iconv_prog.c: Likewise.
16773 * iconv/iconvconfig.c: Likewise.
16774 * locale/programs/locale.c: Likewise.
16775 * locale/programs/localedef.c: Likewise.
16776 * malloc/memusage.sh: Likewise.
16777 * malloc/mtrace.pl: Likewise.
16778 * nscd/nscd.c (print_version): Likewise.
16779 * nss/getent.c: Likewise.
16781 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16782 PF_CAIF, and PF_ALG.
16783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16785 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16787 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16788 (modules-names): Use them.
16789 (ifunc-test-modules, ifunc-pie-tests): Define.
16790 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16791 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16792 (test-extras): Likewise.
16793 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16794 $(compile-command.c).
16795 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16796 (all-built-dso): Define.
16797 (check-textrel.out, check-execstack.out): Depend on it.
16799 * configure.in: Don't override --enable-multi-arch.
16801 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16804 * nscd/hstcache.c (tryagain): Define.
16805 (cache_addhst): Return tryagain not notfound for temporary errors.
16806 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16809 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16812 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16813 to make the syscall.
16814 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16817 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16818 and fall back to matching as normal character if the string ends before
16819 the matching ']' is found. This is what POSIX requires.
16820 * posix/testfnm.c: Adjust test result.
16821 * posix/globtest.sh: Adjust test result. Add new test.
16822 * posix/tst-fnmatch.input: Likewise.
16823 * posix/tst-fnmatch2.c: Add new test.
16825 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16827 * elf/Makefile (check-execstack): Revert last change. Depend on
16829 (check-execstack.h): New target.
16830 (generated): Add check-execstack.h.
16831 * elf/check-execstack.c: Include "check-execstack.h".
16832 (main): Revert last change.
16833 (handle_file): Return zero if GNU_STACK is absent and
16834 DEFAULT_STACK_PERMS doesn't include PF_X.
16836 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16838 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16839 in child fails because the descriptor is already closed.
16840 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16841 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16842 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16845 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16849 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16850 temporary buffer used to handle multi lookups locally.
16851 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16853 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16855 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16858 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16860 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16861 alignment for SSE2.
16863 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16866 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16867 characters. When rounding increased number of integer digits recompute
16869 * stdio-common/tst-grouping.c: New file.
16870 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16872 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16874 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16875 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16877 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16879 * bits/select.h: Likewise.
16881 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16883 * po/ja.po: Update from translation team.
16885 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16888 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16889 implementation just like for lxstat, fxstatat, et al.
16891 2010-12-27 Jim Meyering <meyering@redhat.com>
16894 * posix/regexec.c (build_trtable): Return failure indication upon
16895 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16897 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16900 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16901 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16902 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16906 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16909 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16910 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16912 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16914 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16915 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16916 script has SORT_BY_INIT_PRIORITY.
16917 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16918 NO_CTORS_DTORS_SECTIONS is defined.
16919 * elf/soinit.c: Likewise.
16920 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16921 NO_CTORS_DTORS_SECTIONS is defined.
16922 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16923 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16924 * sysdeps/sh/init-first.c: Likewise.
16925 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16927 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16929 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16930 always use the slow path.
16932 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16934 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16935 similar rule which adds the sysdep directories to the header search in
16936 order to pick up the correct platform stackinfo.h.
16937 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16938 perform test if it is, otherwise return successfully without testing.
16939 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16940 DEFAULT_STACK_PERMS define in stackinfo.h.
16941 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16942 defined in stackinfo.h.
16943 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16944 DEFAULT_STACK_PERMS defined in stackinfo.h.
16945 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16946 * sysdeps/ia64/stackinfo.h: Likewise.
16947 * sysdeps/s390/stackinfo.h: Likewise.
16948 * sysdeps/sh/stackinfo.h: Likewise.
16949 * sysdeps/sparc/stackinfo.h: Likewise.
16950 * sysdeps/x86_64/stackinfo.h: Likewise.
16951 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16952 PF_X for powerpc64. Retain PF_X for powerpc32.
16954 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16956 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16958 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16959 GETDENTS_64BIT_ALIGNED.
16961 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16963 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16965 2010-12-10 Andreas Schwab <schwab@redhat.com>
16967 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16970 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16971 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16973 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16974 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16976 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16979 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16982 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16984 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16986 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16988 * po/it.po: Update from translation team.
16990 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16995 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16997 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16999 2010-11-24 Andreas Schwab <schwab@redhat.com>
17001 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17003 (gaih_getanswer_slice): Likewise.
17005 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17009 2010-05-31 Petr Baudis <pasky@suse.cz>
17012 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17013 silently even in the chroot mode.
17015 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17017 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17018 last patch a bit. Pretty printing
17020 2010-05-31 Petr Baudis <pasky@suse.cz>
17023 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17024 initialization of skip_initgroups_dyn.
17026 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17028 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17031 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17033 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17035 2010-11-11 Andreas Schwab <schwab@redhat.com>
17037 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17038 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17039 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17040 ($(objpfx)tst-fnmatch-mem): New rule.
17041 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17042 * posix/tst-fnmatch.c (main): Call mtrace.
17044 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17047 Support Intel processor model 6 and model 0x2c.
17049 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17051 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17054 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17057 * string/test-strncasecmp.c (check_result): New function.
17058 (do_one_test): Use it.
17059 (check1): New function.
17060 (test_main): Use it.
17061 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17062 Support strcasecmp and strncasecmp.
17064 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17067 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17070 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17072 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17076 * sysdeps/x86_64/multiarch/bzero.S: New file.
17077 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17078 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17079 * sysdeps/x86_64/multiarch/memset.S: New file.
17080 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17082 Set bit_Prefer_SSE_for_memop for Intel processors.
17083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17085 (index_Prefer_SSE_for_memop): Define.
17086 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17088 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17090 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17091 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17093 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17096 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17097 (__x86_64_raw_data_cache_size_half): Likewise.
17098 (__x86_64_raw_shared_cache_size): Likewise.
17099 (__x86_64_raw_shared_cache_size_half): Likewise.
17101 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17102 (__x86_64_raw_data_cache_size_half): Likewise.
17103 (__x86_64_raw_shared_cache_size): Likewise.
17104 (__x86_64_raw_shared_cache_size_half): Likewise.
17105 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17106 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17107 and __x86_64_raw_shared_cache_size_half. Round
17108 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17109 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17110 to multiple of 256 bytes.
17112 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17115 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17116 of inacessible symlinks. Verify result of symlink before returning it.
17117 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17118 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17120 2010-10-28 Erich Ritz <erichritz@gmail.com>
17122 * math/math.h (isinf): Fix typo in comment.
17124 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17126 * po/da.po: Update from translation team.
17128 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17130 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17131 is added to the list.
17133 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17134 Ulrich Drepper <drepper@gmail.com>
17136 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17137 the global list here. Move code to...
17138 (_dl_add_to_namespace_list): ...here. New function.
17139 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17140 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17141 * elf/dl-load.c (lose): Don't remove the element from the list.
17142 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17143 (_dl_map_object): Likewise.
17145 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17148 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17149 into all bytes of SSE register.
17150 Patch by Richard Li <richardpku@gmail.com>.
17152 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17155 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17158 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17160 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17161 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17162 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17163 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17168 2010-10-22 Andreas Schwab <schwab@redhat.com>
17170 * include/dlfcn.h (__RTLD_SECURE): Define.
17171 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17172 mode & __RTLD_SECURE instead.
17173 (open_path): Rename preloaded parameter to secure.
17174 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17175 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17176 * elf/dl-deps.c (openaux): Likewise.
17177 * elf/rtld.c (struct map_args): Remove is_preloaded.
17178 (map_doit): Don't use it.
17179 (dl_main): Likewise.
17180 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17181 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17183 2010-09-09 Andreas Schwab <schwab@redhat.com>
17185 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17186 (sysd-rules-targets): Remove duplicates.
17187 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17188 rtld-%.$o dependency.
17190 2010-10-18 Andreas Schwab <schwab@redhat.com>
17192 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17193 _dl_map_object do it.
17195 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17197 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17198 fast fma builtins, define the macros in the C99 standard.
17199 (FP_FAST_FMAF): Likewise.
17200 (FP_FAST_FMAL): Likewise.
17201 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17203 * bits/mathdef.h: Update copyright year.
17204 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17206 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17208 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17209 builtins, define the macros in the C99 standard.
17210 (FP_FAST_FMAF): Likewise.
17211 (FP_FAST_FMAL): Likewise.
17212 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17214 (FP_FAST_FMAF): Likewise.
17216 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17219 * math/libm-test.inc (fma_test): Some new testcases.
17220 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17221 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17222 y and infinite z. Do multiplication by C already in long double.
17223 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17225 y and infinite z. Do bitwise or of inexact bit into u.d.
17226 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17227 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17228 * sysdeps/i386/fpu/s_fma.S: Removed.
17229 * sysdeps/i386/fpu/s_fmal.S: Removed.
17231 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17234 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17236 computation is not scheduled after fetestexcept. Fix value
17237 of minimum denormal long double.
17239 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17242 * math/libm-test.inc (fma_test): Add some more tests.
17243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17246 2010-10-15 Andreas Schwab <schwab@redhat.com>
17248 * scripts/data/localplt-s390-linux-gnu.data: New file.
17249 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17251 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17254 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17255 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17257 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17259 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17261 if one of x and y is very large and the other is subnormal.
17262 * sysdeps/s390/fpu/s_fmaf.c: New file.
17263 * sysdeps/s390/fpu/s_fma.c: New file.
17264 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17265 * sysdeps/powerpc/fpu/s_fma.S: New file.
17266 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17267 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17268 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17270 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17273 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17275 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17276 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17277 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17278 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17279 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17280 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17283 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17286 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17287 * posix/bug-regex31.input: Add test case.
17289 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17291 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17292 * posix/bug-regex31.input: New file.
17295 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17296 (parse_sub_exp): Fix last change, use postorder.
17298 * posix/bug-regex31.c: New file.
17299 * posix/Makefile: Add rules to build and run bug-regex31.
17301 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17304 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17307 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17308 to have entries in sys_siglist.
17311 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17314 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17317 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17318 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17319 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17320 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17321 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17322 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17323 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17324 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17325 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17326 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17327 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17328 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17329 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17330 * math/ftestexcept.c (fetestexcept): Likewise.
17331 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17332 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17333 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17334 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17335 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17336 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17337 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17339 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17342 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17345 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17347 * string/bug-strstr1.c: New file.
17348 * string/Makefile: Add rules to build and run bug-strstr1.
17350 2010-10-05 Eric Blake <eblake@redhat.com>
17353 * string/str-two-way.h (two_way_long_needle): Always clear memory
17354 when skipping input due to the shift table.
17356 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17359 * malloc/mcheck.c: Handle large requests.
17362 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17363 for strncmp and strncasecmp.
17364 * string/stratcliff.c: Add tests for strcmp and strncmp.
17365 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17367 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17369 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17372 2010-09-30 Andreas Jaeger <aj@suse.de>
17374 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17375 (CGROUP_SUPER_MAGIC): Define.
17376 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17377 Handle btrfs and cgroup file systems.
17378 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17381 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17383 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17384 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17386 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17389 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17390 trying to locate the ELF header.
17392 2010-09-27 Andreas Schwab <schwab@redhat.com>
17395 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17396 Mask out sign-bit copies when constructing f_fsid.
17398 2010-09-24 Petr Baudis <pasky@suse.cz>
17400 * debug/stack_chk_fail_local.c: Add missing licence exception.
17401 * debug/warning-nop.c: Likewise.
17403 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17405 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17406 implementing getdents64 using getdents syscall, set d_type if
17407 __ASSUME_GETDENTS32_D_TYPE.
17409 2010-09-16 Andreas Schwab <schwab@redhat.com>
17411 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17412 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17414 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17417 * posix/unistd.h: Undo change of feature selection for ftruncate from
17420 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17422 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17425 2010-09-20 Andreas Schwab <schwab@redhat.com>
17427 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17429 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17431 2010-09-14 Andreas Schwab <schwab@redhat.com>
17433 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17434 variables after CHECK_SP call.
17435 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17437 2010-09-13 Andreas Schwab <schwab@redhat.com>
17438 Ulrich Drepper <drepper@redhat.com>
17440 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17441 re-relocationg ld.so.
17442 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17443 _dl_init_paths call.
17444 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17447 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17449 * resolv/res_init.c (__res_vinit): Count the default server we added.
17451 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17452 Ulrich Drepper <drepper@redhat.com>
17455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17456 (____longjmp_chk): Use %ebx for saving value across system call.
17459 2010-09-06 Andreas Schwab <schwab@redhat.com>
17461 * manual/Makefile: Don't mix pattern rules with normal rules.
17463 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17465 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17467 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17468 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17469 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17470 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17474 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17477 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17478 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17480 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17482 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17483 * sysdeps/x86_64/addmul_1.S: Likewise.
17484 * sysdeps/x86_64/lshift.S: Likewise.
17485 * sysdeps/x86_64/mul_1.S: Likewise.
17486 * sysdeps/x86_64/rshift.S: Likewise.
17487 * sysdeps/x86_64/sub_n.S: Likewise.
17488 * sysdeps/x86_64/submul_1.S: Likewise.
17490 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17492 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17493 Define __sched_param instead of SCHED_* and sched_param when
17494 <bits/sched.h> is included with __need_schedparam defined.
17495 * bits/sched.h [__need_schedparam]
17496 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17497 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17498 (__defined_schedparam): Define to 1.
17499 (__sched_param): New structure, identical to sched_param.
17500 (__need_schedparam): Undefine.
17502 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17504 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17505 (epoll_create1): Declare.
17507 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17509 2010-08-31 Andreas Schwab <schwab@redhat.com>
17512 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17513 shifting retval into place.
17515 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17517 * nis/rpcsvc/nis.h: Update copyright notice.
17518 * nis/rpcsvc/nis.x: Likewise.
17519 * nis/rpcsvc/nis_callback.h: Likewise.
17520 * nis/rpcsvc/nis_callback.x: Likewise.
17521 * nis/rpcsvc/nis_object.x: Likewise.
17522 * nis/rpcsvc/nis_tags.h: Likewise.
17523 * nis/rpcsvc/yp.h: Likewise.
17524 * nis/rpcsvc/yp.x: Likewise.
17525 * nis/rpcsvc/ypupd.h: Likewise.
17526 * nis/yp_xdr.c: Likewise.
17527 * nis/ypupdate_xdr.c: Likewise.
17529 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17530 mainly the body of pmap_getport. Add parameters to specify timeouts.
17531 (pmap_getport): Use __libc_rpc_getport.
17532 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17533 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17534 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17536 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17541 2010-08-27 Roland McGrath <roland@redhat.com>
17543 * sysdeps/i386/i686/multiarch/Makefile
17544 (CFLAGS-varshift.c): New variable.
17546 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17548 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17549 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17553 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17555 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17557 * sysdeps/x86_64/strlen.S: Unroll the loop.
17558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17559 strlen-sse2 strlen-sse2-bsf.
17560 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17561 __strlen_no_bsf if bit_Slow_BSF is set.
17562 (__strlen_sse42): Removed.
17563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17564 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17566 2010-08-25 Roland McGrath <roland@redhat.com>
17568 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17569 * sysdeps/x86_64/multiarch/varshift.c: New file.
17570 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17571 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17572 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17573 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17575 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17578 strlen-sse2 strlen-sse2-bsf.
17579 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17580 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17581 (__strlen_sse2): Removed.
17582 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17583 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17585 bit_Slow_BSF for Atom.
17586 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17587 (index_Slow_BSF): Define.
17588 (HAS_SLOW_BSF): Define.
17590 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17593 * resolv/res_init.c (__res_vinit): When no server address at all
17594 is given default to loopback.
17596 2010-08-24 Roland McGrath <roland@redhat.com>
17598 * configure.in: Remove config-name.h generation.
17599 * configure: Regenerated.
17600 * config-name.in: File removed.
17601 * scripts/config-uname.sh: New file.
17602 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17603 ($(objdir)config-name.h): New target.
17605 * sunrpc/rpc_parse.h: Avoid nested comment.
17607 2010-08-24 Richard Henderson <rth@redhat.com>
17608 Ulrich Drepper <drepper@redhat.com>
17609 H.J. Lu <hongjiu.lu@intel.com>
17611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17613 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17614 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17615 _mm_alignr_epi8 with _mm_loadu_si128.
17616 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17617 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17618 (__m128i_shift_right): Removed.
17619 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17620 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17621 * sysdeps/x86_64/multiarch/varshift.h: New file.
17622 * sysdeps/x86_64/multiarch/varshift.S: New file.
17624 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17626 * configure.in: Move assembler checks to before sysdep dir checking.
17628 2010-08-20 Petr Baudis <pasky@suse.cz>
17630 * LICENSES: Sync the sunrpc license.
17632 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17634 * sunrpc/auth_des.c: Update copyright notice once again.
17635 * sunrpc/auth_none.c: Likewise.
17636 * sunrpc/auth_unix.c: Likewise.
17637 * sunrpc/authdes_prot.c: Likewise.
17638 * sunrpc/authuxprot.c: Likewise.
17639 * sunrpc/bindrsvprt.c: Likewise.
17640 * sunrpc/clnt_gen.c: Likewise.
17641 * sunrpc/clnt_perr.c: Likewise.
17642 * sunrpc/clnt_raw.c: Likewise.
17643 * sunrpc/clnt_simp.c: Likewise.
17644 * sunrpc/clnt_tcp.c: Likewise.
17645 * sunrpc/clnt_udp.c: Likewise.
17646 * sunrpc/clnt_unix.c: Likewise.
17647 * sunrpc/des_crypt.c: Likewise.
17648 * sunrpc/des_soft.c: Likewise.
17649 * sunrpc/get_myaddr.c: Likewise.
17650 * sunrpc/getrpcport.c: Likewise.
17651 * sunrpc/key_call.c: Likewise.
17652 * sunrpc/key_prot.c: Likewise.
17653 * sunrpc/openchild.c: Likewise.
17654 * sunrpc/pm_getmaps.c: Likewise.
17655 * sunrpc/pm_getport.c: Likewise.
17656 * sunrpc/pmap_clnt.c: Likewise.
17657 * sunrpc/pmap_prot.c: Likewise.
17658 * sunrpc/pmap_prot2.c: Likewise.
17659 * sunrpc/pmap_rmt.c: Likewise.
17660 * sunrpc/rpc/auth.h: Likewise.
17661 * sunrpc/rpc/auth_unix.h: Likewise.
17662 * sunrpc/rpc/clnt.h: Likewise.
17663 * sunrpc/rpc/des_crypt.h: Likewise.
17664 * sunrpc/rpc/key_prot.h: Likewise.
17665 * sunrpc/rpc/netdb.h: Likewise.
17666 * sunrpc/rpc/pmap_clnt.h: Likewise.
17667 * sunrpc/rpc/pmap_prot.h: Likewise.
17668 * sunrpc/rpc/pmap_rmt.h: Likewise.
17669 * sunrpc/rpc/rpc.h: Likewise.
17670 * sunrpc/rpc/rpc_des.h: Likewise.
17671 * sunrpc/rpc/rpc_msg.h: Likewise.
17672 * sunrpc/rpc/svc.h: Likewise.
17673 * sunrpc/rpc/svc_auth.h: Likewise.
17674 * sunrpc/rpc/types.h: Likewise.
17675 * sunrpc/rpc/xdr.h: Likewise.
17676 * sunrpc/rpc_clntout.c: Likewise.
17677 * sunrpc/rpc_cmsg.c: Likewise.
17678 * sunrpc/rpc_common.c: Likewise.
17679 * sunrpc/rpc_cout.c: Likewise.
17680 * sunrpc/rpc_dtable.c: Likewise.
17681 * sunrpc/rpc_hout.c: Likewise.
17682 * sunrpc/rpc_main.c: Likewise.
17683 * sunrpc/rpc_parse.c: Likewise.
17684 * sunrpc/rpc_parse.h: Likewise.
17685 * sunrpc/rpc_prot.c: Likewise.
17686 * sunrpc/rpc_sample.c: Likewise.
17687 * sunrpc/rpc_scan.c: Likewise.
17688 * sunrpc/rpc_scan.h: Likewise.
17689 * sunrpc/rpc_svcout.c: Likewise.
17690 * sunrpc/rpc_tblout.c: Likewise.
17691 * sunrpc/rpc_util.c: Likewise.
17692 * sunrpc/rpc_util.h: Likewise.
17693 * sunrpc/rpcinfo.c: Likewise.
17694 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17695 * sunrpc/rpcsvc/key_prot.x: Likewise.
17696 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17697 * sunrpc/rpcsvc/mount.x: Likewise.
17698 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17699 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17700 * sunrpc/rpcsvc/rex.x: Likewise.
17701 * sunrpc/rpcsvc/rstat.x: Likewise.
17702 * sunrpc/rpcsvc/rusers.x: Likewise.
17703 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17704 * sunrpc/rpcsvc/spray.x: Likewise.
17705 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17706 * sunrpc/rtime.c: Likewise.
17707 * sunrpc/svc.c: Likewise.
17708 * sunrpc/svc_auth.c: Likewise.
17709 * sunrpc/svc_authux.c: Likewise.
17710 * sunrpc/svc_raw.c: Likewise.
17711 * sunrpc/svc_run.c: Likewise.
17712 * sunrpc/svc_simple.c: Likewise.
17713 * sunrpc/svc_tcp.c: Likewise.
17714 * sunrpc/svc_udp.c: Likewise.
17715 * sunrpc/svc_unix.c: Likewise.
17716 * sunrpc/svcauth_des.c: Likewise.
17717 * sunrpc/xcrypt.c: Likewise.
17718 * sunrpc/xdr.c: Likewise.
17719 * sunrpc/xdr_array.c: Likewise.
17720 * sunrpc/xdr_float.c: Likewise.
17721 * sunrpc/xdr_mem.c: Likewise.
17722 * sunrpc/xdr_rec.c: Likewise.
17723 * sunrpc/xdr_ref.c: Likewise.
17724 * sunrpc/xdr_sizeof.c: Likewise.
17725 * sunrpc/xdr_stdio.c: Likewise.
17727 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17730 2010-08-19 Andreas Schwab <schwab@redhat.com>
17732 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17734 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17736 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17737 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17738 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17739 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17740 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17741 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17742 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17743 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17745 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17746 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17747 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17748 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17749 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17751 2010-07-26 Anton Blanchard <anton@samba.org>
17753 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17754 * malloc/arena.c (heap_trim): Likewise.
17756 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17758 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17760 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17761 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17763 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17765 * sysdeps/i386/elf/Makefile: New file.
17767 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17769 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17770 from fanotify_init.
17771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17774 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17776 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17778 * sysdeps/multiarch/strcmp.S: Likewise.
17780 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17782 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17783 strncase_l-nonascii.
17784 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17785 Add strncase_l-ssse3.
17786 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17787 * sysdeps/x86_64/strcmp.S: Likewise.
17788 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17789 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17790 * sysdeps/x86_64/strncase.S: New file.
17791 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17792 * sysdeps/x86_64/strncase_l.S: New file.
17793 * string/Makefile (strop-tests): Add strncasecmp.
17794 * string/test-strncasecmp.c: New file.
17796 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17799 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17800 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17802 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17804 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17806 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17808 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17809 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17810 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17812 2010-05-01 Alan Modra <amodra@gmail.com>
17814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17815 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17816 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17817 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17818 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17819 tidying. Don't tail-call __sigjmp_save for static lib.
17820 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17822 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17823 (CALL_MCOUNT): Add eh info, and nop after bl.
17824 (TAIL_CALL_SYSCALL_ERROR): New macro.
17825 (PSEUDO_RET): Use it.
17826 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17827 Correct save location of integer regs and cr.
17828 (_dl_profile_resolve): Correct cr save location. Delete nops
17829 after bl when SHARED. Reduce cfi size a little by better
17830 placement of cfi directives.
17831 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17832 make a stack frame. Instead use parm save area as a temp.
17833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17834 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17836 Don't make a stack frame for parent, use parm save area.
17837 Increase child stack frame to 112 bytes. Don't save unused reg,
17838 and adjust reg usage. Set up cfi on error recovery and
17839 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17841 (__makecontext): Add dummy nop after jump to exit.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17843 Use correct parm save area and cr save, reduce stack frame.
17844 Correct cfi for possible PSEUDO_RET frame setup.
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17846 Branch to local label emitted by PSEUDO_RET rather than
17849 2010-08-12 Andreas Schwab <schwab@redhat.com>
17852 * locale/programs/locale.c (print_assignment): New function.
17853 (show_locale_vars): Use it.
17855 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17857 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17859 (struct statfs64): Likewise.
17860 (_STATFS_F_FLAGS): Define.
17861 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17862 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17863 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17864 (ST_VALID): Define locally.
17865 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17866 __statvfs_getflags, use the provided value.
17867 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17868 __ASSUME_STATFS_F_FLAGS.
17870 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17872 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17873 Add sys/fanotify.h.
17874 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17875 fanotify_mask for GLIBC_2.13.
17876 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17877 fanotify_init and fanotify_mark.
17878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17879 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17881 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17883 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17884 prlimit64 for GLIBC_2.13.
17885 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17887 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17890 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17891 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17892 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17893 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17895 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17898 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17899 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17901 * nss/Makefile: Add rules to build and run tst-nss-test1.
17902 * shlib-versions: Add entry for libnss_test1.
17903 * nss/nss_test1.c: New file.
17904 * nss/tst-nss-test1.c: New file.
17906 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17907 (__nss_configure_lookup): Set appropriate entry in
17908 __nss_configure_lookup to true.
17909 * nss/nsswitch.h: Define enum with indeces of databases in
17910 databases and __nss_database_custom arrays. Declare
17911 __nss_database_custom.
17912 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17913 to avoid using nscd when custom rules are installed.
17914 * nss/getXXbyYY_r.c: Likewise.
17915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17917 * nss/nss_files/files-parse.c: Whitespace fixes.
17919 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17922 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17923 * posix/fnmatch_loop.c: Likewise.
17925 2010-07-17 Andi Kleen <ak@linux.intel.com>
17927 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17928 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17929 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17930 * Versions.def [GLIBC_2.13]: Add.
17932 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17934 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17935 Also fail if tpwd after pwuid call is NULL.
17937 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17939 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17940 when converting to ms.
17942 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17944 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17945 EOPNOTSUPP errors with ENOTTY.
17946 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17947 EOPNOTSUPP errors with ENOTTY.
17949 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17951 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17952 Add strcasecmp_l-ssse3.
17953 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17955 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17956 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17957 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17959 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17961 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17963 * string/Makefile (strop-tests): Add strcasecmp.
17964 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17965 strcasecmp_l-nonascii.
17966 (gen-as-const-headers): Add locale-defines.sym.
17967 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17968 * sysdeps/x86_64/strcasecmp.S: New file.
17969 * sysdeps/x86_64/strcasecmp_l.S: New file.
17970 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17971 * sysdeps/x86_64/locale-defines.sym: New file.
17972 * string/test-strcasecmp.c: New file.
17974 * string/test-strcasestr.c: Test both ends of the range of characters.
17975 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17977 2010-07-29 Roland McGrath <roland@redhat.com>
17980 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17982 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17984 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17987 2010-07-27 Andreas Schwab <schwab@redhat.com>
17989 * manual/memory.texi (Malloc Tunable Parameters): Document
17992 2010-07-26 Roland McGrath <roland@redhat.com>
17995 * configure.in (-fgnu89-inline check): Set and substitute
17996 gnu89_inline, not libc_cv_gnu89_inline.
17997 * configure: Regenerated.
17998 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18000 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18002 * string/test-strnlen.c: New file.
18003 * string/Makefile (strop-tests): Add strnlen.
18004 * string/tester.c (test_strnlen): Add a few more test cases.
18005 * string/tst-strlen.c: Better error reporting.
18007 * sysdeps/x86_64/strnlen.S: New file.
18009 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18011 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18012 lower-latency instructions.
18014 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18016 * string/test-strcasestr.c: New file.
18017 * string/test-strstr.c: New file.
18018 * string/Makefile (strop-tests): Add strstr and strcasestr.
18019 * string/str-two-way.h: Don't undefine MAX.
18020 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18022 2010-07-21 Andreas Schwab <schwab@redhat.com>
18024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18025 strcasestr-nonascii.
18026 (CFLAGS-strcasestr-nonascii.c): Define.
18027 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18028 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18029 Remove unused attribute.
18031 2010-07-20 Roland McGrath <roland@redhat.com>
18033 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18034 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18035 ld.so.cache was broken. With it, there is no way to disable dsocaps
18036 like LD_HWCAP_MASK can disable hwcaps.
18038 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18040 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18042 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18044 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18045 call in strcasestr.
18046 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18047 __strcasestr_sse42_nonascii.
18048 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18049 strcasestr-nonascii.c.
18050 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18052 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18054 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18055 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18056 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18057 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18059 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18061 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18064 2010-07-06 Andreas Schwab <schwab@redhat.com>
18067 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18070 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18072 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18073 _PC_PIPE_BUF using F_GETPIPE_SZ.
18075 2010-07-05 Roland McGrath <roland@redhat.com>
18077 * manual/arith.texi (Rounding Functions): Fix rint description
18078 implicit in round description.
18080 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18082 * elf/Makefile: Fix linking for a few tests to make recent linker
18085 2010-06-30 Andreas Schwab <schwab@redhat.com>
18087 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18088 $(common-objpfx)libc_nonshared.a.
18090 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18092 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18093 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18094 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18095 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18096 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18097 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18098 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18099 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18114 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18115 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18116 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18117 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18118 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18119 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18120 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18121 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18122 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18123 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18124 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18125 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18141 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18143 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18144 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18145 * string/memmove.c (memmove): Renamed to ...
18146 (MEMMOVE): ...this. Default to memmove.
18147 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18148 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18151 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18152 mempcpy-ssse3-back memmove-ssse3-back.
18153 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18156 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18157 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18158 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18159 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18160 * sysdeps/x86_64/multiarch/memmove.c: New file.
18161 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18162 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18163 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18164 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18165 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18166 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18168 (index_Fast_Copy_Backward): Define.
18169 (HAS_ARCH_FEATURE): Define.
18170 (HAS_FAST_REP_STRING): Define.
18171 (HAS_FAST_COPY_BACKWARD): Define.
18173 2010-06-21 Andreas Schwab <schwab@redhat.com>
18175 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18176 Restore proper fallback handling.
18178 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18181 * posix/group_member.c (__group_member): Correct checking loop.
18183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18184 OOM in getpwuid_r correctly. Return error number when the caller
18185 should return, otherwise -1.
18186 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18187 call returning > 0 value.
18188 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18190 2010-06-07 Andreas Schwab <schwab@redhat.com>
18192 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18193 libc_nonshared.a from targets in modules-names.
18195 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18197 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18200 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18202 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18203 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18204 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18207 2010-06-02 Andreas Schwab <schwab@redhat.com>
18209 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18211 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18213 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18217 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18220 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18222 2010-06-14 Roland McGrath <roland@redhat.com>
18224 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18226 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18228 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18229 __REDIRECT followed by __THROW.
18230 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18231 * posix/getopt.h (getopt): Likewise.
18233 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18235 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18236 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18237 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18239 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18240 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18242 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18244 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18246 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18250 Properly check family and model.
18252 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18254 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18256 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18258 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18260 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18262 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18265 2010-05-19 Andreas Schwab <schwab@redhat.com>
18267 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18270 2010-05-21 Andreas Schwab <schwab@redhat.com>
18272 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18273 and internal_recvmmsg.
18274 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18275 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18276 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18277 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18279 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18280 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18281 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18283 2010-05-20 Andreas Schwab <schwab@redhat.com>
18285 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18287 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18289 POWER7 optimizations.
18290 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18291 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18293 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18295 * version.h: Update for 2.13 development version.
18297 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18299 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18300 exceptions. Return 0.
18302 2010-05-07 Roland McGrath <roland@redhat.com>
18304 * elf/ldconfig.c (main): Add a const.
18306 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18308 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18309 (args_options): Add no-idn option.
18310 (ahosts_keys_int): Add idn_flags to ai_flags.
18311 (parse_option): Handle 'i' option to clear idn_flags.
18313 * malloc/malloc.c (_int_free): Possible race in the most recently
18314 added check. Only act on the data if no current modification
18317 See ChangeLog.17 for earlier changes.