1 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9 macro to return vdso values correctly in IFUNC implementations.
10 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11 Optimization by using IFUNC.
13 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16 default_ldbl_pack and using as default implementation.
17 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21 (ldbl_insert_mantissa): Likewise.
22 (ldbl_canonicalize): Likewise.
23 (ldbl_nearbyint): Likewise.
24 (ldbl_pack): Rename to ldbl_pack_ppc.
25 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
40 2013-02-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44 __ieee754_sqrl instead of __sqrl.
46 2013-01-18 Anton Blanchard <anton@samba.org>
47 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55 "+r" and remove output regs list as redundant. Add explicit inline
56 asm to specify register of return val to work around compiler codegen
57 bug. Remove (int) cast on return value. Add return type parameter to
58 use in macro so that this macro does not truncate return value for
60 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61 pass to INTERNAL_VSYSCALL_NCS.
62 (INLINE_VSYSCALL): Add 'long int' as return type to
63 INTERNAL_VSYSCALL_NCS macro invocation.
64 (INTERNAL_VSYSCALL): Add 'long int' as return type to
65 INTERNAL_VSYSCALL_NCS macro invocation.
66 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68 2013-01-09 Anton Blanchard <anton@samba.org>
70 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
73 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
75 2013-02-08 Carlos O'Donell <carlos@redhat.com>
78 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
79 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
81 2013-03-30 David S. Miller <davem@davemloft.net>
83 * po/de.po: Update from translation team.
85 2013-01-31 David S. Miller <davem@davemloft.net>
87 * po/de.po: Update from translation team.
89 2013-01-11 Andreas Jaeger <aj@suse.de>
92 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
93 value. Sync with Linux 3.7.
95 2013-01-09 David S. Miller <davem@davemloft.net>
98 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
99 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
100 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
101 TCP_FASTOPEN): Define.
102 (tcp_repair_opt): New structure.
103 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
105 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
106 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
107 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
108 (tcp_cookie_transactions): New structure.
110 2013-01-09 Andreas Jaeger <aj@suse.de>
112 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
113 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
115 2013-01-01 David S. Miller <davem@davemloft.net>
117 * po/fr.po: Update from translation team.
118 * po/ca.po: Likewise.
120 2012-12-21 David S. Miller <davem@davemloft.net>
122 * po/hr.po: Update from translation team.
124 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
126 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
128 2012-12-19 Steve Ellcey <sellcey@mips.com>
130 * NEWS: Mention new memcpy for MIPS.
132 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
134 * manual/contrib.texi (Contributors): Spelling correction.
136 2012-12-15 David S. Miller <davem@davemloft.net>
138 * po/ru.po: Update from translation team.
140 2012-12-13 David S. Miller <davem@davemloft.net>
142 * NEWS: Mention IFUNC testsuite enhancements.
144 * po/pl.po: Update from translation team.
145 * po/bg.po: Likewise.
147 * manual/contrib.texi (Contributors): Update entries for Hongjiu
148 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
150 2012-12-11 David S. Miller <davem@davemloft.net>
152 * po/sv.po: Update from translation team.
154 * po/vi.po: Update from translation team.
156 * po/cs.po: Update from translation team.
158 * po/de.po: Update from translation team.
159 * po/eo.po: Likewise.
160 * po/nl.po: Likewise.
162 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
165 * manual/argp.texi (Argp Helper Functions): Move node to follow
169 * manual/conf.texi (Limits on File System Capacity): Mention if
170 terminating null is included in the max size.
172 2012-12-10 Andreas Jaeger <aj@suse.de>
174 * po/cs.po: Update from translation team.
176 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
178 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
179 void pointer and cast to uintptr_t.
180 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
182 * sysdeps/s390/s390-64/memcpy.S: Likewise.
183 * sysdeps/s390/s390-64/memset.S: Likewise.
185 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
188 * menual/message.texi (Message Translation): Fix typos.
189 (Helper programs for gettext): Likewise.
191 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
194 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
197 2012-12-07 David S. Miller <davem@davemloft.net>
199 * po/libc.pot: Update.
201 2012-12-07 Richard Henderson <rth@redhat.com>
204 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
205 normal/normal case to before the switch.
208 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
209 Mike Frysinger <vapier@gentoo.org>
211 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
212 check for __NR_fadvise64_64.
214 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
216 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
217 0, not just to plain "0" as a statement.
218 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
221 2012-12-06 Joseph Myers <joseph@codesourcery.com>
223 * NEWS: Use sourceware.org in Bugzilla URL.
225 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
228 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
230 * stdio-common/tst-put-error.c (do_test): Add newline to the
231 padded test to ensure flush.
233 2012-12-05 Jeff Law <law@redhat.com>
235 * sunrpc/etc.rpc (fedfs_admin): Add entry.
237 2012-12-05 Joseph Myers <joseph@codesourcery.com>
239 * README: Don't refer to ports add-on as distributed separately.
240 Mention AArch64 in list of systems supported in the ports add-on.
242 * LICENSES: Add more non-FSF copyright and license notices.
244 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
247 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
249 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
250 10000 as width of padded output.
252 2012-12-04 Joseph Myers <joseph@codesourcery.com>
254 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
257 variable LX with __attribute__ ((unused)).
258 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
260 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
263 with __attribute__ ((unused)).
265 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
267 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
269 2012-12-04 Joseph Myers <joseph@codesourcery.com>
271 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
272 (CFLAGS-nldbl-acos.c): New variable.
273 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
300 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
301 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
302 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
303 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
304 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
305 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
306 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
307 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
308 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
309 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
310 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
311 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
312 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
313 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
314 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
315 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
316 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
317 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
318 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
319 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
320 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
321 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
322 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
323 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
324 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
325 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
326 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
327 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
328 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
329 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
330 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
331 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
332 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
333 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
334 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
335 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
336 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
337 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
338 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
339 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
340 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
341 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
342 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
343 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
344 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
345 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
346 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
347 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
348 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
349 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
350 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
351 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
352 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
353 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
354 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
355 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
356 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
357 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
358 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
359 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
360 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
361 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
362 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
363 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
364 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
365 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
366 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
367 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
368 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
369 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
372 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
376 whole low double instead of just low 47 bits when splitting values
379 2012-12-03 Allan McRae <allan@archlinux.org>
381 * manual/stdio.texi (Predefined Printf Handlers): Remove
382 @hsep and @vsep usage.
384 2012-12-03 Mike Frysinger <vapier@gentoo.org>
386 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
387 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
389 2012-12-03 Jeff Law <law@redhat.com>
391 * time/sys/time.h (settimeofday): Do not mark TV argument
394 2012-12-01 Mike Frysinger <vapier@gentoo.org>
396 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
397 when currently writing and seek to current position when not.
398 * libio/Makefile (tests): Remove bug-fclose1.
399 * libio/bug-fclose1.c: Delete.
401 2012-12-01 Joseph Myers <joseph@codesourcery.com>
403 * manual/arith.texi (feenableexcept): Fix typo.
404 (fedisableexcept): Likewise.
406 2012-11-30 Roland McGrath <roland@hack.frob.com>
408 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
409 second, differently-typed declaration, rather than a cast.
411 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
413 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
414 * include/rpc/svc.h: ... here.
416 2012-11-30 Aurelien Jarno <aurel32@debian.org>
419 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
420 depending n and resplen2 to catch cases where answer
423 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
425 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
426 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
428 2012-11-29 Mike Frysinger <vapier@gentoo.org>
430 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
432 2012-11-29 Roland McGrath <roland@hack.frob.com>
434 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
436 2012-11-28 Jeff Law <law@redhat.com>
439 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
440 dataset_temporary. Track alloca usage into alloca_used.
441 If dataset is large allocate and release it via malloc/free.
443 2012-06-04 Florian Weimer <fweimer@redhat.com>
446 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
448 2012-11-28 David S. Miller <davem@davemloft.net>
450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
452 2012-11-28 Joseph Myers <joseph@codesourcery.com>
455 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
456 of pi/2 rounded to nearest to 64 bits.
457 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
459 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
462 2012-11-28 Jeff Law <law@redhat.com>
463 Martin Osvald <mosvald@redhat.com>
466 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
467 * sunrpc/svc.c: Include time.h.
468 (__svc_accept_failed): New function.
469 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
470 any reason other than EINTR, call __svc_accept_failed.
471 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
472 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
474 2012-11-28 Andreas Schwab <schwab@suse.de>
476 * scripts/abilist.awk: Also handle indirect functions in .opd
479 2012-11-28 Joseph Myers <joseph@codesourcery.com>
482 * sysdeps/x86/fpu/powl_helper.c: New file.
483 * sysdeps/x86/fpu/Makefile: Likewise.
484 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
486 (__ieee754_powl): Use __powl_helper for finite arguments except
487 integer exponents below 8.
488 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
490 (__ieee754_powl): Use __powl_helper for finite arguments except
491 integer exponents below 8.
492 * math/libm-test.inc (pow_test): Add more tests and enable some
493 previously disabled tests.
494 * sysdeps/i386/fpu/libm-test-ulps: Update.
495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
498 Carlos O'Donell <carlos_odonell@mentor.com>
500 * nss/makedb.c (is_prime): Assert that input is odd and greater
501 than 4. Note that fact in a comment too.
502 (next_prime): Add 4 to input.
504 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
507 * libio/Makefile (tests): Add test case tst-fwrite-error.
508 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
509 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
510 * libio/tst-fwrite-error.c: New test case.
512 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
514 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
515 before casting to void *.
516 * include/libc-internal.h (__pointer_type): New macro.
517 (__integer_if_pointer_type_sub): Likewise.
518 (__integer_if_pointer_type): Likewise.
519 (cast_to_integer): Likewise.
520 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
521 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
522 before casting to atomic64_t.
523 (atomic_exchange_acq): Likewise.
524 (__arch_exchange_and_add_body): Likewise.
525 (__arch_add_body): Likewise.
526 (atomic_add_negative): Likewise.
527 (atomic_add_zero): Likewise.
529 2012-11-26 Joseph Myers <joseph@codesourcery.com>
531 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
532 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
533 (add_fdes): Likewise.
534 (linear_search_fdes): Likewise.
535 (binary_search_unencoded_fdes): Likewise.
537 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
539 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
541 2012-11-24 Adam Conrad <adconrad@0c3.net>
543 * configure.in: Autodetect C++ header directories.
544 * configure: Regenerated.
546 2012-11-23 Mike Frysinger <vapier@gentoo.org>
548 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
550 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
554 2012-11-22 Joseph Myers <joseph@codesourcery.com>
556 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
557 LDBL_MANT_DIG == 106]: Disable some tests.
558 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
560 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
565 input for small inputs. Return +/- pi/2 for large inputs.
566 * math/libm-test.inc (atan_test): Add more tests.
568 * sysdeps/generic/unwind-dw2-fde-glibc.c
569 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
570 __attribute__ ((unused)).
573 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
574 x * y if x and y are nonzero and z is zero.
577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
578 nonzero exponents with absolute value below 0x1p-117 to +/-
582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
583 up arguments below 2**-450, not just those below 2**-500.
584 * math/libm-test.inc (hypot_test): Add another test.
587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
588 Return a+b for ratio over 2**120, not 2**60.
589 * math/libm-test.inc (hypot_test): Add another test.
591 * math/libm-test.inc (clog_test): Use
592 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
593 (clog10_test): Likewise.
596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
598 2012-11-22 Andreas Schwab <schwab@suse.de>
600 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
604 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
605 printf output with newline.
607 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
610 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
611 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
612 -z nodlopen, -z initfirst and -z execstack support.
613 * configure: Regenerated.
615 * elf/elf.h (DF_1_NODIRECT): New macro.
616 (DF_1_IGNMULDEF): Likewise.
617 (DF_1_NOKSYMS): Likewise.
618 (DF_1_NOHDR): Likewise.
619 (DF_1_EDITED): Likewise.
620 (DF_1_NORELOC): Likewise.
621 (DF_1_SYMINTPOSE): Likewise.
622 (DF_1_GLOBAUDIT): Likewise.
623 (DF_1_SINGLETON): Likewise.
624 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
625 DT_1_SUPPORTED_MASK bits.
626 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
628 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
630 * sysdeps/unix/make-syscalls.sh: Document prefixes.
632 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
634 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
637 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
638 (sendmmsg): Move declarations...
639 * socket/sys/socket.h: ... here.
640 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
641 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
643 * socket/recvmmsg.c: ... this new file.
644 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
645 (sendmmsg): Rename to __sendmmsg, create weak alias and make
646 definition of __sendmmsg hidden.
647 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
648 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
649 Move ENOSYS stub into and include it from...
650 * socket/sendmmsg.c: ... this new file.
651 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
652 (sysdep_routines): Move recvmmsg and sendmmsg...
653 * socket/Makefile (routines): ... here.
654 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
655 (GLIBC_PRIVATE): Add __sendmmsg.
656 * include/sys/socket.h (__sendmmsg): Add declarations.
657 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
660 2012-11-20 Joseph Myers <joseph@codesourcery.com>
662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
663 variable I1 with __attribute__ ((unused)).
664 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
666 2012-11-19 Joseph Myers <joseph@codesourcery.com>
668 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
669 DUMMY variables with __attribute__ ((unused)).
671 * bits/byteswap.h: Include <bits/types.h>.
672 (__bswap_64): Use __uint64_t instead of unsigned long long int.
674 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
676 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
677 string_t. Do not manually set errno.
678 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
679 length with __strnlen. Make sure to both set errno and return it on
682 2012-11-19 David S. Miller <davem@davemloft.net>
684 With help from Joseph Myers.
685 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
686 very large arguments properly.
687 * math/libm-test.inc (atan_test): New tests.
688 (atan2_test): New tests.
689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
692 2012-11-19 Joseph Myers <joseph@codesourcery.com>
695 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
698 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
699 [POSIX] (EADDRNOTAVAIL): Likewise.
700 [POSIX] (EAFNOSUPPORT): Likewise.
701 [POSIX] (EALREADY): Likewise.
702 [POSIX] (ECONNABORTED): Likewise.
703 [POSIX] (ECONNREFUSED): Likewise.
704 [POSIX] (ECONNRESET): Likewise.
705 [POSIX] (EDESTADDRREQ): Likewise.
706 [POSIX] (EDQUOT): Likewise.
707 [POSIX] (EHOSTUNREACH): Likewise.
708 [POSIX] (EIDRM): Likewise.
709 [POSIX] (EISCONN): Likewise.
710 [POSIX] (ELOOP): Likewise.
711 [POSIX] (EMULTIHOP): Likewise.
712 [POSIX] (ENETDOWN): Likewise.
713 [POSIX] (ENETUNREACH): Likewise.
714 [POSIX] (ENOBUFS): Likewise.
715 [POSIX] (ENODATA): Likewise.
716 [POSIX] (ENOLINK): Likewise.
717 [POSIX] (ENOMSG): Likewise.
718 [POSIX] (ENOPROTOOPT): Likewise.
719 [POSIX] (ENOSR): Likewise.
720 [POSIX] (ENOSTR): Likewise.
721 [POSIX] (ENOTCONN): Likewise.
722 [POSIX] (ENOTSOCK): Likewise.
723 [POSIX] (EOPNOTSUPP): Likewise.
724 [POSIX] (EOVERFLOW): Likewise.
725 [POSIX] (EPROTO): Likewise.
726 [POSIX] (EPROTONOSUPPORT): Likewise.
727 [POSIX] (EPROTOTYPE): Likewise.
728 [POSIX] (ESTALE): Likewise.
729 [POSIX] (ETIME): Likewise.
730 [POSIX] (ETXTBSY): Likewise.
731 [POSIX] (EWOULDBLOCK): Likewise.
732 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
733 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
734 [POSIX] (SEEK_CUR): Likewise.
735 [POSIX] (SEEK_END): Likewise.
736 [POSIX || UNIX98] (mode_t): Do not require.
737 [POSIX] (off_t): Likewise.
738 [POSIX] (pid_t): Likewise.
739 [POSIX] (sys/stat.h): Do not allow header.
740 [POSIX] (unistd.h): Likewise.
741 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
742 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
743 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
744 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
746 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
747 sigevent): Specify elements.
748 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
750 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
751 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
753 * conform/data/cpio.h-data [POSIX]: Disable whole file.
754 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
755 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
756 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
757 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
758 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
759 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
760 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
761 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
762 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
763 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
764 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
765 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
766 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
768 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
770 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
772 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
774 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
775 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
776 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
777 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
778 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
779 Specify lower bound on value.
780 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
781 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
782 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
783 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
784 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
785 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
786 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
787 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
789 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
791 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
792 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
793 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
794 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
795 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
796 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
797 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
798 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
799 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
800 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
801 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
802 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
803 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
804 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
805 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
806 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
808 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
810 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
811 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
812 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
813 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
814 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
815 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
817 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
818 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
819 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
820 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
821 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
822 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
823 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
825 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
826 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
827 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
828 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
829 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
830 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
832 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
833 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
834 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
835 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
836 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
837 [XPG3] (NL_LANGMAX): Likewise.
838 [POSIX || XPG3] (NL_MSGMAX): Likewise.
839 [POSIX || XPG3] (NL_NMAX): Likewise.
840 [POSIX || XPG3] (NL_SETMAX): Likewise.
841 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
842 [XPG3] (NZERO): Likewise.
843 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
844 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
845 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
846 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
847 (REG_ERANGE): Expect.
848 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
850 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
851 Use (void) in prototype.
852 [POSIX] (*_t): Allow.
853 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
854 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
855 (WRDE_BADVAL): Expect.
857 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
859 [XPG3 || XPG4] (O_RSYNC): Likewise.
860 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
862 [XPG3 || XPG4] (pthread_sigmask): Likewise.
863 [XPG3 || XPG4] (sigqueue): Likewise.
864 [XPG3 || XPG4] (sigtimedwait): Likewise.
865 [XPG3 || XPG4] (sigwaitinfo): Likewise.
866 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
867 [XPG3 || XPG4] (vsnprintf): Likewise.
868 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
870 [XPG3 || XPG4] (blksize_t): Likewise.
871 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
873 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
874 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
875 [XPG3 || XPG4] (struct itimerspec): Likewise.
876 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
877 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
878 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
879 [XPG3 || XPG4] (clockid_t): Likewise.
880 [XPG3 || XPG4] (timer_t): Likewise.
881 [XPG3 || XPG4] (clock_getres): Likewise.
882 [XPG3 || XPG4] (clock_gettime): Likewise.
883 [XPG3 || XPG4] (clock_settime): Likewise.
884 [XPG3 || XPG4] (nanosleep): Likewise.
885 [XPG3 || XPG4] (timer_create): Likewise.
886 [XPG3 || XPG4] (timer_delete): Likewise.
887 [XPG3 || XPG4] (timer_gettime): Likewise.
888 [XPG3 || XPG4] (timer_getoverrun): Likewise.
889 [XPG3 || XPG4] (timer_settime): Likewise.
890 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
891 [XPG3 || XPG4] (getlogin_r): Likewise.
892 [XPG3 || XPG4] (pread): Likewise.
893 [XPG3 || XPG4] (pthread_atfork): Likewise.
894 [XPG3 || XPG4] (pwrite): Likewise.
897 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
900 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
902 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
903 finalizing MALLSTREAM.
905 * sysdeps/mach/hurd/syncfs.c: New file.
907 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
910 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
911 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
912 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
913 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
914 (_nss_dns_gethostbyname4_r): Likewise.
915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
916 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
918 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
921 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
923 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
925 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
926 * elf/cache.c (print_entry): Print ",AArch64" for
929 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
930 * elf/cache.c (print_entry): Print ",hard-float" for
933 2012-11-18 David S. Miller <davem@davemloft.net>
935 With help from Joseph Myers.
936 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
938 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
940 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
941 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
943 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
944 * math/libm-test.inc (y0_test): New tests.
945 (y1_test): New tests.
946 * sysdeps/i386/fpu/libm-test-ulps: Update.
947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
950 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
952 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
954 * configure: Regenerated.
956 2012-11-17 David S. Miller <davem@davemloft.net>
959 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
960 nonzero exponents with absolute value below 0x1p-128 to +/-
963 2012-11-17 Joseph Myers <joseph@codesourcery.com>
965 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
967 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
969 * posix/getconf-speclist.c: New file.
970 * posix/posix-envs.def: Likewise.
971 * posix/confstr.c (START_ENV_GROUP): New macro.
972 (END_ENV_GROUP): Likewise.
973 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
974 (KNOWN_PRESENT_ENV_STRING): Likewise.
975 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
976 (UNKNOWN_ENVIRONMENT): Likewise.
977 (confstr): Include posix-envs.def instead of handling
978 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
979 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
980 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
981 (END_ENV_GROUP): Likewise.
982 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
983 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
984 (UNKNOWN_ENVIRONMENT): Likewise.
985 (__sysconf): Include posix-envs.def instead of handling associated
987 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
988 preprocessing getconf-speclist.c rather than running getconf or
989 generating empty file.
991 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
993 * scripts/check-local-headers.sh: Ignore 'mach' headers.
995 2012-11-16 Andrej Lajovic <natrij@gmail.com>
998 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1000 2012-11-16 David S. Miller <davem@davemloft.net>
1002 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1003 smaller than LDBL_EPSILON/2.0L, just return xm1.
1005 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1007 * elf/tst-array1.c (init): Set constructor priority to 1000.
1008 (fini): Set destructor priority to 1000.
1009 * elf/tst-array2dep.c: Likewise.
1011 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1014 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1015 (_IO_new_file_xsputn): Also return EOF if none of the input
1016 data was written when overflow failed.
1017 * libio/iopadn.c (_IO_padn): Likewise.
1018 * libio/iowpadn.c (_IO_wpadn): Likewise.
1019 * stdio-common/tst-put-error.c: Add copyright notice.
1020 (do_test): Add case for printing padded string.
1021 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1022 _IO_padn returned error.
1023 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1024 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1027 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1029 * libio/libioP.h: Add comment note that the references to C++
1030 bits are now obsolete.
1032 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1034 * math/libm-test.inc (check_complex): Use asprintf.
1036 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1038 * debug/pcprofiledump.c (print_version): Update copyright year.
1039 * malloc/memusagestat.c (print_version): Likewise.
1041 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1044 * elf/Makefile (tests): Add tst-audit8.
1045 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1046 ($(objpfx)tst-audit8.out): New target.
1047 (tst-audit8-ENV): New variable.
1048 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1049 audit if l_reloc_result is NULL.
1050 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1051 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1052 * elf/tst-audit8.c: New file.
1054 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1056 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1057 * misc/Makefile (CFLAGS-select.c): Define.
1058 * posix/Makefile (CFLAGS-pause.c): Define.
1060 2012-11-13 David S. Miller <davem@davemloft.net>
1062 * crypt/Makefile: Move test targets after toplevel Rules
1063 inclusion. Grab any necessary sysdep routines when linking.
1064 * crypt/md5.c (md5_process_block): Remove define, we will always
1065 name it __md5_process_block.
1066 (md5_finish_ctx): Update md5_process_block call.
1067 (md5_stream): Likewise.
1068 (md5_process_bytes): Likewise.
1069 (md5_process_block): Rename to __md5_process_block and move to ...
1070 * crypt/md5-block.c: ... here.
1071 * crypt/sha256.c (sha256_process_block): Move to ...
1072 * crypt/sha256-block.c: ... here.
1073 * crypt/sha512.c (sha512_process_block): Move to ...
1074 * crypt/sha512-block.c: ... here.
1075 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1077 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1078 * sysdeps/sparc/sparc64/multiarch/Makefile
1079 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1081 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1082 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1084 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1085 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1086 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1087 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1088 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1089 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1090 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1091 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1092 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1094 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1095 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1097 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1099 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1101 * timezone/tzselect.ksh: Update from tzcode git revision
1102 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1103 * timezone/zdump.c: Likewise.
1104 * timezone/zic.c: Likewise.
1105 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1106 in TZVERSION setting, not $(PKGVERSION).
1107 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1108 REPORT_BUGS_TO settings.
1111 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1114 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1116 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1117 detection to immediately after _FP_ROUND().
1118 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1121 2012-11-11 David S. Miller <davem@davemloft.net>
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1125 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1126 __close rather than their public counterparts.
1128 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1130 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1132 [UNIX98] (sem_timedwait): Do not expect.
1133 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1134 [XPG4 || UNIX98] (sockatmark): Do not expect.
1135 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1136 (clock_getcpuclockid): Do not expect.
1137 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1138 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1140 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1141 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1142 [UNIX98] (vwscanf): Likewise.
1143 [UNIX98] (vswscanf): Likewise.
1145 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1147 * timezone/version.h: Remove file.
1148 * timezone/README: Do not refer to version.h.
1149 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1151 ($(objpfx)zdump.o): Likewise.
1152 ($(objpfx)version.h): New target.
1154 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1156 * timezone/README: Don't mention modification to tzselect.ksh.
1157 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1158 work on unmodified tzselect.ksh. Substitute version numbers in
1161 * Makefile (format-me): Remove.
1162 (INSTALL): Adjust indentation. Use commands directly instead of
1165 * aclocal.m4 (ACX_PKGVERSION): New macro.
1166 (ACX_BUGURL): Likewise.
1167 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1168 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1169 (REPORT_BUGS_TO): Likewise.
1170 * configure: Regenerated.
1171 * config.h.in (PKGVERSION): New macro.
1172 (REPORT_BUGS_TO): Likewise.
1173 * config.make.in (PKGVERSION): New variable.
1174 (PKGVERSION_TEXI): Likewise.
1175 (REPORT_BUGS_TO): Likewise.
1176 (REPORT_BUGS_TEXI): Likewise.
1177 * Makefile (format-me): Use -I$(common-objpfx)manual.
1178 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1179 ($(common-objpfx)manual/%): New target.
1180 (manual/%): Remove target.
1181 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1182 (print_version): Use PKGVERSION.
1183 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1184 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1186 ($(objpfx)xtrace): Likewise.
1187 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1188 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1189 (print_version): Use PKGVERSION.
1190 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1191 (do_version): Use PKGVERSION.
1192 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1194 (common-ldd-rewrite): Likewise.
1195 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1196 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1197 (print_version): Use PKGVERSION.
1198 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1199 * elf/pldd.c (argp_program_bug_address): Remove variable.
1200 (more_help): New function.
1201 (argp): Use more_help.
1202 (print_version): Use PKGVERSION.
1203 * elf/sln.c (main): Use PKGVERSION.
1204 (usage): Use REPORT_BUGS_TO.
1205 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1206 (top level): Use PKGVERSION.
1207 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1208 (print_version): Use PKGVERSION.
1209 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1210 (print_version): Use PKGVERSION.
1211 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1212 (print_version): Use PKGVERSION.
1213 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1214 (print_version): Use PKGVERSION.
1215 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1216 (print_version): Use PKGVERSION.
1217 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1218 (print_version): Use PKGVERSION.
1219 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1221 ($(objpfx)memusage): Likewise.
1222 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1223 (do_version): Use PKGVERSION.
1224 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1225 (print_version): Use PKGVERSION.
1226 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1227 ($PKGVERSION): New variable.
1228 ($REPORT_BUGS_TO): Likewise.
1229 (usage): Use $REPORT_BUGS_TO.
1230 (top level): Use $PKGVERSION.
1231 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1232 ($(objpfx)pkgvers.texi): New rule.
1233 ($(objpfx)stamp-pkgvers): Likewise.
1234 * manual/install.texi: Include pkgvers.texi.
1235 (--with-pkgversion): Document new configure option.
1236 (--with-bugurl): Likewise.
1237 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1238 than necessarily for this particular distribution. Use
1239 REPORT_BUGS_TO for where to report bugs.
1240 * INSTALL: Regenerated.
1241 * manual/libc.texinfo: Include pkgvers.texi.
1242 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1243 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1244 (print_version): Use PKGVERSION.
1245 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1246 (print_version): Use PKGVERSION.
1247 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1248 (print_version): Use PKGVERSION.
1249 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1250 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1252 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1253 (print_version): Use PKGVERSION.
1254 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1255 (print_version): Use PKGVERSION.
1256 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1259 * timezone/checktab.awk: Update from tzcode 2012i.
1260 * timezone/ialloc.c: Likewise.
1261 * timezone/private.h: Likewise.
1262 * timezone/scheck.c: Likewise.
1263 * timezone/tzfile.h: Likewise.
1264 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1265 (TZVERSION): Hardcode tzcode version number.
1266 * timezone/zdump.c: Update from tzcode 2012i.
1267 * timezone/zic.c: Likewise.
1268 * timezone/version.h: New file.
1269 * timezone/README: Describe version.h. Update upstream location.
1272 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1273 (mktemp): Enable declaration.
1274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1283 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1291 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1292 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1293 for copies of such integer values.
1294 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1295 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1297 2012-11-09 Andreas Jaeger <aj@suse.de>
1299 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1300 definitions and declarations that are provided by
1301 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1303 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1305 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1306 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1307 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1310 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1312 * elf/elf.h: Update comment before AArch64 relocations.
1314 2012-11-07 David S. Miller <davem@davemloft.net>
1316 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1318 (__start_context): Declare.
1319 (__makecontext_ret): Delete.
1320 (__makecontext): Hook up __start_context instead of
1322 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1323 (sysdep_routines): Add __start_context when in stdlib.
1325 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1327 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1328 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1329 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1331 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1332 (READELF): New variable. Use it instead of hardcoded "readelf".
1334 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1336 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1337 * sysdeps/x86/Makefile: Here.
1338 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1339 * sysdeps/x86/tst-xmmymm.sh: This.
1341 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1343 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1345 [UNIX98] (pthread_barrier_t): Do not expect.
1346 [UNIX98] (pthread_barrierattr_t): Likewise.
1347 [UNIX98] (pthread_spinlock_t): Likewise.
1348 [UNIX98] (pthread_barrier_destroy): Likewise.
1349 [UNIX98] (pthread_barrier_init): Likewise.
1350 [UNIX98] (pthread_barrier_wait): Likewise.
1351 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1352 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1353 [UNIX98] (pthread_barrierattr_init): Likewise.
1354 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1355 [UNIX98] (pthread_getcpuclockid): Likewise.
1356 [UNIX98] (pthread_mutex_timedlock): Likewise.
1357 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1358 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1359 [UNIX98] (pthread_sigmask): Likewise.
1360 [UNIX98] (pthread_spin_destroy): Likewise.
1361 [UNIX98] (pthread_spin_init): Likewise.
1362 [UNIX98] (pthread_spin_lock): Likewise.
1363 [UNIX98] (pthread_spin_trylock): Likewise.
1364 [UNIX98] (pthread_spin_unlock): Likewise.
1365 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1367 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1369 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1370 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1371 [XPG3 || XPG4] (pthread_key_t): Likewise.
1372 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1373 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1374 [XPG3 || XPG4] (pthread_once_t): Likewise.
1375 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1376 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1378 [XPG3 || XPG4] (pthread_t): Likewise.
1380 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1382 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1384 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1385 Change function return type to int.
1387 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1388 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1389 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1390 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1391 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1392 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1393 [!POSIX] (posix_madvise): Likewise.
1394 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1396 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1397 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1399 (posix_mem_offset): Likewise.
1400 (posix_typed_mem_get_info): Likewise.
1401 (posix_typed_mem_open): Likewise.
1403 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1404 Change condition to [XOPEN2K8].
1406 * conform/conformtest.pl: Preprocess allow-header data with -x c
1407 instead of from stdin.
1408 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1409 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1410 [C99-based standards] (cerfc): Likewise.
1411 [C99-based standards] (cexp2): Likewise.
1412 [C99-based standards] (cexpm1): Likewise.
1413 [C99-based standards] (clog10): Likewise.
1414 [C99-based standards] (clog1p): Likewise.
1415 [C99-based standards] (clog2): Likewise.
1416 [C99-based standards] (clgamma): Likewise.
1417 [C99-based standards] (ctgamma): Likewise.
1418 [C99-based standards] (cerff): Likewise.
1419 [C99-based standards] (cerfcf): Likewise.
1420 [C99-based standards] (cexp2f): Likewise.
1421 [C99-based standards] (cexpm1f): Likewise.
1422 [C99-based standards] (clog10f): Likewise.
1423 [C99-based standards] (clog1pf): Likewise.
1424 [C99-based standards] (clog2f): Likewise.
1425 [C99-based standards] (clgammaf): Likewise.
1426 [C99-based standards] (ctgammaf): Likewise.
1427 [C99-based standards] (cerfl): Likewise.
1428 [C99-based standards] (cerfcl): Likewise.
1429 [C99-based standards] (cexp2l): Likewise.
1430 [C99-based standards] (cexpm1l): Likewise.
1431 [C99-based standards] (clog10l): Likewise.
1432 [C99-based standards] (clog1pl): Likewise.
1433 [C99-based standards] (clog2l): Likewise.
1434 [C99-based standards] (clgammal): Likewise.
1435 [C99-based standards] (ctgammal): Likewise.
1436 * conform/data/inttypes.h-data [C99-based standards]: Include
1437 stdint.h-data. Remove all expectations for stdint.h contents.
1438 [C99-based standards] (PRI*): Do not allow.
1439 [C99-based standards] (SCN*): Likewise.
1440 [C99-based standards] (*_t): Likewise.
1441 [C99-based-standards] (PRId8): Expect macro.
1442 [C99-based-standards] (PRIi8): Likewise.
1443 [C99-based-standards] (PRIo8): Likewise.
1444 [C99-based-standards] (PRIu8): Likewise.
1445 [C99-based-standards] (PRIx8): Likewise.
1446 [C99-based-standards] (PRIX8): Likewise.
1447 [C99-based-standards] (SCNd8): Likewise.
1448 [C99-based-standards] (SCNi8): Likewise.
1449 [C99-based-standards] (SCNo8): Likewise.
1450 [C99-based-standards] (SCNu8): Likewise.
1451 [C99-based-standards] (SCNx8): Likewise.
1452 [C99-based-standards] (PRIdLEAST8): Likewise.
1453 [C99-based-standards] (PRIiLEAST8): Likewise.
1454 [C99-based-standards] (PRIoLEAST8): Likewise.
1455 [C99-based-standards] (PRIuLEAST8): Likewise.
1456 [C99-based-standards] (PRIxLEAST8): Likewise.
1457 [C99-based-standards] (PRIXLEAST8): Likewise.
1458 [C99-based-standards] (SCNdLEAST8): Likewise.
1459 [C99-based-standards] (SCNiLEAST8): Likewise.
1460 [C99-based-standards] (SCNoLEAST8): Likewise.
1461 [C99-based-standards] (SCNuLEAST8): Likewise.
1462 [C99-based-standards] (SCNxLEAST8): Likewise.
1463 [C99-based-standards] (PRIdFAST8): Likewise.
1464 [C99-based-standards] (PRIiFAST8): Likewise.
1465 [C99-based-standards] (PRIoFAST8): Likewise.
1466 [C99-based-standards] (PRIuFAST8): Likewise.
1467 [C99-based-standards] (PRIxFAST8): Likewise.
1468 [C99-based-standards] (PRIXFAST8): Likewise.
1469 [C99-based-standards] (SCNdFAST8): Likewise.
1470 [C99-based-standards] (SCNiFAST8): Likewise.
1471 [C99-based-standards] (SCNoFAST8): Likewise.
1472 [C99-based-standards] (SCNuFAST8): Likewise.
1473 [C99-based-standards] (SCNxFAST8): Likewise.
1474 [C99-based-standards] (PRId16): Likewise.
1475 [C99-based-standards] (PRIi16): Likewise.
1476 [C99-based-standards] (PRIo16): Likewise.
1477 [C99-based-standards] (PRIu16): Likewise.
1478 [C99-based-standards] (PRIx16): Likewise.
1479 [C99-based-standards] (PRIX16): Likewise.
1480 [C99-based-standards] (SCNd16): Likewise.
1481 [C99-based-standards] (SCNi16): Likewise.
1482 [C99-based-standards] (SCNo16): Likewise.
1483 [C99-based-standards] (SCNu16): Likewise.
1484 [C99-based-standards] (SCNx16): Likewise.
1485 [C99-based-standards] (PRIdLEAST16): Likewise.
1486 [C99-based-standards] (PRIiLEAST16): Likewise.
1487 [C99-based-standards] (PRIoLEAST16): Likewise.
1488 [C99-based-standards] (PRIuLEAST16): Likewise.
1489 [C99-based-standards] (PRIxLEAST16): Likewise.
1490 [C99-based-standards] (PRIXLEAST16): Likewise.
1491 [C99-based-standards] (SCNdLEAST16): Likewise.
1492 [C99-based-standards] (SCNiLEAST16): Likewise.
1493 [C99-based-standards] (SCNoLEAST16): Likewise.
1494 [C99-based-standards] (SCNuLEAST16): Likewise.
1495 [C99-based-standards] (SCNxLEAST16): Likewise.
1496 [C99-based-standards] (PRIdFAST16): Likewise.
1497 [C99-based-standards] (PRIiFAST16): Likewise.
1498 [C99-based-standards] (PRIoFAST16): Likewise.
1499 [C99-based-standards] (PRIuFAST16): Likewise.
1500 [C99-based-standards] (PRIxFAST16): Likewise.
1501 [C99-based-standards] (PRIXFAST16): Likewise.
1502 [C99-based-standards] (SCNdFAST16): Likewise.
1503 [C99-based-standards] (SCNiFAST16): Likewise.
1504 [C99-based-standards] (SCNoFAST16): Likewise.
1505 [C99-based-standards] (SCNuFAST16): Likewise.
1506 [C99-based-standards] (SCNxFAST16): Likewise.
1507 [C99-based-standards] (PRId32): Likewise.
1508 [C99-based-standards] (PRIi32): Likewise.
1509 [C99-based-standards] (PRIo32): Likewise.
1510 [C99-based-standards] (PRIu32): Likewise.
1511 [C99-based-standards] (PRIx32): Likewise.
1512 [C99-based-standards] (PRIX32): Likewise.
1513 [C99-based-standards] (SCNd32): Likewise.
1514 [C99-based-standards] (SCNi32): Likewise.
1515 [C99-based-standards] (SCNo32): Likewise.
1516 [C99-based-standards] (SCNu32): Likewise.
1517 [C99-based-standards] (SCNx32): Likewise.
1518 [C99-based-standards] (PRIdLEAST32): Likewise.
1519 [C99-based-standards] (PRIiLEAST32): Likewise.
1520 [C99-based-standards] (PRIoLEAST32): Likewise.
1521 [C99-based-standards] (PRIuLEAST32): Likewise.
1522 [C99-based-standards] (PRIxLEAST32): Likewise.
1523 [C99-based-standards] (PRIXLEAST32): Likewise.
1524 [C99-based-standards] (SCNdLEAST32): Likewise.
1525 [C99-based-standards] (SCNiLEAST32): Likewise.
1526 [C99-based-standards] (SCNoLEAST32): Likewise.
1527 [C99-based-standards] (SCNuLEAST32): Likewise.
1528 [C99-based-standards] (SCNxLEAST32): Likewise.
1529 [C99-based-standards] (PRIdFAST32): Likewise.
1530 [C99-based-standards] (PRIiFAST32): Likewise.
1531 [C99-based-standards] (PRIoFAST32): Likewise.
1532 [C99-based-standards] (PRIuFAST32): Likewise.
1533 [C99-based-standards] (PRIxFAST32): Likewise.
1534 [C99-based-standards] (PRIXFAST32): Likewise.
1535 [C99-based-standards] (SCNdFAST32): Likewise.
1536 [C99-based-standards] (SCNiFAST32): Likewise.
1537 [C99-based-standards] (SCNoFAST32): Likewise.
1538 [C99-based-standards] (SCNuFAST32): Likewise.
1539 [C99-based-standards] (SCNxFAST32): Likewise.
1540 [C99-based-standards] (PRId64): Likewise.
1541 [C99-based-standards] (PRIi64): Likewise.
1542 [C99-based-standards] (PRIo64): Likewise.
1543 [C99-based-standards] (PRIu64): Likewise.
1544 [C99-based-standards] (PRIx64): Likewise.
1545 [C99-based-standards] (PRIX64): Likewise.
1546 [C99-based-standards] (SCNd64): Likewise.
1547 [C99-based-standards] (SCNi64): Likewise.
1548 [C99-based-standards] (SCNo64): Likewise.
1549 [C99-based-standards] (SCNu64): Likewise.
1550 [C99-based-standards] (SCNx64): Likewise.
1551 [C99-based-standards] (PRIdLEAST64): Likewise.
1552 [C99-based-standards] (PRIiLEAST64): Likewise.
1553 [C99-based-standards] (PRIoLEAST64): Likewise.
1554 [C99-based-standards] (PRIuLEAST64): Likewise.
1555 [C99-based-standards] (PRIxLEAST64): Likewise.
1556 [C99-based-standards] (PRIXLEAST64): Likewise.
1557 [C99-based-standards] (SCNdLEAST64): Likewise.
1558 [C99-based-standards] (SCNiLEAST64): Likewise.
1559 [C99-based-standards] (SCNoLEAST64): Likewise.
1560 [C99-based-standards] (SCNuLEAST64): Likewise.
1561 [C99-based-standards] (SCNxLEAST64): Likewise.
1562 [C99-based-standards] (PRIdFAST64): Likewise.
1563 [C99-based-standards] (PRIiFAST64): Likewise.
1564 [C99-based-standards] (PRIoFAST64): Likewise.
1565 [C99-based-standards] (PRIuFAST64): Likewise.
1566 [C99-based-standards] (PRIxFAST64): Likewise.
1567 [C99-based-standards] (PRIXFAST64): Likewise.
1568 [C99-based-standards] (SCNdFAST64): Likewise.
1569 [C99-based-standards] (SCNiFAST64): Likewise.
1570 [C99-based-standards] (SCNoFAST64): Likewise.
1571 [C99-based-standards] (SCNuFAST64): Likewise.
1572 [C99-based-standards] (SCNxFAST64): Likewise.
1573 [C99-based-standards] (PRIdMAX): Likewise.
1574 [C99-based-standards] (PRIiMAX): Likewise.
1575 [C99-based-standards] (PRIoMAX): Likewise.
1576 [C99-based-standards] (PRIuMAX): Likewise.
1577 [C99-based-standards] (PRIxMAX): Likewise.
1578 [C99-based-standards] (PRIXMAX): Likewise.
1579 [C99-based-standards] (SCNdMAX): Likewise.
1580 [C99-based-standards] (SCNiMAX): Likewise.
1581 [C99-based-standards] (SCNoMAX): Likewise.
1582 [C99-based-standards] (SCNuMAX): Likewise.
1583 [C99-based-standards] (SCNxMAX): Likewise.
1584 [C99-based-standards] (PRIdPTR): Likewise.
1585 [C99-based-standards] (PRIiPTR): Likewise.
1586 [C99-based-standards] (PRIoPTR): Likewise.
1587 [C99-based-standards] (PRIuPTR): Likewise.
1588 [C99-based-standards] (PRIxPTR): Likewise.
1589 [C99-based-standards] (PRIXPTR): Likewise.
1590 [C99-based-standards] (SCNdPTR): Likewise.
1591 [C99-based-standards] (SCNiPTR): Likewise.
1592 [C99-based-standards] (SCNoPTR): Likewise.
1593 [C99-based-standards] (SCNuPTR): Likewise.
1594 [C99-based-standards] (SCNxPTR): Likewise.
1595 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1597 * conform/data/stdint.h-data: Update comments to clarify
1599 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1601 [C99-based standards] (INT8_MAX): Likewise.
1602 [C99-based standards] (INT16_MIN): Likewise.
1603 [C99-based standards] (INT16_MAX): Likewise.
1604 [C99-based standards] (INT32_MIN): Likewise.
1605 [C99-based standards] (INT32_MAX): Likewise.
1606 [C99-based standards] (INT64_MIN): Likewise.
1607 [C99-based standards] (INT64_MAX): Likewise.
1608 [C99-based standards] (UINT8_MAX): Likewise.
1609 [C99-based standards] (UINT16_MAX): Likewise.
1610 [C99-based standards] (UINT32_MAX): Likewise.
1611 [C99-based standards] (UINT64_MAX): Likewise.
1612 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1613 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1614 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1615 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1616 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1617 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1618 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1619 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1620 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1621 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1622 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1623 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1624 [C99-based standards] (INT_FAST8_MIN): Likewise.
1625 [C99-based standards] (INT_FAST8_MAX): Likewise.
1626 [C99-based standards] (INT_FAST16_MIN): Likewise.
1627 [C99-based standards] (INT_FAST16_MAX): Likewise.
1628 [C99-based standards] (INT_FAST32_MIN): Likewise.
1629 [C99-based standards] (INT_FAST32_MAX): Likewise.
1630 [C99-based standards] (INT_FAST64_MIN): Likewise.
1631 [C99-based standards] (INT_FAST64_MAX): Likewise.
1632 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1633 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1634 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1635 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1636 [C99-based standards] (INTPTR_MIN): Likewise.
1637 [C99-based standards] (INTPTR_MAX): Likewise.
1638 [C99-based standards] (UINTPTR_MAX): Likewise.
1639 [C99-based standards] (INTMAX_MIN): Likewise.
1640 [C99-based standards] (INTMAX_MAX): Likewise.
1641 [C99-based standards] (UINTMAX_MAX): Likewise.
1642 [C99-based standards] (PTRDIFF_MIN): Likewise.
1643 [C99-based standards] (PTRDIFF_MAX): Likewise.
1644 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1645 [C99-based standards] (SIZE_MAX): Likewise.
1646 [C99-based standards] (WCHAR_MAX): Likewise.
1647 [C99-based standards] (WINT_MAX): Likewise.
1648 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1649 constraint on value.
1650 [C99-based standards] (WCHAR_MIN): Likewise.
1651 [C99-based standards] (WINT_MIN): Likewise.
1652 [C99-based standards] (*_t): Allow.
1653 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1654 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1655 Include math.h-data and complex.h-data. Remove all expectations
1656 of math.h and complex.h contents.
1657 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1659 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1660 (struct tm): Expect tag.
1661 [C99-based-standards] (wcstof): Expect function.
1662 [C99-based-standards] (wcstold): Likewise.
1663 [C99-based-standards] (wcstoll): Likewise.
1664 [C99-based-standards] (wcstoull): Likewise.
1665 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1666 macro-int-constant. Specify type.
1667 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1668 constraint on value.
1669 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1671 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1673 [ISO C standards]: Do not allow headers.
1674 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1675 wcs[abcdefghijklmnopqrstuvwxyz]*.
1676 [ISO C standards] (*_t): Do not allow.
1677 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1679 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1680 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1682 [ISO C standards]: Do not allow headers.
1683 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1684 is[abcdefghijklmnopqrstuvwxyz]*.
1685 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1686 to[abcdefghijklmnopqrstuvwxyz]*.
1687 [ISO C standards] (*_t): Do not allow.
1688 * conform/data/stdalign.h-data: New file.
1689 * conform/data/stdbool.h-data: Likewise.
1690 * conform/data/stdnoreturn.h-data: Likewise.
1692 2012-11-07 Roland McGrath <roland@hack.frob.com>
1695 * manual/filesys.texi (Directory Entries): Typo fix.
1696 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1698 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1700 * elf/elf.h (EM_AARCH64): New macro.
1701 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1702 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1703 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1704 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1705 (R_AARCH64_TLSDESC): Likewise.
1706 (NT_ARM_TLS): Likewise.
1707 (NT_ARM_HW_BREAK): Likewise.
1708 (NT_ARM_HW_WATCH): Likewise.
1710 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1713 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1714 (__ieee754_powl): Saturate nonzero exponents with absolute value
1715 below 0x1p-79 to +/- 0x1p-79.
1716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1717 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1718 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1719 nonzero exponents with absolute value below 0x1p-32 to +/-
1721 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1722 (__ieee754_powl): Saturate nonzero exponents with absolute value
1723 below 0x1p-79 to +/- 0x1p-79.
1724 * math/libm-test.inc (pow_test): Add more tests.
1726 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1728 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1729 _dl_s390_cap_flags with kernel. Increase string length.
1730 (_dl_s390_platforms): Add z196 and zEC12.
1732 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1734 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1735 Change XOPEN21K to XOPEN2K.
1737 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1739 * string/memmove.c: Use memcpy when possible.
1741 2012-11-06 Andreas Jaeger <aj@suse.de>
1743 * po/eo.po: Update from translation team.
1745 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1749 exponent and small x and y exponents, scale x or y up. Increase
1750 by 2 the exponent used in scaling up.
1751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1753 * math/libm-test.inc (fma_test): Add more tests.
1754 (fma_test_towardzero): Likewise.
1755 (fma_test_downward): Likewise.
1756 (fma_test_upward): Likewise.
1758 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1761 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1765 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1766 namespace for names of struct fields.
1767 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1769 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1770 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1772 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1775 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1777 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1779 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1783 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1786 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1790 definitely overflow as x * y not x * y + z.
1791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1793 * math/libm-test.inc (fma_test): Add more tests.
1794 (fma_test_towardzero): Likewise.
1795 (fma_test_downward): Likewise.
1796 (fma_test_upward): Likewise.
1798 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1802 * include/stub-tag.h: Remove file.
1803 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1805 * manual/maint.texi (Porting): Don't reference it.
1806 * Makerules ($(objpfx)stubs): Likewise.
1807 * dirent/closedir.c: Don't include <stub-tag.h>.
1808 * dirent/dirfd.c: Likewise.
1809 * dirent/fdopendir.c: Likewise.
1810 * dirent/getdents.c: Likewise.
1811 * dirent/getdents64.c: Likewise.
1812 * dirent/opendir.c: Likewise.
1813 * dirent/readdir.c: Likewise.
1814 * dirent/readdir64.c: Likewise.
1815 * dirent/readdir64_r.c: Likewise.
1816 * dirent/readdir_r.c: Likewise.
1817 * dirent/rewinddir.c: Likewise.
1818 * dirent/seekdir.c: Likewise.
1819 * dirent/telldir.c: Likewise.
1820 * gmon/profil.c: Likewise.
1821 * grp/setgroups.c: Likewise.
1822 * inet/if_index.c: Likewise.
1823 * io/access.c: Likewise.
1824 * io/chdir.c: Likewise.
1825 * io/chmod.c: Likewise.
1826 * io/chown.c: Likewise.
1827 * io/close.c: Likewise.
1828 * io/dup.c: Likewise.
1829 * io/dup2.c: Likewise.
1830 * io/dup3.c: Likewise.
1831 * io/euidaccess.c: Likewise.
1832 * io/faccessat.c: Likewise.
1833 * io/fchdir.c: Likewise.
1834 * io/fchmod.c: Likewise.
1835 * io/fchmodat.c: Likewise.
1836 * io/fchown.c: Likewise.
1837 * io/fchownat.c: Likewise.
1838 * io/fcntl.c: Likewise.
1839 * io/flock.c: Likewise.
1840 * io/fstatfs.c: Likewise.
1841 * io/fstatfs64.c: Likewise.
1842 * io/fstatvfs.c: Likewise.
1843 * io/fstatvfs64.c: Likewise.
1844 * io/futimens.c: Likewise.
1845 * io/fxstat.c: Likewise.
1846 * io/fxstat64.c: Likewise.
1847 * io/fxstatat.c: Likewise.
1848 * io/fxstatat64.c: Likewise.
1849 * io/getcwd.c: Likewise.
1850 * io/isatty.c: Likewise.
1851 * io/lchmod.c: Likewise.
1852 * io/lchown.c: Likewise.
1853 * io/link.c: Likewise.
1854 * io/linkat.c: Likewise.
1855 * io/lseek.c: Likewise.
1856 * io/lseek64.c: Likewise.
1857 * io/lxstat64.c: Likewise.
1858 * io/mkdir.c: Likewise.
1859 * io/mkdirat.c: Likewise.
1860 * io/mkfifo.c: Likewise.
1861 * io/mkfifoat.c: Likewise.
1862 * io/open.c: Likewise.
1863 * io/open64.c: Likewise.
1864 * io/openat.c: Likewise.
1865 * io/openat64.c: Likewise.
1866 * io/pipe.c: Likewise.
1867 * io/pipe2.c: Likewise.
1868 * io/poll.c: Likewise.
1869 * io/posix_fadvise.c: Likewise.
1870 * io/posix_fadvise64.c: Likewise.
1871 * io/posix_fallocate.c: Likewise.
1872 * io/posix_fallocate64.c: Likewise.
1873 * io/read.c: Likewise.
1874 * io/readlink.c: Likewise.
1875 * io/readlinkat.c: Likewise.
1876 * io/rmdir.c: Likewise.
1877 * io/sendfile.c: Likewise.
1878 * io/sendfile64.c: Likewise.
1879 * io/statfs.c: Likewise.
1880 * io/statfs64.c: Likewise.
1881 * io/statvfs.c: Likewise.
1882 * io/statvfs64.c: Likewise.
1883 * io/symlink.c: Likewise.
1884 * io/symlinkat.c: Likewise.
1885 * io/ttyname.c: Likewise.
1886 * io/ttyname_r.c: Likewise.
1887 * io/umask.c: Likewise.
1888 * io/unlink.c: Likewise.
1889 * io/unlinkat.c: Likewise.
1890 * io/utime.c: Likewise.
1891 * io/utimensat.c: Likewise.
1892 * io/write.c: Likewise.
1893 * io/xmknod.c: Likewise.
1894 * io/xmknodat.c: Likewise.
1895 * io/xstat.c: Likewise.
1896 * io/xstat64.c: Likewise.
1897 * login/getpt.c: Likewise.
1898 * login/grantpt.c: Likewise.
1899 * login/unlockpt.c: Likewise.
1900 * math/e_acoshl.c: Likewise.
1901 * math/e_acosl.c: Likewise.
1902 * math/e_asinl.c: Likewise.
1903 * math/e_atan2l.c: Likewise.
1904 * math/e_atanhl.c: Likewise.
1905 * math/e_coshl.c: Likewise.
1906 * math/e_expl.c: Likewise.
1907 * math/e_fmodl.c: Likewise.
1908 * math/e_gammal_r.c: Likewise.
1909 * math/e_hypotl.c: Likewise.
1910 * math/e_j0l.c: Likewise.
1911 * math/e_j1l.c: Likewise.
1912 * math/e_jnl.c: Likewise.
1913 * math/e_lgammal_r.c: Likewise.
1914 * math/e_log10l.c: Likewise.
1915 * math/e_log2l.c: Likewise.
1916 * math/e_logl.c: Likewise.
1917 * math/e_powl.c: Likewise.
1918 * math/e_rem_pio2l.c: Likewise.
1919 * math/e_sinhl.c: Likewise.
1920 * math/e_sqrtl.c: Likewise.
1921 * math/fclrexcpt.c: Likewise.
1922 * math/fedisblxcpt.c: Likewise.
1923 * math/feenablxcpt.c: Likewise.
1924 * math/fegetenv.c: Likewise.
1925 * math/fegetexcept.c: Likewise.
1926 * math/fegetround.c: Likewise.
1927 * math/feholdexcpt.c: Likewise.
1928 * math/fesetenv.c: Likewise.
1929 * math/fesetround.c: Likewise.
1930 * math/feupdateenv.c: Likewise.
1931 * math/fgetexcptflg.c: Likewise.
1932 * math/fraiseexcpt.c: Likewise.
1933 * math/fsetexcptflg.c: Likewise.
1934 * math/ftestexcept.c: Likewise.
1935 * math/k_cosl.c: Likewise.
1936 * math/k_rem_pio2l.c: Likewise.
1937 * math/k_sinl.c: Likewise.
1938 * math/k_tanl.c: Likewise.
1939 * math/s_asinhl.c: Likewise.
1940 * math/s_atanl.c: Likewise.
1941 * math/s_cbrtl.c: Likewise.
1942 * math/s_erfl.c: Likewise.
1943 * math/s_expm1l.c: Likewise.
1944 * math/s_log1pl.c: Likewise.
1945 * math/s_tanhl.c: Likewise.
1946 * misc/acct.c: Likewise.
1947 * misc/brk.c: Likewise.
1948 * misc/chflags.c: Likewise.
1949 * misc/chroot.c: Likewise.
1950 * misc/fchflags.c: Likewise.
1951 * misc/fgetxattr.c: Likewise.
1952 * misc/flistxattr.c: Likewise.
1953 * misc/fremovexattr.c: Likewise.
1954 * misc/fsetxattr.c: Likewise.
1955 * misc/fsync.c: Likewise.
1956 * misc/ftruncate.c: Likewise.
1957 * misc/futimes.c: Likewise.
1958 * misc/futimesat.c: Likewise.
1959 * misc/getdomain.c: Likewise.
1960 * misc/getdtsz.c: Likewise.
1961 * misc/gethostid.c: Likewise.
1962 * misc/gethostname.c: Likewise.
1963 * misc/getloadavg.c: Likewise.
1964 * misc/getpagesize.c: Likewise.
1965 * misc/getsysstats.c: Likewise.
1966 * misc/getxattr.c: Likewise.
1967 * misc/gtty.c: Likewise.
1968 * misc/ioctl.c: Likewise.
1969 * misc/lgetxattr.c: Likewise.
1970 * misc/listxattr.c: Likewise.
1971 * misc/llistxattr.c: Likewise.
1972 * misc/lremovexattr.c: Likewise.
1973 * misc/lsetxattr.c: Likewise.
1974 * misc/lutimes.c: Likewise.
1975 * misc/madvise.c: Likewise.
1976 * misc/mincore.c: Likewise.
1977 * misc/mlock.c: Likewise.
1978 * misc/mlockall.c: Likewise.
1979 * misc/mmap.c: Likewise.
1980 * misc/mprotect.c: Likewise.
1981 * misc/msync.c: Likewise.
1982 * misc/munlock.c: Likewise.
1983 * misc/munlockall.c: Likewise.
1984 * misc/munmap.c: Likewise.
1985 * misc/preadv.c: Likewise.
1986 * misc/preadv64.c: Likewise.
1987 * misc/ptrace.c: Likewise.
1988 * misc/pwritev.c: Likewise.
1989 * misc/pwritev64.c: Likewise.
1990 * misc/readv.c: Likewise.
1991 * misc/reboot.c: Likewise.
1992 * misc/remap_file_pages.c: Likewise.
1993 * misc/removexattr.c: Likewise.
1994 * misc/revoke.c: Likewise.
1995 * misc/select.c: Likewise.
1996 * misc/setdomain.c: Likewise.
1997 * misc/setegid.c: Likewise.
1998 * misc/seteuid.c: Likewise.
1999 * misc/sethostid.c: Likewise.
2000 * misc/sethostname.c: Likewise.
2001 * misc/setregid.c: Likewise.
2002 * misc/setreuid.c: Likewise.
2003 * misc/setxattr.c: Likewise.
2004 * misc/sstk.c: Likewise.
2005 * misc/stty.c: Likewise.
2006 * misc/swapoff.c: Likewise.
2007 * misc/swapon.c: Likewise.
2008 * misc/sync.c: Likewise.
2009 * misc/syncfs.c: Likewise.
2010 * misc/syscall.c: Likewise.
2011 * misc/truncate.c: Likewise.
2012 * misc/ualarm.c: Likewise.
2013 * misc/usleep.c: Likewise.
2014 * misc/ustat.c: Likewise.
2015 * misc/utimes.c: Likewise.
2016 * misc/vhangup.c: Likewise.
2017 * misc/writev.c: Likewise.
2018 * posix/_exit.c: Likewise.
2019 * posix/alarm.c: Likewise.
2020 * posix/execve.c: Likewise.
2021 * posix/fexecve.c: Likewise.
2022 * posix/fork.c: Likewise.
2023 * posix/fpathconf.c: Likewise.
2024 * posix/getaddrinfo.c: Likewise.
2025 * posix/getegid.c: Likewise.
2026 * posix/geteuid.c: Likewise.
2027 * posix/getgid.c: Likewise.
2028 * posix/getgroups.c: Likewise.
2029 * posix/getlogin.c: Likewise.
2030 * posix/getlogin_r.c: Likewise.
2031 * posix/getpgid.c: Likewise.
2032 * posix/getpid.c: Likewise.
2033 * posix/getppid.c: Likewise.
2034 * posix/getresgid.c: Likewise.
2035 * posix/getresuid.c: Likewise.
2036 * posix/getsid.c: Likewise.
2037 * posix/getuid.c: Likewise.
2038 * posix/glob64.c: Likewise.
2039 * posix/nanosleep.c: Likewise.
2040 * posix/pathconf.c: Likewise.
2041 * posix/pause.c: Likewise.
2042 * posix/posix_madvise.c: Likewise.
2043 * posix/pread.c: Likewise.
2044 * posix/pread64.c: Likewise.
2045 * posix/pwrite.c: Likewise.
2046 * posix/pwrite64.c: Likewise.
2047 * posix/sched_getaffinity.c: Likewise.
2048 * posix/sched_getp.c: Likewise.
2049 * posix/sched_gets.c: Likewise.
2050 * posix/sched_primax.c: Likewise.
2051 * posix/sched_primin.c: Likewise.
2052 * posix/sched_rr_gi.c: Likewise.
2053 * posix/sched_setaffinity.c: Likewise.
2054 * posix/sched_setp.c: Likewise.
2055 * posix/sched_sets.c: Likewise.
2056 * posix/sched_yield.c: Likewise.
2057 * posix/setgid.c: Likewise.
2058 * posix/setlogin.c: Likewise.
2059 * posix/setpgid.c: Likewise.
2060 * posix/setresgid.c: Likewise.
2061 * posix/setresuid.c: Likewise.
2062 * posix/setsid.c: Likewise.
2063 * posix/setuid.c: Likewise.
2064 * posix/sleep.c: Likewise.
2065 * posix/spawni.c: Likewise.
2066 * posix/sysconf.c: Likewise.
2067 * posix/times.c: Likewise.
2068 * posix/wait.c: Likewise.
2069 * posix/wait3.c: Likewise.
2070 * posix/wait4.c: Likewise.
2071 * posix/waitpid.c: Likewise.
2072 * resolv/gai_sigqueue.c: Likewise.
2073 * resource/getpriority.c: Likewise.
2074 * resource/getrlimit.c: Likewise.
2075 * resource/getrusage.c: Likewise.
2076 * resource/nice.c: Likewise.
2077 * resource/setpriority.c: Likewise.
2078 * resource/setrlimit.c: Likewise.
2079 * resource/ulimit.c: Likewise.
2080 * rt/aio_cancel.c: Likewise.
2081 * rt/aio_fsync.c: Likewise.
2082 * rt/aio_read.c: Likewise.
2083 * rt/aio_sigqueue.c: Likewise.
2084 * rt/aio_suspend.c: Likewise.
2085 * rt/aio_write.c: Likewise.
2086 * rt/clock_getres.c: Likewise.
2087 * rt/clock_gettime.c: Likewise.
2088 * rt/clock_nanosleep.c: Likewise.
2089 * rt/clock_settime.c: Likewise.
2090 * rt/lio_listio.c: Likewise.
2091 * rt/mq_close.c: Likewise.
2092 * rt/mq_getattr.c: Likewise.
2093 * rt/mq_notify.c: Likewise.
2094 * rt/mq_open.c: Likewise.
2095 * rt/mq_receive.c: Likewise.
2096 * rt/mq_send.c: Likewise.
2097 * rt/mq_setattr.c: Likewise.
2098 * rt/mq_timedreceive.c: Likewise.
2099 * rt/mq_timedsend.c: Likewise.
2100 * rt/mq_unlink.c: Likewise.
2101 * rt/shm_open.c: Likewise.
2102 * rt/shm_unlink.c: Likewise.
2103 * rt/timer_create.c: Likewise.
2104 * rt/timer_delete.c: Likewise.
2105 * rt/timer_getoverr.c: Likewise.
2106 * rt/timer_gettime.c: Likewise.
2107 * rt/timer_settime.c: Likewise.
2108 * setjmp/__longjmp.c: Likewise.
2109 * setjmp/setjmp.c: Likewise.
2110 * signal/kill.c: Likewise.
2111 * signal/killpg.c: Likewise.
2112 * signal/raise.c: Likewise.
2113 * signal/sigaction.c: Likewise.
2114 * signal/sigaltstack.c: Likewise.
2115 * signal/sigblock.c: Likewise.
2116 * signal/sigignore.c: Likewise.
2117 * signal/sigintr.c: Likewise.
2118 * signal/signal.c: Likewise.
2119 * signal/sigpause.c: Likewise.
2120 * signal/sigpending.c: Likewise.
2121 * signal/sigqueue.c: Likewise.
2122 * signal/sigreturn.c: Likewise.
2123 * signal/sigset.c: Likewise.
2124 * signal/sigsetmask.c: Likewise.
2125 * signal/sigstack.c: Likewise.
2126 * signal/sigsuspend.c: Likewise.
2127 * signal/sigtimedwait.c: Likewise.
2128 * signal/sigvec.c: Likewise.
2129 * signal/sigwait.c: Likewise.
2130 * signal/sigwaitinfo.c: Likewise.
2131 * signal/sysv_signal.c: Likewise.
2132 * socket/accept.c: Likewise.
2133 * socket/accept4.c: Likewise.
2134 * socket/bind.c: Likewise.
2135 * socket/connect.c: Likewise.
2136 * socket/getpeername.c: Likewise.
2137 * socket/getsockname.c: Likewise.
2138 * socket/getsockopt.c: Likewise.
2139 * socket/isfdtype.c: Likewise.
2140 * socket/listen.c: Likewise.
2141 * socket/recv.c: Likewise.
2142 * socket/recvfrom.c: Likewise.
2143 * socket/recvmsg.c: Likewise.
2144 * socket/send.c: Likewise.
2145 * socket/sendmsg.c: Likewise.
2146 * socket/sendto.c: Likewise.
2147 * socket/setsockopt.c: Likewise.
2148 * socket/shutdown.c: Likewise.
2149 * socket/sockatmark.c: Likewise.
2150 * socket/socket.c: Likewise.
2151 * socket/socketpair.c: Likewise.
2152 * stdio-common/ctermid.c: Likewise.
2153 * stdio-common/cuserid.c: Likewise.
2154 * stdio-common/remove.c: Likewise.
2155 * stdio-common/rename.c: Likewise.
2156 * stdio-common/renameat.c: Likewise.
2157 * stdio-common/tempname.c: Likewise.
2158 * stdlib/getcontext.c: Likewise.
2159 * stdlib/makecontext.c: Likewise.
2160 * stdlib/setcontext.c: Likewise.
2161 * stdlib/swapcontext.c: Likewise.
2162 * stdlib/system.c: Likewise.
2163 * streams/fattach.c: Likewise.
2164 * streams/fdetach.c: Likewise.
2165 * streams/getmsg.c: Likewise.
2166 * streams/getpmsg.c: Likewise.
2167 * streams/putmsg.c: Likewise.
2168 * streams/putpmsg.c: Likewise.
2169 * sysdeps/unix/bsd/getpt.c: Likewise.
2170 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2171 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2172 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2175 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2176 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2177 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2178 * sysvipc/msgctl.c: Likewise.
2179 * sysvipc/msgget.c: Likewise.
2180 * sysvipc/msgrcv.c: Likewise.
2181 * sysvipc/msgsnd.c: Likewise.
2182 * sysvipc/semctl.c: Likewise.
2183 * sysvipc/semget.c: Likewise.
2184 * sysvipc/semop.c: Likewise.
2185 * sysvipc/semtimedop.c: Likewise.
2186 * sysvipc/shmat.c: Likewise.
2187 * sysvipc/shmctl.c: Likewise.
2188 * sysvipc/shmdt.c: Likewise.
2189 * sysvipc/shmget.c: Likewise.
2190 * termios/tcdrain.c: Likewise.
2191 * termios/tcflow.c: Likewise.
2192 * termios/tcflush.c: Likewise.
2193 * termios/tcgetattr.c: Likewise.
2194 * termios/tcgetpgrp.c: Likewise.
2195 * termios/tcsendbrk.c: Likewise.
2196 * termios/tcsetattr.c: Likewise.
2197 * termios/tcsetpgrp.c: Likewise.
2198 * time/adjtime.c: Likewise.
2199 * time/clock.c: Likewise.
2200 * time/getitimer.c: Likewise.
2201 * time/gettimeofday.c: Likewise.
2202 * time/setitimer.c: Likewise.
2203 * time/settimeofday.c: Likewise.
2204 * time/stime.c: Likewise.
2205 * time/time.c: Likewise.
2207 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2209 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2212 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2214 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2216 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2220 FE_TONEAREST before applying Dekker multiplication and Knuth
2221 addition. Clear inexact exceptions and check for exact zero
2223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2224 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2226 * math/libm-test.inc (fma_test): Add more tests.
2227 (fma_test_towardzero): Likewise.
2228 (fma_test_downward): Likewise.
2229 (fma_test_upward): Likewise.
2230 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2232 (libc_fesetround): New macro.
2233 (libc_fesetroundf): Likewise.
2234 (libc_fesetroundl): Likewise.
2235 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2237 (libc_fesetround_387): Likewise.
2238 (libc_fesetroundf): New macro.
2239 (libc_fesetround): Likewise.
2240 (libc_fesetroundl): Likewise.
2241 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2243 (libc_fesetroundf): New macro.
2244 (libc_fesetround): Likewise.
2245 (libc_fesetroundl): Likewise.
2246 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2247 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2248 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2250 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2251 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2253 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2254 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2256 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2260 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2261 integer constant usable in #if and use that to give value to enum
2263 (FE_DIVBYZERO): Likewise.
2264 (FE_UNDERFLOW): Likewise.
2265 (FE_OVERFLOW): Likewise.
2266 (FE_INVALID): Likewise.
2267 (FE_INVALID_SNAN): Likewise.
2268 (FE_INVALID_ISI): Likewise.
2269 (FE_INVALID_IDI): Likewise.
2270 (FE_INVALID_ZDZ): Likewise.
2271 (FE_INVALID_IMZ): Likewise.
2272 (FE_INVALID_COMPARE): Likewise.
2273 (FE_INVALID_SOFTWARE): Likewise.
2274 (FE_INVALID_SQRT): Likewise.
2275 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2276 (FE_TONEAREST): Likewise.
2277 (FE_TOWARDZERO): Likewise.
2278 (FE_UPWARD): Likewise.
2279 (FE_DOWNWARD): Likewise.
2280 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2281 (FE_DIVBYZERO): Likewise.
2282 (FE_OVERFLOW): Likewise.
2283 (FE_UNDERFLOW): Likewise.
2284 (FE_INEXACT): Likewise.
2285 (FE_TONEAREST): Likewise.
2286 (FE_DOWNWARD): Likewise.
2287 (FE_UPWARD): Likewise.
2288 (FE_TOWARDZERO): Likewise.
2289 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2290 (FE_UNDERFLOW): Likewise.
2291 (FE_OVERFLOW): Likewise.
2292 (FE_DIVBYZERO): Likewise.
2293 (FE_INVALID): Likewise.
2294 (FE_TONEAREST): Likewise.
2295 (FE_TOWARDZERO): Likewise.
2296 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2297 (FE_OVERFLOW): Likewise.
2298 (FE_UNDERFLOW): Likewise.
2299 (FE_DIVBYZERO): Likewise.
2300 (FE_INEXACT): Likewise.
2301 (FE_TONEAREST): Likewise.
2302 (FE_TOWARDZERO): Likewise.
2303 (FE_UPWARD): Likewise.
2304 (FE_DOWNWARD): Likewise.
2305 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2306 (FE_DIVBYZERO): Likewise.
2307 (FE_OVERFLOW): Likewise.
2308 (FE_UNDERFLOW): Likewise.
2309 (FE_INEXACT): Likewise.
2310 (FE_TONEAREST): Likewise.
2311 (FE_DOWNWARD): Likewise.
2312 (FE_UPWARD): Likewise.
2313 (FE_TOWARDZERO): Likewise.
2315 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2317 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2319 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2321 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2322 commands. Quote $PWD.
2323 (blacklist_exports): Don't use remove_newlines. Replace "declare
2325 (remove_newlines): Remove.
2327 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2329 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2330 * stdlib/stdlib.h (atof): Moved to ...
2331 * include/bits/stdlib-float.h: Here. New file.
2332 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2333 * stdlib/bits/stdlib-float.h: New file.
2334 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2336 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2339 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2341 * conform/conformtest.pl (@headers): Add fenv.h.
2342 * conform/data/fenv.h-data: New file.
2343 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2344 include of <math/fenv.h>.
2346 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2347 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2348 && !UNIX98]. Enables tests for XOPEN2K8.
2349 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2350 POSIX2008]: Likewise.
2352 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2353 (struct rusage): Do not expect type or its members.
2356 * math/math.h (FP_NAN): Define macro to integer constant usable in
2357 #if and use that to give value to enum constant.
2358 (FP_INFINITE): Likewise.
2359 (FP_ZERO): Likewise.
2360 (FP_SUBNORMAL): Likewise.
2361 (FP_NORMAL): Likewise.
2363 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2365 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2366 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2369 2012-11-02 Roland McGrath <roland@hack.frob.com>
2371 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2372 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2373 autoconf-time if not.
2374 * configure.in: Remove AC_PREREQ.
2376 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2378 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2379 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2380 of the internal implementation.
2382 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2384 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2385 except include of <misc/sys/syslog.h>.
2387 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2390 function returns with a NULL context exit with zero.
2392 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2394 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2396 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2398 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2399 (run_program_cmd): This.
2400 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2401 (tst_langinfo): New variable. Use it.
2403 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2405 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2406 floating point opcodes.
2408 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2410 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2413 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2415 * sysdeps/mach/hurd/powerpc: Remove directory.
2416 * sysdeps/mach/powerpc: Likewise.
2418 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2420 * scripts/check-local-headers.sh: Ignore c++ headers.
2422 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2424 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2425 __libc_cleanup_region_start argument.
2427 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2432 x * y using scaling, not as x * y + z.
2433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2435 * math/libm-test.inc (fma_test): Add more tests.
2436 (fma_test_towardzero): Likewise.
2437 (fma_test_downward): Likewise.
2438 (fma_test_upward): Likewise.
2440 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2442 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2444 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2446 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2449 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2451 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2453 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2460 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2463 Fix the order of the list for glibc 2.17.
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2467 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2471 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2474 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2475 for low part of x being zero before using __atanl (y).
2476 * math/libm-test.inc (atan2_test): Add another test.
2478 * manual/install.texi (Configuring and compiling): Document
2479 general use of test-wrapper and test-wrapper-env.
2480 * INSTALL: Regenerated.
2482 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2483 (__fma): Do not extract and scale down low bits on after-rounding
2484 systems when result rounded to normal precision would have normal
2486 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2487 (__fmal): Do not extract and scale down low bits on after-rounding
2488 systems when result rounded to normal precision would have normal
2490 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2491 (__fmal): Do not extract and scale down low bits on after-rounding
2492 systems when result rounded to normal precision would have normal
2494 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2496 (fma_test): Add more tests.
2497 (fma_test_towardzero): Likewise.
2498 (fma_test_downward): Likewise.
2499 (fma_test_upward): Likewise.
2501 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2503 * sysdeps/i386/tininess.h: Renamed to ...
2504 * sysdeps/x86/tininess.h: This.
2505 * sysdeps/x86_64/tininess.h: Removed.
2507 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2509 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2510 input. Use $(build-program-cmd).
2511 ($(objpfx)tst-array1-static.out): Likewise.
2512 ($(objpfx)tst-array2.out): Likewise.
2513 ($(objpfx)tst-array3.out): Likewise.
2514 ($(objpfx)tst-array4.out): Likewise.
2515 ($(objpfx)tst-array5.out): Likewise.
2516 ($(objpfx)tst-array5-static.out): Likewise.
2518 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2520 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2523 * nss/nsswitch.h (nss_interface_function): Provide new
2524 macro for use with NSS functions.
2525 * grp/initgroups.c: Use new macro.
2526 * nss/getXXbyYY.c: Likewise.
2527 * nss/getXXbyYY_r.c: Likewise.
2528 * nss/getXXent.c: Likewise.
2529 * nss/getXXent_r.c: Likewise.
2530 * sysdeps/posix/getaddrinfo.c: Likewise.
2532 2012-10-30 Andreas Jaeger <aj@suse.de>
2534 * po/ru.po: Update Russion translation from translation project.
2536 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2541 result and shift together with sticky bit instead of replicating
2542 round-to-nearest rounding.
2543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2545 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2546 missing underflow exceptions.
2547 (fma_test_towardzero): Add more tests.
2548 (fma_test_downward): Likewise.
2549 (fma_test_upward): Likewise.
2552 * sysdeps/generic/tininess.h: New file.
2553 * sysdeps/i386/tininess.h: Likewise.
2554 * sysdeps/sh/tininess.h: Likewise.
2555 * sysdeps/x86_64/tininess.h: Likewise.
2556 * stdlib/tst-strtod-underflow.c: Likewise.
2557 * stdlib/tst-tininess.c: Likewise.
2558 * stdlib/strtod_l.c: Include <tininess.h>.
2559 (round_and_return): Do not set errno for exact underflow cases.
2560 Force an underflow exception when setting errno for underflow.
2561 Determine underflow based on rounding to normal precision if
2562 TININESS_AFTER_ROUNDING.
2563 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2564 ERANGE for exact underflow cases.
2565 * stdlib/Makefile (tests): Add tst-tininess and
2566 tst-strtod-underflow.
2567 ($(objpfx)tst-tininess): Use $(link-libm).
2568 ($(objpfx)tst-strtod-underflow): Likewise.
2570 2012-10-30 Andreas Jaeger <aj@suse.de>
2573 * elf/Makefile (tests): Remove conditional for have-initfini-array
2574 since this is now always required and the variable does not exist
2576 (tests-static): Likewise.
2577 (modules-names): Likewise.
2579 * po/eo.po: Add Esperanto translation from translation project.
2581 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2582 merged with constructor/destructor.
2583 (init_array): Likewise.
2584 * elf/tst-array2dep.c (fini_array): Likewise.
2585 (init_array): Likewise.
2587 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2589 * manual/message.texi: Delete @cartouche tags.
2591 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2593 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2595 * sysdeps/mach/hurd/fsync.c: Likewise.
2597 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2598 [_POSIX_REALTIME_SIGNALS]: Change condition to
2599 [_POSIX_REALTIME_SIGNALS > 0].
2601 2012-10-27 Andreas Jaeger <aj@suse.de>
2603 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2604 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2606 [__WORDSIZE != 64]: Likewise.
2608 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2610 * iconvdata/tst-table.sh: Remove ${SHELL}.
2611 * iconvdata/tst-tables.sh: Likewise.
2613 2012-10-25 David S. Miller <davem@davemloft.net>
2615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2616 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2621 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2622 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2623 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2626 2012-10-25 Roland McGrath <roland@hack.frob.com>
2628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2629 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2632 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2633 Jim Blandy <jimb@codesourcery.com>
2635 * scripts/cross-test-ssh.sh: New file.
2636 * manual/install.texi (Configuring and compiling): Document use of
2638 * INSTALL: Regenerated.
2640 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2642 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2645 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2647 * Makeconfig (run-program-prefix): Fix comment.
2649 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2650 Jim Blandy <jimb@codesourcery.com>
2652 * Makeconfig (test-wrapper): New variable,
2653 (test-wrapper-env): Likewise.
2654 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2655 (run-built-tests): Define to yes.
2656 (run-program-prefix): Use $(test-wrapper).
2657 (built-program-cmd): Likewise.
2658 * Rules (make-test-out): Use $(test-wrapper-env) and
2659 $(host-built-program-cmd).
2660 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2661 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2663 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2664 $(test-wrapper-env) to tst-rtld-load-self.sh.
2665 ($(objpfx)order2.out): Use $(test-wrapper).
2666 ($(objpfx)tst-initorder.out): Likewise.
2667 ($(objpfx)tst-initorder2.out): Likewise.
2668 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2669 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2670 (test_wrapper_env): New variable. Use it to run ld.so.
2671 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2672 Use it to run ld.so.
2673 (test_wrapper_env): Likewise.
2674 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2675 $(test-wrapper) to run-iconv-test.sh.
2676 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2677 (ICONV): Use $test_wrapper.
2678 * posix/Makefile ($(objpfx)globtest.out): Pass
2679 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2680 globtest.sh, not $(run-program-prefix).
2681 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2682 (test_wrapper): Likewise.
2683 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2684 set together with run_via_rtld_prefix.
2685 (run_program_prefix): Define in terms of test_wrapper and
2686 run_via_rtld_prefix.
2688 2012-10-24 Roland McGrath <roland@hack.frob.com>
2690 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2691 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2695 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2696 Declare __clock_getres, __clock_gettime, __clock_settime,
2697 __clock_nanosleep, and __clock_getcpuclockid.
2698 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2699 Remove librt_hidden_def (clock_gettime).
2700 * sysdeps/unix/clock_gettime.c: Likewise.
2701 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2702 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2703 * rt/clock_getres.c: Define __clock_getres as an alias.
2704 * sysdeps/posix/clock_getres.c: Likewise.
2705 * rt/clock_settime.c: Define __clock_settime as an alias.
2706 * sysdeps/unix/clock_settime.c: Likewise.
2707 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2708 * sysdeps/unix/clock_nanosleep.c: Likewise.
2709 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2710 * rt/clock-compat.c: New file.
2711 * rt/Makefile (librt-routines): Add clock-compat and move
2712 $(clock-routines) to ...
2713 (routines): ... here, new variable.
2714 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2715 Don't add get_clockfreq here.
2716 * rt/Versions (libc: GLIBC_2.17): New version set.
2717 Add clock_* symbols here.
2718 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2720 (GLIBC_2.17): Add clock_* symbols.
2721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2732 * NEWS: Mention the move.
2734 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2735 Use __open, __read, __close rather than their public counterparts.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2737 (__get_clockfreq_via_cpuinfo): Likewise.
2738 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2739 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2741 * config.h.in (HAVE_IFUNC): New #undef.
2742 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2744 * configure: Regenerated.
2746 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2748 * configure.in: Move READELF check to start of file.
2749 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2750 libc_cv_asm_gnu_indirect_function in the process.
2751 * configure: Regenerated.
2753 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2755 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2756 send the output to /dev/null.
2757 (libc_cv_cc_with_libunwind): Likewise.
2758 (libc_cv_as_noexecstack): Likewise.
2759 * configure: Regenerate.
2761 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2763 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2765 * posix/globtest.sh (TMPDIR): Do not set.
2766 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2767 (testout): Likewise.
2769 2012-10-24 Andreas Jaeger <aj@suse.de>
2771 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2772 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2773 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2774 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2775 posix_fadvise64, posix_fallocate64.
2777 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2778 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2779 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2781 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2783 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2786 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2787 <bits/fcntl-linux.h>.
2788 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2791 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2792 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2793 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2794 [__WORDSIZE != 64]: Likewise.
2796 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2798 * Makeconfig (run-built-tests): New variable.
2799 * Rules [$(cross-compiling) = yes]: Change condition to
2800 [$(run-built-tests) = no].
2801 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2802 to [$(run-built-tests) = yes].
2803 * elf/Makefile [$(cross-compiling) = no]: Likewise
2804 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2805 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2806 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2807 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2808 * io/Makefile [$(cross-compiling) = no]: Likewise.
2809 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2810 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2811 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2812 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2813 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2814 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2815 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2816 * string/Makefile [$(cross-compiling) = no]: Likewise.
2818 * posix/Makefile ($(objpfx)globtest.out): Pass
2819 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2820 $(rtld-installed-name).
2821 * posix/globtest.sh (elf_objpfx): Remove variable.
2822 (rtld_installed_name): Likewise.
2823 (library_path): Likewise.
2824 (run_program_prefix): New variable. Use for running globtest
2827 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2828 Joseph Myers <joseph@codesourcery.com>
2830 * Makeconfig (host-built-program-cmd): New variable.
2831 * elf/Makefile (tst-stackguard1-ARGS): Use
2832 $(host-built-program-cmd).
2833 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2834 (tst-spawn-ARGS): Likewise.
2835 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2837 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2838 Jim Blandy <jimb@codesourcery.com>
2840 * Makeconfig (run-via-rtld-prefix): New variable.
2841 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2842 (built-program-cmd): Likewise.
2844 2012-10-22 Andreas Jaeger <aj@suse.de>
2846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2847 __O_RSYNC if it exists, otherwise to O_SYNC.
2849 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2850 Joseph Myers <joseph@codesourcery.com>
2852 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2854 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2856 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2859 2012-10-22 Andreas Jaeger <aj@suse.de>
2861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2869 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2876 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2877 Joseph Myers <joseph@codesourcery.com>
2879 * config.make.in (NM): New variable.
2881 2012-10-21 Andreas Jaeger <aj@suse.de>
2883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2884 definitions and declarations that are provided by
2885 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2887 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2890 * elf/Makefile (tests-static): Add tst-leaks1-static.
2891 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2892 ($(objpfx)tst-leaks1-static): New rule.
2893 ($(objpfx)tst-leaks1-static-mem): Likewise.
2894 (tst-leaks1-static-ENV): New macro.
2895 * elf/dl-open.c (dl_open_worker): Check the main application
2896 only if SHARED is defined.
2897 * elf/tst-leaks1-static.c: New file.
2899 2012-10-20 Andreas Jaeger <aj@suse.de>
2901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2902 generic values for Linux.
2903 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2904 and declarations that are provided by <bits/fcntl-linux.h> and
2905 include <bits/fcntl-linux.h>.
2906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2909 2012-10-20 Roland McGrath <roland@hack.frob.com>
2911 * io/fcntl.h: Move include of <bits/types.h> to the top and
2912 include it unconditionally.
2914 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2916 * wcsmbs/Makefile (tests-ifunc): New variable.
2917 (tests): Add $(tests-ifunc).
2918 * wcsmbs/test-wcschr-ifunc.c: New file.
2919 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2920 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2921 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2922 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2923 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2925 * string/Makefile (tests-ifunc): New variable.
2926 (tests): Add $(tests-ifunc).
2927 * string/test-memccpy.c (TEST_NAME): New macro.
2928 * string/test-memchr.c (TEST_NAME): Likewise.
2929 * string/test-memcmp.c (TEST_NAME): Likewise.
2930 * string/test-memcpy.c (TEST_NAME): Likewise.
2931 * string/test-memmem.c (TEST_NAME): Likewise.
2932 * string/test-memmove.c (TEST_NAME): Likewise.
2933 * string/test-memset.c (TEST_NAME): Likewise.
2934 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2935 * string/test-stpcpy.c (TEST_NAME): Likewise.
2936 * string/test-stpncpy.c (TEST_NAME): Likewise.
2937 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2938 * string/test-strcasestr.c (TEST_NAME): Likewise.
2939 * string/test-strcat.c (TEST_NAME): Likewise.
2940 * string/test-strchr.c (TEST_NAME): Likewise.
2941 * string/test-strcmp.c(TEST_NAME): Likewise.
2942 * string/test-strcpy.c (TEST_NAME): Likewise.
2943 * string/test-strcspn.c (TEST_NAME): Likewise.
2944 * string/test-strlen.c (TEST_NAME): Likewise.
2945 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2946 * string/test-strncmp.c (TEST_NAME): Likewise.
2947 * string/test-strncpy.c (TEST_NAME): Likewise.
2948 * string/test-strnlen.c (TEST_NAME): Likewise.
2949 * string/test-strpbrk.c (TEST_NAME): Likewise.
2950 * string/test-strrchr.c (TEST_NAME): Likewise.
2951 * string/test-strspn.c (TEST_NAME): Likewise.
2952 * string/test-strstr.c (TEST_NAME): Likewise.
2953 * string/test-bcopy-ifunc.c: New file.
2954 * string/test-bzero-ifunc.c: Likewise.
2955 * string/test-memccpy-ifunc.c: Likewise.
2956 * string/test-memchr-ifunc.c: Likewise.
2957 * string/test-memcmp-ifunc.c: Likewise.
2958 * string/test-memcpy-ifunc.c: Likewise.
2959 * string/test-memmem-ifunc.c: Likewise.
2960 * string/test-memmove-ifunc.c: Likewise.
2961 * string/test-mempcpy-ifunc.c: Likewise.
2962 * string/test-memset-ifunc.c: Likewise.
2963 * string/test-rawmemchr-ifunc.c: Likewise.
2964 * string/test-stpcpy-ifunc.c: Likewise.
2965 * string/test-stpncpy-ifunc.c: Likewise.
2966 * string/test-strcasecmp-ifunc.c: Likewise.
2967 * string/test-strcasestr-ifunc.c: Likewise.
2968 * string/test-strcat-ifunc.c: Likewise.
2969 * string/test-strchr-ifunc.c: Likewise.
2970 * string/test-strchrnul-ifunc.c: Likewise.
2971 * string/test-strcmp-ifunc.c: Likewise.
2972 * string/test-strcpy-ifunc.c: Likewise.
2973 * string/test-strcspn-ifunc.c: Likewise.
2974 * string/test-strlen-ifunc.c: Likewise.
2975 * string/test-strncasecmp-ifunc.c: Likewise.
2976 * string/test-strncat-ifunc.c: Likewise.
2977 * string/test-strncmp-ifunc.c: Likewise.
2978 * string/test-strncpy-ifunc.c: Likewise.
2979 * string/test-strnlen-ifunc.c: Likewise.
2980 * string/test-strpbrk-ifunc.c: Likewise.
2981 * string/test-strrchr-ifunc.c: Likewise.
2982 * string/test-strspn-ifunc.c: Likewise.
2983 * string/test-strstr-ifunc.c: Likewise.
2985 * debug/Makefile (tests-ifunc): New variable.
2986 (tests): Add $(tests-ifunc).
2987 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2988 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2989 * debug/test-stpcpy_chk-ifunc.c: New file.
2990 * debug/test-strcpy_chk-ifunc.c: Likewise.
2992 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2995 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2996 header is not read in.
2998 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3000 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3001 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3002 directly. Pass built executable to script as
3003 $(built-program-cmd).
3004 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3005 $testprogram without using LD_LIBRARY_PATH and $ldso.
3007 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3008 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3009 $(rtld-installed-name).
3010 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3011 (rtld_installed_name): Likewise.
3012 (library_path): Likewise.
3013 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3014 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3015 $(run-program-prefix) to tst-tables.sh.
3016 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3017 it to run tst-table-from and tst-table-to.
3018 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3019 Pass it to tst-table.sh.
3020 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3021 $(run-program-prefix) to tst-gettext.sh.
3022 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3024 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3026 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3028 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3029 to run tst-gettext2.
3030 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3031 to run tst-translit.
3032 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3033 $(run-program-prefix) to tst-mtrace.sh.
3034 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3036 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3037 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3038 $(rtld-installed-name).
3039 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3040 (rtld_installed_name): Likewise.
3041 (run_program_prefix): New variable. Use it to run wordexp-test.
3043 * Makeconfig (ARCH): Remove all definitions.
3044 (machine): Likewise.
3045 [ARCH]: Remove conditional code.
3046 [!objdir]: Give error.
3047 [!objdir] (objpfx): Remove.
3048 [!objdir] (common-objpfx): Likewise.
3049 [!objdir] (common-objdir): Likewise.
3050 * configure.in (config_makefile): Remove. Hardcode Makefile in
3051 AC_CONFIG_FILES call.
3052 * configure: Regenerated.
3055 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3057 (testout): Likewise.
3059 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3060 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3061 $(rtld-installed-name).
3062 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3063 (rtld_installed_name): Likwise.
3064 (runit): Remove function.
3065 (run_getconf): New variable, Use it for running getconf binary.
3067 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3070 * string/test-memmem.c (check_result): New function.
3071 (do_one_test): Use it.
3072 (check1): New function.
3073 (test_main): Use it.
3075 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3077 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3079 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3082 (_G_LSEEK64): Likewise.
3083 (_G_MMAP64): Likewise.
3084 (_G_FSTAT64): Likewise.
3085 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3086 (_G_LSEEK64): Likewise.
3087 (_G_MMAP64): Likewise.
3088 (_G_FSTAT64): Likewise.
3089 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3090 unconditional. Call __mmap64 directly.
3091 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3092 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3094 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3095 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3097 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3098 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3100 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3101 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3103 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3104 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3106 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3107 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3108 __fxstat64 directly.
3109 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3110 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3112 (freopen64) [!_G_OPEN64]: Remove conditional code.
3113 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3115 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3116 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3118 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3119 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3121 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3122 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3124 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3125 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3127 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3128 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3130 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3131 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3133 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3135 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3138 * manual/memory.texi (Malloc Tunable Parameters): Add note
3139 about free list pointers overwriting some perturb bytes.
3140 Wording suggested by Roland McGrath.
3142 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3144 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3145 (lgamma_test): Likewise.
3146 (tgamma_test): Likewise.
3148 2012-10-16 Florian Weimer <fweimer@redhat.com>
3151 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3152 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3154 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3156 * NEWS: Mention BZ #14716.
3157 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3158 when removing AVAILABLE1_USES_J macro.
3160 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3162 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3163 (__bswap_64): __uint64_t for unsigned 64-bit int.
3165 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3167 * include/string.h (memmem): Declare libc hidden alias.
3168 * string/memmem.c (memmem): Define libc hidden alias.
3169 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3170 __read, __close instead of open, read, close.
3172 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3175 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3177 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3178 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3179 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3181 (__rawmemchr_sse2): Likewise.
3182 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3183 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3184 (__strchr_sse2): Likewise.
3185 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3186 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3187 (__strcasecmp_sse2): Likewise.
3188 (__strncasecmp_sse2): Likewise.
3189 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3190 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3191 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3192 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3193 (__strrchr_sse2): Likewise.
3194 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3196 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3197 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3198 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3199 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3200 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3201 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3204 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3205 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3206 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3207 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3208 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3209 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3210 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3211 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3212 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3213 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3214 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3215 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3216 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3217 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3218 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3219 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3220 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3221 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3222 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3223 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3224 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3225 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3227 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3229 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3230 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3231 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3232 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3234 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3236 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3237 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3238 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3239 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3241 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3242 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3243 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3244 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3245 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3246 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3247 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3248 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3249 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3250 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3251 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3252 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3253 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3254 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3255 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3256 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3257 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3258 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3259 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3260 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3261 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3262 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3263 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3264 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3266 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3267 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3268 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3269 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3270 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3272 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3273 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3274 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3275 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3276 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3277 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3283 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3284 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3285 * include/ifunc-impl-list.h: New file.
3286 * misc/ifunc-impl-list.c: Likewise.
3287 * misc/Makefile (routines): Add ifunc-impl-list.
3288 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3289 * string/test-string.h: Include <ifunc-impl-list.h>.
3290 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3291 impl_array): New variables.
3292 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3294 (test_init): Call __libc_ifunc_impl_list to initialize
3295 func_list if TEST_IFUNC and TEST_NAME are defined.
3297 * string/Makefile (strop-tests): Add bcopy and bzero.
3298 * string/test-bcopy.c: New file.
3299 * string/test-bzero.c: Likewise.
3300 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3302 * string/test-memset.c: Support bzero test if TEST_BZERO is
3304 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3306 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3308 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3311 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3313 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3314 * configure: Regenerated.
3316 * Makeconfig (+link-static-before-libc): Don't include
3317 $(link-static-libc).
3319 * libio/libio.h (_IO_pos_t): Remove.
3321 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3323 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3326 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3328 * crypt/crypt-entry.c: Include fips-private.h.
3329 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3330 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3331 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3332 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3334 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3336 * crypt/crypt-private.h: Include stdbool.h.
3337 (_ufc_setup_salt_r): Return bool.
3338 * crypt/crypt-entry.c: Include errno.h.
3339 (__crypt_r): Return NULL with EINVAL for bad salt.
3340 * crypt/crypt_util.c (bad_for_salt): New.
3341 (_ufc_setup_salt_r): Check that salt is long enough and within
3342 the specified alphabet.
3343 * crypt/badsalttest.c: New file.
3344 * crypt/Makefile (tests): Add it.
3345 ($(objpfx)badsalttest): New.
3347 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3349 * NEWS: Add entry for BZ #14602.
3351 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3353 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3355 * math/libm-test.inc: Update comment listing what functions and
3357 (isgreater_test): New function.
3358 (isgreaterequal_test): Likewise.
3359 (isless_test): Likewise.
3360 (islessequal_test): Likewise.
3361 (islessgreater_test): Likewise.
3362 (isunordered_test): Likewise.
3363 (main): Call the new functions.
3365 2012-10-09 Roland McGrath <roland@hack.frob.com>
3367 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3368 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3369 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3370 * sysdeps/i386/configure: Regenerated.
3371 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3372 * sysdeps/mach/configure: Regenerated.
3373 * sysdeps/mach/hurd/configure: Regenerated.
3374 * sysdeps/powerpc/configure: Regenerated.
3375 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3376 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3377 * sysdeps/s390/s390-32/configure: Regenerated.
3378 * sysdeps/s390/s390-64/configure: Regenerated.
3379 * sysdeps/sh/configure: Regenerated.
3380 * sysdeps/sparc/configure: Regenerated.
3381 * sysdeps/unix/sysv/linux/configure: Regenerated.
3382 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3383 * sysdeps/x86_64/configure: Regenerated.
3385 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3386 defined. Don't check if MAP is NULL.
3388 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3390 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3391 (_G_stat64): Likewise.
3392 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3393 (_G_stat64): Likewise.
3394 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3395 instead of struct _G_stat64.
3396 * libio/fileops.c (mmap_remap_check): Likewise.
3397 (decide_maybe_mmap): Likewise.
3398 (_IO_new_file_seekoff): Likewise.
3399 (_IO_file_stat): Likewise.
3400 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3402 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3403 instead of struct _G_stat64.
3404 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3406 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3409 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3411 (CHECK_EOL): New macro.
3412 (two_way_short_needle): Check beginning of haystack for EOL. Use
3414 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3415 Replace with CHECK_EOL.
3416 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3417 Replace with CHECK_EOL.
3419 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3421 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3423 * math/libm-test.inc: Update comment listing what functions and
3425 (finite_test): New function.
3426 (isinf_test): Likewise.
3427 (isnan_test): Likewise.
3428 (fpclassify_test): Test subnormal input.
3429 (isfinite_test): Likewise.
3430 (isnormal_test): Likewise.
3431 (main): Call the new functions.
3433 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3436 * Makerules (%.dynsym): Force C locale when running
3437 $(OBJDUMP) --dynamic-syms.
3439 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3441 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3444 2012-10-06 David S. Miller <davem@davemloft.net>
3446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3447 upper 32-bits of the length value in %o2 since we use branch-on-register
3448 tests which consider the entire 64-bit register.
3450 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3452 * string/test-strstr.c (check2): Add a test for page boundary.
3454 2012-10-05 David S. Miller <davem@davemloft.net>
3456 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3457 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3459 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3461 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3462 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3463 and bzero when HWCAP_SPARC_CRYPTO is present.
3465 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3468 * string/test-strstr.c (check2): New function.
3469 (test_main): Call check2.
3471 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3473 * string/bug-strcasestr1.c (do_test): Moved to ...
3474 * string/test-strcasestr.c (check1): Here. New function.
3475 (do_one_test): Break out result checking code into ...
3476 (check_result): This. New function.
3477 (do_one_test): Call check_result.
3478 (test_main): Call check1.
3479 * string/bug-strchr1.c (do_test): Moved to ...
3480 * string/test-strchr.c (check1): Here. New function.
3481 (do_one_test): Break out result checking code into ...
3482 (check_result): This. New function.
3483 (do_one_test): Call check_result.
3484 (test_main): Call check1.
3485 * string/bug-strstr1.c (main): Moved to ...
3486 * string/test-strchr.c (check1): Here. New function.
3487 (do_one_test): Break out result checking code into ...
3488 (check_result): This. New function.
3489 (do_one_test): Call check_result.
3490 (test_main): Call check1.
3491 * string/bug-strcasestr1.c: Removed.
3492 * string/bug-strchr1.c: Likewise.
3493 * string/bug-strstr1.c: Likewise.
3495 * elf/Makefile (dl-routines): Add hwcaps.
3496 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3497 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3498 (_dl_important_hwcaps): Moved to ...
3499 * elf/dl-hwcaps.c: Here. New file.
3500 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3503 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3504 if IS_IN_rtld isn't defined.
3506 * elf/dl-support.c (_dl_sysinfo_map): New.
3507 Include "get-dynamic-info.h" and "setup-vdso.h".
3508 (_dl_non_dynamic_init): Call setup_vdso.
3509 * elf/dynamic-link.h: Don't include <assert.h>.
3510 (elf_get_dynamic_info): Moved to ...
3511 * elf/get-dynamic-info.h: Here. New file.
3512 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3513 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3514 * elf/setup-vdso.h: Here. New file.
3515 * elf/rtld.c: Include "setup-vdso.h".
3516 (dl_main): Call setup_vdso.
3518 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3520 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3521 creal in comment listing functions tested. List finite, isinf,
3522 isnan, isless, islessequal, isgreater, isgreaterequal,
3523 islessgreater, isunordered, lgamma_r and pow10 as functions and
3524 macros not tested. Mention which functions not tested are aliases
3525 for other functions. Fix typo. Note that signs of NaNs are not
3528 * scripts/config.guess: Update from config.git.
3529 * scripts/config.sub: Likewise.
3531 2012-10-04 Roland McGrath <roland@hack.frob.com>
3533 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3534 * misc/madvise.c (madvise): Renamed to __madvise.
3535 Make madvise a weak alias.
3536 * include/sys/mman.h: Declare __madvise.
3537 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3538 * sysdeps/unix/syscalls.list
3539 (madvise): Make __madvise the strong name, and madvise a weak alias.
3540 * sysdeps/unix/sysv/linux/syscalls.list
3541 (madvise, mmap): Remove redundant entries.
3542 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3543 * malloc/malloc.c (mtrim): Likewise.
3544 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3546 2012-10-03 Roland McGrath <roland@hack.frob.com>
3548 * sysdeps/mach/hurd/dl-cache.c: File removed.
3549 * config.h.in (USE_LDCONFIG): New #undef.
3550 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3551 * configure: Regenerated.
3552 * elf/Makefile (dl-routines): Add dl-cache only under
3553 [$(use-ldconfig) = yes].
3554 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3555 cache on [USE_LDCONFIG].
3556 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3558 * elf/rtld.c (dl_main): Likewise.
3560 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3562 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3563 _SC_LEVEL4_CACHE_LINESIZE.
3565 2012-10-03 Roland McGrath <roland@hack.frob.com>
3567 * sysdeps/unix/bsd/confstr.h: File removed.
3569 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3571 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3574 2012-10-02 Roland McGrath <roland@hack.frob.com>
3576 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3577 Make 'mapoff' field ElfW(Off) rather than off_t.
3579 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3581 * nscd/Makefile: Remove nscd-cflags and all its users.
3582 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3583 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3586 * malloc.c (malloc_printerr): Clarify error message.
3588 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3592 Set bit_FMA_Usable if FMA is supported.
3593 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3595 (bit_FMA4_Usable): Updated.
3596 (index_FMA_Usable): New macro.
3597 (CPUID_FMA): Likewise
3598 (HAS_FMA): Defined with bit_FMA_Usable.
3600 2012-10-01 Roland McGrath <roland@hack.frob.com>
3602 * bits/types.h (__swblk_t): Type removed.
3603 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3604 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3606 (__SWBLK_T_TYPE): Likewise.
3607 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3608 (__SWBLK_T_TYPE): Likewise.
3609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3610 (__SWBLK_T_TYPE): Likewise.
3611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3612 (__SWBLK_T_TYPE): Likewise.
3614 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3615 Honza Horak <hhorak@redhat.com>
3617 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3618 (xdr_mapname): Use YPMAXMAP as maxsize.
3619 (xdr_peername): Use YPMAXPEER as maxsize.
3620 (xdr_keydat): Use YPAXRECORD as maxsize.
3621 (xdr_valdat): Use YPMAXRECORD as maxsize.
3623 2012-10-01 Roland McGrath <roland@hack.frob.com>
3625 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3627 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3628 * csu/init-first.c: ... here.
3629 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3630 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3631 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3632 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3633 * sysdeps/i386/init-first.c: File removed.
3634 * sysdeps/sh/init-first.c: File removed.
3636 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3640 if x * y might underflow to zero and z is zero.
3641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3642 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3643 * math/libm-test.inc (min_subnorm_value): New variable.
3644 (fma_test): Add more tests.
3645 (fma_test_towardzero): Likewise.
3646 (fma_test_downward): Likewise
3647 (fma_test_upward): Likewise.
3648 (initialize): Set min_subnorm_value.
3650 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3655 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3656 mode for addition resulting in exact zero.
3657 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3660 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3661 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3662 * math/libm-test.inc (fma_test): Add more tests.
3663 (fma_test_towardzero): New function.
3664 (fma_test_downward): Likewise.
3665 (fma_test_upward): Likewise.
3666 (main): Call the new functions.
3668 2012-09-28 David S. Miller <davem@davemloft.net>
3670 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3672 2012-09-28 Roland McGrath <roland@hack.frob.com>
3674 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3677 * sysdeps/gnu/_G_config.h: Moved to ...
3678 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3679 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3680 * sysdeps/generic/_G_config.h: ... here.
3682 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3684 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3686 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3687 Conditionalize target on [libnss_test1.so-version].
3689 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3691 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3692 (elfobjdir): Move out of conditionals.
3694 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3695 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3696 (__nss_lookup_function): Conditionalize label remove_from_tree on
3697 [!DO_STATIC_NSS || SHARED], matching its only use.
3699 2012-09-28 David S. Miller <davem@davemloft.net>
3701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3702 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3704 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3706 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3708 when HWCAP_SPARC_CRYPTO is present.
3710 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3712 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3714 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3717 * stdio-common/vfprintf.c (process_string_arg): Revert
3720 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3722 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3724 * stdio-common/tst-sprintf.c: Include <locale.h>
3725 (main): Test sprintf's handling of incomplete multibyte
3728 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3730 * elf/dl-runtime.c (VERSYMIDX): Removed.
3731 * elf/dl-version.c (VERSYMIDX): Likewise.
3732 * elf/do-rel.h (VERSYMIDX): Likewise.
3734 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3735 * elf/rtld.c (VALIDX): Likewise.
3736 (ADDRIDX): Likewise.
3737 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3738 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3739 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3740 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3742 (ADDRIDX): Likewise.
3744 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3746 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3748 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3751 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3753 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3754 addresses are in the same scope as 192.0.2/24.
3755 * posix/gai.conf: Document new scope table defaults.
3757 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3760 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3761 for ftell. Compute offsets from write pointers instead.
3762 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3764 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3767 * libio/Makefile (tests): New test case tst-fseek.
3768 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3769 combination works in wide mode.
3770 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3771 state when the external buffer state changes.
3773 2012-09-27 David S. Miller <davem@davemloft.net>
3776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3777 pass reloc->r_addend in as the 'high' argument to
3778 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3784 * rt/tst-aio2.c: Include <pthread.h>.
3785 * rt/tst-aio3.c: Likewise.
3787 2012-09-27 Steve Ellcey <sellcey@mips.com>
3789 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3791 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3793 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3794 contents on [SHARED].
3796 2012-09-26 Marek Polacek <polacek@redhat.com>
3800 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3801 for C++ and GCC <4.3 as well as for non GCC compilers.
3803 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3807 2012-09-25 Roland McGrath <roland@hack.frob.com>
3809 * Makefile.in (all, install): Declare with .PHONY.
3810 Reported by Michael Hope <michael.hope@linaro.org>.
3812 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3814 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3815 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3817 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3819 (sydep_routines): Add the new and the internal functions.
3820 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3821 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3823 (GLIBC_2.17): Add the new function.
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3825 (GLIBC_2.17): Likewise.
3826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3827 (GLIBC_2.17): Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3829 (GLIBC_2.17): Likewise.
3830 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3832 2012-09-25 Alan Modra <amodra@gmail.com>
3834 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3835 Add release barrier before setting once_control to say
3836 initialisation is done. Add hints on lwarx. Use macro in
3838 (clear_once_control): Add release barrier.
3840 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3843 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3845 * math/s_clog10.c (__clog10): Likewise.
3846 * math/s_clog10f.c (__clog10f): Likewise.
3847 * math/s_clog10l.c (__clog10l): Likewise.
3848 * math/s_clogf.c (__clogf): Likewise.
3849 * math/s_clogl.c (__clogl): Likewise.
3850 * math/Makefile (libm-calls): Add x2y2m1.
3851 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3852 (__x2y2m1): Likewise.
3853 (__x2y2m1l): Likewise.
3854 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3855 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3858 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3859 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3860 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3861 * sysdeps/i386/fpu/libm-test-ulps: Update.
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3865 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3866 int as type of variable DEPTH.
3867 (glob): Use size_t instead of int as type of variables NEWCOUNT
3870 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3872 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3874 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3875 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3876 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3877 macros for using routine as __sincosf_ia32.
3878 Use macro for function declaration and weak_alias.
3879 * sysdeps/i386/fpu/libm-test-ulps: Update.
3881 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3884 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3886 * math/s_cexpf.c (__cexpf): Likewise.
3887 * math/s_csinf.c (__csinf): Likewise.
3888 * math/s_csinhf.c (__csinhf): Likewise.
3889 * math/s_ctanf.c (__ctanf): Likewise.
3890 * math/s_ctanhf.c (__ctanhf): Likewise.
3891 * math/s_ccosh.c (__ccoshf): Likewise.
3892 * math/s_cexp.c (__cexpl): Likewise.
3893 * math/s_csin.c (__csin): Likewise.
3894 * math/s_csinh.c (__csinh): Likewise.
3895 * math/s_ctan.c (__ctan): Likewise.
3896 * math/s_ctanh.c (ctanh): Likewise.
3897 * math/s_ccoshl.c (__ccoshl): Likewise.
3898 * math/s_cexpl.c (__cexpl): Likewise.
3899 * math/s_csinl.c (__csinl): Likewise.
3900 * math/s_csinhl.c (__csinhl): Likewise.
3901 * math/s_ctanl.c (__ctanl): Likewise.
3902 * math/s_ctanhl.c (__ctanhl): Likewise.
3904 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3906 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3907 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3908 (_IO_off_t): Define to __off_t, not _G_off_t.
3909 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3910 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3911 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3912 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3913 type of __dummy and __dummy2 fields.
3914 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3915 (_G_ssize_t): Likewise.
3916 (_G_off_t): Likewise.
3917 (_G_pid_t): Likewise.
3918 (_G_uid_t): Likewise.
3919 (_G_wchar_t): Likewise.
3920 (_G_wint_t): Likewise.
3921 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3922 (_G_ssize_t): Likewise.
3923 (_G_off_t): Likewise.
3924 (_G_pid_t): Likewise.
3925 (_G_uid_t): Likewise.
3926 (_G_wchar_t): Likewise.
3927 (_G_wint_t): Likewise.
3928 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3929 (_G_ssize_t): Likewise.
3930 (_G_off_t): Likewise.
3931 (_G_pid_t): Likewise.
3932 (_G_uid_t): Likewise.
3933 (_G_wchar_t): Likewise.
3934 (_G_wint_t): Likewise.
3936 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3938 * malloc/arena.c: Include malloc-sysdep.h.
3939 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3940 is sufficient to shrink the heap or an unmap is needed.
3941 * sysdeps/generic/malloc-sysdep.h: New file. Define
3942 new function check_may_shrink_heap.
3943 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3944 new function check_may_shrink_heap.
3946 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3948 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3951 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3953 * catgets/test-gencat.sh: Add "set -e".
3954 * elf/tst-pathopt.sh: Likewise.
3955 * grp/tst_fgetgrent.sh: Likewise.
3956 * iconvdata/run-iconv-test.sh: Likewise.
3957 * intl/tst-gettext.sh: Likewise.
3958 * intl/tst-gettext2.sh: Likewise.
3959 * intl/tst-gettext4.sh: Likewise.
3960 * intl/tst-gettext6.sh: Likewise.
3961 * intl/tst-translit.sh: Likewise.
3962 * io/ftwtest-sh: Likewise.
3963 * libio/test-freopen.sh: Likewise.
3964 * malloc/tst-mtrace.sh: Likewise.
3965 * posix/globtest.sh: Likewise.
3966 * posix/tst-getconf.sh: Likewise.
3967 * posix/wordexp-tst.sh: Likewise.
3968 * stdio-common/tst-printf.sh: Likewise.
3969 * stdio-common/tst-unbputc.sh: Likewise.
3970 * stdlib/tst-fmtmsg.sh: Likewise.
3971 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3972 * catgets/Makefile: Do not specify -e option when running
3973 testsuite shell scripts.
3974 * elf/Makefile: Likewise.
3975 * grp/Makefile: Likewise.
3976 * iconvdata/Makefile: Likewise.
3977 * intl/Makefile: Likewise.
3978 * io/Makefile: Likewise.
3979 * libio/Makefile: Likewise.
3980 * malloc/Makefile: Likewise.
3981 * posix/Makefile: Likewise.
3982 * stdio-common/Makefile: Likewise.
3983 * stdlib/Makefile: Likewise.
3984 * sysdeps/x86_64/Makefile: Likewise.
3986 * io/ftwtest-sh: Add copyright header.
3987 * posix/globtest.sh: Likewise.
3988 * posix/tst-getconf.sh: Likewise.
3989 * posix/wordexp-tst.sh: Likewise.
3990 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3992 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3995 * Makeconfig (+link): Defined as $(+link-static) if
3996 $(build-shared) isn't yes.
3997 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3999 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4001 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4004 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4005 new chunk size with MALLOC_ALIGN_MASK.
4007 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4010 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4012 (__printf_fphex): Determine rounding using get_rounding_mode and
4014 * stdio-common/tst-printf-round.c (struct hex_test): New
4016 (hex_tests): New variable.
4017 (test_hex_in_one_mode): New function.
4018 (do_test): Also run tests for hex float output.
4020 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4022 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4023 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4024 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4025 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4026 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4027 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4028 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4029 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4031 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4033 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4034 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4035 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4036 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4038 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4041 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4043 * elf/tst-rtld-load-self.sh: New test.
4044 * elf/Makefile: Run it.
4046 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4048 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4049 (tst-writev-ENV): Remove.
4050 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4052 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4054 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4056 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4058 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4060 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4062 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4063 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4064 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4067 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4070 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4071 * config.make.in (have-cpp-asm-debuginfo): Removed.
4072 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4073 * configure: Regenerated.
4075 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4078 * stdio-common/printf_fp.c: Include <stdbool.h> and
4080 (___printf_fp): Determine rounding using get_rounding_mode and
4082 * stdio-common/tst-printf-round.c: New file.
4083 * stdio-common/Makefile (tests): Add tst-printf-round.
4084 (link-libm): New variable.
4085 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4087 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4090 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4091 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4093 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4096 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4098 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4099 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4100 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4101 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4103 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4106 * include/rounding-mode.h: New file.
4107 * sysdeps/generic/get-rounding-mode.h: Likewise.
4108 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4109 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4110 (MAX_VALUE): New macro.
4111 (MIN_VALUE): Likewise.
4112 (overflow_value): New function.
4113 (underflow_value): Likewise.
4114 (round_and_return): Use overflow_value and underflow_value to
4115 determine return values in overflow and underflow cases. Use
4116 round_away to determine rounding depending on rounding mode.
4117 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4118 determine return values in overflow and underflow cases.
4119 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4120 (struct test_results): New structure.
4121 (struct test): Use struct test_results to store expected results
4122 for all rounding modes.
4123 (TEST): Include expected results for all rounding modes.
4124 (test_in_one_mode): New function.
4125 (do_test): Use test_in_one_mode to compute and check results.
4126 Check results for all rounding modes.
4127 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4130 2012-12-09 Allan McRae <allan@archlinux.org>
4132 * sysdeps/i386/fpu/libm-test-ulps: Update
4134 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4136 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4137 (_G_int32_t): Likewise.
4138 (_G_uint16_t): Likewise.
4139 (_G_uint32_t): Likewise.
4140 (_G_HAVE_BOOL): Likewise.
4141 (_G_HAVE_ATEXIT): Likewise.
4142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4143 (_G_HAVE_IO_FILE_OPEN): Likewise.
4144 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4145 (_G_int32_t): Likewise.
4146 (_G_uint16_t): Likewise.
4147 (_G_uint32_t): Likewise.
4148 (_G_HAVE_BOOL): Likewise.
4149 (_G_HAVE_ATEXIT): Likewise.
4150 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4151 (_G_HAVE_IO_FILE_OPEN): Likewise.
4152 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4153 (_G_int32_t): Likewise.
4154 (_G_uint16_t): Likewise.
4155 (_G_uint32_t): Likewise.
4156 (_G_HAVE_BOOL): Likewise.
4157 (_G_HAVE_ATEXIT): Likewise.
4158 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4159 (_G_HAVE_IO_FILE_OPEN): Likewise.
4161 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4163 * csu/libc-tls.c: Update copyright years.
4165 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4167 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4168 [!_G_USING_THUNKS]: Remove conditional code.
4169 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4170 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4172 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4173 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4174 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4175 (_G_VTABLE_LABEL_PREFIX): Likewise.
4176 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4177 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4178 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4179 (_G_VTABLE_LABEL_PREFIX): Likewise.
4180 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4181 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4182 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4183 (_G_VTABLE_LABEL_PREFIX): Likewise.
4184 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4186 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4188 * libio/Makefile: Include ../Makeconfig before tests.
4189 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4190 only if $(build-shared) is yes.
4192 * iconv/gconv_db.c: Update copyright years.
4194 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4197 unwind info if defined PIC. Fix special cases description.
4198 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4200 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4202 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4204 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4206 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4208 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4211 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4212 (LDLIBS-tst-chk4): This.
4213 (LDFLAGS-tst-chk5): Renamed to ...
4214 (LDLIBS-tst-chk5): This.
4215 (LDFLAGS-tst-chk6): Renamed to ...
4216 (LDLIBS-tst-chk6): This.
4217 (LDFLAGS-tst-lfschk4): Renamed to ...
4218 (LDLIBS-tst-lfschk4): This.
4219 (LDFLAGS-tst-lfschk5): Renamed to ...
4220 (LDLIBS-tst-lfschk5): This.
4221 (LDFLAGS-tst-lfschk6): Renamed to ...
4222 (LDLIBS-tst-lfschk6): This.
4224 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4225 on $(common-objpfx)soversions.mk.
4227 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4230 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4233 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4235 * malloc/arena.c (arena_get_retry): New function that gets
4236 another arena for the caller to try its request on.
4237 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4238 current arena cannot fulfill the request.
4239 (__libc_memalign): Likewise.
4240 (__libc_memalign): Likewise.
4241 (__libc_pvalloc): Likewise.
4242 (__libc_calloc): Likewise.
4244 2012-09-05 John Tobey <john.tobey@gmail.com>
4247 * manual/arith.texi (Operations on Complex): Fix description
4250 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4253 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4257 * manual/memory.texi (Memory): Make order of menu items match
4260 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4262 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4263 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4264 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4266 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4268 * csu/libc-tls.c (static_dtv): Renamed to ...
4269 (_dl_static_dtv): This. Make it global.
4270 (_dl_initial_dtv): Removed.
4271 (__libc_setup_tls): Updated.
4272 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4273 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4276 2012-09-06 Petr Machata <pmachata@redhat.com>
4278 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4279 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4280 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4281 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4283 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4286 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4287 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4290 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4293 * Makeconfig (link-static-before-libc): Replace $(+prector)
4295 (link-static-after-libc): Replace $(+postctor) with
4297 (link-bounded): Replace $(+prector)/$(+postctor) with
4298 $(+prectorT)/$(+postctorT).
4299 (+prectorT): New macro.
4300 (+postctorT): Likewise.
4302 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4304 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4305 (round_str): Handle values above the maximum for IBM long double
4307 * stdlib/tst-strtod-round.c (tests): Regenerated.
4309 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4311 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4313 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4314 zarch_nohighgprs around the zarch optimized routines.
4315 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4316 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4320 2012-09-05 David S. Miller <davem@davemloft.net>
4322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4324 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4325 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4326 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4327 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4330 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4332 * malloc/arena.c: Fold copyright years.
4333 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4337 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4339 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4341 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4343 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4345 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4346 change internal state upon failure.
4348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4350 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4351 * malloc/memusage.c (mmap): Likewise.
4352 (mmap64, mremap): Likewise. Adjust name in comment.
4354 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4356 * libio/fileops.c: Fix typos in comments.
4357 * libio/oldfileops.c: Likewise.
4358 * libio/wfileops.c: Likewise.
4360 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4363 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4364 (tst-malloc-usable-ENV): Set environment for test case.
4365 * malloc/hooks.c (malloc_check_get_size): New function to get
4367 * malloc/malloc.c (musable): Use malloc_check_get_size.
4368 * malloc/tst-malloc-usable.c: New test case.
4370 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4372 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4374 2012-09-05 Allan McRae <allan@archlinux.org>
4377 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4378 determine header location.
4379 * configure: Regenerated.
4381 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4383 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4385 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4386 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4390 2012-09-04 David S. Miller <davem@davemloft.net>
4392 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4393 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4394 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4396 2012-09-04 Florian Weimer <fweimer@redhat.com>
4398 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4401 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4403 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4406 * libio/iogetdelim.c: Include <limits.h>.
4407 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4408 + len + 1 would overflow.
4410 2012-09-03 Andreas Jaeger <aj@suse.de>
4412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4413 * sysdeps/i386/fpu/libm-test-ulps: Update.
4415 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4417 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4418 Add s_sinf-sse2, s_conf-sse2.
4420 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4421 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4422 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4423 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4425 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4426 for using routine as __sinf_ia32.
4427 Use macro for function declaration and weak_alias.
4428 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4429 for using routine as __cosf_ia32.
4430 Use macro for function declaration and weak_alias.
4432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4433 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4435 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4436 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4439 * math/libm-test.inc (cos_test): Add more test cases.
4440 (sin_test): Likewise.
4441 (sincos_test): Likewise.
4443 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4445 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4446 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4448 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4450 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4453 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4454 first element of the GOT.
4455 (elf_machine_load_address): Return the difference between
4456 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4458 2012-09-01 Allan McRae <allan@archlinux.org>
4461 * configure.in (AWK): Require gawk version 3.0 or later.
4462 * configure: Regenerated.
4464 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4466 * sysdeps/unix/sysv/linux/kernel-features.h
4467 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4469 [__NR_clock_getres]: Make code unconditional.
4470 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4471 (clock_getcpuclockid): Remove code left unreachable by removal of
4473 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4475 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4476 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4477 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4478 Make code unconditional.
4479 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4480 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4481 * sysdeps/unix/sysv/linux/clock_settime.c
4482 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4484 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4485 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4487 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4490 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4491 scripts/test-installation.pl.
4493 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4494 and $ld_so_version if it is set.
4496 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4499 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4500 failure if reading from procfs failed.
4501 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4503 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4505 * sysdeps/unix/sysv/linux/kernel-features.h
4506 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4507 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4508 Remove conditional code.
4509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4510 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4511 Remove conditional code.
4512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4513 * sysdeps/unix/sysv/linux/i386/fxstat.c
4514 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4516 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4517 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4519 * sysdeps/unix/sysv/linux/i386/lxstat.c
4520 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4522 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4523 Remove conditional code.
4524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4525 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4526 Remove conditional code.
4527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4529 <kernel-features.h>.
4530 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4532 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4533 Remove conditional code.
4534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4535 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4538 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4541 * NEWS: Add fixed bug number.
4543 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4546 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4547 underflowing exponent in case of negative sign.
4548 * stdlib/tst-strtod-round-data: Add more tests.
4549 * stdlib/tst-strtod-round.c (tests): Regenerated.
4552 * stdlib/strtod_l.c (NDIG): Remove.
4553 (HEXNDIG): Likewise.
4554 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4555 smallest representable value.
4556 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4557 lie within an exact representation of 1/2 ulp of the result.
4558 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4560 (TENS_P9_IDX): Define unconditionally.
4561 (TENS_P9_SIZE): Likewise.
4562 (TENS_P10_IDX): Likewise.
4563 (TENS_P10_SIZE): Likewise.
4564 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4565 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4566 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4567 entries for 10^2^13 and 10^2^14.
4568 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4569 (TENS_P13_IDX): Define.
4570 (TENS_P13_SIZE): Likewise.
4571 (TENS_P14_IDX): Likewise.
4572 (TENS_P14_SIZE): Likewise.
4573 (_fpioconst_pow10): Change array size to
4574 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4576 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4577 1024]: Add entries for 10^2^13 and 10^2^14.
4578 [LAST_POW10 > _LAST_POW10]: Remove #error.
4579 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4580 (_fpioconst_pow10): Change array size to
4581 FPIOCONST_POW10_ARRAY_SIZE.
4582 * stdlib/gen-fpioconst.c: New file.
4583 * stdlib/gen-tst-strtod-round.c: Likewise.
4584 * stdlib/tst-strtod-round-data: Likewise.
4585 * stdlib/tst-strtod-round.c: Likewise.
4586 * stdlib/Makefile (tests): Add tst-strtod-round.
4589 * stdlib/strtod_l.c: Include <stdint.h>.
4590 (NDEBUG): Do not define.
4591 (round_and_return): Change EXPONENT parameter to type intmax_t.
4592 Rearrange calculations to avoid internal overflow possibilities.
4593 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4594 Rearrange calculations to avoid internal overflow possibilities.
4595 Assert that number fits inside MPNSIZE limbs.
4596 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4597 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4598 calculations and add assertions to avoid internal overflow
4599 possibilities. Add casts to avoid signed/unsigned operations.
4600 * stdlib/tst-strtod-overflow.c: New file.
4601 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4603 2012-08-25 Marek Polacek <polacek@redhat.com>
4605 * time/time.h: Fix some typos in comments.
4607 2012-08-23 Roland McGrath <roland@hack.frob.com>
4609 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4610 * posix/tst-rfc3484-2.c: Likewise.
4611 * posix/tst-rfc3484-3.c: Likewise.
4613 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4615 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4616 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4618 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4620 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4621 #include of fxstatat64.c.
4623 2012-08-22 Roland McGrath <roland@hack.frob.com>
4625 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4626 * shadow/getspent_r.c: Likewise.
4627 * shadow/getspnam.c: Likewise.
4628 * shadow/getspnam_r.c: Likewise.
4629 * gshadow/getsgent.c: Likewise.
4630 * gshadow/getsgent_r.c: Likewise.
4631 * gshadow/getsgnam.c: Likewise.
4632 * gshadow/getsgnam_r.c: Likewise.
4633 * inet/getnetbyad.c: Likewise.
4634 * inet/getnetbyad_r.c: Likewise.
4635 * inet/getnetbynm.c: Likewise.
4636 * inet/getnetbynm_r.c: Likewise.
4637 * inet/getnetent.c: Likewise.
4638 * inet/getnetent_r.c: Likewise.
4639 * inet/getproto.c: Likewise.
4640 * inet/getproto_r.c: Likewise.
4641 * inet/getprtent.c: Likewise.
4642 * inet/getprtent_r.c: Likewise.
4643 * inet/getprtname.c: Likewise.
4644 * inet/getprtname_r.c: Likewise.
4645 * inet/getrpcbyname.c: Likewise.
4646 * inet/getrpcbyname_r.c: Likewise.
4647 * inet/getrpcbynumber.c: Likewise.
4648 * inet/getrpcbynumber_r.c: Likewise.
4649 * inet/getrpcent.c: Likewise.
4650 * inet/getrpcent_r.c: Likewise.
4651 * inet/getaliasent.c: Likewise.
4652 * inet/getaliasent_r.c: Likewise.
4653 * inet/getaliasname.c: Likewise.
4654 * inet/getaliasname_r.c: Likewise.
4655 * nscd/getgrgid_r.c: Likewise.
4656 * nscd/getgrnam_r.c: Likewise.
4657 * nscd/gethstbyad_r.c: Likewise.
4658 * nscd/gethstbynm3_r.c: Likewise.
4659 * nscd/getpwnam_r.c: Likewise.
4660 * nscd/getpwuid_r.c: Likewise.
4661 * nscd/getsrvbynm_r.c: Likewise.
4662 * nscd/getsrvbypt_r.c: Likewise.
4663 * nscd/gai.c: Likewise.
4665 * configure.in (build_nscd): New substituted variable, set
4666 by --disable-build-nscd and defaults to $use_nscd.
4667 * configure: Regenerated.
4668 * config.make.in (build-nscd): New substituted variable.
4669 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4670 Change conditional to require [$(build-nscd) = yes] as well.
4671 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4674 * configure.in (use_nscd): New substituted variable, set by
4675 --disable-nscd. If enabled, define USE_NSCD.
4676 * configure: Regenerated.
4677 * config.h.in: Add USE_NSCD.
4678 * config.make.in (use-nscd): New substituted variable.
4679 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4680 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4681 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4682 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4683 (CFLAGS-getgrnam_r.c): Likewise.
4684 (CFLAGS-initgroups.c): Likewise.
4685 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4686 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4688 * inet/getnetgrent_r.c
4689 (nscd_setnetgrent): New function, broken out of ...
4690 (setnetgrent): ... here. Call it.
4691 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4692 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4693 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4694 * nscd/Makefile (routines, aux): Move definitions after include of
4695 Makeconfig. Conditionalize on [$(use-nscd) != no].
4696 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4697 Conditionalize on [USE_NSCD].
4698 (is_nscd, nscd_init_cb): Likewise.
4699 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4700 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4701 * nss/nss_db/db-init.c: Likewise.
4702 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4704 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4705 (make_request): Use it.
4706 (cache_valid_p): New function.
4707 (__check_pf): Use it.
4708 * NEWS: Add item for --disable-nscd.
4710 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4712 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4713 to support sed >= 4.2.1-20-ga9bf076.
4714 * configure: Regenerated.
4716 2012-08-22 Roland McGrath <roland@hack.frob.com>
4718 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4719 Conditionalize whole body on [IREL].
4721 2012-08-22 Jeff Law <law@redhat.com>
4724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4725 if the family is PF_UNSPEC.
4727 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4729 * Makerules (lib-version): Rename from V.
4730 (install-lib-nosubdir): Change V to lib-version.
4732 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4735 * powerpc32/power6/wcschr.c: New file.
4736 * powerpc32/power6/wcscpy.c: New file.
4737 * powerpc32/power6/wcsrchr.c: New file.
4738 * powerpc64/power6/wcschr.c: New file.
4739 * powerpc64/power6/wcscpy.c: New file.
4740 * powerpc64/power6/wcsrchr.c: New file.
4742 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4744 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4745 (two_way_short_needle): Use it.
4746 * string/strstr.c (AVAILABLE1_USES_J): Define.
4747 * string/strcasestr.c: Likewise.
4749 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4751 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4754 * NEWS: Add an entry.
4755 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4756 define their defaults.
4757 (two_way_short_needle): Detect end-of-string on-the-fly.
4758 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4759 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4760 * string/bug-strcasestr1.c: New test.
4761 * string/Makefile: Run it.
4763 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4766 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4767 the first character.
4769 2012-08-21 Roland McGrath <roland@hack.frob.com>
4771 * csu/elf-init.c (__libc_csu_irel): Function removed.
4772 * csu/libc-start.c (apply_irel): New function.
4773 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4775 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4777 * sysdeps/unix/sysv/linux/kernel-features.h
4778 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4779 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4780 <kernel-features.h>.
4781 [__NR_fadvise64_64]: Make code unconditional.
4782 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4783 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4784 !__NR_fadvise64_64)]: Likewise.
4785 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4786 !__NR_fadvise64_64))]: Likewise.
4787 [__NR_fadvise64]: Make code unconditional.
4788 [!__NR_fadvise64]: Remove conditional code.
4789 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4790 <kernel-features.h>.
4791 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4793 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4796 not include <kernel-features.h>.
4797 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4799 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4801 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4802 include <kernel-features.h>.
4803 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4805 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4808 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4811 slight instruction rearrangements per scrollpipe analysis.
4812 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4814 2012-08-20 Roland McGrath <roland@hack.frob.com>
4816 * manual/syslog.texi (syslog; vsyslog, closelog):
4817 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4818 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4820 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4821 DSOCAPS to match condition on defining it.
4823 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4825 * sysdeps/unix/sysv/linux/kernel-features.h
4826 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4828 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4829 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4831 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4832 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4834 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4835 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4837 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4838 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4840 * sysdeps/unix/sysv/linux/kernel-features.h
4841 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4842 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4844 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4845 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4846 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4847 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4848 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4849 Make code unconditional.
4850 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4851 (__mmap64) [!__NR_mmap2]: Likewise.
4852 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4853 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4854 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4855 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4856 [__NR_mmap2]: Make code unconditional.
4857 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4858 (__mmap64) [!__NR_mmap2]: Likewise.
4860 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4862 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4864 2012-08-18 Andreas Jaeger <aj@suse.de>
4866 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4868 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4870 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4871 * include/unistd.h (__have_sock_cloexec): Likewise.
4872 (__have_pipe2): Likewise.
4873 (__have_dup3): Likewise.
4875 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4878 * include/unistd.h (__have_pipe2): Change define into an extern int.
4879 (__have_dup3): Likewise.
4880 * socket/have_sock_cloexec.c: Include fcntl.h.
4881 (__have_pipe2): New variable.
4882 (__have_dup3): Likewise.
4884 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4886 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4888 2012-08-17 Marek Polacek <polacek@redhat.com>
4890 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4891 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4893 2012-08-17 Roland McGrath <roland@hack.frob.com>
4895 * configure.in: Add AC_SUBST for sysheaders.
4896 * configure: Regenerated.
4897 * config.make.in (sysheaders): New substituted variable.
4899 * sysdeps/unix/mkfifo.c: Moved ...
4900 * sysdeps/posix/mkfifo.c: ... here.
4901 * sysdeps/unix/mkfifoat.c: Moved ...
4902 * sysdeps/posix/mkfifoat.c: ... here.
4904 * sysdeps/unix/utime.c: Moved ...
4905 * sysdeps/posix/utime.c: ... here.
4907 * sysdeps/unix/time.c: Moved ...
4908 * sysdeps/posix/time.c: ... here.
4909 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4910 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4912 * sysdeps/unix/nice.c: Moved ...
4913 * sysdeps/posix/nice.c: ... here.
4915 * sysdeps/unix/alarm.c: Moved ...
4916 * sysdeps/posix/alarm.c: ... here.
4918 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4920 2012-08-17 Jeff Law <law@redhat.com>
4922 * intl/Makefile (codeset_mo): New variable.
4923 ($(codeset_mo)): New target.
4924 (tst-codeset.out): Depend on that. Remove explicit rule.
4925 (tst-gettext3.out, tst-gettext5.out): Likewise.
4926 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4927 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4928 * intl/tst-codeset.sh: Remove.
4929 * intl/tst-gettext3.sh: Likewise.
4930 * intl/tst-gettext5.sh: Likewise.
4932 2012-08-17 Roland McGrath <roland@hack.frob.com>
4934 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4935 * sysdeps/unix/syscalls.list: ... here.
4937 * sysdeps/posix/getaddrinfo.c
4938 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4939 (gaiconf_init, gaiconf_reload): Use them.
4941 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4942 Define using time_t rather than struct timespec.
4944 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4945 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4947 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4949 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4950 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4953 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4954 __libc_cleanup_push argument.
4956 * bits/param.h: New file.
4957 * misc/sys/param.h: New file.
4958 * include/sys/param.h: New file.
4959 * misc/Makefile (headers): Add bits/param.h.
4960 * sysdeps/generic/sys/param.h: File removed.
4961 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4962 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4963 * sysdeps/mach/hurd/bits/param.h: New file.
4964 * sysdeps/mach/hurd/sys/param.h: File removed.
4966 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4969 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4971 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4972 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4975 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4976 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4977 rather than -D_IO_MTSAFE_IO conditionally.
4978 * stdio-common/Makefile (CPPFLAGS): Likewise.
4979 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4980 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4981 Use $(libio-mtsafe).
4982 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4984 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4985 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4986 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4987 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4988 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4989 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4990 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4991 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4992 (CFLAGS-fread_u_chk.c): Likewise.
4993 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4994 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4995 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4996 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4997 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4998 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4999 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5000 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5001 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5003 * libio/Makefile: Test [$(libc-reentrant) = yes]
5004 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5007 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5008 * sysdeps/pthread/configure: File removed.
5009 * sysdeps/pthread/Makeconfig: New file.
5010 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5011 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5013 2012-08-16 Gary Benson <gbenson@redhat.com>
5015 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5016 unmapping the first object in a namespace.
5018 2012-08-16 Roland McGrath <roland@hack.frob.com>
5020 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5021 (__internal_setnetgrent): ... this. Add internal_function to
5022 definition. Add libc_hidden_def.
5023 (setnetgrent): Update caller.
5024 (internal_endnetgrent): Renamed to ...
5025 (__internal_endnetgrent): ... this. Add internal_function to
5026 definition. Add libc_hidden_def.
5027 (endnetgrent): Update caller.
5028 (internal_getnetgrent_r): Renamed to ...
5029 (__internal_getnetgrent_r): ... this. Add internal_function to
5030 definition. Add libc_hidden_def.
5031 (__getnetgrent_r): Update caller.
5032 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5034 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5036 * stdlib/longlong.h: Update from GCC.
5038 2012-08-16 Roland McGrath <roland@hack.frob.com>
5040 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5041 on _QL, which is set by umul_ppmm but never used.
5042 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5043 variables, which are set by GMP macros but never used.
5044 * stdio-common/_itowa.c (_itowa): Likewise.
5045 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5046 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5048 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5050 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5051 struct La_sh_regs is not constant.
5052 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5053 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5054 and struct La_sparc64_regs are not constant.
5056 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5058 * sysdeps/unix/sysv/linux/kernel-features.h
5059 (__ASSUME_POSIX_TIMERS): Remove.
5060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5061 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5062 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5063 Make code unconditional.
5064 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5065 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5066 Make code unconditional.
5067 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5068 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5069 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5071 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5072 Make code unconditional.
5073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5074 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5075 (__libc_missing_posix_timers): Remove.
5077 2012-08-15 Roland McGrath <roland@hack.frob.com>
5079 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5080 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5082 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5084 * elf/dl-sym.c: Include <stdlib.h>.
5086 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5087 constants, which avoids warnings in 32-bit builds.
5089 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5090 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5092 * misc/lseek.c: File moved to ...
5093 * io/lseek.c: ... here.
5095 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5097 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5098 shifting LEN more than 31 bits at once.
5100 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5103 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5104 segmentation fault for a case of two empty input strings.
5105 * string/test-strncasecmp.c (check1): Renamed to...
5107 (bz14195): Add new testcase for two empty input strings and N > 0.
5108 (test_main): Call new testcase, adapt for renamed function.
5110 2012-08-15 Andreas Jaeger <aj@suse.de>
5113 * crypt/md5test2.c: New test, based on test supplied by Serge
5114 Belyshev <belyshev@depni.sinp.msu.ru>.
5115 * crypt/Makefile (xtests): Add md5test-giant..
5116 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5118 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5121 * crypt/md5.c (md5_process_block): Don't assume the buffer
5122 length is less than 2**32.
5123 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5124 length is less than 2**64.
5126 2012-08-15 Roland McGrath <roland@hack.frob.com>
5128 * string/str-two-way.h: Include <sys/param.h>.
5129 (MAX): Macro removed.
5131 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5132 Move #define and #undef of memmove to just before and after
5133 including <string.h>.
5135 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5136 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5137 and after including <string.h>. Move declarations of
5138 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5139 to before #include "string/memmove.c".
5141 * include/dirent.h: Declare __getdirentries.
5143 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5144 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5146 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5148 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5149 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5150 * sysdeps/i386/configure: Regenerated.
5151 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5152 STABS_CURRENT_FILE, and STABS_FUN.
5153 (END): Remove call to STABS_FUN_END.
5154 (STABS_CURRENT_FILE1): Delete.
5155 (STABS_CURRENT_FILE): Likewise.
5156 (STABS_FUN): Likewise.
5157 (STABS_FUN_END): Likewise.
5158 (STABS_FUN2): Likewise.
5159 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5160 * sysdeps/x86_64/configure: Regenerated.
5162 2012-08-14 Roland McGrath <roland@hack.frob.com>
5164 * elf/dl-open.c: Include <atomic.h>.
5165 * elf/dl-lookup.c: Likewise.
5167 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5169 * sysdeps/unix/sysv/linux/kernel-features.h
5170 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5171 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5173 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5175 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5176 condition on __ASSUME_CLONE_THREAD_FLAGS.
5178 2012-08-14 Andreas Jaeger <aj@suse.de>
5180 * sysdeps/i386/fpu/libm-test-ulps: Update.
5182 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5184 * include/atomic.h (atomic_exchange_and_add): Split into ...
5185 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5188 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5192 2012-08-13 Jeff Law <law@redhat.com>
5194 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5195 null byte in the output string.
5197 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5199 * sysdeps/unix/sysv/linux/kernel-features.h
5200 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5201 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5202 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5203 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5204 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5205 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5206 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5208 2012-08-09 Jeff Law <law@redhat.com>
5211 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5212 When avoid_arena is set, don't retry in the that arena. Pick the
5213 next one, whatever it might be.
5214 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5215 (arena_lock): Pass in new parameter to arena_get2.
5216 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5218 (__libc_malloc): Unify retrying after main arena failure with
5219 __libc_memalign version.
5220 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5222 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5225 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5226 to __redirect_strstr.
5227 (__strstr_sse42): Use typeof __redirect_strstr.
5228 (__strstr_ia32): Likewise.
5229 (__libc_strstr): New prototype.
5230 (strstr): Renamed to ...
5231 (__libc_strstr): This.
5232 (strstr): New strong alias of __libc_strstr.
5233 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5234 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5237 (__libc_time): New prototype.
5238 (time_ifunc): Replace time with __libc_time.
5239 (time): New strong alias and hidden definition of __libc_time.
5240 (__GI_time): Remove strong alias.
5241 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5243 (memmove): Redefined to __redirect_memmove.
5244 (__memmove_sse2): Use typeof __redirect_memmove.
5245 (__memmove_ssse3): Likewise.
5246 (__memmove_ssse3_back): Likewise.
5247 (__libc_memmove): New prototype.
5248 (memmove): Renamed to ...
5249 (__libc_memmove): This.
5250 (memmove): New strong alias of __libc_memmove.
5252 2012-08-08 Mark Salter <msalter@redhat.com>
5255 (R_MN10300_TLS_GD): Define.
5256 (R_MN10300_TLS_LD): Likewise.
5257 (R_MN10300_TLS_LDO): Likewise.
5258 (R_MN10300_TLS_GOTIE): Likewise.
5259 (R_MN10300_TLS_IE): Likewise.
5260 (R_MN10300_TLS_LE): Likewise.
5261 (R_MN10300_TLS_DTPMOD): Likewise.
5262 (R_MN10300_TLS_DTPOFF): Likewise.
5263 (R_MN10300_TLS_TPOFF): Likewise.
5264 (R_MN10300_SYM_DIFF): Likewise.
5265 (R_MN10300_ALIGN): Likewise.
5266 (R_MN10300_NUM): Update.
5268 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5273 2012-08-08 Roland McGrath <roland@hack.frob.com>
5275 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5277 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5278 sysdeps/unix -> sysdeps/posix move.
5279 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5281 2012-08-07 Allan McRae <allan@archlinux.org>
5284 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5285 (SUNOS_CPP): Likewise.
5286 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5288 (open_input): Call CPP using execvp.
5290 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5292 * sysdeps/unix/sysv/linux/kernel-features.h
5293 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5294 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5295 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5296 (__ASSUME_WAITID_SYSCALL): Likewise.
5297 * sysdeps/unix/sysv/linux/dl-execstack.c
5298 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5300 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5302 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5303 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5304 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5306 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5308 [__ASSUME_WAITID_SYSCALL]: Likewise.
5309 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5311 2012-08-07 Roland McGrath <roland@hack.frob.com>
5313 * sysdeps/unix/closedir.c: Renamed to ...
5314 * sysdeps/posix/closedir.c: ... here.
5315 * sysdeps/unix/dirfd.c: Renamed to ...
5316 * sysdeps/posix/dirfd.c: ... here.
5317 * sysdeps/unix/dirstream.h: Renamed to ...
5318 * sysdeps/posix/dirstream.h: ... here.
5319 * sysdeps/unix/fdopendir.c: Renamed to ...
5320 * sysdeps/posix/fdopendir.c: ... here.
5321 * sysdeps/unix/opendir.c: Renamed to ...
5322 * sysdeps/posix/opendir.c: ... here.
5323 * sysdeps/unix/readdir.c: Renamed to ...
5324 * sysdeps/posix/readdir.c: ... here.
5325 * sysdeps/unix/readdir_r.c: Renamed to ...
5326 * sysdeps/posix/readdir_r.c: ... here.
5327 * sysdeps/unix/rewinddir.c: Renamed to ...
5328 * sysdeps/posix/rewinddir.c: ... here.
5329 * sysdeps/unix/seekdir.c: Renamed to ...
5330 * sysdeps/posix/seekdir.c: ... here.
5331 * sysdeps/unix/telldir.c: Renamed to ...
5332 * sysdeps/posix/telldir.c: ... here.
5333 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5334 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5335 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5336 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5338 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5339 * bits/fcntl.h: ... here.
5341 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5343 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5344 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5345 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5346 (struct flock): Move l_start, l_len to the beginning.
5347 Use __pid_t for l_pid.
5348 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5349 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5350 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5351 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5352 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5353 [__USE_LARGEFILE64] (struct flock64): New type.
5354 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5356 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5357 * bits/dirent.h: ... here.
5359 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5360 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5362 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5365 Change from 2.6.0 to 2.6.16.
5366 * sysdeps/unix/sysv/linux/configure: Regenerated.
5367 * sysdeps/unix/sysv/linux/kernel-features.h
5368 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5369 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5371 (__ASSUME_UTIMES): Likewise.
5372 (__ASSUME_CLONE_STOPPED): Remove.
5373 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5374 architectures, not kernel version.
5375 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5376 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5377 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5378 (__ASSUME_WAITID_SYSCALL): Likewise.
5379 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5380 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5381 * README: State 2.6.16 as minimum Linux kernel version. Do not
5382 refer to older versions.
5384 2012-08-06 Roland McGrath <roland@hack.frob.com>
5386 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5387 Define alphasort64 as an alias.
5388 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5389 Define versionsort64 as an alias.
5390 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5391 Define scandir64 as an alias.
5392 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5393 Define scandirat64 as an alias.
5394 * dirent/alphasort64.c (alphasort64):
5395 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5396 * dirent/versionsort64.c: Likewise.
5397 * dirent/scandir64.c: Likewise.
5398 * dirent/scandirat64.c: Likewise.
5399 * sysdeps/wordsize-64/alphasort.c: File removed.
5400 * sysdeps/wordsize-64/alphasort64.c: File removed.
5401 * sysdeps/wordsize-64/scandir.c: File removed.
5402 * sysdeps/wordsize-64/scandir64.c: File removed.
5403 * sysdeps/wordsize-64/scandirat.c: File removed.
5404 * sysdeps/wordsize-64/scandirat64.c: File removed.
5405 * sysdeps/wordsize-64/versionsort.c: File removed.
5406 * sysdeps/wordsize-64/versionsort64.c: File removed.
5407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5408 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5410 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5412 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5413 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5414 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5416 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5418 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5420 [defined __arch64__ || defined __sparcv9]
5421 (__INO_T_MATCHES_INO64_T): New macro.
5422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5423 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5424 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5425 * sysdeps/unix/sysv/linux/bits/dirent.h
5426 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5427 (_DIRENT_MATCHES_DIRENT64): New macro.
5429 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5430 Define lockf64 as an alias.
5431 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5432 Define fseeko64 as an alias.
5433 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5434 Define ftello64 as an alias.
5435 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5436 Define _IO_fgetpos64 and fgetpos64 as aliases.
5437 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5438 Define _IO_fsetpos64 and fsetpos64 as aliases.
5439 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5440 Conditionalize body on this.
5441 * libio/fseeko64.c: Likewise.
5442 * libio/ftello64.c: Likewise.
5443 * libio/iofgetpos64.c: Likewise.
5444 * libio/iofsetpos64.c: Likewise.
5445 * sysdeps/wordsize-64/lockf.c: File removed.
5446 * sysdeps/wordsize-64/lockf64.c: File removed.
5447 * sysdeps/wordsize-64/fseeko.c: File removed.
5448 * sysdeps/wordsize-64/fseeko64.c: File removed.
5449 * sysdeps/wordsize-64/ftello.c: File removed.
5450 * sysdeps/wordsize-64/ftello64.c: File removed.
5451 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5452 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5453 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5454 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5455 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5456 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5458 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5460 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5461 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5462 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5463 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5464 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5466 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5468 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5470 [defined __arch64__ || defined __sparcv9]
5471 (__OFF_T_MATCHES_OFF64_T): New macro.
5472 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5473 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5475 (__OFF_T_MATCHES_OFF64_T): New macro.
5477 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5479 * stdlib/secure-getenv.c (__secure_getenv): Replace
5480 GLIBC_2_16 with GLIBC_2_17.
5482 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5485 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5487 2012-08-03 David S. Miller <davem@davemloft.net>
5489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5491 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5495 (__ASSUME_CORRECT_SI_PID): Likewise.
5496 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5497 (__ASSUME_TMPFS_NAME): Likewise.
5498 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5499 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5500 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5501 (HAVE_AUX_SECURE): Make definition unconditional.
5502 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5503 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5505 2012-08-03 Roland McGrath <roland@hack.frob.com>
5507 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5508 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5509 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5510 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5511 __eloop_threshold instead of SYMLOOP_MAX.
5513 * sysdeps/generic/eloop-threshold.h: New file.
5514 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5516 * elf/chroot_canon.c (chroot_canon): Likewise.
5518 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5522 Change to 2.6.0 everywhere.
5523 * sysdeps/unix/sysv/linux/configure: Regenerated.
5524 * sysdeps/unix/sysv/linux/kernel-features.h
5525 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5526 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5528 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5529 (__ASSUME_FUTEX_REQUEUE): Remove.
5530 (__ASSUME_STATFS64): Define unconditionally.
5531 (__ASSUME_AT_SECURE): Likewise.
5532 (__ASSUME_CORRECT_SI_PID): Likewise.
5533 (__ASSUME_TGKILL): Define without depending on kernel version for
5535 (__ASSUME_UTIMES): Likewise.
5536 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5538 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5539 (__ASSUME_TMPFS_NAME): Likewise.
5540 * README: Update reference to Linux kernel versions.
5542 2012-08-02 Marek Polacek <polacek@redhat.com>
5545 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5546 libc_cv_asm_type_prefix with %.
5547 * configure: Regenerated.
5548 * include/libc-symbols.h: Remove comment about
5549 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5550 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5551 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5552 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5553 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5554 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5555 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5556 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5557 * elf/tst-unique2mod1.c: Likewise.
5558 * elf/tst-unique1mod2.c: Likewise.
5559 * elf/tst-unique1mod1.c: Likewise.
5560 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5561 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5562 Replace ASM_TYPE_DIRECTIVE with .type.
5563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5564 * sysdeps/i386/sysdep.h: Likewise.
5565 * sysdeps/x86_64/sysdep.h: Likewise.
5566 * sysdeps/sh/sysdep.h: Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5568 Do not define ASM_TYPE_DIRECTIVE.
5569 * sysdeps/powerpc/sysdep.h: Likewise.
5570 * sysdeps/powerpc/powerpc32/sysdep.h:
5571 Replace ASM_TYPE_DIRECTIVE with .type.
5572 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5573 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5574 * sysdeps/i386/fpu/e_powf.S: Likewise.
5575 * sysdeps/i386/fpu/e_expl.S: Likewise.
5576 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5577 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5578 * sysdeps/i386/fpu/e_pow.S: Likewise.
5579 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5581 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5582 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5583 * sysdeps/i386/fpu/e_log2.S: Likewise.
5584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5586 * sysdeps/i386/fpu/e_powl.S: Likewise.
5587 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5588 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5589 * sysdeps/i386/fpu/e_logl.S: Likewise.
5590 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5591 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5592 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5593 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5594 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5595 * sysdeps/i386/fpu/e_log.S: Likewise.
5596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5597 * sysdeps/i386/fpu/e_logf.S: Likewise.
5598 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5599 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5600 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5601 * sysdeps/i386/fpu/e_log10.S: Likewise.
5602 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5603 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5604 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5605 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5606 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5607 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5608 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5609 * sysdeps/i386/i686/strtok.S: Likewise.
5610 * sysdeps/i386/i386-mcount.S: Likewise.
5611 * sysdeps/i386/strtok.S: Likewise.
5612 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5613 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5614 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5615 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5616 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5621 * sysdeps/x86_64/_mcount.S: Likewise.
5622 * sysdeps/x86_64/strtok.S: Likewise.
5623 * sysdeps/sh/_mcount.S: Likewise.
5625 2012-08-01 Roland McGrath <roland@hack.frob.com>
5627 * libio/iofopen.c: Include <fcntl.h>.
5628 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5629 (_IO_fopen64, fopen64): Define as aliases.
5630 * libio/iofopen64.c: Include <fcntl.h>.
5631 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5632 Conditionalize body on this.
5633 * sysdeps/wordsize-64/iofopen.c: File removed.
5634 * sysdeps/wordsize-64/iofopen64.c: File removed.
5636 2012-08-01 Marek Polacek <polacek@redhat.com>
5638 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5639 Use dlfcn directly instead of a variable.
5640 (binfmt-subdir): Do not define.
5643 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5646 Remove all definitions.
5647 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5648 <kernel-features.h>.
5649 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5650 (miss_F_GETOWN_EX): Remove all definitions.
5651 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5653 [!__ASSUME_FCNTL64]: Remove conditional code.
5654 [__ASSUME_FCNTL64]: Make code unconditional.
5655 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5656 <kernel-features.h>.
5657 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5658 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5659 (lockf64) [__NR_fcntl64]: Make code unconditional.
5660 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5662 * sysdeps/unix/sysv/linux/kernel-features.h
5663 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5664 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5665 Make code unconditional.
5666 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5667 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5669 [__NR_vfork]: Make code unconditional.
5670 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5671 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5673 [__NR_vfork]: Make code unconditional.
5674 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5675 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5677 2012-08-01 Roland McGrath <roland@hack.frob.com>
5679 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5680 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5682 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5683 Define mkstemp64 as an alias.
5684 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5685 Define mkstemps64 as an alias.
5686 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5687 Define mkostemp64 as an alias.
5688 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5689 Define mkostemps64 as an alias.
5690 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5691 Conditionalize body on this.
5692 * misc/mkostemp64.c: Likewise.
5693 * misc/mkostemps64.c: Likewise.
5694 * misc/mkstemps64.c: Likewise.
5695 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5696 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5697 * sysdeps/wordsize-64/mkostemp.c: File removed.
5698 * sysdeps/wordsize-64/mkstemp.c: File removed.
5699 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5700 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5701 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5705 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5706 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5707 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5708 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5710 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5711 compat_symbol macros from <shlib-compat.h> rather than the underlying
5712 default_symbol_version and symbol_version macros, so that DEFAULT
5713 lines in shlib-versions are respected.
5714 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5716 2012-08-01 Florian Weimer <fweimer@redhat.com>
5718 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5719 Declare with warn_unused_result.
5720 (setgid, setregid, setegid, setresgid): Likewise.
5721 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5723 * WUR-REPORT: Remove set*id functions.
5725 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5727 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5729 2012-07-31 Roland McGrath <roland@hack.frob.com>
5731 * include/sys/socket.h (__libc_accept, __libc_accept4):
5732 Add attribute_hidden.
5733 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5737 * inet/getnetgrent_r.c (setup): Likewise.
5739 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5741 2012-07-31 David S. Miller <davem@davemloft.net>
5743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5745 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5748 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5749 value between 1.0 and 2.0 and smaller part has absolute value less
5751 * math/s_clog10.c (__clog10): Likewise.
5752 * math/s_clog10f.c (__clog10f): Likewise.
5753 * math/s_clog10l.c (__clog10l): Likewise.
5754 * math/s_clogf.c (__clogf): Likewise.
5755 * math/s_clogl.c (__clogl): Likewise.
5756 * math/libm-test.inc (clog_test): Add more tests.
5757 (clog10_test): Likewise.
5758 * sysdeps/i386/fpu/libm-test-ulps: Update.
5759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5761 2012-07-31 Florian Weimer <fweimer@redhat.com>
5763 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5764 Exit with zero in case no suitable GID is found, and write a
5765 message to standard error.
5767 2012-07-30 Roland McGrath <roland@hack.frob.com>
5769 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5771 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5772 (MAXPATHLEN): Removed.
5773 (NOGROUP, NODEV): New macros.
5774 (setbit, clrbit, isset, isclr): New macros.
5775 (howmany, roundup, powerof2): New macros.
5776 (DEV_BSIZE): New macro.
5778 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5779 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5781 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5782 definition on [!__NO_LONG_DOUBLE_MATH].
5784 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5785 PTR_MANGLE and PTR_DEMANGLE.
5787 * socket/accept4.c (accept4): Rename to __libc_accept4.
5788 Define accept4 as a weak alias.
5790 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5791 on [_DIRENT_HAVE_D_TYPE].
5792 * io/ftw.c (ftw_dir): Likewise.
5794 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5796 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5798 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5799 Use the BSD numbers rather than the arbitrary ones we had.
5800 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5801 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5802 (SIGXCPU, SIGXFSZ): New macros.
5805 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5806 initializer on [_LIBC_REENTRANT].
5808 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5809 definitions inside [_POSIX_MAPPED_FILES].
5811 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5813 * dirent/opendir.c: Include <fcntl.h>.
5815 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5816 (__libc_getspecific): Likewise.
5817 (__libc_key_create): Likewise.
5819 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5820 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5821 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5822 (tmpfile64): Define as alias.
5823 * sysdeps/wordsize-64/tmpfile.c: File removed.
5824 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5828 * stdio-common/vfscanf.c: Include <stdbool.h>.
5829 * nss/makedb.c: Likewise.
5830 * stdio-common/_i18n_number.h: Likewise.
5831 * argp/argp-help.c: Likewise.
5832 * posix/wordexp.c: Likewise.
5833 * sysdeps/posix/spawni.c: Likewise.
5834 * nss/nss_files/files-initgroups.c: Likewise.
5835 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5836 * nss/nss_files/files-initgroups.c: Likewise.
5837 * nss/nss_db/db-netgrp.c: Likewise.
5838 * nss/nss_db/db-initgroups.c: Likewise.
5839 * io/fchmodat.c: Include <sys/stat.h>.
5841 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5842 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5844 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5847 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5848 Add multiple inclusion protection.
5850 2012-07-27 David S. Miller <davem@davemloft.net>
5852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5854 2012-07-27 Gary Benson <gbenson@redhat.com>
5857 * elf/rtld.c: Include <stap-probe.h>.
5858 (dl_main): Added static probes "init_start" and "init_complete".
5859 * elf/dl-load.c: Include <stap-probe.h>.
5860 (lose): Take new parameter "nsid".
5861 Added static probe "map_failed".
5862 (_dl_map_object_from_fd): Pass namespace id to lose.
5863 Added static probe "map_start".
5864 (open_verify): Pass namespace id to lose.
5865 * elf/dl-open.c: Include <stap-probe.h>.
5866 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5867 and "reloc_complete".
5868 * elf/dl-close.c: Include <stap-probe.h>.
5869 (_dl_close_worker): Added static probes "unmap_start" and
5871 * elf/rtld-debugger-interface.txt: New file documenting the above.
5873 2012-07-26 Roland McGrath <roland@hack.frob.com>
5875 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5876 rather than a string variable.
5877 * sunrpc/rpc_main.c (h_output): Likewise.
5878 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5880 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5882 * inet/check_native.c: New file.
5884 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5887 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5888 if larger part has absolute value 1.0.
5889 * math/s_clog10.c (__clog10): Likewise.
5890 * math/s_clog10f.c (__clog10f): Likewise.
5891 * math/s_clog10l.c (__clog10l): Likewise.
5892 * math/s_clogf.c (__clogf): Likewise.
5893 * math/s_clogl.c (__clogl): Likewise.
5894 * math/libm-test.inc (clog_test): Add more tests.
5895 (clog10_test): Likewise.
5896 * sysdeps/i386/fpu/libm-test-ulps: Update.
5897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5899 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5900 (pltexit): Likewise.
5901 (La_regs): Likewise.
5902 (La_retval): Likewise.
5903 (int_retval): Likewise.
5904 Update #error for removed macros to refer only to definitions in
5906 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5908 (pltexit): Likewise.
5909 (La_regs): Likewise.
5910 (La_retval): Likewise.
5911 (int_retval): Likewise.
5912 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5914 (pltexit): Likewise.
5915 (La_regs): Likewise.
5916 (La_retval): Likewise.
5917 (int_retval): Likewise.
5918 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5920 (pltexit): Likewise.
5921 (La_regs): Likewise.
5922 (La_retval): Likewise.
5923 (int_retval): Likewise.
5924 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5926 (pltexit): Likewise.
5927 (La_regs): Likewise.
5928 (La_retval): Likewise.
5929 (int_retval): Likewise.
5930 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5932 (pltexit): Likewise.
5933 (La_regs): Likewise.
5934 (La_retval): Likewise.
5935 (int_retval): Likewise.
5936 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5938 (pltexit): Likewise.
5939 (La_regs): Likewise.
5940 (La_retval): Likewise.
5941 (int_retval): Likewise.
5942 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5943 macro definitions in tst-audit.h.
5944 * sysdeps/i386/tst-audit.h: New file.
5945 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5946 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5947 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5948 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5949 * sysdeps/sh/tst-audit.h: Likewise.
5950 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5951 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5952 * sysdeps/x86_64/tst-audit.h: Likewise.
5954 2012-07-26 Andreas Jaeger <aj@suse.de>
5956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5959 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5960 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5961 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5963 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5964 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5967 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5970 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5972 (si_call_addr, si_syscall, si_arch): Define new macro.
5973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5975 (si_call_addr, si_syscall, si_arch): Define new marcro.
5976 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5978 (si_call_addr, si_syscall, si_arch): Define new macro.
5979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5981 (si_call_addr, si_syscall, si_arch): Define new macro.
5983 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5986 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5987 Change to 2.4.21 where previously 2.4.1.
5988 * sysdeps/unix/sysv/linux/configure: Regenerated.
5989 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5990 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5991 Linux kernel version.
5992 (__ASSUME_STD_AUXV): Remove.
5993 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5995 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5996 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5997 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5998 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5999 (__ASSUME_NETLINK_SUPPORT): Likewise.
6000 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6001 (__no_netlink_support): Remove conditional definition.
6002 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6004 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6005 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6006 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6007 (if_nameindex_ioctl): Remove.
6008 (if_nameindex_netlink): Do not handle __no_netlink_support.
6009 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6011 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6012 Remove conditional code.
6013 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6015 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6017 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6018 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6019 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6021 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6022 [!__ASSUME_STD_AUXV]: Remove conditional code.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6024 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6025 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6027 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6028 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6030 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6032 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6033 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6035 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6037 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6040 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6043 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6045 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6047 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6049 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6052 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6054 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6057 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6059 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6061 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6063 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6066 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6068 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6070 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6072 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6075 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6077 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6078 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6079 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6080 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6081 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6082 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6083 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6084 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6085 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6086 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6087 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6088 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6089 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6090 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6092 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6093 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6094 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6095 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6097 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6098 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6101 2012-07-25 Florian Weimer <fweimer@redhat.com>
6103 * Versions.def: Add GLIBC_2.17.
6104 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6105 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6106 Introduce __libc_secure_getenv.
6107 * stdlib/Versions (2.17): Add secure_getenv
6108 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6109 * stdlib/secure-getenv.c: Rename __secure_getenv to
6110 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6111 symbol __secure_getenv for GLIBC_2.0.
6112 * stdlib/tst-secure-getenv.c: New.
6113 * stdlib/Makefile (tests): Add testcase.
6114 * manual/startup.texi (Environment Access): Document
6116 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6117 __libc_secure_getenv.
6118 * inet/ruserpass.c (ruserpass): Likewise.
6119 * malloc/mtrace.c (mtrace): Likewise.
6120 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6121 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6122 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6123 * sysdeps/posix/tempname.c: Likewise. Evaluate
6125 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6126 __secure_getenv to __libc_secure_getenv.
6127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6140 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6142 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6143 (struct La_i86_retval): Likewise.
6144 (struct La_x86_64_regs): Likewise.
6145 (struct La_x86_64_retval): Likewise.
6146 (struct La_x32_regs): Likewise.
6147 (struct La_x32_retval): Likewise.
6148 (struct La_ppc32_regs): Likewise.
6149 (struct La_ppc32_retval): Likewise.
6150 (struct La_ppc64_regs): Likewise.
6151 (struct La_ppc64_retval): Likewise.
6152 (struct La_sh_regs): Likewise.
6153 (struct La_sh_retval): Likewise.
6154 (struct La_s390_32_regs): Likewise.
6155 (struct La_s390_32_retval): Likewise.
6156 (struct La_s390_64_regs): Likewise.
6157 (struct La_s390_64_retval): Likewise.
6158 (struct La_sparc32_regs): Likewise.
6159 (struct La_sparc32_retval): Likewise.
6160 (struct La_sparc64_regs): Likewise.
6161 (struct La_sparc64_retval): Likewise.
6162 (struct audit_ifaces): Remove architecture-specific pltenter and
6164 * sysdeps/i386/ldsodefs.h: New file.
6165 * sysdeps/powerpc/ldsodefs.h: Likewise.
6166 * sysdeps/s390/ldsodefs.h: Likewise.
6167 * sysdeps/sh/ldsodefs.h: Likewise.
6168 * sysdeps/sparc/ldsodefs.h: Likewise.
6169 * sysdeps/x86_64/ldsodefs.h: Likewise.
6171 2012-07-25 Marek Polacek <polacek@redhat.com>
6174 * math/libm-test.inc (yn_test): Add another test.
6175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6176 to ERANGE when the result is +-Inf.
6177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6178 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6179 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6180 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6182 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6184 * conform/data/time.h-data (NULL): Use macro-constant. Require
6186 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6188 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6190 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6192 * configure.in <sysdeps resolving>: Correct printing
6194 * configure: Regenerate.
6196 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6198 * math/w_ilogb.c: Include <limits.h>.
6199 * math/w_ilogbl.c: Likewise.
6201 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6203 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6204 va_copy. Document allowing for unavailable va_copy only as
6205 pre-C99 compatibility.
6206 * manual/string.texi (Copying and Concatenation): Use va_copy
6207 instead of __va_copy in concat example.
6209 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6211 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6212 (__sendto): Use create_address_port. Initialize APORT and deallocate
6215 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6216 with O_NOLINK passed to __file_name_lookup.
6218 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6219 with O_NOLINK passed to __file_name_lookup.
6221 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6222 negative N or less than NGIDS.
6224 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6225 type to string_t. Set ERANGE as errno and return it if NAME is not big
6226 enough. Use memcpy instead of strncpy.
6228 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6230 * elf/Makefile (check-data): Remove.
6231 (localplt.data): New vpath directive.
6232 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6233 instead of $(check-data).
6234 * scripts/data/localplt-generic.data: Move to ...
6235 * sysdeps/generic/localplt.data: ... here.
6236 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6237 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6238 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6241 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6244 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6247 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6250 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6253 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6257 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6260 PPC32 and PPC64 files.
6261 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6262 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6264 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6266 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6267 __makecontext_ret to ...
6268 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6269 ... here and call exit if uc_link is NULL. New file.
6270 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6271 __makecontext_ret.S.
6272 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6273 __makecontext_ret to ...
6274 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6275 ... here and call exit if uc_link is NULL. New file.
6276 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6277 __makecontext_ret.S.
6279 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6281 * elf/elf.h (R_390_IRELATIVE): New definition.
6282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6283 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6284 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6286 (elf_machine_lazy_rel): Likewise.
6287 * sysdeps/s390/dl-irel.h: New file.
6288 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6289 * sysdeps/s390/s390-64/memset.S: New asm code.
6290 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6291 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6292 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6293 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6294 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6295 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6296 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6297 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6298 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6299 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6300 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6301 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6302 * sysdeps/s390/s390-32/memset.S: New asm code.
6303 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6305 2012-07-17 Marek Polacek <polacek@redhat.com>
6308 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6309 * sysdeps/s390/s390-64/configure.in: Likewise.
6310 * sysdeps/sparc/configure.in: Likewise.
6311 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6312 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6313 * sysdeps/i386/configure.in: Likewise.
6314 * sysdeps/x86_64/configure.in: Likewise.
6315 * sysdeps/sh/configure.in: Likewise.
6316 * sysdeps/s390/s390-32/configure: Regenerated.
6317 * sysdeps/s390/s390-64/configure: Likewise.
6318 * sysdeps/x86_64/configure: Likewise.
6319 * sysdeps/sh/configure: Likewise.
6320 * sysdeps/powerpc/powerpc64/configure: Likewise.
6321 * sysdeps/powerpc/powerpc32/configure: Likewise.
6322 * sysdeps/sparc/configure: Likwise.
6323 * sysdeps/i386/configure: Likewise.
6325 * elf/dl-open.c: Comment fixes.
6327 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6329 * Makefile [CXX] (check-data): Remove.
6330 [CXX] (c++-types.data): New vpath directive.
6331 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6332 vpath. Do not allow for C++ type data being missing.
6333 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6334 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6335 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6336 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6337 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6338 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6339 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6342 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6345 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6348 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6351 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6354 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6357 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6360 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6363 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6364 definitions to architecture-specific files.
6368 * sysdeps/i386/tls-macros.h: New file.
6369 * sysdeps/powerpc/tls-macros.h: Likewise.
6370 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6371 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6372 * sysdeps/sh/tls-macros.h: Likewise.
6373 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6374 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6375 * sysdeps/x86_64/tls-macros.h: Likewise.
6377 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6380 zero value for regular exit case.
6382 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6383 (__start_context): Preserve zero value for regular exit case.
6385 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6386 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6388 * manual/setjmp.texi (setcontext): Clarify normal process
6389 termination when uc_link is the null pointer.
6390 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6393 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6395 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6396 preprocessor. Test for each exception mask separately.
6398 2012-07-16 Andreas Jaeger <aj@suse.de>
6400 * po/ru.po: Update from translation team.
6402 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6404 * conform/data/string.h-data (NULL): Use macro-constant. Require
6406 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6407 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6408 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6409 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6412 2012-07-13 Andreas Jaeger <aj@suse.de>
6414 * po/fr.po: Update from translation team.
6416 2012-07-12 Marek Polacek <polacek@redhat.com>
6419 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6420 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6423 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6427 Change to 2.4.1 where previously 2.4.0.
6428 * sysdeps/unix/sysv/linux/configure: Regenerated.
6429 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6430 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6432 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6433 (__ASSUME_AT_CLKTCK): Remove.
6434 (__ASSUME_AT_PAGESIZE): Likewise.
6435 (__ASSUME_AT_XID): Likewise.
6436 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6437 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6438 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6440 (HAVE_AUX_PAGESIZE): Likewise.
6441 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6442 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6443 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6445 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6449 the temporary buffer used to invoke __gethostbyname2_r,
6450 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6451 host_data / struct gaih_addrtuple.
6452 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6453 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6454 header file nss/nsswitch.h.
6455 * nss/nsswitch.h (global scope): Add definition of implementation
6456 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6457 resolv/nss_dns/dns-host.c).
6459 2012-07-11 Andreas Jaeger <aj@suse.de>
6461 * po/fr.po: Update from translation team.
6463 * po/sv.po: Update from translation team
6464 * po/fr.po: Another update from translation team.
6466 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6469 for subnormals or multiply small sinh result by itself.
6470 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6473 2012-07-11 David S. Miller <davem@davemloft.net>
6475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6477 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6480 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6481 (INTERNAL_MARK): Shift it here.
6483 2012-07-10 Marek Polacek <polacek@redhat.com>
6486 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6487 libc_cv_asm_global_directive with .globl.
6488 * configure: Regenerated.
6489 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6491 * sysdeps/i386/configure: Regenerated.
6492 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6494 * sysdeps/x86_64/configure: Regenerated.
6495 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6496 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6497 * elf/tst-unique2mod2.c: Likewise.
6498 * elf/tst-unique2mod1.c: Likewise.
6499 * elf/tst-unique1mod2.c: Likewise.
6500 * elf/tst-unique1mod1.c: Likewise.
6501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6502 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6503 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6504 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6505 * sysdeps/mach/sysdep.h: Likewise.
6506 * sysdeps/i386/sysdep.h: Likewise.
6507 * sysdeps/i386/i386-mcount.S: Likewise.
6508 * sysdeps/x86_64/_mcount.S: Likewise.
6509 * sysdeps/x86_64/sysdep.h: Likewise.
6510 * sysdeps/sh/_mcount.S: Likewise.
6511 * sysdeps/sh/sysdep.h: Likewise.
6512 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6513 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6514 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6515 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6516 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6517 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6518 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6519 * locale/localeinfo.h: Likewise.
6520 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6521 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6523 2012-07-09 Roland McGrath <roland@hack.frob.com>
6526 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6528 * manual/message.texi (The Uniforum approach): Likewise.
6529 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6530 (glibc iconv Implementation): Likewise.
6532 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6535 * math/s_clog.c (__clog): Avoid scaling a value down where that
6536 could result in underflow.
6537 * math/s_clog10.c (__clog10): Likewise.
6538 * math/s_clog10f.c (__clog10f): Likewise.
6539 * math/s_clog10l.c (__clog10l): Likewise.
6540 * math/s_clogf.c (__clogf): Likewise.
6541 * math/s_clogl.c (__clogl): Likewise.
6542 * math/libm-test.inc (clog_test): Add more tests.
6543 (clog10_test): Likewise.
6544 * sysdeps/i386/fpu/libm-test-ulps: Update.
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6547 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6550 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6551 by 7 not 8 to examine high bit of fractional part.
6554 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6555 for call to __mcount_internal.
6556 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6557 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6558 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6560 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6563 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6564 approximation for values within 0x1p-13f of an odd multiple of
6566 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6567 exception. Add more tests.
6568 * sysdeps/i386/fpu/libm-test-ulps: Update.
6571 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6572 inputs and return -1 for them. Do not check for +Inf in case not
6574 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6575 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6576 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6577 and return -1 for them. Do not check for +Inf in case not
6579 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6581 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6582 and return -1 for them. Do not check for +Inf in case not
6584 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6586 * sysdeps/i386/fpu/libm-test-ulps: Update.
6587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6591 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6593 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6597 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6598 could result in spurious underflow. Scale down values above
6599 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6600 * math/s_csqrtf.c (__csqrtf): Likewise.
6601 * math/s_csqrtl.c (__csqrtl): Likewise.
6602 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6604 * sysdeps/i386/fpu/libm-test-ulps: Update.
6605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6607 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6609 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6611 * catgets/xopen-msg.awk: New file.
6612 * catgets/xopen-msg.sed: Removed.
6614 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6616 * intl/po2test.awk: New file.
6617 * intl/po2test.sed: Removed.
6619 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6622 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6623 or multiply small sinh result by itself.
6624 * math/s_ctanf.c (__ctanf): Likewise.
6625 * math/s_ctanh.c (__ctanh): Likewise.
6626 * math/s_ctanhf.c (__ctanhf): Likewise.
6627 * math/s_ctanhl.c (__ctanhl): Likewise.
6628 * math/s_ctanl.c (__ctanl): Likewise.
6629 * math/libm-test.inc (ctan_test_tonearest): New function.
6630 (ctan_test_towardzero): Likewise.
6631 (ctan_test_downward): Likewise.
6632 (ctan_test_upward): Likewise.
6633 (ctanh_test_tonearest): Likewise.
6634 (ctanh_test_towardzero): Likewise.
6635 (ctanh_test_downward): Likewise.
6636 (ctanh_test_upward): Likewise.
6637 (main): Call these new functions.
6638 * sysdeps/i386/fpu/libm-test-ulps: Update.
6639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6643 * .gitignore: Delete /ports entry.
6645 2012-07-03 Andreas Jaeger <aj@suse.de>
6647 * po/bg.po: Update from translation team.
6648 * po/cs.po: Likewise.
6649 * po/de.po: Likewise.
6650 * po/hr.po: Likewise.
6651 * po/nl.pl: Likewise.
6652 * po/pl.po: Likewise.
6653 * po/vi.po: Likewise.
6655 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6657 * Makeconfig [!+link] (+link-before-libc): New variable.
6658 [!+link] (+link-after-libc): Likewise.
6659 [!+link] (+link-tests): Likewise.
6660 [!+link] (+link): Define in terms of $(+link-before-libc) and
6661 $(+link-after-libc).
6662 [!+link-static] (+link-static-before-libc): New variable.
6663 [!+link-static] (+link-static-after-libc): Likewise.
6664 [!+link-static] (+link-static-tests): Likewise.
6665 [!+link-static] (+link-static): Define in terms of
6666 $(+link-static-before-libc) and $(+link-static-after-libc).
6667 [build-shared] (link-libc-before-gnulib): New variable.
6668 [build-shared] (link-libc-tests): Likewise.
6669 [build-shared] (link-libc): Define in terms of
6670 $(link-libc-before-gnulib).
6671 [!build-shared] (link-libc-tests): New variable.
6672 (link-libc-static-tests): New variable.
6673 [!gnulib] (gnulib-arch): New variable.
6674 [!gnulib] (gnulib-tests): Likewise.
6675 [!gnulib] (static-gnulib-arch): Likewise.
6676 [!gnulib] (static-gnulib-tests): Likewise.
6677 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6678 Define with "=" instead of ":=".
6679 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6680 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6681 * Rules (binaries-all-notests): New variable.
6682 (binaries-all-tests): Likewise.
6683 (binaries-static-notests): Likewise.
6684 (binaries-static-tests): Likewise.
6685 (binaries-all): Define using $(binaries-all-notests) and
6686 $(binaries-all-tests).
6687 (binaries-static): Define using $(binaries-static-notests) and
6688 $(binaries-static-tests).
6689 (binaries-shared-tests): New variable.
6690 (binaries-shared-notests): Likewise.
6691 (binaries-shared): Remove variable.
6692 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6693 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6694 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6695 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6696 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6697 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6698 * elf/Makefile (sln-modules): New variable.
6699 (extra-objs): Add $(sln-modules:=.o).
6700 (ldconfig-modules): Add static-stubs.
6701 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6702 * elf/static-stubs.c: New file.
6705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6706 by 7 not 8 to examine high bit of fractional part. Use volatile
6707 variables when splitting into final array of floats if
6708 __FLT_EVAL_METHOD__ != 0.
6709 * math/libm-test.inc (cos_test): Add another test.
6710 (sin_test): Likewise.
6711 * sysdeps/i386/fpu/libm-test-ulps: Update.
6714 * math/libm-test.inc (cosh_test): Add more tests.
6716 * version.h (RELEASE): Set to "development".
6717 (VERSION): Set to "2.16.90".
6719 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6721 * NEWS: Update copyright. Remove last-updated date.
6722 Mention math library bug fixes and timezone data changes.
6723 * README: Mention GNU/Hurd, x32, and HPPA support status.
6725 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6727 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6729 2012-06-27 Andreas Jaeger <aj@suse.de>
6731 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6733 2012-06-25 Andreas Jaeger <aj@suse.de>
6735 * sysdeps/s390/fpu/libm-test-ulps: Update.
6737 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6738 Thomas Schwinge <thomas@codesourcery.com>
6740 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6741 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6742 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6745 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6747 * sysdeps/mach/start.c: Remove file.
6748 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6749 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6750 * sysdeps/sh/init-first.c: Likewise.
6752 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6753 registers for frame unwinding purposes, add CFI directives.
6754 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6756 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6759 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6760 __fortify_fail returning.
6761 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6763 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6764 sysdeps/sh/____longjmp_chk.S.
6765 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6766 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6767 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6768 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6770 * sysdeps/sh/abort-instr.h: New file.
6771 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6772 process in case exit returns.
6774 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6775 initialize the GOT register before use.
6777 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6778 calculation of ARGC > 4.
6780 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6781 meaningful names to some local labels.
6783 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6784 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6786 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6787 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6788 (__arch_compare_and_exchange_val_16_acq): Likewise.
6789 (__arch_compare_and_exchange_val_32_acq): Likewise.
6790 (atomic_exchange_and_add): Fix gUSA sequence.
6791 (atomic_add): Likewise.
6792 (atomic_add_negative): Likewise.
6793 (atomic_add_zero): Likewise.
6794 (atomic_bit_test_set): Likewise.
6796 2012-06-22 Andreas Schwab <schwab@redhat.com>
6799 * include/link.h (struct link_map): Add l_free_initfini.
6800 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6802 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6803 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6804 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6807 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6809 * configure.in: Use AC_LANG_SOURCE.
6810 * configure: Regenerate.
6812 2012-06-22 Roland McGrath <roland@hack.frob.com>
6814 * configure.in (libc_cv_localstatedir): New substituted variable.
6815 * configure: Regenerated.
6816 * config.make.in (localstatedir): New variable, substituted from
6817 libc_cv_localstatedir.
6818 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6819 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6820 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6821 * sysdeps/gnu/configure: Regenerated.
6823 2012-06-21 Jeff Law <law@redhat.com>
6826 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6827 free. Simplify list management for _LIBC case.
6829 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6832 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6833 Clear sign bit of 64-bit integer value before comparing against
6836 * sysdeps/mach/configure: Regenerated.
6838 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6841 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6843 2012-06-21 Jeff Law <law@redhat.com>
6846 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6847 uint16_t for elements in the "seen" array to avoid char overflows.
6848 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6849 * elf/dl-open.c (dl_open_worker): Likewise.
6851 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6853 * scripts/list-sources.sh: Scan PORTS for translations.
6854 * po/libc.pot: Regenerated.
6856 2012-06-21 Andreas Jaeger <aj@suse.de>
6859 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6861 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6862 * bits/byteswap-16.h (__bswap_16): Likewise.
6863 * bits/byteswap.h (__bswap_constant_16): Likewise.
6865 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6868 * sysdeps/i386/fpu_control.h: Removed.
6869 * sysdeps/x86_64/fpu_control.h: Moved to ...
6870 * sysdeps/x86/fpu_control.h: Here.
6872 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6873 (_FPU_SETCW): Likewise.
6875 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6878 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6879 * sysdeps/x86/fpu/bits/mathinline.h: This.
6880 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6884 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6885 functions if __x86_64__ is defined.
6887 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6889 * string/endian.h: Add !__ASSEMBLER__ condition for including
6890 conversion interfaces.
6892 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6896 of ABS(x) in calculating zero to negative powers other than odd
6898 * math/libm-test.inc (pow_test): Add more tests.
6900 2012-06-15 Andreas Jaeger <aj@suse.de>
6902 * manual/contrib.texi (Contributors): Update entry of Liubov
6903 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6906 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6908 * string/string.h: Add __wur to GNU version of strerror_r.
6910 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6913 * string/Makefile (tests): Add tst-strtok_r.
6914 * string/tst-strtok_r.c: New file.
6915 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6916 RAX_LP/RDX_LP on SAVE_PTR.
6918 2012-06-14 Roland McGrath <roland@hack.frob.com>
6920 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6922 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6924 * libm_test.inc (csqrt_test): Allow more spurious underflow
6926 (j0_test): Likewise.
6927 (j1_test): Likewise.
6928 (y0_test): Likewise.
6929 (y1_test): Likewise.
6931 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6933 * po/Makefile (libc.pot): Use UTF-8 charset.
6935 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6938 Suppress sign-conversion warning from FD_SET.
6939 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6940 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6941 not unsigned long int.
6942 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6944 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6948 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6949 __extern_always_inline instead of __extern_inline.
6950 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6951 (__signbit): Likewise.
6952 (__signbitl): Support C++ namespace.
6953 (lrintf): New inline function.
6955 (llrintf): Likewise.
6967 (nearbyint): Likewise.
6968 (nearbyintf): Likewise.
6970 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6972 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6973 non-default versions.
6975 2012-06-11 Roland McGrath <roland@hack.frob.com>
6978 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6980 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6982 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6983 (FE_UPWARD, FE_DOWNWARD): Don't define.
6984 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6987 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6989 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6990 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6992 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6994 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6996 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6999 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7002 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7003 * sysdeps/i386/fpu/Implies: New file.
7004 * sysdeps/x86_64/fpu/Implies: Likewise.
7005 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7006 * sysdeps/x86/fpu/bits/fenv.h: This.
7008 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7011 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7014 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7015 character 0xffff that matches the last element of the
7018 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7020 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7023 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7026 values higher than 25.6283.
7028 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7030 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7031 subnormal exponent extraction and add some __builtin_expect.
7032 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7033 Fix for subnormal mantissa calculation.
7035 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7037 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7038 cpu2 is -1 and errno is not ENOSYS.
7040 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7043 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7044 * sysdeps/x86/bits/string.h: This.
7045 * sysdeps/x86_64/bits/string.h: Removed.
7047 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7048 if not compiling for x86-64, but compiling for >= i486.
7050 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7051 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7053 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7054 New macro from Linux kernel 3.4.0.
7055 (FP_XSTATE_MAGIC2): Likewise.
7056 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7057 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7058 (struct _fpx_sw_bytes): New struct.
7059 (struct _xsave_hdr): Likewise.
7060 (struct _ymmh_state): Likewise.
7061 (struct _xstate): Likewise.
7063 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7064 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7065 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7066 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7067 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7068 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7070 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7071 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7072 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7073 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7074 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7075 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7077 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7080 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7081 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7082 (sysdep_headers): Include sys/platform/ppc.h.
7083 * sysdeps/powerpc/test-gettimebase.c: Test for
7084 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7085 * manual/Makefile (appendices): Include platform.texi.
7086 * manual/contrib.texi (Contributors): Update @node pointers.
7087 * manual/maint.texi (Maintenance): Likewise.
7088 (Platform): New node.
7089 * manual/platform.texi: New file. Document the new features.
7091 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7092 Jakub Jelinek <jakub@redhat.com>
7095 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7096 where __builtin_expect is unavailable.
7098 2012-06-03 David S. Miller <davem@davemloft.net>
7100 * stdlib/longlong.h: Updated from GCC.
7102 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7105 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7106 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7109 (GLIBC_2.16): Likewise.
7111 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7113 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7115 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7118 (default-abi): New variable.
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7120 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7122 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7124 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7126 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7129 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7130 definition. Document in comment.
7132 2012-06-01 David S. Miller <davem@davemloft.net>
7134 * stdlib/longlong.h: Updated from GCC.
7136 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7139 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7140 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7141 sys/debugreg.h sys/io.h here.
7142 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7143 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7145 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7146 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7147 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7148 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7149 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7150 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7152 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7153 Define only if __x86_64__ is defined.
7155 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7158 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7159 Use int64_t for variable i.
7160 * math/libm-test.inc (fmod_test): Add more tests.
7162 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7163 z computation is not scheduled after fetestexcept.
7164 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7165 Use math_force_eval instead of asm to ensure calculation scheduled
7166 before exception test.
7167 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7168 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7170 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7173 computation is not scheduled after fetestexcept.
7175 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7178 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7179 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7181 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7183 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7184 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7186 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7189 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7191 (__WCHAR_MIN): Support __WORDSIZE == 64.
7192 (__WCHAR_MAX): Likewise.
7194 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7195 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7199 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7202 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7203 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7205 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7206 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7208 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7209 Defined to 1 if __x86_64__ isn't defined.
7210 (_STAT_VER_LINUX_OLD): New.
7211 (st_atime): Remove duplicate.
7212 (st_mtime): Likewise.
7213 (st_ctime): Likewise.
7215 2012-05-31 David S. Miller <davem@davemloft.net>
7217 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7220 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7222 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7226 * elf/dl-reloc.c: Include <_itoa.h>.
7227 (_dl_reloc_bad_type): Remove use of INTUSE.
7228 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7229 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7230 * stdio-common/psiginfo.c (psiginfo): Likewise.
7231 * stdio-common/psignal.c (psignal): Likewise.
7232 * string/strsignal.c (strsignal): Likewise.
7233 * include/signal.h (_sys_siglist): Declare hidden proto.
7234 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7235 INTVARDEF with libc_hidden_data_def.
7236 * stdio-common/itoa-udigits.c: Likewise.
7237 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7238 (_itoa_lower_digits_internal): Remove declaration.
7239 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7240 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7241 (_sys_sigabbrev_internal): Remove aliases.
7242 (_sys_siglist): Define hidden alias.
7244 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7249 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7252 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7253 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7255 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7256 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7257 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7258 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7260 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7262 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7263 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7264 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7266 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7274 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7275 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7276 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7278 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7279 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7280 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7281 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7282 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7283 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7285 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7286 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7289 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7293 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7295 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7296 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7298 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7300 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7301 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7302 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7304 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7306 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7308 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7310 * math/math.h (M_El): Use two more decimal places.
7311 (M_LOG2El): Likewise.
7312 (M_LOG10El): Likewise.
7314 (M_LN10l): Likewise.
7316 (M_PI_2l): Likewise.
7317 (M_PI_4l): Likewise.
7318 (M_1_PIl): Likewise.
7319 (M_2_PIl): Likewise.
7320 (M_2_SQRTPIl): Likewise.
7321 (M_SQRT2l): Likewise.
7322 (M_SQRT1_2l): Likewise.
7324 2012-05-31 David S. Miller <davem@davemloft.net>
7326 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7327 values between float registers.
7328 * sysdeps/sparc/sparc64/memset.S: Likewise.
7329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7331 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7333 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7334 -D_FORTIFY_SOURCE=1.
7335 (CPPFLAGS-tst-longjmp_chk.c): Define.
7336 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7337 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7338 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7339 CFLAGS-tst-wchar-h.c.
7341 2012-05-31 Marek Polacek <polacek@redhat.com>
7344 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7345 __endmntent_internal): Remove declaration.
7346 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7347 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7348 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7350 2012-05-30 David S. Miller <davem@davemloft.net>
7352 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7353 (___Q_simulate_exceptions): Use real FP ops rather than writing
7355 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7358 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7361 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7362 * sysdeps/x86/bits/xtitypes.h: This.
7364 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7365 * sysdeps/x86/bits/wordsize.h: This.
7367 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7368 * sysdeps/x86/bits/huge_vall.h: This.
7370 * sysdeps/i386/bits/select.h: Removed.
7371 * sysdeps/x86_64/bits/select.h: Renamed to ...
7372 * sysdeps/x86/bits/select.h: This.
7374 * sysdeps/i386/bits/setjmp.h: Removed.
7375 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7376 * sysdeps/x86/bits/setjmp.h: This.
7378 * sysdeps/i386/bits/mathdef.h: Removed.
7379 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7380 * sysdeps/x86/bits/mathdef.h: This.
7382 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7385 * include/sys/socket.h (__connect_internal)
7386 (__libc_sa_len_internal): Remove declaration.
7387 (__connect, __libc_sa_len): Declare hidden_proto.
7388 (SA_LEN): Remove use of INTUSE.
7389 * socket/connect.c: Add libc_hidden_def.
7390 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7391 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7392 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7394 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7395 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7396 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7397 of adding _internal alias.
7399 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7402 * sysdeps/i386/bits/link.h: Removed.
7403 * sysdeps/i386/bits/linkmap.h: Likewise.
7404 * sysdeps/x86_64/bits/link.h: Renamed to ...
7405 * sysdeps/x86/bits/link.h: This.
7406 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7407 * sysdeps/x86/bits/linkmap.h: This.
7409 * sysdeps/i386/bits/endian.h: Removed.
7410 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7411 * sysdeps/x86/bits/endian.h: This.
7413 * sysdeps/i386/bits/byteswap.h: Removed.
7414 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7415 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7416 * sysdeps/x86/bits/byteswap.h: This.
7417 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7418 * sysdeps/x86/bits/byteswap-16.h: This.
7419 * sysdeps/i386/Implies: Add x86.
7420 * sysdeps/x86_64/Implies: Likewise.
7422 2012-05-30 David S. Miller <davem@davemloft.net>
7424 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7425 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7426 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7427 (FP_TRAPPING_EXCEPTIONS): Define.
7428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7429 (FP_TRAPPING_EXCEPTIONS): Define.
7430 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7431 subnormals only when inexact has been signalled or underflow
7432 exceptions are enabled.
7433 (_FP_PACK_CANONICAL): Likewise.
7435 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7438 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7439 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7441 2012-05-30 Richard Henderson <rth@twiddle.net>
7443 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7444 with #ifndef NOT_IN_libc.
7446 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7447 marked to avoid plt entry.
7449 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7452 * Makeconfig (default-abi): New macro.
7453 (abi-includes): Likewise.
7454 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7455 $(abi-$(default-abi)-lib-soname) for soname if defined.
7456 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7458 * Makefile (installed-stubs): Likewise.
7459 * include/stubs-biarch.h: Removed.
7460 * scripts/lib-names.awk: Only handle one library at a time.
7461 * scripts/soversions.awk: Remove WORDSIZE support.
7462 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7464 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7466 (syscall-list-default-condition): Likewise.
7467 (syscall-list-default-condition): Likewise.
7468 (syscall-list-includes): Likewise.
7469 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7470 syscall-list-* with abi-*. Handle undefined abi-variants.
7471 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7472 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7473 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7474 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7475 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7476 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7478 (syscall-list-32-options): Likewise.
7479 (syscall-list-32-condition): Likewise.
7480 (syscall-list-64-options): Likewise.
7481 (syscall-list-64-condition): Likewise.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7484 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7487 (abi-64-ld-soname): New macro.
7488 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7492 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7493 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7495 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7497 * sysdeps/unix/sysv/linux/kernel-features.h
7498 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7499 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7500 include <kernel-features.h>.
7501 [!__NR_ftruncate64]: Remove conditional code.
7502 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7503 [__NR_ftruncate64]: Make code unconditional.
7504 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7505 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7506 include <kernel-features.h>.
7507 [!__NR_ftruncate64]: Remove conditional code.
7508 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7509 [__NR_ftruncate64]: Make code unconditional.
7510 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7512 include <kernel-features.h>.
7513 [!__NR_ftruncate64]: Remove conditional code.
7514 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7515 [__NR_ftruncate64]: Make code unconditional.
7516 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7518 include <kernel-features.h>.
7519 [!__NR_ftruncate64]: Remove conditional code.
7520 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7521 [__NR_ftruncate64]: Make code unconditional.
7522 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7524 * configure.in (libc_cv_fpie): Weaken to a compile test using
7526 * configure: Regenerated.
7528 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7543 2012-05-27 David S. Miller <davem@davemloft.net>
7545 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7547 (__Q_simulate_exceptions): Return void. Change to simulate
7548 exceptions by writing into the %fsr.
7549 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7550 (__Qp_handle_exceptions): Likewise.
7552 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7553 __Qp_handle_exceptions.
7554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7555 __Qp_handle_exceptions.
7556 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7557 as unused and give dummy FP_RND_NEAREST initializer.
7558 (FP_INHIBIT_RESULTS): Define.
7559 (___Q_simulate_exceptions): Update declaration.
7560 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7562 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7563 as unused and give dummy FP_RND_NEAREST initializer.
7564 (__Qp_handle_exceptions): Update declaration.
7565 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7568 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7570 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7571 the temporary FPU control word.
7572 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7573 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7574 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7575 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7576 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7577 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7578 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7580 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7581 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7582 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7584 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7586 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7589 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7591 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7592 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7593 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7594 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7596 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7597 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7600 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7602 * po/h.po: Update from translation team.
7604 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7606 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7608 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7609 handling of denormals.
7610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7611 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7613 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7619 2012-05-26 Marek Polacek <polacek@redhat.com>
7622 * math/libm-test.inc (fma_test): Don't always expect underflow
7625 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7628 * elf/tst-execstack.c: Include stackinfo.h.
7629 (do_test): Adjust test case to ensure that pthread_getattr_np
7630 behaviour remains the same after marking stack executable.
7632 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7634 * sysdeps/unix/sysv/linux/kernel-features.h
7635 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7636 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7638 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7639 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7640 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7642 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7643 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7645 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7647 * configure.in: Define the default includes to being none.
7648 * configure: Regenerated.
7650 2012-05-25 Roland McGrath <roland@hack.frob.com>
7652 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7653 * sysdeps/x86_64/setjmp.S: Likewise.
7654 * sysdeps/i386/bsd-setjmp.S: Likewise.
7655 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7656 * sysdeps/i386/setjmp.S: Likewise.
7657 * sysdeps/i386/__longjmp.S: Likewise.
7658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7661 * include/stap-probe.h: New file.
7662 * configure.in: Handle --enable-systemtap.
7663 * configure: Regenerated.
7664 * config.h.in (USE_STAP_PROBE): New #undef.
7665 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7666 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7667 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7669 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7672 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7673 to 2.4.0 where earlier.
7674 * sysdeps/unix/sysv/linux/configure: Regenerated.
7675 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7676 <kernel-features.h>.
7677 [__ASSUME_32BITUIDS]: Make code unconditional.
7678 [!__ASSUME_32BITUIDS]: Remove conditional code.
7679 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7680 <kernel-features.h>.
7681 [__ASSUME_32BITUIDS]: Make code unconditional.
7682 [!__ASSUME_32BITUIDS]: Remove conditional code.
7683 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7684 [__ASSUME_32BITUIDS]: Make code unconditional.
7685 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7686 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7687 <kernel-features.h>.
7688 [__ASSUME_32BITUIDS]: Make code unconditional.
7689 [!__ASSUME_32BITUIDS]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7691 <kernel-features.h>.
7692 [__ASSUME_32BITUIDS]: Make code unconditional.
7693 [!__ASSUME_32BITUIDS]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7695 <kernel-features.h>.
7696 [__ASSUME_32BITUIDS]: Make code unconditional.
7697 [!__ASSUME_32BITUIDS]: Remove conditional code.
7698 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7699 <kernel-features.h>.
7700 [__ASSUME_32BITUIDS]: Make code unconditional.
7701 [!__ASSUME_32BITUIDS]: Remove conditional code.
7702 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7703 <kernel-features.h>.
7704 [__ASSUME_32BITUIDS]: Make code unconditional.
7705 [!__ASSUME_32BITUIDS]: Remove conditional code.
7706 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7707 <kernel-features.h>.
7708 [__ASSUME_32BITUIDS]: Make code unconditional.
7709 [!__ASSUME_32BITUIDS]: Remove conditional code.
7710 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7711 <kernel-features.h>.
7712 [__ASSUME_32BITUIDS]: Make code unconditional.
7713 [!__ASSUME_32BITUIDS]: Remove conditional code.
7714 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7715 <kernel-features.h>.
7716 [__ASSUME_32BITUIDS]: Make code unconditional.
7717 [!__ASSUME_32BITUIDS]: Remove conditional code.
7718 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7719 <kernel-features.h>.
7720 [__ASSUME_32BITUIDS]: Make code unconditional.
7721 [!__ASSUME_32BITUIDS]: Remove conditional code.
7722 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7723 <kernel-features.h>.
7724 [__ASSUME_32BITUIDS]: Make code unconditional.
7725 [!__ASSUME_32BITUIDS]: Remove conditional code.
7726 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7727 <kernel-features.h>.
7728 [__NR_setresgid] (__setresgid): Do not declare.
7729 [__ASSUME_32BITUIDS]: Make code unconditional.
7730 [!__ASSUME_32BITUIDS]: Remove conditional code.
7731 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7732 <kernel-features.h>.
7733 [__NR_setresuid] (__setresuid): Do not declare.
7734 [__ASSUME_32BITUIDS]: Make code unconditional.
7735 [!__ASSUME_32BITUIDS]: Remove conditional code.
7736 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7737 <kernel-features.h>.
7738 [__ASSUME_32BITUIDS]: Make code unconditional.
7739 [!__ASSUME_32BITUIDS]: Remove conditional code.
7740 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7741 <kernel-features.h>.
7742 [__ASSUME_32BITUIDS]: Make code unconditional.
7743 [!__ASSUME_32BITUIDS]: Remove conditional code.
7744 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7745 <kernel-features.h>.
7746 [__ASSUME_32BITUIDS]: Make code unconditional.
7747 [!__ASSUME_32BITUIDS]: Remove conditional code.
7748 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7749 <kernel-features.h>.
7750 [__ASSUME_32BITUIDS]: Make code unconditional.
7751 [!__ASSUME_32BITUIDS]: Remove conditional code.
7752 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7753 <kernel-features.h>.
7754 [__ASSUME_32BITUIDS]: Make code unconditional.
7755 [!__ASSUME_32BITUIDS]: Remove conditional code.
7756 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7757 <kernel-features.h>.
7758 [__ASSUME_32BITUIDS]: Make code unconditional.
7759 [!__ASSUME_32BITUIDS]: Remove conditional code.
7760 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7761 <kernel-features.h>.
7762 [__ASSUME_32BITUIDS]: Make code unconditional.
7763 [!__ASSUME_32BITUIDS]: Remove conditional code.
7764 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7765 <kernel-features.h>.
7766 [__ASSUME_32BITUIDS]: Make code unconditional.
7767 [!__ASSUME_32BITUIDS]: Remove conditional code.
7768 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7769 <kernel-features.h>.
7770 [__ASSUME_32BITUIDS]: Make code unconditional.
7771 [!__ASSUME_32BITUIDS]: Remove conditional code.
7772 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7773 <kernel-features.h>.
7774 [__ASSUME_32BITUIDS]: Make code unconditional.
7775 [!__ASSUME_32BITUIDS]: Remove conditional code.
7776 * sysdeps/unix/sysv/linux/kernel-features.h
7777 (__ASSUME_SETRESUID_SYSCALL): Remove.
7778 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7779 (__ASSUME_32BITUIDS): Likewise.
7780 (__ASSUME_LDT_WORKS): Likewise.
7781 (__ASSUME_O_DIRECTORY): Likewise.
7782 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7783 architecture but not kernel version.
7784 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7785 (__ASSUME_MMAP2_SYSCALL): Likewise.
7786 (__ASSUME_STAT64_SYSCALL): Likewise.
7787 (__ASSUME_IPC64): Likewise.
7788 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7789 <kernel-features.h>.
7790 [__ASSUME_32BITUIDS]: Make code unconditional.
7791 [!__ASSUME_32BITUIDS]: Remove conditional code.
7792 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7793 <kernel-features.h>.
7794 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7795 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7796 132096]: Remove conditional code.
7797 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7798 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7799 <kernel-features.h>.
7800 [__ASSUME_32BITUIDS]: Make code unconditional.
7801 [!__ASSUME_32BITUIDS]: Remove conditional code.
7802 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7803 <kernel-features.h>.
7804 [__ASSUME_32BITUIDS]: Make code unconditional.
7805 [!__ASSUME_32BITUIDS]: Remove conditional code.
7806 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7807 <kernel-features.h>.
7808 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7810 (__setresgid): Do not declare.
7811 [__ASSUME_32BITUIDS]: Make code unconditional.
7812 [!__ASSUME_32BITUIDS]: Remove conditional code.
7813 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7814 <kernel-features.h>.
7815 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7817 (__setresuid): Do not declare.
7818 [__ASSUME_32BITUIDS]: Make code unconditional.
7819 [!__ASSUME_32BITUIDS]: Remove conditional code.
7820 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7821 <kernel-features.h>.
7822 [__ASSUME_32BITUIDS]: Make code unconditional.
7823 [!__ASSUME_32BITUIDS]: Remove conditional code.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7825 <kernel-features.h>.
7826 [__ASSUME_32BITUIDS]: Make code unconditional.
7827 [!__ASSUME_32BITUIDS]: Remove conditional code.
7829 2012-05-25 Richard Henderson <rth@twiddle.net>
7831 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7832 dl_hwcap to ifunc resolver.
7833 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7835 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7836 dl_hwcap to ifunc resolver.
7837 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7839 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7843 for |x| <= 2**-26, not 2**-57.
7844 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7847 2012-05-24 Jeff Law <law@redhat.com>
7849 * stdio-common/Makefile (tests): Add bug25.
7850 * stdio-common/bug25.c: New test.
7852 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7855 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7856 multiple of MALLOC_ALIGNMENT in size.
7857 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7859 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7861 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7863 (FILENAME_MAX): Use macro-int-constant.
7864 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7865 (_IOFBF): Use macro-int-constant.
7868 (SEEK_CUR): Likewise.
7869 (SEEK_END): Likewise.
7870 (SEEK_SET): Likewise.
7871 (TMP_MAX): Likewise.
7872 (EOF): Use macro-int-constant. Require < 0.
7873 (NULL): Use macro-constant. Require == 0.
7874 (stdin): Require type to be FILE *.
7877 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7879 (EXIT_SUCCESS): Likewise.
7880 (NULL): Use macro-constant. Require == 0.
7881 (RAND_MAX): Use macro-int-constant.
7882 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7883 [C99-based standards] (strtof): Require function.
7884 [C99-based standards] (strtold): Likewise.
7885 [C99-based standards] (strtoll): Likewise.
7886 [C99-based standards] (strtoull): Likewise.
7887 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7888 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7889 [ISO || ISO99 || ISO11] (math.h): Likewise.
7890 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7891 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7894 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7897 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7898 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7899 * intl/dgettext.c (DCGETTEXT): Likewise.
7900 * intl/gettext.c (DCGETTEXT): Likewise.
7901 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7902 * posix/regex_internal.h (gettext): Likewise.
7903 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7905 * include/argz.h (__argz_count_internal)
7906 (__argz_stringify_internal): Remove declaration.
7907 (__argz_count, __argz_stringify): Declare hidden proto.
7908 * intl/dcgettext.c: Remove use of INTDEF.
7909 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7910 * string/argz-stringify.c: Likewise.
7911 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7912 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7913 Declare hidden proto.
7914 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7915 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7916 Declare hidden proto.
7917 * include/stdio.h (__asprintf_internal): Don't declare.
7918 (__asprintf): Don't define as macro. Declare hidden proto.
7919 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7920 (__fsetlocking): Declare hidden proto.
7921 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7922 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7924 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7925 (_IO_setlinebuf): Remove use of INTUSE.
7926 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7927 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7928 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7930 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7931 (_IO_do_flush): Remove use of INTUSE.
7932 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7933 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7934 (_IO_adjust_column, _IO_least_wmarker)
7935 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7936 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7937 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7938 (_IO_default_doallocate, _IO_wdefault_doallocate)
7939 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7940 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7941 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7942 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7943 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7944 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7945 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7946 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7947 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7948 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7949 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7950 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7951 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7953 (_IO_flush_all_internal, _IO_adjust_column_internal)
7954 (_IO_default_uflow_internal, _IO_default_finish_internal)
7955 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7956 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7957 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7958 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7959 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7960 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7961 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7962 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7963 (_IO_file_close_internal, _IO_file_close_it_internal)
7964 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7965 (_IO_file_init_internal, _IO_file_attach_internal)
7966 (_IO_file_fopen_internal, _IO_file_read_internal)
7967 (_IO_file_sync_internal, _IO_file_seek_internal)
7968 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7969 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7970 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7971 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7972 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7973 (_IO_list_all_internal, _IO_link_in_internal)
7974 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7975 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7976 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7977 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7978 (_IO_do_write_internal, _IO_padn_internal)
7979 (_IO_getline_info_internal, _IO_getline_internal)
7980 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7981 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7982 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7983 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7984 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7985 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7986 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7987 with libc_hidden_ver, remove use of INTUSE.
7988 * libio/genops.c: Likewise.
7989 * libio/freopen.c: Likewise.
7990 * libio/freopen64.c: Likewise.
7991 * libio/iofclose.c: Likewise.
7992 * libio/iofdopen.c: Likewise.
7993 * libio/iofflush.c: Likewise.
7994 * libio/iofflush_u.c: Likewise.
7995 * libio/iofgets.c: Likewise.
7996 * libio/iofgets_u.c: Likewise.
7997 * libio/iofopen.c: Likewise.
7998 * libio/iofopncook.c: Likewise.
7999 * libio/iofread.c: Likewise.
8000 * libio/iofread_u.c: Likewise.
8001 * libio/ioftell.c: Likewise.
8002 * libio/iofwrite.c: Likewise.
8003 * libio/iogetline.c: Likewise.
8004 * libio/iogets.c: Likewise.
8005 * libio/iogetwline.c: Likewise.
8006 * libio/iopadn.c: Likewise.
8007 * libio/iopopen.c: Likewise.
8008 * libio/ioseekoff.c: Likewise.
8009 * libio/ioseekpos.c: Likewise.
8010 * libio/iosetbuffer.c: Likewise.
8011 * libio/iosetvbuf.c: Likewise.
8012 * libio/ioungetc.c: Likewise.
8013 * libio/ioungetwc.c: Likewise.
8014 * libio/iovdprintf.c: Likewise.
8015 * libio/iovsprintf.c: Likewise.
8016 * libio/iovsscanf.c: Likewise.
8017 * libio/memstream.c: Likewise.
8018 * libio/obprintf.c: Likewise.
8019 * libio/oldfileops.c: Likewise.
8020 * libio/oldiofclose.c: Likewise.
8021 * libio/oldiofdopen.c: Likewise.
8022 * libio/oldiofopen.c: Likewise.
8023 * libio/oldiopopen.c: Likewise.
8024 * libio/oldstdfiles.c: Likewise.
8025 * libio/putc.c: Likewise.
8026 * libio/setbuf.c: Likewise.
8027 * libio/setlinebuf.c: Likewise.
8028 * libio/stdfiles.c: Likewise.
8029 * libio/strops.c: Likewise.
8030 * libio/vasprintf.c: Likewise.
8031 * libio/vscanf.c: Likewise.
8032 * libio/vsnprintf.c: Likewise.
8033 * libio/vswprintf.c: Likewise.
8034 * libio/wfiledoalloc.c: Likewise.
8035 * libio/wfileops.c: Likewise.
8036 * libio/wgenops.c: Likewise.
8037 * libio/wmemstream.c: Likewise.
8038 * libio/wstrops.c: Likewise.
8039 * libio/__fpurge.c: Likewise.
8040 * libio/__fsetlocking.c: Likewise.
8041 * assert/assert.c: Likewise.
8042 * debug/fgets_chk.c: Likewise.
8043 * debug/fgets_u_chk.c: Likewise.
8044 * debug/fread_chk.c: Likewise.
8045 * debug/fread_u_chk.c: Likewise.
8046 * debug/gets_chk.c: Likewise.
8047 * debug/obprintf_chk.c: Likewise.
8048 * debug/vasprintf_chk.c: Likewise.
8049 * debug/vdprintf_chk.c: Likewise.
8050 * debug/vsnprintf_chk.c: Likewise.
8051 * debug/vsprintf_chk.c: Likewise.
8052 * malloc/mtrace.c: Likewise.
8053 * misc/error.c: Likewise.
8054 * misc/syslog.c: Likewise.
8055 * stdio-common/asprintf.c: Likewise.
8056 * stdio-common/fxprintf.c: Likewise.
8057 * stdio-common/getw.c: Likewise.
8058 * stdio-common/isoc99_fscanf.c: Likewise.
8059 * stdio-common/isoc99_scanf.c: Likewise.
8060 * stdio-common/isoc99_vfscanf.c: Likewise.
8061 * stdio-common/isoc99_vscanf.c: Likewise.
8062 * stdio-common/isoc99_vsscanf.c: Likewise.
8063 * stdio-common/printf-prs.c: Likewise.
8064 * stdio-common/printf_fp.c: Likewise.
8065 * stdio-common/printf_fphex.c: Likewise.
8066 * stdio-common/printf_size.c: Likewise.
8067 * stdio-common/putw.c: Likewise.
8068 * stdio-common/scanf.c: Likewise.
8069 * stdio-common/sprintf.c: Likewise.
8070 * stdio-common/tmpfile.c: Likewise.
8071 * stdio-common/vfprintf.c: Likewise.
8072 * stdio-common/vfscanf.c: Likewise.
8073 * stdlib/strfmon_l.c: Likewise.
8074 * sunrpc/openchild.c: Likewise.
8075 * sunrpc/xdr_stdio.c: Likewise.
8076 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8077 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8079 2012-05-24 Roland McGrath <roland@hack.frob.com>
8081 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8083 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8084 in the third column, to generate for the shared library an IFUNC
8085 that uses _dl_vdso_vsym.
8086 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8087 * Makeconfig (object-suffixes-noshared): New variable.
8089 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8090 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8091 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8092 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8095 * include/sys/time.h (__gettimeofday): Remove macro.
8096 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8097 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8099 (__gettimeofday): Add libc_hidden_def.
8100 (gettimeofday): Add libc_hidden_weak.
8101 * sysdeps/mach/gettimeofday.c: Likewise.
8102 * sysdeps/posix/gettimeofday.c: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8104 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8106 (__gettimeofday_internal): Remove strong_alias.
8107 (__gettimeofday): Add libc_hidden_def.
8108 (gettimeofday): Add libc_hidden_weak.
8109 * sysdeps/unix/syscalls.list (gettimeofday):
8110 Remove __gettimeofday_internal alias.
8112 2012-05-24 Daniel Jacobowitz <drow@false.org>
8113 H.J. Lu <hongjiu.lu@intel.com>
8116 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8117 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8118 (largebin_index_32_big): New.
8119 (largebin_index): Use it for 16-byte alignment.
8120 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8121 correction with front_misalign.
8123 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8151 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8152 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8154 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8158 * math/libm-test.inc (exp_test): Add test from bug 14036.
8159 (pow_test): Add test from bug 10846.
8161 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8163 (special_function): Do not include flags in test name.
8164 (parse_args): Likewise.
8165 * sysdeps/i386/fpu/libm-test-ulps: Update.
8166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8167 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8168 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8171 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8173 * math/libm-test.inc ("Philosophy"): Update comment about
8175 (UNDERFLOW_EXCEPTION): New macro.
8176 (UNDERFLOW_EXCEPTION_OK): Likewise.
8177 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8178 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8179 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8180 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8181 (INVALID_EXCEPTION_OK): Update value.
8182 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8183 (OVERFLOW_EXCEPTION_OK): Likewise.
8184 (IGNORE_ZERO_INF_SIGN): Likewise.
8185 (test_exceptions): Handle underflow exceptions.
8186 (acos_test): Update for underflow exception expectations.
8187 (cexp_test): Likewise.
8188 (clog_test): Likewise.
8189 (clog10_test): Likewise.
8190 (csqrt_test): Likewise.
8191 (ctan_test): Likewise.
8192 (ctanh_test): Likewise.
8193 (exp_test): Likewise.
8194 (exp10_test): Likewise.
8195 (exp2_test): Likewise.
8196 (expm1_test): Likewise.
8197 (fma_test): Likewise.
8198 (j0_test): Likewise.
8199 (jn_test): Likewise.
8200 (nexttoward_test): Likewise.
8201 (pow_test): Likewise.
8202 (scalbn_test): Likewise.
8203 (scalbln_test): Likewise.
8204 (tan_test): Likewise.
8205 (y1_test): Likewise.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8209 2012-05-23 David S. Miller <davem@davemloft.net>
8211 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8212 (__libc_sigaction): Remove unused local variables.
8214 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8216 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8218 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8220 mktime: avoid signed integer overflow
8221 * time/mktime.c (__mktime_internal): Do not mishandle the case
8222 where diff == INT_MIN.
8224 mktime: simplify computation of average
8225 * time/mktime.c (ranged_convert): Use new time_t_avg function
8226 instead of rolling our own (probably-slower) code.
8228 mktime: do not assume signed right shift propagates sign bit
8229 * time/mktime.c (isdst_differ): New static function.
8230 (__mktime_internal): No need to normalize tm_isdst now.
8231 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8234 mktime: merge another wrapv change from gnulib
8235 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8236 from some compilers.
8238 mktime: remove incorrect attempt at unusual arithmetics
8239 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8240 The code didn't really work on such machines anyway.
8241 (TYPE_MINIMUM): Assume two's complement.
8242 (twos_complement_arithmetic): Verify that long_int and time_t
8243 are two's complement (or unsigned, in the latter case).
8245 mktime: check signed shifts on long_int and time_t, too
8246 * time/mktime.c (SHR): Check that shifts work as desired
8247 on the types long_int and time_t too, as SHR is used on
8250 mktime: do not assume 'long' is wide enough
8251 * time/mktime.c (verify): Move decl up.
8252 (long_int): New type.
8253 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8254 to remove assumption in the code that 'long' is wide enough to
8255 store year values. This assumption is not true on x32 and on
8256 some non-glibc platforms.
8258 mktime: merge wrapv change from gnulib
8259 * time/mktime.c (WRAPV): New macro.
8260 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8261 (guess_time_tm, __mktime_internal): Do not assume that signed
8262 integer overflow wraps around; modern compilers generate code
8263 where this assumption is no longer valid.
8265 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8268 Replace "jmp L(pseudo_end)" with "ret".
8269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8272 2012-05-23 Andreas Jaeger <aj@suse.de>
8274 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8275 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8277 2012-05-23 Andreas Jaeger <aj@suse.de>
8278 Maximilian Attems <max@stro.at>
8280 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8283 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8285 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8286 code so that pseudo_end is just ret and the stack pointer is
8287 correct also for static library in error case.
8289 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8291 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8292 move to syscalls.list.
8293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8298 * manual/install.texi (Running make install): Do not mention Linux
8299 kernel version for which pt_chown is not needed.
8300 (Linux): Do not mention problems with nscd with 2.0 kernels.
8301 * INSTALL: Regenerated.
8303 2012-05-23 Andreas Jaeger <aj@suse.de>
8305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8306 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8308 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8310 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8311 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8312 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8314 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8316 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8317 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8318 * sysdeps/unix/sysv/linux/bits/in.h
8319 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8321 2012-05-22 Roland McGrath <roland@hack.frob.com>
8323 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8324 (PREPARE_VERSION): Just use assert instead, it will be elided
8325 under [NDEBUG] anyway.
8327 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8329 * sysdeps/unix/sysv/linux/Makefile: Include
8330 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8331 (sysdep_routines): Remove sysctl.
8332 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8333 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8334 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8335 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8336 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8338 2012-05-22 Andreas Jaeger <aj@suse.de>
8340 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8341 that pseudo_end is just ret and the stack pointer is correct also
8342 for static library in error case.
8344 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8347 * nss/nsswitch.c (defconfig_entries): New variable.
8348 (__nss_database_lookup): Don't leak defconfig entries.
8349 (nss_parse_service_list): Don't leak on error paths.
8350 (free_database_entries): New function.
8351 (free_defconfig): New function.
8352 (free_mem): Move common code to free_database_entries.
8354 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8356 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8358 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8360 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8361 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8364 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8365 (INTERNAL_SYSCALL_TYPES): Likewise.
8366 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8367 (LOAD_REGS_TYPES_[1-6]): Likewise.
8368 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8369 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8371 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8373 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8374 copysignl for GLIBC_2_0.
8375 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8376 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8378 logbl for GLIBC_2_0.
8379 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8380 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8382 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8385 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8387 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8390 * time/mktime.c: Update copyright years.
8392 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8394 mktime: merge comment-quoting-style change from gnulib
8395 * time/mktime.c: Quote 'like this' in comments.
8396 The GNU coding standards suggest that we no longer quote `like this',
8397 as "`" and "'" are typically rendered asymmetrically nowadays.
8398 The typical gnulib style is to quote 'like this' when quoting
8399 code, and "like this" when quoting English.
8401 * time/mktime.c (compile-command): Add "-I.".
8403 mktime: merge mktime-internal.h change from gnulib
8404 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8406 mktime: merge time_r change from gnulib
8407 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8409 mktime: merge DEBUG change from gnulib
8410 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8411 case system <time.h> has a #define.
8413 mktime: merge <sys/types.h> change from gnulib
8414 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8415 since <time.t> is now guaranteed to define time_t.
8417 mktime: merge HAVE_CONFIG_H change from gnulib
8418 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8425 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8427 (struct rusage): Use anonymous union to pad each field to
8430 2012-05-21 David S. Miller <davem@davemloft.net>
8432 * Makefules (o-iterator): Remove .s cases.
8433 (compile-command.s): Delete.
8434 (COMPILE.s): Delete.
8435 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8437 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8439 * configure.in (libc_cv_predef_stack_protector): Only consider
8440 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8441 * configure: Regenerated.
8443 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8446 New macro. Use R*LP on int and pointer.
8447 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8448 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8449 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8452 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8453 [__WORDSIZE_TIME64_COMPAT32] instead of
8454 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8455 (struct utmp): Likewise.
8456 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8457 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8459 (__WORDSIZE_TIME64_COMPAT32): This.
8460 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8461 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8462 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8463 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8464 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8465 (__WORDSIZE_TIME64_COMPAT32): New macro.
8467 2012-05-21 Andreas Jaeger <aj@suse.de>
8469 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8470 only if [SHARED]. Add prototype for __wcschr_ia32.
8472 2012-05-21 Roland McGrath <roland@hack.frob.com>
8474 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8475 of %rbp unmolested in the jmp_buf while mangling the low bits.
8476 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8477 unmolested high bits of %rbp while demangling the low bits.
8478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8480 2012-05-21 Andreas Jaeger <aj@suse.de>
8482 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8483 * sunrpc/svc_simple.c: Use it for registerrpc.
8484 * sunrpc/xcrypt.c: Use it for passwd2des.
8486 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8488 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8490 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8491 Don't define if [__SYSCALL_WORDSIZE != 32].
8492 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8495 2012-05-21 Bruno Haible <bruno@clisp.org>
8496 Andreas Jaeger <aj@suse.de>
8498 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8499 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8500 inptr and inend for must_buffer_ch.
8501 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8502 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8503 * stdio-common/Makefile (tests): Remove bug15.
8504 (bug15-ENV): Remove macro.
8505 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8508 2012-05-19 Andreas Jaeger <aj@suse.de>
8509 Roland McGrath <roland@hack.frob.com>
8511 * manual/contrib.texi: Completely rewritten. It contains now an
8512 alphabetical list of contributors and their contributions.
8514 2012-05-21 Richard Henderson <rth@twiddle.net>
8516 * misc/getauxval.c (__getauxval): Use unsigned long int.
8517 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8518 (getauxval): Use unsigned long int.
8520 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8522 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8524 2012-05-21 Roland McGrath <roland@hack.frob.com>
8526 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8527 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8528 __alignof__ (long double).
8530 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8534 2012-05-20 Richard Henderson <rth@twiddle.net>
8536 * misc/getauxval.c: New file.
8537 * misc/sys/auxv.h: New file.
8538 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8539 (routines): Add getauxval.
8540 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8541 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8542 * elf/dl-sysdep.c (_dl_auxv): Remove.
8543 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8544 * elf/dl-support.c (_dl_auxv): New variable.
8545 (_dl_aux_init): Initialize it.
8546 * manual/startup.texi (Auxiliary Vector): New node.
8547 * sysdeps/generic/bits/hwcap.h: New file.
8548 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8549 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8550 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8551 * sysdeps/sparc/sysdep.h: ... here. Include it.
8552 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8565 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8569 2012-05-19 David S. Miller <davem@davemloft.net>
8571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8573 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8576 * math/s_ccosh.c: Include <float.h>
8577 (__ccosh): Avoid internal overflow calculating sinh and cosh
8578 values before multiplying by sin and cos values.
8579 * math/s_ccoshf.c: Likewise.
8580 * math/s_ccoshl.c: Likewise.
8581 * math/s_csin.c: Likewise.
8582 * math/s_csinf.c: Likewise.
8583 * math/s_csinl.c: Likewise.
8584 * math/s_csinh.c: Likewise.
8585 * math/s_csinhf.c: Likewise.
8586 * math/s_csinhl.c: Likewise.
8587 * math/libm-test.inc (ccos_test): Add more tests.
8588 (ccosh_test): Likewise.
8589 (csin_test): Likewise.
8590 (csinh_test): Likewise.
8591 * sysdeps/i386/fpu/libm-test-ulps: Update.
8592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8594 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8596 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8597 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8599 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8601 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8603 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8604 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8605 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8606 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8607 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8608 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8609 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8610 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8611 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8612 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8613 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8614 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8615 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8616 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8617 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8618 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8619 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8620 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8621 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8622 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8623 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8624 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8625 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8626 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8627 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8628 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8629 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8630 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8631 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8632 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8633 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8635 2012-05-18 Andreas Jaeger <aj@suse.de>
8637 * csu/.gitignore: Delete.
8639 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8641 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8642 (timex): Use __syscall_slong_t.
8644 2012-05-18 Andreas Jaeger <aj@suse.de>
8645 Carlos O'Donell <carlos_odonell@mentor.com>
8647 * manual/install.texi (Configuring and compiling): Update
8648 description about files modified in the source directory.
8649 * INSTALL: Regenerated.
8651 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8653 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8654 value. Use "or" to set return value to -1.
8655 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8656 negate return value.
8658 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8660 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8661 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8662 failure if the compiler has Graphite support disabled.
8663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8665 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8666 CFLAGS-memmove.c): Likewise.
8667 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8670 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8672 * sysdeps/x86_64/x32/_itoa.h: New file.
8674 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8675 getdents system call only if kernel and user dirents have the
8676 same d_ino and d_off.
8678 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8679 LLONG_MAX != LONG_MAX.
8680 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8681 (_fitoa_word): Likewise.
8683 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8685 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8686 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8687 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8689 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8690 include <bits/wordsize.h>. Check __x86_64__ instead of
8692 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8693 if __x86_64__ is defined. Use anonymous union on fpstate.
8695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8698 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8700 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8701 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8703 Refer to _rtld_local_ro instead of _rtld_global_ro.
8704 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8706 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8708 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8710 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8711 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8712 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8714 * sysdeps/powerpc/powerpc32/dl-machine.c
8715 (__elf_machine_runtime_setup) [PROF]: Don't reference
8718 2012-05-18 Andreas Jaeger <aj@suse.de>
8720 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8721 function only available for GCCs before 3.4 since GCC 3.4
8722 introduced a builtin.
8724 (llrintf): Likewise.
8732 (nearbyint): Likewise.
8733 (nearbyintf): Likewise.
8739 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8741 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8742 on both fields and cast pointer to __syscall_ulong_t.
8744 * bits/types.h (__fsword_t): New type.
8745 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8746 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8748 (__FSWORD_T_TYPE): Likewise.
8749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8750 (__FSWORD_T_TYPE): Likewise.
8751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8752 (__FSWORD_T_TYPE): Likewise.
8753 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8754 (__FSWORD_T_TYPE): Likewise.
8755 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8756 __SWORD_TYPE with __fsword_t.
8757 (statfs64): Likewise.
8759 2012-05-17 David S. Miller <davem@davemloft.net>
8761 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8763 2012-05-17 Andreas Jaeger <aj@suse.de>
8765 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8768 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8770 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8772 2012-05-17 Andreas Jaeger <aj@suse.de>
8774 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8777 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8779 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8781 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8783 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8784 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8786 2012-05-17 Andreas Jaeger <aj@suse.de>
8787 Carlos O'Donell <carlos_odonell@mentor.com>
8790 * sysdeps/x86_64/multiarch/init-arch.h
8791 (bit_YMM_Usable): Rename to...
8792 (bit_AVX_Usable): ... this.
8793 (bit_FMA4_Usable): New macro.
8794 (bit_XMM_state): New macro.
8795 (bit_YMM_state): New macro.
8796 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8797 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8798 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8799 (CPUID_OSXSAVE): New macro.
8800 (CPUID_AVX): New macro.
8801 (CPUID_FMA4): New macro.
8802 (index_YMM_Usable): Rename to...
8803 (index_AVX_Usable): ... this.
8804 (HAS_AVX): Use HAS_ARCH_FEATURE.
8805 (HAS_FMA4): Likewise.
8806 (HAS_YMM_USABLE): Remove.
8807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8808 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8810 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8811 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8812 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8813 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8814 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8816 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8818 * math/libm-test.c: Support platforms without multiple rounding modes.
8819 * math/bug-nextafter.c: Support platforms without FP exceptions.
8820 * math/bug-nexttoward.c: Likewise.
8821 * math/test-fenv.c: Likewise.
8822 * math/test-misc.c: Likewise.
8823 * stdlib/bug-getcontext.c: Likewise.
8825 2012-05-17 Andreas Jaeger <aj@suse.de>
8827 * manual/examples/search.c (critter_cmp): Change signature to
8829 * manual/string.texi (Collation Functions): Likewise.
8831 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8833 * bits/types.h: Fold copyright years.
8834 * bits/typesizes.h: Likewise.
8835 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8839 * time/time.h: Likewise.
8841 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8844 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8845 in instead of returning them. Return void.
8846 (__libc_mallinfo): Accumulate over all arenas.
8847 (__malloc_stats): Adjust for change in int_mallinfo interface.
8849 2012-05-16 Roland McGrath <roland@hack.frob.com>
8852 * configure.in (NM): Add AC_CHECK_TOOL for it.
8853 (libc_extra_cflags): New substituted variable.
8854 Check for -fstack-protector being used implicitly.
8855 * configure: Regenerated.
8856 * config.make.in (config-extra-cflags): New variable,
8857 gets @libc_extra_cflags@.
8858 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8861 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8862 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8863 * configure: Regenerated.
8864 * config.make.in (CPPUNDEFS): New substituted variable.
8865 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8866 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8867 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8871 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8872 (mq_attr): Use __syscall_slong_t.
8874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8876 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8877 Check __x86_64__ instead of __WORDSIZE.
8878 (_STAT_VER_LINUX): Likewise.
8879 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8880 __syscall_ulong_t and __syscall_slong_t.
8883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8885 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8889 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8891 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8893 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8896 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8897 include <bits/wordsize.h>. Check __x86_64__ instead of
8899 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8901 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8904 include <bits/wordsize.h>. Check __x86_64__ instead of
8906 (user_regs_struct): Use "__extension__ unsigned long long"
8907 instead of "unsigned long" if __x86_64__ is defined.
8908 (user): Likewise. Pad after pointer field if __ILP32__ is
8911 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8913 * configure.in (makeinfo): Require version 4.5 or later. Allow
8915 * configure: Regenerated.
8916 * manual/install.texi (texinfo): Increase version requirement to
8918 * INSTALL: Regenerated.
8920 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8924 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8926 * sysdeps/x86_64/x32/ffs.c: New file.
8928 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8930 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8931 defined. Use __syscall_ulong_t.
8932 (shminfo): Use __syscall_ulong_t.
8933 (shm_info): Likewise.
8935 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8938 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8940 (msgqnum_t): Use __syscall_ulong_t.
8941 (msglen_t): Likewise.
8942 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8945 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8946 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8948 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8950 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8951 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8953 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8956 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8957 include <bits/wordsize.h>. Check __x86_64__ instead of
8960 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8961 "unsigned long long int" if __x86_64__ is defined.
8962 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8965 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8966 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8968 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8970 (GET_PC): Cast to uintptr_t first.
8971 (GET_FRAME): Likewise.
8972 (GET_STACK): Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8976 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8977 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8978 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8980 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8981 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8985 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8995 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8997 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8999 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9000 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9001 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9002 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9004 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9006 * Makerules (+depfiles): Also collect depfiles from .oS in
9008 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9009 .oS, $(libnldbl-routines)).
9011 * Makerules (native-compile-mkdep-flags): Define.
9012 * sunrpc/Makefile (extra-objs): Add $(addprefix
9013 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9014 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9015 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9016 calling $(make-target-directory).
9018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9020 * bits/types.h (__snseconds_t): Removed.
9021 * time/time.h (struct timespec): Replace __snseconds_t with
9023 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9024 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9027 (__SNSECONDS_T_TYPE): Likewise.
9028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9029 (__SNSECONDS_T_TYPE): Likewise.
9030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9031 (__SNSECONDS_T_TYPE): Likewise.
9033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9035 * sysdeps/mach/hurd/bits/typesizes.h
9036 (__SYSCALL_SLONG_TYPE): New macro.
9037 (__SYSCALL_ULONG_TYPE): Likewise.
9039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9041 * bits/types.h (__syscall_slong_t): New type.
9042 (__syscall_ulong_t): Likewise.
9044 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9045 (__SYSCALL_ULONG_TYPE): Likewise.
9046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9047 (__SYSCALL_SLONG_TYPE): Likewise.
9048 (__SYSCALL_ULONG_TYPE): Likewise.
9049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9050 (__SYSCALL_SLONG_TYPE): Likewise.
9051 (__SYSCALL_ULONG_TYPE): Likewise.
9052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9053 (__SYSCALL_SLONG_TYPE): Likewise.
9054 (__SYSCALL_ULONG_TYPE): Likewise.
9056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9058 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9059 Add sigaltstack-offsets.sym.
9060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9061 <sigaltstack-offsets.h>.
9062 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9063 longjmp_msg pointer.
9064 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9065 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9067 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9069 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9071 * elf/stackguard-macros.h: Remove file.
9072 * sysdeps/generic/stackguard-macros.h: New file.
9073 * sysdeps/i386/stackguard-macros.h: Likewise.
9074 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9075 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9076 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9077 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9078 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9079 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9080 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9081 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9082 <elf/stackguard-macros.h>.
9085 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9086 __aligned__ in attribute.
9087 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9088 (gregset_t): Likewise.
9090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9092 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9093 * sysdeps/x86_64/64/Implies-after: Here. New file.
9094 * sysdeps/x86_64/x32/Implies-after: New file.
9096 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9098 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9099 and access return value for _dl_profile_fixup. Use R10_LP to
9102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9104 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9108 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9109 * sysdeps/x86_64/x32/sysdep.h: New file.
9111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9113 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9114 * sysdeps/x86_64/setjmp.S: Likewise.
9116 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9118 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9120 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9122 remove unused global constant.
9124 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9126 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9127 include of <not-cancel.h>.
9129 2012-05-15 Roland McGrath <roland@hack.frob.com>
9131 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9133 2012-05-15 Jeff Law <law@redhat.com>
9134 Andreas Jaeger <aj@suse.de>
9137 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9139 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9140 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9141 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9142 code changing __hst_map_handle.map.
9144 2012-05-15 Roland McGrath <roland@hack.frob.com>
9146 * configure.in (sysnames): Look for Implies-before and Implies-after
9148 * configure: Regenerated.
9150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9152 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9153 8-byte data alignment with LP_SIZE alignment.
9155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9162 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9166 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9167 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9168 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9170 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9174 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9175 (stackinfo_sub_sp): Likewise.
9177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9192 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9194 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9198 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9199 into R11_LP and load __x86_64_shared_cache_size_half into
9202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9204 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9207 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9216 powerpc32/power7/fpu/s_logb.c via #include.
9217 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9218 powerpc32/power7/fpu/s_logbf.c via #include.
9219 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9220 powerpc32/power7/fpu/s_logbl.c via #include.
9222 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9224 * README.libm: Remove file.
9226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9228 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9229 count for x32. Use R*_LP and omit operand-size suffix.
9231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9233 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9234 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9235 * sysdeps/x86_64/x32/shlib-versions: New file.
9237 2012-05-14 Roland McGrath <roland@hack.frob.com>
9239 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9240 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9241 Use _dl_fatal_printf instead.
9243 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9245 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9246 set if not set by the user. Do not allow for being unset.
9247 * sysdeps/unix/sysv/linux/configure: Regenerated.
9249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9251 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9252 the `q' suffix from lea and replace .quad with ASM_ADDR.
9254 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9257 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9259 (PTR_DEMANGLE): Likewise.
9261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9263 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9265 (ASM_ADDR): Likewise.
9283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9285 * sysdeps/x86_64/x32/dl-machine.h: New file.
9287 2012-05-14 Andreas Jaeger <aj@suse.de>
9289 * manual/Makefile (subdir): Remove export of subdir.
9290 (all): Remove target.
9291 (.PHONY): Remove all from list.
9292 (mkinstalldirs): Remove.
9293 (.PHONY): Remove installdirs from list.
9294 ($(inst_infodir)/libc.info): Use make-target-directory.
9295 (installdirs): Remove.
9297 (glibc-targets): Remove.
9300 ($(objpfx)stubs ../po/manual.pot): Remove.
9301 ($(objpfx)stamp%): Remove.
9302 (make-target-directory): Remove.
9303 (subdir_install): Remove.
9311 * manual/.gitignore: Remove, it's not needed anymore.
9312 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9314 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9316 (texis): Renamed to $(objpfx)texis.
9317 (texis-path): New, contains path to generated files.
9318 (chapters.%): Use texis-path for complete path, add extra argument
9320 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9321 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9322 (summary,texi, stamp-summary): Use complete path of
9323 files. Generate files in build dir.
9324 (dir-add.texi): Build in build dir.
9325 (libm-err.texi,stamp-libm-err): Likewise.
9326 (version.texi, stamp-version): Likewise.
9327 (.%c.texi): Likewise.
9328 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9329 (mostlyclean): Remove target.
9330 (realclean): Remove target.
9331 (generated): Add new variable with contents from mostlyclean and
9332 realclean, remove entries duplicated in common-mostlyclean, add
9333 stamp-libm-err and stamp-version.
9334 (generated-dirs): Add libc directory.
9335 ($(inst_infodir)/libc.info): Install files from build dir.
9337 * manual/install.texi (Configuring and compiling): Adjust since
9338 the info files are not part of the tar ball anymore.
9340 2012-05-14 Andreas Jaeger <aj@suse.de>
9342 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9345 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9349 to 2.2.0 where earlier.
9350 * sysdeps/unix/sysv/linux/configure: Regenerated.
9351 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9352 Remove conditional code.
9353 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9354 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9355 Remove conditional code.
9356 [!__NR_lchown]: Likewise.
9357 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9358 [__NR_lchown]: Likewise.
9359 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9360 comment referencing __ASSUME_LCHOWN_SYSCALL.
9361 * sysdeps/unix/sysv/linux/i386/sigaction.c
9362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9364 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9365 Remove conditional code.
9366 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9367 (__protocol_available): Remove #if 0 code.
9368 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9370 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9371 * sysdeps/unix/sysv/linux/kernel-features.h
9372 (__ASSUME_GETCWD_SYSCALL): Don't define.
9373 (__ASSUME_REALTIME_SIGNALS): Likewise.
9374 (__ASSUME_PREAD_SYSCALL): Likewise.
9375 (__ASSUME_PWRITE_SYSCALL): Likewise.
9376 (__ASSUME_POLL_SYSCALL): Likewise.
9377 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9378 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9380 (__ASSUME_SIOCGIFNAME): Don't define.
9381 (__ASSUME_MSG_NOSIGNAL): Likewise.
9382 (__ASSUME_SENDFILE): Define unconditionally.
9383 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9384 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9386 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9387 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9388 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9389 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9390 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9391 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9392 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9394 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9397 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9398 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9400 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9403 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9404 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9406 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9409 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9410 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9412 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9415 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9417 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9418 Remove conditional code.
9419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9420 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9421 Remove conditional code.
9422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9424 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9425 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9426 Remove conditional code.
9427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9428 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9429 Remove conditional code.
9430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9431 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9432 Remove conditional code.
9433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9434 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9435 Remove conditional code.
9436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9437 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9438 Remove conditional code.
9439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9440 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9441 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9443 * sysdeps/unix/sysv/linux/sigaction.c
9444 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9445 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9446 * sysdeps/unix/sysv/linux/sigpending.c
9447 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9448 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9449 * sysdeps/unix/sysv/linux/sigprocmask.c
9450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9452 * sysdeps/unix/sysv/linux/sigsuspend.c
9453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9456 (__libc_missing_rt_sigs): Remove.
9457 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9458 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9459 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9460 Remove conditional code.
9461 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9462 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9465 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9466 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9467 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9469 2012-05-14 Andreas Jaeger <aj@suse.de>
9471 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9472 it's not used in glibc.
9473 (__coshm1): Likewise.
9474 (__acosh1p): Likewise.
9477 * manual/string.texi (Copying and Concatenation): Add missing
9478 variable in concat example.
9479 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9485 __builtin_clzl with __builtin_clzll.
9487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9490 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9493 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9495 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9496 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9497 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9500 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9502 * NEWS: Update ia64 info.
9504 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9506 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9509 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9511 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9512 * sysdeps/unix/syscalls.list (dup3): Likewise.
9513 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9514 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9516 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9518 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9519 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9521 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9523 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9525 (TLS_IE): Use mov/add instead of movq/addq to load thread
9527 (TLS_GD_PREFIX): New.
9530 2012-05-11 David S. Miller <davem@davemloft.net>
9532 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9533 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9534 (_FPU_SETCW): Likewise.
9536 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9538 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9541 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9544 * iconvdata/gb18030.c: Update tables.
9545 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9546 characters specially.
9547 (BODY for TO_LOOP): Add encoding of missing ranges.
9549 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9552 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9553 * sysdeps/mach/hurd/dup3.c: Likewise.
9554 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9555 * sysdeps/powerpc/memmove.c:: Likewise.
9557 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9560 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9562 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9564 * elf/elf.h (R_X86_64_RELATIVE64): New.
9565 (R_X86_64_NUM): Updated.
9566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9567 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9568 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9569 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9570 tst-quad1pie tst-quad2pie
9571 (modules-names): Add tst-quadmod1 tst-quadmod2.
9572 ($(objpfx)tst-quad1): New dependency.
9573 ($(objpfx)tst-quad2): Likewise.
9574 ($(objpfx)tst-quad1pie): Likewise.
9575 ($(objpfx)tst-quad2pie): Likewise.
9576 * sysdeps/x86_64/tst-quad1.c: New file.
9577 * sysdeps/x86_64/tst-quad1pie.c: New file.
9578 * sysdeps/x86_64/tst-quad2.c: Likewise.
9579 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9580 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9581 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9582 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9583 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9587 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9588 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9589 * streams/stropts.h (t_scalar_t): Define type.
9591 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9592 (_PATH_PRESERVE): Set to "/var/lib".
9593 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9595 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9598 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9599 if __dir_mkfile succeeded.
9601 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9602 checking for _hurd_dtablesize. Unlock it right after having
9603 finished _hurd_dtable allocation.
9605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9607 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9608 * sysdeps/mach/hurd/configure: Regenerated.
9609 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9610 special-casing to...
9611 * sysdeps/gnu/configure.in: ... this new file.
9612 * sysdeps/unix/sysv/linux/configure: Regenerated.
9613 * sysdeps/gnu/configure: New generated file.
9615 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9616 for Linux: use nsec instead of usec, as well as:
9617 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9618 members of type struct timespec.
9619 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9621 (struct stat64): Likewise.
9622 (_STATBUF_ST_NSEC): New macro.
9623 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9625 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9626 __strtoul_internal rather than strtoul.
9628 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9630 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9635 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9636 which preserves existing values.
9637 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9639 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9641 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9642 TIMEOUT values. Return EINVAL for NFDS values either negative or
9643 greater than FD_SETSIZE.
9645 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9647 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9648 allocated, call __vm_protect to finish enabling the existing space, and
9649 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9650 allocate the remainder.
9652 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9654 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9655 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9659 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9660 sysdeps/mach/hurd/readlink.c.
9662 * posix/tst-sysconf.c (posix_options): Only use
9663 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9664 _POSIX_SYNCHRONIZED_IO when they are defined
9665 * sysdeps/mach/hurd/bits/posix_opt.h:
9666 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9667 (_XOPEN_REALTIME): Undefine macro.
9668 (_XOPEN_REALTIME_THREADS): Undefine macro.
9669 (_XOPEN_SHM): Undefine macro.
9670 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9672 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9674 (_POSIX_ASYNC_IO): Undefine macro.
9675 (_POSIX_PRIORITIZED_IO): Undefine macro.
9676 (_POSIX_SPIN_LOCKS): Define macro to -1.
9678 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9679 SA_NODEFER, SA_RESETHAND.
9680 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9681 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9686 * elf/Makefile (pldd-modules): Define unconditionally.
9688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9690 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9694 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9695 Return ENOENT when name is empty.
9696 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9700 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9702 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9706 Fix mlock in all cases except non-readable pages.
9707 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9708 instead of VM_PROT_ALL as parameter to __vm_wire function.
9710 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9711 (__mkdir): When path is `/', just fail with EEXIST.
9712 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9716 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9717 <sys/uio.h> (for writev).
9718 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9719 and <sys/param.h> (for MIN).
9721 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9723 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9724 REQUESTED_TIME. Properly set the remaining time and return EINTR
9727 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9729 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9730 Depend on against $(link-rpcuserlibs).
9732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9734 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9735 (__libc_stack_end): Do not use attribute_relro.
9736 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9737 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9738 to libthread-provided value.
9739 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9742 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9745 * bits/libc-lock.h (__libc_once_get): New macro.
9746 * sysdeps/mach/bits/libc-lock.h: Likewise.
9747 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9749 instead of using implementation details.
9751 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9752 * libio/freopen.c: Likewise.
9753 * libio/freopen64.c: Likewise.
9754 * misc/syslog.c: Likewise.
9755 * nscd/connections.c: Likewise.
9756 * nscd/netgroupcache.c: Likewise.
9757 * sysdeps/posix/getcwd.c: Likewise.
9759 2012-05-10 Roland McGrath <roland@hack.frob.com>
9761 * math/w_ilogbf.c: Add #include <limits.h>.
9763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9765 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9766 path instead of returning without unlocking.
9768 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9769 immediate-write ioctls.
9770 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9772 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9774 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9775 __builtin_frame_address instead of making assumptions about the
9776 location of the return address relative to DATA. Force early load of
9778 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9779 __builtin_frame_address.
9782 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9783 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9784 implement dup3 and do some further code clean-ups.
9785 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9786 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9790 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9792 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9793 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9794 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9795 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9796 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9799 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9800 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9801 when handler == SIG_ERR, not when handler != SIG_ERR.
9803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9805 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9806 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9809 accept4 for GNU Hurd.
9810 * include/sys/socket.h (__libc_accept4): New prototype.
9811 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9812 to implement __libc_accept4.
9813 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9815 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9817 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9818 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9819 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9824 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9826 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9828 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9829 assertion on O_CLOEXEC flag.
9830 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9831 * hurd/intern-fd.c: Likewise.
9832 * hurd/port2fd.c: Likewise.
9834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9837 * bits/in.h (IPV6_PKTINFO): Define new macro.
9838 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9840 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9845 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9847 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9848 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9850 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9851 * math/libm-test.inc (logb_test) : Additional logb tests.
9853 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9854 Andreas Jaeger <aj@suse.de>
9856 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9857 * configure: Regenerated.
9858 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9859 * config.make.in (link-obsolete-rpc): New substituted variable.
9860 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9861 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9862 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9863 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9864 so that libc.a contains the symbols.
9865 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9866 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9867 * sunrpc/auth_none.c: Likewise.
9868 * sunrpc/auth_unix.c: Likewise.
9869 * sunrpc/authdes_prot.c: Likewise.
9870 * sunrpc/authuxprot.c: Likewise.
9871 * sunrpc/clnt_gen.c: Likewise.
9872 * sunrpc/clnt_perr.c: Likewise.
9873 * sunrpc/clnt_raw.c: Likewise.
9874 * sunrpc/clnt_simp.c: Likewise.
9875 * sunrpc/clnt_tcp.c: Likewise.
9876 * sunrpc/clnt_udp.c: Likewise.
9877 * sunrpc/clnt_unix.c: Likewise.
9878 * sunrpc/des_crypt.c: Likewise.
9879 * sunrpc/des_soft.c: Likewise.
9880 * sunrpc/get_myaddr.c: Likewise.
9881 * sunrpc/key_call.c: Likewise.
9882 * sunrpc/key_prot.c: Likewise.
9883 * sunrpc/netname.c: Likewise.
9884 * sunrpc/pm_getmaps.c: Likewise.
9885 * sunrpc/pm_getport.c: Likewise.
9886 * sunrpc/pmap_clnt.c: Likewise.
9887 * sunrpc/pmap_prot.c: Likewise.
9888 * sunrpc/pmap_prot2.c: Likewise.
9889 * sunrpc/pmap_rmt.c: Likewise.
9890 * sunrpc/publickey.c: Likewise.
9891 * sunrpc/rpc_cmsg.c: Likewise.
9892 * sunrpc/rpc_common.c: Likewise.
9893 * sunrpc/rpc_dtable.c: Likewise.
9894 * sunrpc/rpc_prot.c: Likewise.
9895 * sunrpc/rpc_thread.c: Likewise.
9896 * sunrpc/rtime.c: Likewise.
9897 * sunrpc/svc.c: Likewise.
9898 * sunrpc/svc_auth.c: Likewise.
9899 * sunrpc/svc_raw.c: Likewise.
9900 * sunrpc/svc_run.c: Likewise.
9901 * sunrpc/svc_tcp.c: Likewise.
9902 * sunrpc/svc_udp.c: Likewise.
9903 * sunrpc/svc_unix.c: Likewise.
9904 * sunrpc/svcauth_des.c: Likewise.
9905 * sunrpc/xcrypt.c: Likewise.
9906 * sunrpc/xdr.c: Likewise.
9907 * sunrpc/xdr_array.c: Likewise.
9908 * sunrpc/xdr_float.c: Likewise.
9909 * sunrpc/xdr_intXX_t.c: Likewise.
9910 * sunrpc/xdr_mem.c: Likewise.
9911 * sunrpc/xdr_rec.c: Likewise.
9912 * sunrpc/xdr_ref.c: Likewise.
9913 * sunrpc/xdr_sizeof.c: Likewise.
9914 * sunrpc/xdr_stdio.c: Likewise.
9916 2012-05-10 Roland McGrath <roland@hack.frob.com>
9918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9919 change. Update copyright years.
9921 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9923 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9925 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9926 Joseph Myers <joseph@codesourcery.com>
9927 Paul Pluzhnikov <ppluzhnikov@google.com>
9930 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9932 [cross-compiling] (extra-libs): Likewise.
9933 [cross-compiling] (extra-libs-others): Likewise.
9934 [cross-compiling] (librpcsvc-routines): Likewise.
9935 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9936 [cross-compiling] (omit-deps): Likewise.
9937 (sunrpc-CPPFLAGS): New variable.
9938 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9939 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9940 (cross-rpcgen-objs): New variable.
9941 (extra-objs): Append $(cross-rpcgen-objs).
9942 ($(cross-rpcgen-objs)): New rule.
9943 ($(objpfx)cross-rpcgen): Likewise.
9944 (rpcgen-cmd): Define to use $(built-program-file). Expand
9946 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9947 ($(objpfx)x%.stmp): Likewise.
9948 * sunrpc/proto.h [IS_IN_build] (_): Define.
9949 [IS_IN_build] (_libc_intl_domainname): Likewise.
9951 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9954 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9955 and R_X86_64_TPOFF64.
9957 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9959 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9960 sysdeps/unix/sysv/syscalls.list.
9963 * sysdeps/unix/sysv/syscalls.list: Remove file.
9965 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9968 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9969 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9970 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9971 (__LC_IDENTIFICATION): Make these macros useful in #if
9972 expressions, as required by C99.
9974 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9976 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9977 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9980 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9982 * stdlib/longlong.h: Updated from GCC.
9984 2012-05-09 Andreas Jaeger <aj@suse.de>
9986 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9987 default is first entry.
9988 (run_mode): Set type.
9989 (main): Remove informal message about syslog.
9990 (options): Fix typo.
9993 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9996 (llrintf): Likewise.
10000 (nearbyint): Likewise.
10001 (nearbyintf): Likewise.
10003 2012-05-09 Andreas Jaeger <aj@suse.de>
10004 Pedro Alves <palves@redhat.com>
10006 * nscd/nscd.c (run_mode): Use enum.
10007 (main): Cleanup coding style issue.
10009 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10010 Andreas Jaeger <aj@suse.de>
10012 * nscd/nscd.c (go_background): Replaced with...
10013 (run_mode): ... this.
10014 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10015 (options): Add -F --foreground.
10016 (main): Implement it.
10017 (parse_opt): Parse it.
10019 2012-05-09 Andreas Jaeger <aj@suse.de>
10022 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10023 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10024 -Wconversion warning.
10025 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10028 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10030 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10032 (LC_ALL): Use macro-int-constant.
10033 (LC_COLLATE): Likewise.
10034 (LC_CTYPE): Likewise.
10035 (LC_MESSAGES): Likewise.
10036 (LC_MONETARY): Likewise.
10037 (LC_NUMERIC): Likewise.
10038 (LC_TIME): Likewise.
10039 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10040 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10042 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10044 [C99-based standards] (float_t): Expect type.
10045 [C99-based standards] (double_t): Expect type.
10046 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10048 [C99-based standards] (HUGE_VALL): Likewise.
10049 [C99-based standards] (INFINITY): Likewise.
10050 [C99-based standards] (NAN): Likewise.
10051 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10052 [C99-based standards] (FP_NAN): Likewise.
10053 [C99-based standards] (FP_NORMAL): Likewise.
10054 [C99-based standards] (FP_SUBNORMAL): Likewise.
10055 [C99-based standards] (FP_ZERO): Likewise.
10056 [C99-based standards] (FP_FAST_FMA): Use
10057 optional-macro-int-constant. Specify type. Require == 1.
10058 [C99-based standards] (FP_FAST_FMAF): Likewise.
10059 [C99-based standards] (FP_FAST_FMAL): Likewise.
10060 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10061 [C99-based standards] (FP_ILOGBNAN): Likewise.
10062 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10064 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10065 [C99-based standards] (math_errhandling): Specify type.
10066 [ISO99 || ISO11] (signgam): Do not allow.
10067 [non-C99-based standards] (copysignf): Do not allow.
10068 [non-C99-based standards] (exp2f): Likewise.
10069 [non-C99-based standards] (log2f): Likewise.
10070 [non-C99-based standards] (modff): Allow.
10071 [non-C99-based standards] (erff): Do not allow.
10072 [non-C99-based standards] (erfcf): Likewise.
10073 [non-C99-based standards] (gammaf): Likewise.
10074 [non-C99-based standards] (hypotf): Likewise.
10075 [non-C99-based standards] (j0f): Likewise.
10076 [non-C99-based standards] (j1f): Likewise.
10077 [non-C99-based standards] (jnf): Likewise.
10078 [non-C99-based standards] (lgammaf): Likewise.
10079 [non-C99-based standards] (tgammaf): Likewise.
10080 [non-C99-based standards] (y0f): Likewise.
10081 [non-C99-based standards] (y1f): Likewise.
10082 [non-C99-based standards] (ynf): Likewise.
10083 [non-C99-based standards] (isnanf): Likewise.
10084 [non-C99-based standards] (acoshf): Likewise.
10085 [non-C99-based standards] (asinhf): Likewise.
10086 [non-C99-based standards] (atanhf): Likewise.
10087 [non-C99-based standards] (cbrtf): Likewise.
10088 [non-C99-based standards] (expm1f): Likewise.
10089 [non-C99-based standards] (ilogbf): Likewise.
10090 [non-C99-based standards] (log1pf): Likewise.
10091 [non-C99-based standards] (logbf): Likewise.
10092 [non-C99-based standards] (nextafterf): Likewise.
10093 [non-C99-based standards] (remainderf): Likewise.
10094 [non-C99-based standards] (rintf): Likewise.
10095 [non-C99-based standards] (scalbf): Likewise.
10096 [non-C99-based standards] (copysignl): Likewise.
10097 [non-C99-based standards] (exp2l): Likewise.
10098 [non-C99-based standards] (log2l): Likewise.
10099 [non-C99-based standards] (modfl): Allow.
10100 [non-C99-based standards] (erfl): Do not allow.
10101 [non-C99-based standards] (erfcl): Likewise.
10102 [non-C99-based standards] (gammal): Likewise.
10103 [non-C99-based standards] (hypotl): Likewise.
10104 [non-C99-based standards] (j0l): Likewise.
10105 [non-C99-based standards] (j1l): Likewise.
10106 [non-C99-based standards] (jnl): Likewise.
10107 [non-C99-based standards] (lgammal): Likewise.
10108 [non-C99-based standards] (tgammal): Likewise.
10109 [non-C99-based standards] (y0l): Likewise.
10110 [non-C99-based standards] (y1l): Likewise.
10111 [non-C99-based standards] (ynl): Likewise.
10112 [non-C99-based standards] (isnanl): Likewise.
10113 [non-C99-based standards] (acoshl): Likewise.
10114 [non-C99-based standards] (asinhl): Likewise.
10115 [non-C99-based standards] (atanhl): Likewise.
10116 [non-C99-based standards] (cbrtl): Likewise.
10117 [non-C99-based standards] (expm1l): Likewise.
10118 [non-C99-based standards] (ilogbl): Likewise.
10119 [non-C99-based standards] (log1pl): Likewise.
10120 [non-C99-based standards] (logbl): Likewise.
10121 [non-C99-based standards] (nextafterl): Likewise.
10122 [non-C99-based standards] (remainderl): Likewise.
10123 [non-C99-based standards] (rintl): Likewise.
10124 [non-C99-based standards] (scalbl): Likewise.
10125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10126 [non-C99-based standards] (FP_*): Do not allow.
10127 [C99-based standards] (FP_*): Change to
10128 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10129 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10131 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10132 (SIG_ERR): Likewise.
10133 [X/Open-based standards] (SIG_HOLD): Likewise.
10134 (SIG_IGN): Likewise.
10135 (SIGABRT): Use macro-int-constant. Specify type. Require
10137 (SIGFPE): Likewise.
10138 (SIGILL): Likewise.
10139 (SIGINT): Likewise.
10140 (SIGSEGV): Likewise.
10141 (SIGTER): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10150 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10152 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10157 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10158 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10159 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10160 [X/Open-based standards] (SIGTRAP): Likewise.
10161 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10162 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10164 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10165 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10168 2012-05-08 Ian Wienand <ianw@vmware.com>
10171 * time/tzset.c (__tzset_parse_tz): Update default rules for
10172 daylight time changes in the Energy Policy Act of 2005.
10174 2012-05-09 Andreas Jaeger <aj@suse.de>
10177 * elf/ldconfig.c (parse_conf): Change string to make clear that
10178 ldconfig only issued a warning if ld.so.conf does not exist.
10180 2012-05-08 David S. Miller <davem@davemloft.net>
10182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10183 movxtod instead of popping the value on the stack.
10185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10187 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10189 * config.h.in: Add HAVE_ARM_PCS_VFP.
10191 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10194 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10195 checking but the checks are disabled for any reason.
10197 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10199 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10200 and ELF64_R_TYPE with ELFW(R_TYPE).
10202 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10204 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10205 (ulimit): Likewise.
10207 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10208 (settimeofday): Likewise.
10210 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10212 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10213 a struct th_u2 inside the union, and move tu_block/tu_code into
10214 a new th_u3 union of tu_block/tu_code inside of that. Move
10215 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10216 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10217 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10218 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10219 (th_stuff): Change to th_u1.tu_stuff.
10221 (th_msg): Change to th_u1.th_u2.tu_data.
10223 2012-05-07 David S. Miller <davem@davemloft.net>
10225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10228 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10229 (SETUP_PIC_REG): Use it.
10230 (SETUP_PIC_REG_LEAF): Use it.
10232 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10236 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10238 (EXPL_FINITE): Likewise.
10239 (FLDLOG): Likewise.
10240 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10241 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10243 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10245 (EXPL_FINITE): Likewise.
10246 (FLDLOG): Likewise.
10247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10248 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10250 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10251 test of -max_value argument for long double.
10252 * sysdeps/i386/fpu/libm-test-ulps: Update.
10253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10255 2012-05-06 David S. Miller <davem@davemloft.net>
10257 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10258 quad soft-float symbols whose references which are compiler
10260 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10262 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10266 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10268 (EXPL_FINITE): Likewise.
10269 (FLDLOG): Likewise.
10272 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10273 Adjust comments for base varying.
10274 (__expl_finite): Change alias to EXPL_FINITE.
10275 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10277 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10278 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10280 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10283 (EXPL_FINITE): Likewise.
10284 (FLDLOG): Likewise.
10287 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10288 Adjust comments for base varying.
10289 (__expl_finite): Change alias to EXPL_FINITE.
10290 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10295 * math/libm-test.inc (check_float_internal): Correct ulp
10296 calculation for subnormal expected results.
10298 2012-05-06 Andreas Jaeger <aj@suse.de>
10300 * Makeconfig (+math-flags): New, set to -frounding-math.
10301 (+cflags): Add +math-flags so that all of glibc gets compiled with
10304 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10306 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10308 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10314 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10315 (__ieee754_expl): Allow for and saturate large arguments.
10316 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10317 (u_threshold): Likewise.
10318 (__exp): Call __ieee754_exp before checking for overflow and
10320 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10321 (u_threshold): Likewise.
10322 (__expf): Call __ieee754_expf before checking for overflow and
10324 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10325 (u_threshold): Likewise.
10326 (__expl): Call __ieee754_expl before checking for overflow and
10328 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10329 (__ieee754_expl): Allow for and saturate large arguments.
10330 * math/libm-test.inc (exp_test): Add another test. Do not allow
10331 missing overflow exception on overflow.
10332 (expm1_test): Do not allow missing overflow exception on overflow.
10334 * sysdeps/i386/fpu/e_expl.c: Move to ...
10335 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10336 rather than using inline asm.
10337 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10338 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10339 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10341 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10344 (signal): Likewise.
10348 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10350 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10351 sysdeps/unix/common/syscalls.list.
10352 (fchmod): Likewise.
10353 (fchown): Likewise.
10354 (ftruncate): Likewise.
10355 (getrusage): Likewise.
10356 (gettimeofday): Likewise.
10357 (setpgid): Likewise.
10358 (setregid): Likewise.
10359 (setreuid): Likewise.
10360 (sigaction): Likewise.
10361 (truncate): Likewise.
10362 (vhangup): Likewise.
10363 * sysdeps/unix/common/syscalls.list: Remove file.
10364 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10365 * sysdeps/unix/sysv/linux/Implies: Likewise.
10367 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10369 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10371 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10375 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10378 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10381 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10384 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10387 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10390 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10393 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10397 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10401 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10404 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10408 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10412 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10414 * sysdeps/unix/common/bits/dirent.h: Remove file.
10415 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10417 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10418 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10419 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10420 * sysdeps/unix/bsd/isatty.c: Likewise.
10421 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10422 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10423 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10425 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10429 long double comparison inaccuracies.
10430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10433 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10435 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10438 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10442 nonzero digits before rounding a hex value.
10443 * stdlib/tst-strtod.c (tests): Add another test.
10445 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10447 * sysdeps/s390/fpu/libm-test-ulps: Update.
10449 2012-05-03 Andreas Jaeger <aj@suse.de>
10451 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10452 does not get optimized out.
10453 (malloc_opt_barrier): New.
10455 2012-05-03 Andreas Jaeger <aj@suse.de>
10456 Roland McGrath <roland@hack.frob.com>
10458 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10459 intermediate file deletion.
10460 (generated): Add .symlist files.
10462 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10465 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10466 Redirect under this condition.
10467 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10468 [__USE_GNU] (__dprintf_chk): Not under this condition.
10469 [__USE_GNU] (__vdprintf_chk): Likewise.
10470 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10471 under this condition.
10472 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10473 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10474 [__USE_XOPEN2K8] (vdprintf): Likewise.
10475 [__USE_GNU] (__dprintf_chk): Not under this condition.
10476 [__USE_GNU] (__vdprintf_chk): Likewise.
10477 [__USE_GNU] (dprintf): Likewise.
10478 [__USE_GNU] (vdprintf): Likewise.
10480 2012-05-03 Roland McGrath <roland@hack.frob.com>
10482 * elf/Makefile (common-generated): Set this instead of generated for
10483 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10484 $(all-built-dso)-derived lists.
10486 2012-05-03 Andreas Jaeger <aj@suse.de>
10488 * sysdeps/i386/fpu/libm-test-ulps: Update.
10491 * FAQ.in: Likewise.
10492 * scripts/gen-FAQ.pl: Likewise.
10493 * manual/install.texi (Installation): Point to online location of
10495 * Makefile (files-for-dist): Remove FAQ.
10498 2012-05-02 Allan McRae <allan@archlinux.org>
10500 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10501 (LDFLAGS-reldepmod5.so): Likewise.
10502 (LDFLAGS-reldep6mod1.so): Likewise.
10503 (LDFLAGS-reldep6mod4.so): Likewise.
10504 (LDFLAGS-reldep8mod3.so): Likewise.
10505 (LDFLAGS-unload4mod1.so): Likewise.
10506 (LDFLAGS-unload4mod2.so): Likewise.
10507 (LDFLAGS-tst-initorder): Likewise.
10508 (LDFLAGS-tst-initordera2.so): Likewise.
10509 (LDFLAGS-tst-initordera3.so): Likewise.
10510 (LDFLAGS-tst-initordera4.so): Likewise.
10511 (LDFLAGS-tst-initorderb2.so): Likewise.
10512 (LDFLAGS-noload): Likewise.
10513 (LDFLAGS-next): Likewise.
10514 (LDFLAGS-order2mod1.so): Likewise.
10515 (LDFLAGS-order2mod2.so): Likewise.
10516 (LDFLAGS-tst-initorder2): Likewise.
10517 (LDFLAGS-tst-initorder2a.so): Likewise.
10518 (LDFLAGS-tst-initorder2b.so): Likewise.
10519 (LDFLAGS-tst-initorder2c.so): Likewise.
10520 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10522 2012-05-02 David S. Miller <davem@davemloft.net>
10524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10526 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10529 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10531 2012-05-02 Andreas Jaeger <aj@suse.de>
10533 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10534 since we manipulate rounding mode.
10535 (CPPFLAGS-test-idouble.c): Likewise.
10536 (CPPFLAGS-test-ifloat.c): Likewise.
10537 (CFLAGS-test-ldouble.c): Likewise.
10538 (CFLAGS-test-double.c): Likewise.
10539 (CFLAGS-test-float.c): Likewise.
10540 (CFLAGS-test-misc.c): Likewise.
10541 (CFLAGS-test-test-fenv.c): Likewise.
10543 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10548 comparisons to determine direction to adjust input.
10550 2012-05-01 Roland McGrath <roland@hack.frob.com>
10552 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10553 output to the target.
10555 * scripts/localplt.awk: New file.
10556 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10557 (check-localplt-CFLAGS): Variable removed.
10558 ($(all-built-dso:=.jmprel)): New static pattern rule.
10559 (generated): Add those targets.
10560 (localplt-built-dso): New variable.
10561 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10563 * elf/check-localplt.c: File removed.
10565 * scripts/check-execstack.awk: New file.
10566 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10567 (check-execstack-CFLAGS): Variable removed.
10568 ($(objpfx)check-execstack.h): Target removed.
10569 ($(objpfx)execstack-default): New target.
10570 (generated): Add that instead of check-execstack.h.
10571 ($(all-built-dso:=.phdr)): New static pattern rule.
10572 (generated): Add those targets.
10573 * elf/check-execstack.c: File removed.
10575 * scripts/check-textrel.awk: New file.
10576 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10577 (check-textrel-CFLAGS): Variable removed.
10578 (all-built-dso): Use := to define.o
10579 ($(all-built-dso:=.dyn)): New static pattern rule.
10580 (generated): Add those targets.
10581 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10582 * config.make.in (READELF): New substituted variable.
10583 * elf/check-textrel.c: File removed.
10585 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10587 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10589 * conform/data/ctype.h-data [C99-based standards] (isblank):
10591 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10592 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10594 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10595 Specify type. Require positive value.
10596 (EILSEQ): Likewise.
10597 (ERANGE): Likewise.
10598 [ISO || POSIX] (EILSEQ): Do not expect.
10599 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10600 Specify type. Require positive value.
10601 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10608 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10615 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10616 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10620 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10621 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10622 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10623 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10625 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10626 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10627 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10628 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10629 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10630 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10631 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10632 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10633 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10634 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10635 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10636 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10637 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10638 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10639 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10640 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10641 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10642 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10643 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10644 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10645 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10646 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10647 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10648 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10649 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10650 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10651 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10652 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10653 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10654 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10655 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10656 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10657 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10658 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10659 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10660 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10661 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10662 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10663 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10664 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10665 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10666 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10667 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10668 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10669 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10670 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10671 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10672 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10673 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10674 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10675 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10676 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10677 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10679 (FLT_ROUNDS): Expect as macro, not constant.
10680 (FLT_MANT_DIG): Use macro-int-constant.
10681 (DBL_MANT_DIG): Likewise.
10682 (LDBL_MANT_DIG): Likewise.
10683 (FLT_DIG): Likewise.
10684 (DBL_DIG): Likewise.
10685 (LDBL_DIG): Likewise.
10686 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10687 (DBL_MIN_EXP): Likewise.
10688 (LDBL_MIN_EXP): Likewise.
10689 (FLT_MAX_EXP): Use macro-int-constant.
10690 (DBL_MAX_EXP): Likewise.
10691 (LDBL_MAX_EXP): Likewise.
10692 (FLT_MAX_10_EXP): Likewise.
10693 (DBL_MAX_10_EXP): Likewise.
10694 (LDBL_MAX_10_EXP): Likewise.
10695 (FLT_MAX): Use macro-constant.
10696 (DBL_MAX): Likewise.
10697 (LDBL_MAX): Likewise.
10698 (FLT_EPSILON): Use macro-constant. Give upper bound.
10699 (DBL_EPSILON): Likewise.
10700 (LDBL_EPSILON): Likewise.
10701 (FLT_MIN): Likewise.
10702 (DBL_MIN): Likewise.
10703 (LDBL_MIN): Likewise.
10704 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10705 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10706 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10707 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10708 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10709 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10710 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10711 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10712 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10713 [ISO11] (FLT_TRUE_MIN): Likewise.
10714 [ISO11] (LDBL_TRUE_MIN): Likewise.
10715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10716 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10717 (SCHAR_MIN): Use macro-int-constant. Specify type.
10718 (SCHAR_MAX): Likewise.
10719 (UCHAR_MAX): Likewise.
10720 (CHAR_MIN): Likewise.
10721 (CHAR_MAX): Likewise.
10722 (MB_LEN_MAX): Use macro-int-constant.
10723 (SHRT_MIN): Use macro-int-constant. Specify type.
10724 (SHRT_MAX): Likewise.
10725 (USHRT_MAX): Likewise.
10726 (INT_MAX): Likewise.
10727 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10729 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10731 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10733 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10734 bound negative. Suffix upper bound with "L".
10735 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10737 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10739 [C99-based standards] (LLONG_MAX): Likewise.
10740 [C99-based standards] (ULLONG_MAX): Likewise.
10741 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10743 [ISO11] (max_align_t): Require type.
10744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10746 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10747 from $CFLAGS, without defining away __attribute__ calls.
10748 (checknamespace): Use $CFLAGS_namespace.
10750 * conform/conformtest.pl (@keywords): Only include C99 keywords
10751 for standards based on C99 or C11.
10753 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10755 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10758 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10759 usability of symbols in #if.
10761 * conform/conformtest.pl: If macro or constant types start
10762 "promoted:", expect the symbol to be of the following type
10763 promoted by the integer promotions.
10765 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10766 in one place. Also handle "macro-constant".
10768 * conform/conformtest.pl: Only accept expected macro values with
10769 "==". Parse all "macro" lines in one place.
10770 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10772 * conform/conformtest.pl: Handle braced types on "constant" lines
10773 instead of handling "typed-constant".
10774 * conform/data/signal.h-data: Use "constant" instead of
10777 * conform/conformtest.pl: Handle "optional-" at start of lines in
10778 one place rather than duplicating several cases. Handle each
10779 format of "macro" line with initial "optional-".
10781 * conform/conformtest.pl: Only accept expected constant or
10782 optional-constant values with "==". Parse all "constant" lines in
10783 one place. Parse all "optional-constant" lines in one place.
10784 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10785 * conform/data/fmtmsg.h-data: Likewise.
10786 * conform/data/netinet/in.h-data: Likewise.
10787 * conform/data/tar.h-data: Likewise.
10788 * conform/data/limits.h-data: Use "==" form on "constant" and
10789 "optional-constant" lines.
10791 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10792 Use -std=c99 for XOPEN2K.
10793 (@knownproblems): Remove.
10794 (newtoken): Don't check %isknown.
10796 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10797 Do not expect macro.
10798 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10810 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10811 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10828 [XPG3] (acosh): Likewise.
10829 [XPG3] (asinh): Likewise.
10830 [XPG3] (atanh): Likewise.
10831 [XPG3] (cbrt): Likewise.
10832 [XPG3] (expm1): Likewise.
10833 [XPG3] (ilogb): Likewise.
10834 [XPG3] (log1p): Likewise.
10835 [XPG3] (logb): Likewise.
10836 [XPG3] (nextafter): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10839 [XPG3] (remainder): Likewise.
10840 [XPG3] (rint): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10848 [UNIX98 || XOPEN2K] (scalb): Expect.
10849 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10850 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10926 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10932 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10933 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10934 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10935 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10937 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10938 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10939 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10940 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10942 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10943 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10944 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10945 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10946 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10947 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10948 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10949 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10950 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10951 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10952 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10954 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10955 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10956 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10965 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10966 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10967 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10976 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10977 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10978 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10979 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10980 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10981 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10982 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10983 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10984 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10985 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10987 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10988 _XOPEN_SOURCE_EXTENDED for XPG4.
10990 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10992 * Makeconfig (localtime): Remove variable.
10993 (inst_localtime-file): Likewise.
10995 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11016 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11020 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11021 comparisons to determine direction to adjust input.
11022 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11023 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11024 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11026 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11028 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11030 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11031 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11033 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11035 * math/libm-test.inc (nexttoward_test): Add more tests.
11037 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11041 in version GLIBC_2.1, not GLIBC_2.0.
11042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11045 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11048 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11050 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11051 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11052 * math/libm-test.inc (acos_test): Add more tests.
11053 (asin_test): Likewise.
11054 * sysdeps/i386/fpu/libm-test-ulps: Update.
11055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11058 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11060 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11061 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11062 * math/libm-test.inc (acos_test_tonearest): New function.
11063 (acos_test_towardzero): Likewise.
11064 (acos_test_downward): Likewise.
11065 (acos_test_upward): Likewise.
11066 (asin_test_tonearest): Likewise.
11067 (asin_test_towardzero): Likewise.
11068 (asin_test_downward): Likewise.
11069 (asin_test_upward): Likewise.
11070 (main): Call the new functions.
11071 * sysdeps/i386/fpu/libm-test-ulps: Update.
11072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11076 * math/e_exp10.c: Include <float.h>.
11077 (__ieee754_exp10): Handle underflow here rather than multiplying
11078 large negative argument by M_LN10.
11079 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11081 * math/e_exp10l.c: Include <float.h>.
11082 (__ieee754_exp10l): Handle underflow here rather than multiplying
11083 large negative argument by M_LN10l.
11084 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11085 spurious overflow exception on underflow.
11087 2012-04-29 Marek Polacek <polacek@redhat.com>
11089 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11090 (__fortify_function): New macro.
11091 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11092 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11093 __extern_always_inline.
11094 * libio/bits/stdio2.h: Likewise.
11095 * libio/bits/stdio.h: Likewise.
11096 * string/string.h: Likewise.
11097 * string/bits/string3.h: Likewise.
11098 * include/stdio.h: Likewise.
11099 * stdlib/bits/stdlib.h: Likewise.
11100 * stdlib/stdlib.h: Likewise.
11101 * rt/bits/mqueue2.h: Likewise.
11102 * rt/mqueue.h: Likewise.
11103 * posix/bits/unistd.h: Likewise.
11104 * posix/unistd.h: Likewise.
11105 * io/bits/poll2.h: Likewise.
11106 * io/bits/fcntl2.h: Likewise.
11107 * io/fcntl.h: Likewise.
11108 * io/sys/poll.h: Likewise.
11109 * misc/bits/syslog.h: Likewise.
11110 * misc/bits/syslog-ldbl.h: Likewise.
11111 * misc/sys/syslog.h: Likewise.
11112 * socket/bits/socket2.h: Likewise.
11113 * socket/sys/socket.h: Likewise.
11114 * debug/tst-chk1.c: Likewise.
11115 * wcsmbs/bits/wchar2.h: Likewise.
11116 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11117 * wcsmbs/wchar.h: Likewise.
11119 2012-04-29 Andreas Jaeger <aj@suse.de>
11121 * Makerules (tests): Remove enable-check-abi protection.
11122 (check-abi-warn): Remove.
11123 (check-abi-%): Remove check-abi-warn usage.
11125 * configure.in: Remove check-abi configure option.
11126 * configure: Regenerated.
11127 * config.make.in (enable-check-abi): Remove.
11129 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11132 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11133 double functions to double *_finite functions.
11136 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11137 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11139 * stdio-common/Makefile (tests): Add tst-sprintf3.
11140 * stdio-common/tst-sprintf3.c: New file.
11142 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11143 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11145 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11147 * conform/conformtest.pl: Remove duplicate typed-constant
11150 2012-04-28 David S. Miller <davem@davemloft.net>
11152 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11153 (check-abi-%): Remove AWK script prerequisite and explicit
11155 (check-abi): Rewrite to just diff the symlist with the abilist.
11156 (config-tls, config-abi-config): Delete, no longer used.
11157 (update-abi-%): Remove AWK script and explicit abilist directory.
11158 (update-abi): Rewrite to simply compare and conditionally copy the
11159 symlist and the sysdep abilist file. Remove update-abi-config
11161 * abilist/ld.abilist: Remove.
11162 * abilist/libBrokenLocale.abilist: Remove.
11163 * abilist/libanl.abilist: Remove.
11164 * abilist/libcrypt.abilist: Remove.
11165 * abilist/libdl.abilist: Remove.
11166 * abilist/librt.abilist: Remove.
11167 * abilist/libthread_db.abilist: Remove.
11168 * abilist/libutil.abilist: Remove.
11169 * scripts/extract-abilist.awk: Remove.
11170 * scripts/merge-abilist.awk: Remove.
11171 * sysdeps/generic/libcidn.abilist: New file.
11172 * sysdeps/generic/libnss_compat.abilist: New file.
11173 * sysdeps/generic/libnss_db.abilist: New file.
11174 * sysdeps/generic/libnss_dns.abilist: New file.
11175 * sysdeps/generic/libnss_files.abilist: New file.
11176 * sysdeps/generic/libnss_hesiod.abilist: New file.
11177 * sysdeps/generic/libnss_nis.abilist: New file.
11178 * sysdeps/generic/libnss_nisplus.abilist: New file.
11179 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11180 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11181 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11184 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11185 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11186 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11187 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11188 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11189 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11190 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11191 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11193 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11194 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11195 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11196 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11198 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11199 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11200 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11201 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11202 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11203 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11205 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11206 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11207 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11209 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11312 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11313 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11314 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11317 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11318 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11319 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11320 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11321 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11322 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11323 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11324 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11325 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11377 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11379 * conform/conformtest.pl: Fix typo in handling typed-constant from
11382 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11384 * README: Cut down references to pre-2.6 Linux kernels and
11385 Linuxthreads. Update lists of configurations in libc and ports
11386 and sort alphabetically. Say "or newer" with Linux kernel version
11389 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11391 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11394 * math/libm-test.inc (logb_test_downward): New test to expose
11395 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11398 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11401 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11403 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11404 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11406 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11408 * sysdeps/unix/i386/brk.S: Remove file.
11409 * sysdeps/unix/i386/dl-brk.S: Likewise.
11410 * sysdeps/unix/i386/pipe.S: Likewise.
11411 * sysdeps/unix/i386/sigreturn.S: Likewise.
11412 * sysdeps/unix/i386/syscall.S: Likewise.
11413 * sysdeps/unix/i386/vfork.S: Likewise.
11414 * sysdeps/unix/i386/wait.S: Likewise.
11416 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11417 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11419 * configure.in (arm*-none*): Do not allow without
11420 --enable-hacker-mode.
11421 (netbsd*): Remove case setting base_os.
11422 (386bsd*): Likewise.
11423 (freebsd*): Likewise.
11426 (sunos*): Likewise.
11427 (ultrix*): Likewise.
11428 (newsos*): Likewise.
11429 (dynix*): Likewise.
11435 (minix*): Likewise.
11436 (irix4*): Likewise.
11437 (irix6*): Likewise.
11438 (solaris[2-9]*): Likewise.
11440 * configure: Regenerated.
11442 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11446 overflow or cancellation in calculating denominator.
11447 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11449 down expression to avoid unexpected rounding in newer GCCs.
11450 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11452 2012-04-26 David S. Miller <davem@davemloft.net>
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11455 long-double compat symbols.
11456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11470 2012-04-25 David S. Miller <davem@davemloft.net>
11472 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11473 HWCAP_* values only after the memory barriers have been defined.
11474 (atomic_full_barrier): Define.
11475 (atomic_read_barrier): Define.
11476 (atomic_write_barrier): Define.
11478 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11480 * shlib-versions: Add libgcc_s version information.
11481 * sysdeps/generic/libgcc_s.h: Remove.
11482 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11484 * sysdeps/gnu/unwind-resume.c: Likewise.
11485 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11487 2012-04-25 David S. Miller <davem@davemloft.net>
11489 * sysdeps/unix/sparc/brk.S: Delete.
11490 * sysdeps/unix/sparc/dl-brk.S: Delete.
11491 * sysdeps/unix/sparc/pipe.S: Delete.
11492 * sysdeps/unix/sparc/sysdep.S: Delete.
11493 * sysdeps/unix/sparc/sysdep.h: Delete.
11494 * sysdeps/unix/sparc/vfork.S: Delete.
11495 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11496 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11497 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11498 ret_ERRVAL, r0, r1, MOVE): Define.
11499 (JUMPTARGET): Remove.
11500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11501 sysdeps/unix/sparc/sysdep.h
11502 (ENTRY, END): Remove.
11503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11505 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11507 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11508 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11511 * timezone/README: Update upstream location and email address for
11513 * timezone/zdump.c: Update from tzcode 2012b.
11514 * timezone/zic.c: Likewise.
11516 * configure.in (libc_cv_as_needed): Remove test.
11517 * configure: Regenerated.
11518 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11519 conditional definition.
11520 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11521 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11522 * config.make.in (have-as-needed): Remove variable.
11524 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11525 Paul Pluzhnikov <ppluzhnikov@google.com>
11527 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11530 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11532 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11533 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11534 * sysdeps/sh/strlen.S: Likewise.
11536 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11538 * sysdeps/unix/fork.S: Remove file.
11539 * sysdeps/unix/i386/fork.S: Likewise.
11540 * sysdeps/unix/sparc/fork.S: Likewise.
11542 * sysdeps/unix/system.c: Remove file.
11543 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11545 * sysdeps/unix/getegid.S: Remove file.
11546 * sysdeps/unix/geteuid.S: Likewise.
11548 2012-04-24 Roland McGrath <roland@hack.frob.com>
11550 * scripts/check-localplt.awk: New file.
11551 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11553 * scripts/data/localplt-generic.data: Add a comment.
11555 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11556 NODE when __dir_mkfile failed.
11557 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11558 Reported by Ludovic Courtès <ludo@gnu.org>.
11560 2012-04-24 Andreas Jaeger <aj@suse.de>
11562 * Makerules (common-clean): Also remove gen-as-const-headers
11565 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11567 * Makerules (native-compile): Do not change working directory for
11568 build. Use $(OUTPUT_OPTION) in command.
11569 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11571 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11574 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11575 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11576 * math/libm-test.inc (floor_test): Add more tests.
11577 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11579 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11581 * sysdeps/unix/getdents.c: Remove file.
11582 * sysdeps/unix/sysv/getdents.c: Likewise.
11583 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11585 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11586 sysdeps/unix/mman/syscalls.list.
11588 (mprotect): Likewise.
11590 (munmap): Likewise.
11591 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11592 * sysdeps/unix/mman/syscalls.list: Remove.
11593 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11595 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11596 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11597 * configure: Regenerated.
11598 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11599 $(libgcc_s_suffix).
11600 * config.make.in (libgcc_s_suffix): Remove variable.
11602 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11604 * sysdeps/unix/sysv/gethostname.c: Move to ...
11605 * sysdeps/posix/gethostname.c: ... here.
11607 * sysdeps/unix/execve.S: Remove file.
11609 * sysdeps/unix/_exit.S: Remove file.
11611 2012-04-23 Andreas Jaeger <aj@suse.de>
11614 * manual/Makefile: Remove make dist support, there's no
11615 need for a stand-alone documentation tar ball.
11616 (TEXI2DVI): Define always, it's not in Makeconfig.
11619 (edition): Removed.
11620 (glibc-doc-$(edition).tar): Removed
11624 (ETAGS): Remove, it's in Makeconfig.
11625 (move-if-change): Remove, it's in Makeconfig.
11627 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11630 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11631 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11632 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11633 (strtod_l, strtof_l, strtold_l): Remove __wur.
11634 It is not necessarily an error to ignore strtol's return value.
11635 One can reliably look at the stored endptr to decide whether
11636 the number had valid syntax.
11638 2012-04-21 Andreas Jaeger <aj@suse.de>
11641 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11643 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11645 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11646 * sysdeps/unix/sysv/Versions: Remove file.
11648 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11653 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11657 version from __vm86.
11659 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11661 * sysdeps/unix/common/lxstat.c: Remove file.
11662 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11664 * sysdeps/unix/sysv/Makefile: Remove file.
11666 * sysdeps/unix/sysv/direct.h: Remove file.
11668 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11669 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11670 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11671 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11672 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11673 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11674 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11676 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11678 * sysdeps/unix/xmknod.c: Remove file.
11679 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11681 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11683 * sysdeps/unix/sysv/i386/time.S: Remove file.
11685 * sysdeps/unix/fxstat.c: Remove file.
11686 * sysdeps/unix/xstat.c: Likewise.
11687 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11689 * sysdeps/unix/sysv/sigaction.c: Remove file.
11691 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11692 (sysdep_headers): Remove variable.
11693 [termio.h not in sysdep_headers] (generated): Likewise.
11694 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11695 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11696 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11697 * sysdeps/unix/sysv/tcflow.c: Likewise.
11698 * sysdeps/unix/sysv/tcflush.c: Likewise.
11699 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11700 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11701 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11702 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11703 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11705 * sysdeps/unix/siglist.c: Remove file.
11707 * sysdeps/unix/getppid.S: Remove file.
11709 * sysdeps/unix/mkdir.c: Remove file.
11710 * sysdeps/unix/rmdir.c: Likewise.
11712 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11714 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11716 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11717 errlist-compat value.
11719 2012-04-18 David S. Miller <davem@davemloft.net>
11721 * sysdeps/generic/memcopy.h (reg_char): Delete.
11722 * debug/strcat_chk.c: Use char, not reg_char.
11723 * debug/strcpy_chk.c: Likewise.
11724 * debug/strncat_chk.c: Likewise.
11725 * debug/strncpy_chk.c: Likewise.
11726 * string/memchr.c: Likewise.
11727 * string/memrchr.c: Likewise.
11728 * string/rawmemchr.c: Likewise.
11729 * string/strcat.c: Likewise.
11730 * string/strchr.c: Likewise.
11731 * string/strchrnul.c: Likewise.
11732 * string/strcmp.c: Likewise.
11733 * string/strcpy.c: Likewise.
11734 * string/strncat.c: Likewise.
11735 * string/strncmp.c: Likewise.
11736 * string/strncpy.c: Likewise.
11738 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11740 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11741 __builtin_memcopy is called when src and dest ranges are known to not
11744 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11746 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11747 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11748 fwd_align_merge macro call.
11749 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11750 bwd_align_merge macro call.
11751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11753 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11756 bwd_align_merge macros.
11757 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11758 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11759 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11761 2012-04-18 David S. Miller <davem@davemloft.net>
11763 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11765 2012-04-18 Andreas Jaeger <aj@suse.de>
11768 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11769 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11770 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11773 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11776 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11777 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11778 Adjust for changed ldbl-128 files.
11780 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11781 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11782 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11784 2012-04-17 David S. Miller <davem@davemloft.net>
11786 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11788 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11790 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11791 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11792 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11793 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11794 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11795 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11797 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11800 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11801 * math/libm-test.inc: Add ilogb errno and exception tests.
11802 * math/w_ilogb.c: New file: ilogb wrapper.
11803 * math/w_ilogbf.c: New file: ilogbf wrapper.
11804 * math/w_ilogbl.c: New file: ilogbl wrapper.
11805 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11806 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11807 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11808 exception being thrown with 0.0 as argument.
11809 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11810 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11811 exception being thrown with 0.0 as argument.
11812 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11813 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11814 exception being thrown with 0.0 as argument.
11815 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11816 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11817 exception being thrown with 0.0 as argument.
11818 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11819 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11821 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11822 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11823 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11824 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11825 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11826 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11828 2012-04-17 Petr Baudis <pasky@ucw.cz>
11830 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11833 2012-04-16 Marek Polacek <polacek@redhat.com>
11835 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11837 2012-04-16 Marek Polacek <polacek@redhat.com>
11839 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11840 operands of fdivp instruction.
11842 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11844 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11845 * elf/tst-auditmod3b.c: Likewise.
11846 * elf/tst-auditmod4b.c: Likewise.
11847 * elf/tst-auditmod5b.c: Likewise.
11848 * elf/tst-auditmod6b.c: Likewise.
11849 * elf/tst-auditmod6c.c: Likewise.
11850 * elf/tst-auditmod7b.c: Likewise.
11851 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11852 * sysdeps/x86_64/preconfigure.in: Likewise.
11853 * sysdeps/x86_64/preconfigure: Regenerated.
11855 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11857 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11860 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11863 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11865 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11868 * locale/iso-639.def: Fix gl language name. Spotted by
11871 2012-04-12 Roland McGrath <roland@hack.frob.com>
11874 * libio/libio.h (__io_write_fn): Update comment.
11876 2012-04-12 Petr Baudis <pasky@ucw.cz>
11879 * stdio.texi (Hook Functions): The user provided writer function
11880 is not allowed to return -1.
11882 2012-04-11 David S. Miller <davem@davemloft.net>
11884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11886 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11888 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11889 Add a leading slash to rtkaio.
11891 2012-04-11 Jim Meyering <meyering@redhat.com>
11894 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11895 It is not necessarily an error to ignore fwrite's return
11896 value. One can reliably use ferror to test for errors after
11899 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11901 * bits/types.h (__snseconds_t): New type.
11902 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11904 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11906 (__SNSECONDS_T_TYPE): Likewise.
11907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11908 (__SNSECONDS_T_TYPE): Likewise.
11909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11910 (__SNSECONDS_T_TYPE): Likewise.
11912 2012-04-10 Andreas Jaeger <aj@suse.de>
11915 * manual/time.texi (Processor Time): Return type of times is
11916 elapsed real time since an arbitrary point in the past.
11917 (CPU Time): Move CLK_TCK from here...
11918 (Processor Time): ...to here. Correct description.
11919 * manual/conf.texi (Constants for Sysconf): Correct description of
11922 2012-04-10 David S. Miller <davem@davemloft.net>
11925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11926 where the is a gap between DT_REL(A) and DT_JMPREL.
11928 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11930 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11931 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11932 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11934 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11936 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11937 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11938 (dl_main): Handle --inhibit-cache.
11939 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11941 * elf/dl-load.c (_dl_map_object): Use it.
11942 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11944 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11947 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11948 (__ieee754_powl): Saturate large exponents rather than testing for
11949 overflow of y*log2(x).
11950 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11951 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11955 * math/s_ctan.c: Include <float.h>.
11956 (__ctan): Avoid internal overflow or cancellation in calculating
11958 * math/s_ctanf.c: Likewise.
11959 * math/s_ctanl.c: Likewise.
11960 * math/s_ctanh.c: Likewise.
11961 * math/s_ctanhf.c: Likewise.
11962 * math/s_ctanhl.c: Likewise.
11963 * math/libm-test.inc (ctan_test): Add more tests.
11964 (ctanh_test): Likewise.
11965 * sysdeps/i386/fpu/libm-test-ulps: Update.
11966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11968 2012-04-09 Andreas Jaeger <aj@suse.de>
11971 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11972 is an optional BSD extension.
11975 * manual/stdio.texi (Opening Streams): Document additional fopen
11978 2012-04-09 Roland McGrath <roland@hack.frob.com>
11980 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11981 %eax without telling the compiler.
11983 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11986 * manual/install.texi: Use sourceware.org.
11988 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11991 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11992 (__ieee754_pow): Generate overflow and underflow using huge*huge
11993 and tiny*tiny rather than just returning constant infinity or zero
11994 for large exponents.
11995 * math/libm-test.inc (pow_test): Require overflow exceptions for
11996 applicable cases of large exponents.
11999 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12000 (__ieee754_pow): Use iterative multiplication algorithm only for
12001 integer exponents with absolute value below 1024. Check for odd
12002 integer exponents when using algorithm for real exponents.
12003 * math/libm-test.inc (pow_test): Add more tests.
12004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12006 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12009 * math/libm-test.inc (exp_test): Do not allow overflow exception
12012 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12015 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12016 instead of __kernel_standard_f.
12018 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12020 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12021 * sysdeps/x86_64/memset_chk.S: Likewise.
12023 2012-04-08 Andreas Jaeger <aj@suse.de>
12026 * manual/startup.texi (Environment Access): Describe return value
12027 for putenv and setenv.
12030 * manual/filesys.texi (Directory Entries): Add description for
12034 * manual/filesys.texi (Directory Entries): Clarify that it's file
12035 system not operating system in the description of DT_UNKNOWN.
12038 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12040 2012-04-08 Stephen Compall <s11@member.fsf.org>
12043 * manual/llio.texi (Opening and Closing Files): Add cross
12044 reference to explain mode argument.
12046 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12048 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12049 * sysdeps/x86_64/memset_chk.S: Likewise.
12051 2012-04-07 David S. Miller <davem@davemloft.net>
12053 * elf/elf.h (R_SPARC_WDISP10): Define.
12054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12057 R_SPARC_SIZE64 and R_SPARC_H34.
12059 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12062 conditions and remove no longer applicable assertion.
12064 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12066 * bits/byteswap.h: Include <features.h>.
12067 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12068 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12070 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12072 * bits/byteswap.h (__bswap_16): Removed.
12073 Include <bits/byteswap-16.h> to get __bswap_16.
12074 * sysdeps/i386/bits/byteswap.h: Likewise.
12075 * sysdeps/s390/bits/byteswap.h: Likewise.
12076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12077 * bits/byteswap-16.h: New file.
12078 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12079 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12080 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12081 * string/Makefile (headers): Add bits/byteswap-16.h.
12083 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12086 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12088 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12089 * nss/tst-nss-static.c: New.
12091 2012-04-06 Robert Millan <rmh@gnu.org>
12094 * manual/llio.texi (File Position Primitive): lseek
12095 refers to WHENCE when it really means OFFSET.
12097 2012-04-06 Andreas Jaeger <aj@suse.de>
12099 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12100 strncmp declarations.
12102 * abilist/libc.abilist: Add __poll and __ppoll.
12104 2012-04-05 David S. Miller <davem@davemloft.net>
12106 * scripts/check-local-headers.sh: Accept a host triplet in the
12107 path matched by the exclude regexp.
12109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12111 * sysdeps/powerpc/powerpc32/dl-machine.h
12112 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12113 * sysdeps/s390/s390-32/dl-machine.h
12114 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12115 * sysdeps/sparc/sparc32/dl-machine.h
12116 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12117 * sysdeps/sparc/sparc64/dl-machine.h
12118 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12120 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12122 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12123 undefined symbol errors.
12125 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12128 2012-04-05 Michael Matz <matz@suse.de>
12131 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12133 2012-04-05 Andreas Jaeger <aj@suse.de>
12136 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12139 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12142 which ROUND is no valid rounding mode.
12144 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12146 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12148 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12150 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12152 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12153 an exception using FPU order intentionally.
12155 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12157 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12158 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12159 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12160 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12162 2012-04-05 Simon Josefsson <simon@josefsson.org>
12165 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12166 EINVAL when BUFLEN is too smal.
12168 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12171 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12172 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12174 2012-04-03 Andreas Jaeger <aj@suse.de>
12177 * manual/setjmp.texi (System V contexts): Fix sentence.
12180 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12181 New macro for this case.
12182 [!__GNUC__] (__bswap_64): New inline function for this case.
12183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12184 * bits/byteswap.h: Likewise.
12185 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12186 ull, guard with __GLIBC_HAVE_LONG_LONG.
12188 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12189 __GLIBC_HAVE_LONG_LONG.
12191 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12192 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12194 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12197 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12198 inptr and inend, rather than using last_ch.
12200 2012-04-02 David S. Miller <davem@davemloft.net>
12202 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12203 * stdio-common/printf-parse.h (read_int): Change return type to
12204 'int', return -1 on INT_MAX overflow.
12205 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12206 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12207 overflows INT_MAX. Check for overflow of in-format-string precision
12208 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12209 SIZE_MAX not INT_MAX for integer overflow test.
12210 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12211 skip the construct in the format string but do not record anything.
12212 * stdio-common/bug22.c: Adjust to test both width/prevision
12213 INT_MAX overflow as well as total length INT_MAX overflow. Check
12214 explicitly for proper errno values.
12216 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12218 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12220 * string/test-strcmp.c [! WIDE]: Likewise.
12221 * time/tst-mktime2.c: Likewise for INT_MAX.
12222 * string/test-string.h: #include <sys/param.h> for MIN.
12224 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12225 * sysdeps/i386/init-first.c (init): Likewise.
12226 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12227 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12228 * sysdeps/sh/init-first.c (init): Likewise.
12230 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12232 * po/ru.po: Update from translation team.
12233 * po/vi.po: Likewise.
12235 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12237 * resolv/nss_dns/dns-host.c: Merge copyright years.
12239 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12241 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12242 Optimize memcpy with prefetch if
12243 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12244 src, dst pointers have unequal 16 byte alignments.
12246 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12249 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12250 from a CNAME entry and return the minimum ttl for the query.
12251 (gaih_getanswer_slice): Likewise.
12253 2012-03-30 Jeff Law <law@redhat.com>
12255 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12257 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12258 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12260 * resolv/nss_dns/dns-host.c: Update copyright year.
12262 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12264 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12265 requests to save a system call. Fix check that all bytes are sent.
12267 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12268 comments for sendmmsg.
12270 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12274 with only 1 character between 0x0041 and 0x01b0.
12275 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12276 * wcsmbs/tst-mbsnrtowcs.c: New file.
12278 2012-03-29 David S. Miller <davem@davemloft.net>
12280 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12281 small copies by hand.
12283 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12286 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12287 _nss_compat_initgroups_dyn): Fall back to malloc/free
12288 for large group memberships.
12290 2012-03-28 David S. Miller <davem@davemloft.net>
12292 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12293 that branches into memcpy.
12294 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12297 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12300 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12301 implementation too.
12302 * sysdeps/sparc/mempcpy.S: New file.
12304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12305 the IFUNC routine in the libc case.
12306 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12308 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12309 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12310 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12311 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12312 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12313 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12314 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12315 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12317 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12318 loop to 256 bytes instead of 64 bytes and fix test signedness.
12320 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12321 * sysdeps/sparc/sparc32/Makefile: rather than here...
12322 * sysdeps/sparc/sparc64/Makefile: and here.
12324 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12326 * malloc/mallocbug.c: Avoid warnings about unused variables.
12328 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12332 in the right place. Discard and retry query if response is
12333 larger than input buffer size.
12335 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12340 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12341 x for large integer exponent.
12342 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12343 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12344 sign of result as needed afterwards.
12345 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12346 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12347 result for underflowing pow the same as for overflow.
12348 (__kernel_standard_l): Handle powl overflow and underflow here
12349 rather than calling __kernel_standard.
12350 * math/libm-test.inc (pow_test): Add more tests.
12365 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12366 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12367 (__kernel_standard_l): New function.
12368 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12370 * math/w_acosl.c (__acosl): Likewise.
12371 * math/w_asinl.c (__asinl): Likewise.
12372 * math/w_atan2l.c (__atan2l): Likewise.
12373 * math/w_atanhl.c (__atanhl): Likewise.
12374 * math/w_coshl.c (__coshl): Likewise.
12375 * math/w_exp10l.c (__exp10l): Likewise.
12376 * math/w_exp2l.c (__exp2l): Likewise.
12377 * math/w_fmodl.c (__fmodl): Likewise.
12378 * math/w_hypotl.c (__hypotl): Likewise.
12379 * math/w_j0l.c (__j0l, __y0l): Likewise.
12380 * math/w_j1l.c (__j1l, __y1l): Likewise.
12381 * math/w_jnl.c (__jnl, __ynl): Likewise.
12382 * math/w_lgammal.c (__lgammal): Likewise.
12383 * math/w_log10l.c (__log10l): Likewise.
12384 * math/w_log2l.c (__log2l): Likewise.
12385 * math/w_logl.c (__logl): Likewise.
12386 * math/w_powl.c (__powl): Likewise.
12387 * math/w_remainderl.c (__remainderl): Likewise.
12388 * math/w_scalbl.c (sysv_scalbl): Likewise.
12389 * math/w_sinhl.c (__sinhl): Likewise.
12390 * math/w_sqrtl.c (__sqrtl): Likewise.
12391 * math/w_tgammal.c (__tgammal): Likewise.
12392 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12393 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12394 * math/libm-test.inc (acos_test): Add more tests.
12395 (acosh_test): Likewise.
12396 (asin_test): Likewise.
12397 (atanh_test): Likewise.
12398 (exp_test): Likewise.
12399 (exp10_test): Likewise.
12400 (exp2_test): Likewise.
12401 (expm1_test): Likewise.
12402 (lgamma_test): Likewise.
12403 (log_test): Likewise.
12404 (log10_test): Likewise.
12405 (log1p_test): Likewise.
12406 (log2_test): Likewise.
12407 (pow_test): Do not allow some spurious overflow exceptions.
12408 (sqrt_test): Add more tests.
12409 (tgamma_test): Likewise.
12410 (y0_test): Likewise.
12411 (y1_test): Likewise.
12412 (yn_test): Likewise.
12414 2012-03-27 Anton Blanchard <anton@samba.org>
12416 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12418 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12419 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12420 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12422 2012-03-27 David S. Miller <davem@davemloft.net>
12424 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12426 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12427 have-as-vis3 check.
12429 2012-03-27 Andreas Jaeger <aj@suse.de>
12431 * sysdeps/x86_64/elf/configure.in: Moved to ...
12432 * sysdeps/x86_64/configure.in: ... here.
12433 * sysdeps/x86_64/elf/start.S: Moved to ...
12434 * sysdeps/x86_64/start.S: ... here.
12435 * sysdeps/x86_64/elf/configure: Delete.
12437 * sysdeps/x86_64/configure.in: Merge contents from
12438 sysdeps/i386/configure.in (without i686 check).
12440 * sysdeps/i386/elf/Versions: Merge into ...
12441 * sysdeps/i386/Versions: ... this.
12442 * sysdeps/i386/elf/Versions: Delete file.
12443 * sysdeps/i386/elf/start.S: Moved to ...
12444 * sysdeps/i386/start.S: ...here.
12445 * sysdeps/i386/elf/configure.in: Merge into...
12446 * sysdeps/i386/configure.in: ...here.
12447 * sysdeps/i386/elf/configure.in: Delete file.
12448 * sysdeps/i386/elf/configure: Delete file.
12450 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12451 * debug/backtracesyms.c: ... here.
12452 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12453 * debug/backtracesymsfd.c: ... here.
12454 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12455 * sysdeps/generic/ifunc-sel.h: ... here.
12457 * sysdeps/unix/i386/start.c: Delete file.
12458 * sysdeps/unix/sparc/start.c: Delete file.
12459 * sysdeps/unix/start.c: Delete file.
12461 * sysdeps/sh/elf/configure.in: Moved to ...
12462 * sysdeps/sh/configure.in: ... here.
12463 * sysdeps/sh/elf/start.S: Moved to ...
12464 * sysdeps/sh/start.S: ... here.
12465 * sysdeps/sh/elf/configure: Delete file.
12467 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12468 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12469 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12470 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12471 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12472 * sysdeps/powerpc/powerpc64/start.S: here.
12473 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12474 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12475 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12476 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12477 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12479 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12480 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12481 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12482 * sysdeps/powerpc/powerpc32/start.S: ... here.
12483 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12484 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12485 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12487 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12488 * sysdeps/powerpc/ifunc-sel.h: ... here.
12489 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12490 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12492 * sysdeps/sparc/elf/configure.in: Moved to ...
12493 * sysdeps/sparc/configure.in: ... here.
12494 * sysdeps/sparc/elf/configure: Delete file.
12495 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12496 * sysdeps/sparc/sparc32/start.S: ... here.
12497 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12498 * sysdeps/sparc/sparc64/start.S: ... here.
12499 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12500 * sysdeps/sparc/sparc32/Makefile: ... this.
12501 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12502 * sysdeps/sparc/sparc64/Makefile: ... this.
12504 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12505 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12506 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12507 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12508 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12509 * sysdeps/s390/s390-32/setjmp.S: ... here.
12510 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12511 * sysdeps/s390/s390-32/configure.in: ... here.
12512 * sysdeps/s390/s390-32/elf/configure: Delete file.
12513 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12514 * sysdeps/s390/s390-32/start.S: ... here.
12516 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12517 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12518 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12519 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12520 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12521 * sysdeps/s390/s390-64/setjmp.S: ... here.
12522 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12523 * sysdeps/s390/s390-64/configure.in: ... here
12524 * sysdeps/s390/s390-64/elf/configure: Delete file.
12525 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12526 * sysdeps/s390/s390-64/start.S: ... here.
12527 * sysdeps/s390/s390-64/elf/configure: Delete.
12529 * configure.in: Remove support for elf directories in sysdeps.
12531 * configure: Regenerated.
12532 * sysdeps/i386/configure: Regenerated.
12533 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12534 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12535 * sysdeps/s390/s390-32/configure: Regenerated.
12536 * sysdeps/s390/s390-64/configure: Regenerated.
12537 * sysdeps/sh/configure: Regenerated.
12538 * sysdeps/sparc/configure: Regenerated.
12539 * sysdeps/x86_64/configure: Regenerated.
12541 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12546 denormal result into account.
12548 2012-03-25 Roland McGrath <roland@hack.frob.com>
12550 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12551 Reported by Allan McRae <allan@archlinux.org>.
12553 2012-03-23 Jeff Law <law@redhat.com>
12555 * nss/getnssent.c (__nss_getent): Fix typo.
12557 2012-03-23 David S. Miller <davem@davemloft.net>
12559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12561 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12563 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12564 to pad to uint64_t for each field.
12565 (dl_tls_index): Replace unsigned long with uint64_t.
12567 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12568 Paul Pluzhnikov <ppluzhnikov@google.com>
12571 * grp/Makefile (otherlibs): Don't set it.
12572 * inet/Makefile (otherlibs): Likewise.
12573 * login/Makefile (otherlibs): Likewise.
12574 * nscd/Makefile (otherlibs): Likewise.
12575 * posix/Makefile (otherlibs): Likewise.
12576 * pwd/Makefile (otherlibs): Likewise.
12577 * rt/Makefile (otherlibs): Likewise.
12578 * sunrpc/Makefile (otherlibs): Likewise.
12579 * nss/Makefile (otherlibs): Likewise.
12580 Add libnss_files to routines and static-only-routines.
12581 ($(objpfx)getent): Remove rule.
12582 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12583 static-only-routines.
12585 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12588 * math/s_cexp.c: Include <float.h>.
12589 (__cexp): Handle exp result overflowing not necessarily
12590 overflowing both real and imaginary parts of result.
12591 * math/s_cexpf.c: Likewise.
12592 * math/s_cexpl.c: Likewise.
12593 * math/libm-test.inc (cexp_test): Add more tests.
12594 * sysdeps/i386/fpu/libm-test-ulps: Update.
12595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12597 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12599 * include/link.h (ELFW): New macro.
12600 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12601 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12603 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12605 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12608 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12610 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12612 (struct La_x32_retval): Likewise.
12614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12616 * sysdeps/x86_64/preconfigure.in: New file.
12617 * sysdeps/x86_64/preconfigure: New generated file.
12619 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12622 * math/e_exp2l.c: Include <float.h>.
12623 (__ieee754_exp2l): Handle overflow and underflow cases
12624 separately. Only pass fractional part of argument to
12626 * math/libm-test.inc (exp2_test): Add more tests.
12628 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12629 negating x to take absolute value.
12630 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12632 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12635 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12636 computing low part if x was negated.
12637 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12639 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12641 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12642 la_x32_gnu_pltexit.
12643 (pltexit): Cast int_retval to ptrdiff_t.
12644 * elf/tst-auditmod3b.c: Likewise.
12645 * elf/tst-auditmod4b.c: Likewise.
12646 * elf/tst-auditmod5b.c: Likewise.
12647 * elf/tst-auditmod6b.c: Likewise.
12648 * elf/tst-auditmod6c.c: Likewise.
12649 * elf/tst-auditmod7b.c: Likewise.
12651 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12652 and x32_gnu_pltexit.
12654 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12655 __ELF_NATIVE_CLASS.
12656 (La_x32_regs): New macro.
12657 (La_x32_retval): Likewise.
12658 (la_x32_gnu_pltenter): New function prototype.
12659 (la_x32_gnu_pltexit): Likewise.
12661 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12668 * configure.in (libc_cv_cc_nofma): Check for option to disable
12669 generation of FMA instructions.
12670 * configure: Regenerate.
12671 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12672 * sysdeps/ieee754/dbl-64/Makefile: New file.
12673 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12674 Remove brandred-fma4.
12675 (CFLAGS-brandred-fma4.c): Remove.
12676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12677 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12679 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12682 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12684 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12685 LLONG_MAX != LONG_MAX.
12686 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12687 (_fitoa_word): Likewise.
12688 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12689 LLONG_MAX != LONG_MAX.
12690 * stdio-common/_itowa.h: Include <_itoa.h>.
12691 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12692 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12693 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12694 only if not defined.
12695 (_ITOA_WORD_TYPE): Likewise.
12696 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12697 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12699 2012-03-21 David S. Miller <davem@davemloft.net>
12701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12703 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12706 of x86_64 when setting libc_cv_slibdir, libdir and
12708 * sysdeps/unix/sysv/linux/configure: Regenerated.
12710 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12712 * manual/lang.texi (Old Varargs): Remove section.
12713 (How Variadic): Update menu.
12714 (va_start): Do not mention varargs.h.
12716 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12717 Joseph Myers <joseph@codesourcery.com>
12719 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12721 * configure: Regenerated.
12723 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12725 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12726 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12729 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12732 * Makefile (files-for-dist): Remove NOTES.
12733 (NOTES): Remove rule.
12734 * README: Don't refer to NOTES.
12735 * manual/creature.texi: Don't include macros.texi.
12736 * manual/intro.texi (creature.texi): Remove comment referring to
12739 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12740 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12741 * configure: Regenerated.
12742 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12743 LIBC_TRY_CC_OPTION.
12744 (libc_cv_as_i686): Likewise.
12745 (libc_cv_cc_avx): Likewise.
12746 (libc_cv_cc_sse2avx): Likewise.
12747 (libc_cv_cc_fma4): Likewise.
12748 (libc_cv_cc_novzeroupper): Likewise.
12749 * sysdeps/i386/configure: Regenerated.
12752 * sysdeps/i386/fpu/s_cexp.S: Remove.
12753 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12754 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12755 * math/libm-test.inc (cexp_test): Add more tests.
12756 * sysdeps/i386/fpu/libm-test-ulps: Update.
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12759 2012-03-21 Allan McRae <allan@archlinux.org>
12761 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12763 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12766 * math/w_exp2.c: Do not include <float.h>.
12767 (o_threshold, u_threshold): Remove.
12768 (__exp2): Calculate result before checking finiteness and calling
12770 * math/w_exp2f.c: Likewise.
12771 * math/w_exp2l.c: Likewise.
12772 * math/libm-test.inc (exp2_test): Require overflow exception for
12776 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12777 range of signed 64-bit integers before using fistpll. Remove
12778 checks for whether integers fit in mantissa bits.
12779 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12780 the range of signed 32-bit integers before using fistpl. Remove
12781 checks for whether integers fit in mantissa bits.
12782 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12783 (__ieee754_powl): Test for y outside the range of signed 64-bit
12784 integers before using fistpll. Reduce 64-bit values to 63-bit
12786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12787 divide-by-zero is raised for zero to large negative powers.
12788 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12789 (__ieee754_powl): Test for y outside the range of signed 64-bit
12790 integers before using fistpll. Reduce 64-bit values to 63-bit
12792 * math/libm-test.inc (pow_test): Add more tests.
12794 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12796 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12797 <stdio-common/_itoa.h>.
12798 * debug/segfault.c: Likewise.
12799 * elf/dl-cache.c: Likewise.
12800 * elf/dl-minimal.c: Likewise.
12801 * elf/dl-misc.c: Likewise.
12802 * elf/dl-sysdep.c: Likewise.
12803 * elf/dl-version.c: Likewise.
12804 * elf/rtld.c: Likewise.
12805 * hurd/hurdsock.c: Likewise.
12806 * hurd/lookup-retry.c: Likewise.
12807 * malloc/malloc.c: Likewise.
12808 * malloc/mtrace.c: Likewise.
12809 * nscd/nscd_getgr_r.c: Likewise.
12810 * nscd/nscd_getpw_r.c: Likewise.
12811 * nscd/nscd_getserv_r.c: Likewise.
12812 * posix/getopt_init.c: Likewise.
12813 * posix/wordexp.c: Likewise.
12814 * stdio-common/_itoa.c: Likewise.
12815 * stdio-common/printf_fphex.c: Likewise.
12816 * stdio-common/vfprintf.c: Likewise.
12817 * string/_strerror.c: Likewise.
12818 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12819 * sysdeps/i386/i686/hp-timing.h: Likewise.
12820 * sysdeps/mach/_strerror.c: Likewise.
12821 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12822 * sysdeps/mach/hurd/sethostid.c: Likewise.
12823 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12824 * sysdeps/mach/xpg-strerror.c: Likewise.
12825 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12826 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12827 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12828 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12829 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12830 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12831 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12832 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12833 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12834 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12835 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12836 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12837 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12838 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12839 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12840 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12843 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12844 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12845 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12847 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12849 * stdio-common/_itoa.h: Moved to ...
12850 * sysdeps/generic/_itoa.h: Here.
12852 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12854 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12855 instead of "_itoa.h" and "_itowa.h".
12856 * stdio-common/vfprintf.: Likewise.
12858 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12860 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12862 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12863 (__signbit): Likwise.
12864 (llrintf): Likwise.
12867 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12869 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12872 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12874 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12875 OVERFLOW_EXCEPTION_OK.
12876 * math/libm-test.inc ("Philosophy"): Update comment about
12878 (OVERFLOW_EXCEPTION): Define.
12879 (OVERFLOW_EXCEPTION_OK): Likewise.
12880 (INVALID_EXCEPTION_OK): Renumber.
12881 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12882 (IGNORE_ZERO_INF_SIGN): Likewise.
12883 (test_exceptions): Handle FE_OVERFLOW.
12884 (exp10_test): Expect overflow exceptions.
12885 (exp2_test): Likewise.
12886 (expm1_test): Likewise.
12887 (nextafter_test): Likewise.
12888 (pow_test): Likewise.
12889 (scalbn_test): Likewise.
12890 (scalbln_test): Likewise.
12892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12894 * sysdeps/x86_64/bits/atomic.h
12895 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12897 (atomic_exchange_acq): Likewise.
12898 (__arch_exchange_and_add_body): Likewise.
12899 (__arch_add_body): Likewise.
12900 (atomic_add_negative): Likewise.
12901 (atomic_add_zero): Likewise.
12903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12905 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12906 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12908 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12910 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12911 Check __x86_64__ instead of __WORDSIZE.
12913 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12915 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12917 2012-03-19 David S. Miller <davem@davemloft.net>
12919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12921 * sysdeps/sparc/fpu/fenv_private.h: New file.
12922 * sysdeps/sparc/fpu/math_private.h: Use it.
12923 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12925 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12926 (libc_feholdexcept_setroundl): Remove.
12927 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12929 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12930 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12932 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12934 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12935 int64_t instead of long int.
12936 (INSERT_WORDS64): Likwise.
12938 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12940 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12941 _Unwind_GetCFA return to _Unwind_Ptr first.
12943 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12946 * math/s_clog.c: Include <float.h>.
12947 (__clog): Scale large or subnormal inputs.
12948 * math/s_clogf.c: Likewise.
12949 * math/s_clogl.c: Likewise.
12950 * math/s_clog10.c: Include <float.h>.
12951 (M_LOG10_2): Define.
12952 (__clog10): Scale large or subnormal inputs.
12953 * math/s_clog10f.c: Likewise.
12954 * math/s_clog10l.c: Likewise.
12955 * math/libm-test.inc (clog_test): Add more tests.
12956 (clog10_test): Likewise.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12961 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12963 * math/libm-test.inc (atan2_test): Add another test.
12965 * Makerules (common-objdir-compile): Remove.
12966 * sysdeps/unix/Makefile (config-generated): Do not add
12967 $(unix-generated) to variable.
12968 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12969 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12971 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12973 [generic bits/local_lim.h] (before-compile): Do not append to
12975 [generic bits/local_lim.h] (common-generated): Likewise.
12976 [generic sys/param.h] (before-compile): Do not append to variable.
12977 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12978 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12979 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12980 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12982 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12983 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12984 [generic sys/param.h] ($(addprefix
12985 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12986 [generic sys/param.h] (common-generated): Do not append to
12988 [generic sys/param.h] (sysdep_headers): Likewise.
12989 [generic bits/errno.h] (before-compile): Do not append to
12991 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12993 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12994 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12995 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12996 [generic bits/errno.h] (common-generated): Do not append to
12998 [generic bits/ioctls.h] (before-compile): Do not append to
13000 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13002 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13003 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13004 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13006 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13007 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13008 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13009 [generic bits/ioctls.h] (common-generated): Do not append to
13011 [generic sys/syscall.h] (syscall.h): Remove variable.
13012 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13014 [generic sys/syscall.h] (before-compile): Do not append to
13016 [generic sys/syscall.h] (common-generated): Likewise.
13017 * sysdeps/unix/errnos-tmpl.c: Remove file.
13018 * sysdeps/unix/errnos.awk: Likewise.
13019 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13020 * sysdeps/unix/ioctls.awk: Likewise.
13021 * sysdeps/unix/mk-local_lim.c: Likewise.
13022 * sysdeps/unix/snarf-ioctls: Likewise.
13024 2012-03-19 Richard Henderson <rth@twiddle.net>
13026 * sysdeps/i386/fpu/fenv_private.h: New file.
13027 * sysdeps/i386/fpu/math_private.h: Use it.
13028 (math_opt_barrier, math_force_eval): Remove.
13029 (libc_feholdexcept_setround_53bit): Remove.
13030 (libc_feupdateenv_53bit): Remove.
13031 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13032 (math_opt_barrier, math_force_eval): Remove.
13033 (libc_feholdexcept): Remove.
13034 (libc_feholdexcept_setround): Remove.
13035 (libc_fetestexcept, libc_fesetenv): Remove.
13036 (libc_feupdateenv_test): Remove.
13037 (libc_feupdateenv, libc_feholdsetround): Remove.
13038 (libc_feresetround): Remove.
13040 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13041 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13043 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13044 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13045 (libc_feupdateenv_testl): New.
13046 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13047 (libc_feupdateenv_testf): New.
13048 (libc_feupdateenv): Use libc_feupdateenv_test.
13049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13050 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13052 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13053 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13054 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13055 (libc_feresetround_noex): New.
13056 (libc_feresetround_noexf): New.
13057 (libc_feresetround_noexl): New.
13058 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13059 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13060 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13061 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13064 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13066 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13067 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13068 SET_RESTORE_ROUND_NOEX.
13069 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13070 SET_RESTORE_ROUND_NOEXF.
13071 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13072 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13073 (libc_feholdsetroundf): New.
13074 (libc_feresetround, libc_feresetroundf): New.
13076 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13077 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13078 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13080 * sysdeps/generic/math_private.h: Include <fenv.h>.
13081 (default_libc_feholdexcept): New.
13082 (default_libc_feholdexcept_setround): New.
13083 (default_libc_fesetenv, default_libc_feupdateenv): New.
13084 (libc_feholdexcept): Only define if undefined.
13085 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13086 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13087 (libc_feholdexcept_setroundl): Likewise.
13088 (libc_feholdexcept_setround_53bit): Likewise.
13089 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13090 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13091 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13092 (libc_feupdateenv_53bit): Likewise.
13093 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13094 (libc_feholdexcept): Convert from macro to inline function.
13095 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13096 (libc_fesetenv, libc_feupdateenv): Likewise.
13098 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13099 not previously defined.
13100 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13101 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13102 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13103 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13104 * sysdeps/ieee754/flt-32/math_private.h: New file.
13105 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13106 math_private.h below SET_FLOAT_WORD.
13107 (__isnan, __isinf_ns, __finite): Remove.
13108 (__isnanf, __isinf_nsf, __finitef): Remove.
13110 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13114 2012-03-17 David S. Miller <davem@davemloft.net>
13117 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13120 2012-03-16 David S. Miller <davem@davemloft.net>
13122 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13126 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13128 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13129 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13130 sysdep_routines when subdir is sysvipc.
13131 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13132 __getshmlba helper.
13134 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13136 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13138 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13141 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13143 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13144 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13145 (__lround): Renamed to ...
13146 (__llround): This. Replace long int with long long int.
13147 Define lround functions as aliases of llround functions.
13148 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13152 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13153 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13154 adresses to uintptr_t. Replace "long int" and "unsigned long
13155 int" with "greg_t" on va_arg.
13157 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13159 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13160 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13162 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13163 Move e_machine check before EI_CLASS check. Handle x32
13164 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13165 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13166 SKIP_EM_IA_64 and include
13167 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13169 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13170 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13171 (add_system_dir): New macro.
13173 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13174 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13176 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13187 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13189 * math/w_j0f.c (j0f): Likewise.
13191 * math/w_j0l.c (__j0l): Likewise.
13193 * math/w_j1.c (j1): Likewise.
13195 * math/w_j1f.c (j1f): Likewise.
13197 * math/w_j1l.c (__j1l): Likewise.
13199 * math/w_jn.c (jn): Likewise.
13201 * math/w_jnf.c (jnf): Likewise.
13203 * math/w_jnl.c (__jnl): Likewise.
13205 * math/libm-test.inc (j0_test): Add more tests.
13206 (j1_test): Likewise.
13207 (jn_test): Likewise. Add trailing semicolon to existing test.
13208 (y0_test): Likewise.
13209 (y1_test): Likewise.
13210 * sysdeps/i386/fpu/libm-test-ulps: Update.
13211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13216 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13217 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13218 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13219 (__tanl): Set errno for infinite argument.
13220 * sysdeps/i386/fpu/mptan.c: Remove.
13221 * sysdeps/i386/fpu/s_tan.S: Likewise.
13222 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13223 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13224 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13225 * math/libm-test.inc (tan_test): Add more tests and enable more
13226 tests for double and long double.
13227 * sysdeps/i386/fpu/libm-test-ulps: Update.
13228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13230 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13232 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13233 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13235 2012-03-16 Roland McGrath <roland@hack.frob.com>
13237 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13238 * configure.in: Use it for both main tree and add-ons.
13239 * configure: Regenerated.
13241 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13243 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13245 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13247 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13251 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13252 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13257 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13259 != 0 for prec == 2.
13260 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13261 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13262 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13263 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13264 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13265 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13266 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13267 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13268 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13269 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13270 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13271 * math/libm-test.inc (cos_test): Add more tests and enable more
13272 tests for long double.
13273 (sin_test): Likewise.
13274 (sincos_test): Likewise.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13278 2012-03-16 David S. Miller <davem@davemloft.net>
13280 * sysdeps/sparc/fpu/math_private.h: New file.
13282 2012-03-15 David S. Miller <davem@davemloft.net>
13284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13298 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13299 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13301 * sysdeps/sparc/sparc-ifunc.h: New file.
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13347 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13349 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13353 2012-03-15 Andreas Jaeger <aj@suse.de>
13356 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13357 ieee754/flt-32 implementation for sin, cos and sincos.
13358 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13359 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13360 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13361 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13362 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13363 ieee754/flt-32 implementation for tan.
13365 * math/libm-test.inc (cos_test): Enable some large input tests for
13367 (sin_test): Likewise.
13368 (sincos_test): Likewise.
13369 (tan_test): Add tests for large input.
13371 * sysdeps/i386/fpu/libm-test-ulps: Update.
13373 2012-03-15 Andreas Jaeger <aj@suse.de>
13376 * math/libm-test.inc (cos_test): Add more test cases.
13377 (sin_test): Likewise.
13378 (sincos_test): Likewise.
13380 2012-03-15 Andreas Jaeger <aj@suse.de>
13383 * math/libm-test.inc (cos_test): Add a test case for large input
13385 (sin_test): Likewise.
13386 (sincos_test): Likewise.
13388 2012-03-15 Andreas Jaeger <aj@suse.de>,
13389 Joseph Myers <joseph@codesourcery.com>
13392 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13393 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13394 * sysdeps/i386/fpu/branred.c: Likewise.
13395 * sysdeps/i386/fpu/dosincos.c: Likewise.
13396 * sysdeps/i386/fpu/mpa.c: Likewise.
13397 * sysdeps/i386/fpu/s_cos.S: Likewise.
13398 * sysdeps/i386/fpu/s_sin.S: Likewise.
13399 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13400 * sysdeps/i386/fpu/sincos32.c: Likewise.
13402 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13404 (libc_feupdateenv_53bit): Define.
13405 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13407 (libc_feupdateenv_53bit): Define.
13409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13410 53 bit (without extend i386 double precision).
13412 * math/libm-test.inc (sincos_test): Add tests for large input.
13416 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13418 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13422 2012-03-15 David S. Miller <davem@davemloft.net>
13424 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13452 fmin/fmax sysdep routines.
13453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13455 2012-03-14 David S. Miller <davem@davemloft.net>
13457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13463 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13464 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13534 * sysdeps/sparc/configure.in: New file.
13535 * sysdeps/sparc/configure: Generate.
13536 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13537 * configure: Regenerate.
13538 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13539 * config.make.in (have-as-vis3): New.
13540 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13541 available use -Av9d instead of -Av9a.
13542 * sysdeps/sparc/sparc64/Makefile: Likewise.
13543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13553 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13558 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13559 fzeros/fnegs to load 0x80000000 into a float register instead of
13561 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13563 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13567 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13568 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13569 ($(inst_includedir)/bits/syscall.h): Remove rule.
13570 ($(objpfx)bits/syscall.d): Include instead of
13571 $(objpfx)syscall-list.d.
13572 (generated): Change syscall-list.h and syscall-list.d to
13573 bits/syscall.h and bits/syscall.d.
13575 2012-03-14 Roland McGrath <roland@hack.frob.com>
13578 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13580 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13583 * math/s_csqrt.c: Include <float.h>.
13584 (__csqrt): Scale large or subnormal inputs.
13585 * math/s_csqrtf.c: Likewise.
13586 * math/s_csqrtl.c: Likewise.
13587 * math/libm-test.inc (csqrt_test): Add more tests.
13588 * sysdeps/i386/fpu/libm-test-ulps: Update.
13589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13592 * math/libm-test.inc (hypot_test): Add more tests.
13594 2012-03-13 David S. Miller <davem@davemloft.net>
13597 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13598 double-precision for the calculation instead of scaling.
13600 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13602 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13603 manipulate bits before adding and subtracting TWO52[sx].
13604 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13605 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13607 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13609 2012-03-13 David S. Miller <davem@davemloft.net>
13611 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13612 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13614 rtld-global-offsets.h
13615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13617 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13620 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13622 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13623 'err' in the ifdef scope in which it is actually used.
13625 * nss/nss_db/db-init.c: Include string.h
13627 2012-03-12 David S. Miller <davem@davemloft.net>
13629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13630 masking out of the most significant byte of random value used.
13631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13632 Fix coding style in previous change.
13634 * sysdeps/unix/sysv/linux/kernel-features.h
13635 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13636 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13638 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13641 2012-03-11 David S. Miller <davem@davemloft.net>
13643 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13644 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13646 for 'resultvar' otherwise things get truncated on 64-bit.
13648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13649 Fix masking out of the most significant byte of random value used.
13651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13653 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13657 2012-03-09 David S. Miller <davem@davemloft.net>
13659 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13660 variables with appropriate CPP guards.
13661 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13662 frame pointer, not the stack pointer. Correct layout comments. Fix test
13663 on resulting framesize and the management of the outregs buffer for pltexit.
13664 Preserve floating point return values across _dl_call_pltexit call.
13665 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13666 framesize and the management of the outregs buffer for pltexit.
13667 Preserve floating point return values across _dl_call_pltexit
13669 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13670 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13671 (print_exit): Fix format string for return register value.
13673 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13675 * sunrpc/Makefile (others): Add rpcgen.
13676 ($(objpfx)rpcgen): Remove special build rule and dependency on
13678 * sunrpc/rpcgen.c: New file.
13680 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13683 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13684 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13685 * sysdeps/i386/crti.S: Likewise.
13686 * sysdeps/i386/crtn.S: Likewise.
13687 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13689 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13690 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13691 * sysdeps/sh/crti.S: Likewise.
13692 * sysdeps/sh/crtn.S: Likewise.
13693 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13696 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13698 * locale/programs/locfile-kw.gperf: Likewise.
13699 * locale/programs/charmap-kw.h: Regenerated.
13700 * locale/programs/locfile-kw.h: Likewise.
13703 * intl/plural.y: Replace FSF snail mail address with URL.
13704 * intl/plural.c: Regenerated.
13706 2012-03-09 Richard Henderson <rth@twiddle.net>
13708 * include/math_private.h: Remove file.
13709 * math/math_private.h: Move file ...
13710 * sysdeps/generic/math_private.h: ... here.
13712 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13713 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13714 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13716 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13717 and <math_private.h>.
13718 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13719 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13720 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13721 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13722 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13801 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13802 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13803 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13805 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13806 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13807 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13808 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13809 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13811 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13812 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13814 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13815 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13816 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13817 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13818 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13819 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13820 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13822 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13823 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13824 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13826 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13827 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13828 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13829 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13830 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13832 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13835 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13836 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13837 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13838 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13839 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13840 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13841 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13845 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13846 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13847 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13848 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13849 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13850 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13851 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13852 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13853 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13854 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13855 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13856 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13857 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13858 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13859 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13860 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13861 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13862 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13863 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13864 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13865 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13866 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13867 * sysdeps/ieee754/k_standard.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14000 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14017 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14018 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14028 * sysdeps/ieee754/s_lib_version.c: Likewise.
14029 * sysdeps/ieee754/s_matherr.c: Likewise.
14030 * sysdeps/ieee754/s_signgam.c: Likewise.
14031 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14032 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14033 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14034 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14035 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14036 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14037 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14038 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14039 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14040 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14041 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14042 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14043 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14044 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14045 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14046 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14047 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14048 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14049 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14050 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14051 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14053 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14055 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14056 * sunrpc/rpc_main.c: Likewise.
14057 * sunrpc/rpc_svcout.c: Likewise.
14059 2012-03-09 David S. Miller <davem@davemloft.net>
14061 * include/math_private.h: New file.
14063 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14065 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14066 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14067 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14068 from <bits/socket_type.h>.
14069 (enum __socket_type): Don't define here.
14070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14072 bits/socket_type.h.
14075 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14076 checking __USE_GNU.
14078 * Makerules ($(inst_includedir)/%.h): New rule.
14079 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14080 (install-others): Remove variable setting.
14081 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14083 2012-03-08 Richard Henderson <rth@twiddle.net>
14085 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14086 from macro to inline function; merge with the
14087 !__LIBC_INTERNAL_MATH_INLINES version.
14088 (__ieee754_sqrtf): Likewise.
14090 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14091 to inline function.
14092 (__rintf, __floor, __floorf): Likewise.
14094 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14095 macro to inline function.
14096 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14098 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14099 not <math/math_private.h>.
14101 2012-03-08 David S. Miller <davem@davemloft.net>
14103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14105 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14107 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14109 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14111 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14112 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14114 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14116 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14117 be defined individually, they must be defined as a block. Define
14118 S for printing a string instead of hidint the different by using a
14119 macro for adding the 'l'.
14120 * stdio-common/tst-fphex-wide.c: Adjust.
14122 2012-03-07 Marek Polacek <polacek@redhat.com>
14124 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14126 2012-03-08 Marek Polacek <polacek@redhat.com>
14129 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14130 * stdio-common/tst-fphex.c: Define a few macros to make the
14131 test reusable. Use them.
14132 * stdio-common/tst-fphex-wide.c: New file.
14134 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14137 * manual/macros.texi (gnusystems): New macro.
14138 (nongnusystems): Likewise.
14139 (gnulinuxhurdsystems): Likewise.
14140 (gnuhurdsystems): Likewise..
14141 (gnulinuxsystems): Likewise.
14142 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14143 variants of the GNU system, not "GNU system".
14144 * manual/conf.texi: Likewise.
14145 * manual/errno.texi: Likewise. Update example of errno macro
14147 * manual/filesys.texi: Likewise.
14148 (getumask): Document as specific to GNU/Hurd.
14149 * manual/install.texi: Likewise. Reword some references to
14151 * manual/intro.texi: Likewise.
14152 * manual/io.texi: Likewise.
14153 (File Name Portability): Detail which constraints are inapplicable
14154 to all GNU systems and which are only inapplicable to GNU/Hurd.
14155 * manual/job.texi: Likewise.
14156 * manual/llio.texi: Likewise.
14157 (O_NOCTTY): Document as present on GNU/Linux.
14158 * manual/maint.texi: Likewise.
14159 * manual/memory.texi: Likewise.
14160 * manual/pattern.texi: Likewise.
14161 * manual/pipe.texi: Likewise.
14162 * manual/process.texi: Likewise.
14163 * manual/resource.texi: Likewise.
14164 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14166 * manual/setjmp.texi: Likewise.
14167 * manual/signal.texi: Likewise.
14168 * manual/startup.texi: Likewise.
14169 * manual/stdio.texi: Likewise.
14170 * manual/terminal.texi: Likewise.
14171 (ONLCR): Document as POSIX.
14172 (OXTABS): Document availability on GNU/Linux as XTABS.
14173 (ONOEOT): Document availability separately from other bits.
14174 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14175 * manual/time.texi: Likewise.
14176 * manual/users.texi: Likewise.
14177 * INSTALL: Regenerated.
14178 * sysdeps/gnu/errlist.c: Regenerated.
14180 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14181 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14182 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14184 * configure: Regenerated.
14186 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14188 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14189 default includes instead of AC_HEADER_CHECK.
14190 * sysdeps/i386/configure: Regenerated.
14193 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14194 * math/s_cacoshf.c (__cacoshf): Likewise.
14195 * math/s_cacoshl.c (__cacoshl): Likewise.
14196 * math/s_casinh.c (__casinh): Set signs of result from argument.
14197 * math/s_casinhf.c (__casinhf): Likewise.
14198 * math/s_casinhl.c (__casinhl): Likewise.
14199 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14200 (casinh_test): Add more tests.
14201 * sysdeps/i386/fpu/libm-test-ulps: Update.
14202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14204 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14206 * po/zh_TW.po: Update from translation team.
14208 * login/Makefile (distribute): Remove variable.
14209 * catgets/Makefile: Likewise.
14210 * mach/Makefile: Likewise.
14211 * malloc/Makefile: Likewise.
14212 * misc/Makefile: Likewise.
14213 * iconv/Makefile: Likewise.
14214 * nscd/Makefile: Likewise.
14215 * hurd/Makefile: Likewise.
14216 * manual/Makefile: Likewise.
14217 * locale/Makefile: Likewise.
14218 * intl/Makefile: Likewise.
14219 * conform/Makefile: Likewise.
14220 * nss/Makefile: Likewise.
14221 * time/Makefile: Likewise.
14222 * soft-fp/Makefile: Likewise.
14223 * dirent/Makefile: Likewise.
14224 * gmon/Makefile: Likewise.
14225 * po/Makefile: Likewise.
14226 * rt/Makefile: Likewise.
14227 * socket/Makefile: Likewise.
14228 * math/Makefile: Likewise.
14229 * signal/Makefile: Likewise.
14230 * debug/Makefile: Likewise.
14231 * elf/Makefile: Likewise.
14232 * timezone/Makefile: Likewise.
14233 * stdlib/Makefile: Likewise.
14234 * iconvdata/Makefile: Likewise.
14235 * sunrpc/Makefile: Likewise.
14236 * io/Makefile: Likewise.
14237 * argp/Makefile: Likewise.
14238 * inet/Makefile: Likewise.
14239 * hesiod/Makefile: Likewise.
14240 * grp/Makefile: Likewise.
14241 * csu/Makefile: Likewise.
14242 * wctype/Makefile: Likewise.
14243 * crypt/Makefile: Likewise.
14244 * libio/Makefile: Likewise.
14245 * string/Makefile: Likewise.
14246 * nis/Makefile: Likewise.
14247 * resolv/Makefile: Likewise.
14248 * stdio-common/Makefile: Likewise.
14249 * wcsmbs/Makefile: Likewise.
14250 * dlfcn/Makefile: Likewise.
14251 * posix/Makefile: Likewise.
14254 * timezone/Makefile: Don't install timezone files, just the programs
14257 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14259 * nss/databases.def: Add missing gshadow entry.
14261 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14263 2012-03-06 Marek Polacek <polacek@redhat.com>
14266 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14267 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14268 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14269 * stdio-common/tst-long-dbl-fphex.c: New file.
14271 2012-03-06 David S. Miller <davem@davemloft.net>
14273 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14274 (set_obp_int): New function.
14275 (get_obp_int): New function.
14276 (__get_clockfreq_via_dev_openprom): Likewise.
14277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14278 Avoid unused variable warnings on 'val' and use builtin_expect.
14279 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14281 (INLINE_CLONE_SYSCALL): Likewise.
14283 2012-03-05 David S. Miller <davem@davemloft.net>
14285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14287 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14291 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14292 only for |x| >= 40.
14293 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14295 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14298 Replace gettimeofday with __vdso_gettimeofday.
14300 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14301 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14302 __vdso_clock_gettime and __vdso_getcpu.
14304 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14305 time with __vdso_time.
14307 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14309 * manual/lang.texi (size_t): Note types to which size_t may be
14310 equivalent with the GNU C Library, but do not describe when
14311 differences between them are significant.
14313 2012-03-05 Andreas Jaeger <aj@suse.de>
14315 * sysdeps/i386/fpu/libm-test-ulps: Update.
14317 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14320 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14321 (__ieee754_pow): Save and restore rounding mode and use
14322 round-to-nearest for main computations.
14323 * math/libm-test.inc (pow_test_tonearest): New function.
14324 (pow_test_towardzero): Likewise.
14325 (pow_test_downward): Likewise.
14326 (pow_test_upward): Likewise.
14327 (main): Call the new functions.
14328 * sysdeps/i386/fpu/libm-test-ulps: Update.
14329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14332 * math/libm-test.inc (cosh_test_tonearest): New function.
14333 (cosh_test_towardzero): Likewise.
14334 (cosh_test_downward): Likewise.
14335 (cosh_test_upward): Likewise.
14336 (sinh_test_tonearest): Likewise.
14337 (sinh_test_towardzero): Likewise.
14338 (sinh_test_downward): Likewise.
14339 (sinh_test_upward): Likewise.
14340 (main): Call the new functions.
14341 * sysdeps/i386/fpu/libm-test-ulps: Update.
14342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14344 2012-03-05 Tom de Vries <tom@codesourcery.com>
14346 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14347 default stack guard is set in last bytes.
14348 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14350 2012-03-05 Kees Cook <keescook@chromium.org>
14352 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14355 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14356 possibly allocate from heap instead of stack.
14357 * stdio-common/bug-vfprintf-nargs.c: New file.
14358 * stdio-common/Makefile (tests): Add nargs overflow test.
14360 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14364 2012-03-03 Marek Polacek <polacek@redhat.com>
14366 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14367 * math/math_private.h: Likewise.
14368 * stdlib/tst-strtod.c: Likewise.
14369 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14370 * sysdeps/x86_64/bits/atomic.h: Likewise.
14372 2012-03-02 David S. Miller <davem@davemloft.net>
14374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14378 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14379 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14380 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14381 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14383 2012-03-02 Roland McGrath <roland@hack.frob.com>
14386 * manual/examples/README: New file, says the example source files
14387 can be used under GPL>=2.
14388 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14389 line containing just "*/".
14390 * manual/examples/add.c: Add copyright header (GPL>=2).
14391 * manual/examples/argp-ex1.c: Likewise.
14392 * manual/examples/argp-ex2.c: Likewise.
14393 * manual/examples/argp-ex3.c: Likewise.
14394 * manual/examples/argp-ex4.c: Likewise.
14395 * manual/examples/atexit.c: Likewise.
14396 * manual/examples/db.c: Likewise.
14397 * manual/examples/dir.c: Likewise.
14398 * manual/examples/dir2.c: Likewise.
14399 * manual/examples/execinfo.c: Likewise.
14400 * manual/examples/filecli.c: Likewise.
14401 * manual/examples/filesrv.c: Likewise.
14402 * manual/examples/fmtmsgexpl.c: Likewise.
14403 * manual/examples/genpass.c: Likewise.
14404 * manual/examples/inetcli.c: Likewise.
14405 * manual/examples/inetsrv.c: Likewise.
14406 * manual/examples/isockad.c: Likewise.
14407 * manual/examples/longopt.c: Likewise.
14408 * manual/examples/memopen.c: Likewise.
14409 * manual/examples/memstrm.c: Likewise.
14410 * manual/examples/mkfsock.c: Likewise.
14411 * manual/examples/mkisock.c: Likewise.
14412 * manual/examples/mygetpass.c: Likewise.
14413 * manual/examples/pipe.c: Likewise.
14414 * manual/examples/popen.c: Likewise.
14415 * manual/examples/rprintf.c: Likewise.
14416 * manual/examples/search.c: Likewise.
14417 * manual/examples/select.c: Likewise.
14418 * manual/examples/setjmp.c: Likewise.
14419 * manual/examples/sigh1.c: Likewise.
14420 * manual/examples/sigusr.c: Likewise.
14421 * manual/examples/stpcpy.c: Likewise.
14422 * manual/examples/strdupa.c: Likewise.
14423 * manual/examples/strftim.c: Likewise.
14424 * manual/examples/strncat.c: Likewise.
14425 * manual/examples/subopt.c: Likewise.
14426 * manual/examples/swapcontext.c: Likewise.
14427 * manual/examples/termios.c: Likewise.
14428 * manual/examples/testopt.c: Likewise.
14429 * manual/examples/testpass.c: Likewise.
14430 * manual/examples/timeval_subtract.c: Likewise.
14433 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14435 * manual/timeval_subtract.c.texi: ... here, new file.
14437 2012-03-02 David S. Miller <davem@davemloft.net>
14439 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14441 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14444 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14445 (__sin): Save and restore rounding mode and use round-to-nearest
14446 for all computations.
14447 (__cos): Save and restore rounding mode and use round-to-nearest
14448 for all computations.
14449 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14451 (tan): Save and restore rounding mode and use round-to-nearest for
14453 * math/libm-test.inc (cos_test_tonearest): New function.
14454 (cos_test_towardzero): Likewise.
14455 (cos_test_downward): Likewise.
14456 (cos_test_upward): Likewise.
14457 (sin_test_tonearest): Likewise.
14458 (sin_test_towardzero): Likewise.
14459 (sin_test_downward): Likewise.
14460 (sin_test_upward): Likewise.
14461 (tan_test_tonearest): Likewise.
14462 (tan_test_towardzero): Likewise.
14463 (tan_test_downward): Likewise.
14464 (tan_test_upward): Likewise.
14465 (main): Call the new functions.
14466 * sysdeps/i386/fpu/libm-test-ulps: Update.
14467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14470 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14471 small n, then large n, before computing and testing k+n.
14472 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14477 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14478 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14481 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14482 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14483 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14484 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14485 * math/libm-test.inc (scalbn_test): Add more tests.
14486 (scalbln_test): Likewise.
14488 * manual/filesys.texi (mode_t): Describe constraints on size and
14489 signedness, not exact equivalence to a particular type.
14491 (ino64_t): Likewise.
14493 (nlink_t): Likewise.
14494 (blkcnt_t): Likewise.
14495 (blkcnt64_t): Likewise.
14496 * manual/llio.texi (off_t): Likewise.
14499 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14500 (__ieee754_exp): Save and restore rounding mode and use
14501 round-to-nearest for all computations.
14502 * math/libm-test.inc (exp_test_tonearest): New function.
14503 (exp_test_towardzero): Likewise.
14504 (exp_test_downward): Likewise.
14505 (exp_test_upward): Likewise.
14506 (main): Call the new functions.
14507 * sysdeps/i386/fpu/libm-test-ulps: Update.
14508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510 2012-03-01 Chris Demetriou <cgd@google.com>
14512 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14513 have predictable order.
14515 2012-03-01 David S. Miller <davem@davemloft.net>
14517 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14519 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14520 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14521 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14522 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14524 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14525 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14526 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14528 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14529 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14530 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14531 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14532 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14536 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14537 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14538 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14540 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14541 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14542 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14543 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14544 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14547 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14548 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14549 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14550 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14551 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14553 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14554 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14556 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14557 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14558 * sysdeps/sparc/elf/configure: Regenerated.
14560 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14562 * configure.in (AS, LD): Require binutils 2.20 or later.
14563 * configure: Regenerated.
14564 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14565 as required minimum version.
14566 * INSTALL: Regenerated.
14570 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14571 before squaring exponent.
14572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14573 bottom long double and 27 bits of top long double before squaring
14575 * math/libm-test.inc (erfc_test): Add more tests.
14576 * sysdeps/i386/fpu/libm-test-ulps: Update.
14577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14580 2012-03-01 Kai Tietz <ktietz@redhat.com>
14582 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14583 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14584 containing bit-fields.
14585 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14586 * soft-fp/single.h (_FP_UNION_S): Likewise.
14587 * soft-fp/double.h (_FP_UNION_D): Likewise.
14589 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14592 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14593 not include ../strcmp.S.
14594 [USE_AS_STRNCASECMP_L]: Likewise.
14595 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14596 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14597 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14598 (__strncasecmp_l_ia32): Define as alias to
14599 __strncasecmp_l_nonascii.
14602 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14603 * sysdeps/i386/fpu/libm-test-ulps: Update.
14604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14606 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14609 2012-02-29 Jeff Law <law@redhat.com>
14611 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14612 out of bounds read.
14614 2012-02-29 Marek Polacek <polacek@redhat.com>
14617 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14618 * elf/Makefile: Add rules to run tst-unused-dep.out.
14620 2012-02-28 David S. Miller <davem@davemloft.net>
14622 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14623 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14624 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14626 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14627 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14629 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14631 * math/libm-test.inc (llround_test): Move one test from
14632 lround_test. Use TEST_f_L in moved test.
14633 (lround_test): Move misplaced test to llround_test. Add testcase
14636 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14638 * sysdeps/x86_64/fpu/e_expf.S: New file.
14639 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14641 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14644 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14645 of remain_len that may cause incomplete multi-byte character and
14647 * posix/bug-regex33.c: New file.
14648 * posix/Makefile (tests): Add bug-regex33.
14650 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14652 * manual/macros.texi: New file.
14653 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14654 * manual/libc.texinfo: Include macros.texi.
14655 * manual/creatute.texi: Likewise.
14656 * manual/install.texi: Likewise.
14657 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14658 @glibcadj{} in references to the GNU C Library.
14659 * manual/charset.texi: Likewise.
14660 * manual/conf.texi: Likewise.
14661 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14662 when not using those macros.
14663 * manual/creature.texi: Likewise.
14664 * manual/crypt.texi: Likewise.
14665 * manual/errno.texi: Likewise.
14666 * manual/filesys.texi: Likewise.
14667 * manual/header.texi: Likewise.
14668 * manual/install.texi: Likewise.
14669 * manual/intro.texi: Likewise.
14670 * manual/io.texi: Likewise.
14671 * manual/job.texi: Likewise.
14672 * manual/lang.texi: Likewise.
14673 * manual/libc.texiinfo: Likewise.
14674 * manual/llio.texi: Likewise.
14675 * manual/locale.texi: Likewise.
14676 * manual/maint.texi: Likewise.
14677 * manual/math.texi: Likewise.
14678 * manual/memory.texi: Likewise.
14679 * manual/message.texi: Likewise.
14680 * manual/nss.texi: Likewise.
14681 * manual/pattern.texi: Likewise.
14682 * manual/process.texi: Likewise.
14683 * manual/resource.texi: Likewise.
14684 * manual/search.texi: Likewise.
14685 * manual/setjmp.texi: Likewise.
14686 * manual/signal.texi: Likewise.
14687 * manual/socket.texi: Likewise.
14688 * manual/startup.texi: Likewise.
14689 * manual/stdio.texi: Likewise.
14690 * manual/string.texi: Likewise.
14691 * manual/sysinfo.texi: Likewise.
14692 * manual/syslog.texi: Likewise.
14693 * manual/terminal.texi: Likewise.
14694 * manual/time.texi: Likewise.
14695 * manual/users.texi: Likewise.
14696 * INSTALL: Regenerated.
14697 * NOTES: Regenerated.
14698 * sysdeps/gnu/errlist.c: Regenerated.
14700 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14702 * include/dirent.h: Include <dirstream.h> before
14705 2012-02-28 David S. Miller <davem@davemloft.net>
14707 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14708 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14709 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14710 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14712 2012-02-27 David S. Miller <davem@davemloft.net>
14714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14716 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14717 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14720 frame pointer instead of stack pointer relative arg slot.
14721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14722 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14723 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14725 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14728 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14730 2012-02-27 David S. Miller <davem@davemloft.net>
14732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14736 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14737 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14738 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14739 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14741 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14743 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14744 later. Allow versions 5-9.
14745 * configure: Regenerated.
14746 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14747 required minimum version and 4.6 as recommended version. Do not
14748 mention bugs in GCC 2.7 and 2.8.
14749 * INSTALL: Regenerated.
14751 2012-02-27 David S. Miller <davem@davemloft.net>
14753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14757 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14758 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14759 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14760 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14763 manipulate bits before adding and subtracting TWO112[sx].
14764 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14766 2012-02-27 Roland McGrath <roland@hack.frob.com>
14769 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14770 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14771 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14772 being in POSIX, because they are in 1003.1-2008.
14774 * rt/tst-aio.c: Include <fcntl.h>.
14775 * rt/tst-aio7.c: Likewise.
14776 * rt/tst-aio64.c: Likewise.
14778 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14780 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14782 * manual/install.texi (--with-headers): Describe headers as
14783 interface headers, not private headers.
14784 (Specific advice for GNU/Linux systems): Describe use of headers
14785 from "make headers_install", not private headers from older
14787 * INSTALL: Regenerated.
14788 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14790 * sysdeps/unix/sysv/linux/configure: Regenerated.
14792 * manual/llio.texi (fclean): Remove documentation.
14794 * manual/Makefile (libc-texi-generated): New variable. Include
14796 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14797 $(libc-texi-generated), not duplicated list of files.
14798 (version.texi, stamp-version): New rules.
14799 (realclean): Remove $(libc-texi-generated), not individual files
14800 from that list. Do not remove dir-add.texinfo.
14801 * manual/libc.texinfo: Comment out uses of edition numbers and
14802 references to printed manual. Remove last-updated dates.
14803 (EDITION): Comment out.
14805 (VERSION, UPDATED): Remove.
14806 (version.texi): Include.
14808 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14810 * sysdeps/posix/spawni.c: Include <signal.h>.
14811 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14812 * sysdeps/pthread/aio_fsync.c: Likewise.
14814 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14816 * conform/Makefile (tests): Run only when not cross-compiling and
14817 when fast-check is not defined.
14819 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14820 * conform/data/limits.h-data: Fixes for POSIX2008.
14821 * conform/run-conformtest.sh: Run all tests.
14822 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14824 * include/bits/dlfcn.h: Likewise.
14825 * include/langinfo.h: Likewise.
14826 * include/monetary.h: Likewise.
14827 * include/sys/poll.h: Likewise.
14829 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14831 * posix/spawn.h: Define __need_sigset_t.
14832 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14833 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14834 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14835 to get sigevent_t only.
14836 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14837 only for __USE_GNU.
14838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14839 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14840 process_vm_writev only for __USE_GNU.
14841 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14843 * conform/Makefile: For now ignore errors from run-conformtest.
14844 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14845 POSIX to avoid namespace pollution. Don't prepend headers.
14846 * conform/data/aio.h-data: Fixes for POSIX testing.
14847 * conform/data/fcntl.h-data: Likewise.
14848 * conform/data/glob.h-data: Likewise.
14849 * conform/data/grp.h-data: Likewise.
14850 * conform/data/pthread.h-data: Likewise.
14851 * conform/data/pwd.h-data: Likewise.
14852 * conform/data/signal.h-data: Likewise.
14853 * conform/data/spawn.h-data: Likewise.
14854 * conform/data/stdio.h-data: Likewise.
14855 * conform/data/stdlib.h-data: Likewise.
14856 * conform/data/stropts.h-data: Likewise.
14857 * conform/data/sys/mman.h-data: Likewise.
14858 * conform/data/sys/stat.h-data: Likewise.
14859 * conform/data/sys/types.h-data: Likewise.
14860 * conform/data/sys/wait.h-data: Likewise.
14861 * conform/data/time.h-data: Likewise.
14862 * conform/data/unistd.h-data: Likewise.
14863 * conform/data/utime.h-data: Likewise.
14865 * io/sys/stat.h: fchmod was always in POSIX.
14866 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14867 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14868 * rt/aio.h: Define __need_timespec before including <time.h>.
14869 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14870 struct. Add forward declaration of pthread_attr_t and use it in
14872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14874 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14875 always remove CLK_TCK definition.
14877 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14879 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14881 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14883 * conform/run-conformtest.sh: New file.
14884 * conform/Makefile: Run run-conformtest for tests.
14885 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14888 * conform/data/uchar.h-data: New file.
14889 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14890 * conform/data/arpa/inet.h-data: Likewise.
14891 * conform/data/assert.h-data: Likewise.
14892 * conform/data/complex.h-data: Likewise.
14893 * conform/data/cpio.h-data: Likewise.
14894 * conform/data/ctype.h-data: Likewise.
14895 * conform/data/dirent.h-data: Likewise.
14896 * conform/data/dlfcn.h-data: Likewise.
14897 * conform/data/errno.h-data: Likewise.
14898 * conform/data/fcntl.h-data: Likewise.
14899 * conform/data/float.h-data: Likewise.
14900 * conform/data/fmtmsg.h-data: Likewise.
14901 * conform/data/fnmatch.h-data: Likewise.
14902 * conform/data/ftw.h-data: Likewise.
14903 * conform/data/glob.h-data: Likewise.
14904 * conform/data/grp.h-data: Likewise.
14905 * conform/data/iconv.h-data: Likewise.
14906 * conform/data/inttypes.h-data: Likewise.
14907 * conform/data/langinfo.h-data: Likewise.
14908 * conform/data/libgen.h-data: Likewise.
14909 * conform/data/limits.h-data: Likewise.
14910 * conform/data/locale.h-data: Likewise.
14911 * conform/data/math.h-data: Likewise.
14912 * conform/data/monetary.h-data: Likewise.
14913 * conform/data/mqueue.h-data: Likewise.
14914 * conform/data/ndbm.h-data: Likewise.
14915 * conform/data/net/if.h-data: Likewise.
14916 * conform/data/netdb.h-data: Likewise.
14917 * conform/data/netinet/in.h-data: Likewise.
14918 * conform/data/nl_types.h-data: Likewise.
14919 * conform/data/poll.h-data: Likewise.
14920 * conform/data/pthread.h-data: Likewise.
14921 * conform/data/pwd.h-data: Likewise.
14922 * conform/data/regex.h-data: Likewise.
14923 * conform/data/sched.h-data: Likewise.
14924 * conform/data/search.h-data: Likewise.
14925 * conform/data/semaphore.h-data: Likewise.
14926 * conform/data/setjmp.h-data: Likewise.
14927 * conform/data/signal.h-data: Likewise.
14928 * conform/data/spawn.h-data: Likewise.
14929 * conform/data/stdarg.h-data: Likewise.
14930 * conform/data/stdio.h-data: Likewise.
14931 * conform/data/stdlib.h-data: Likewise.
14932 * conform/data/string.h-data: Likewise.
14933 * conform/data/strings.h-data: Likewise.
14934 * conform/data/stropts.h-data: Likewise.
14935 * conform/data/sys/ipc.h-data: Likewise.
14936 * conform/data/sys/mman.h-data: Likewise.
14937 * conform/data/sys/msg.h-data: Likewise.
14938 * conform/data/sys/resource.h-data: Likewise.
14939 * conform/data/sys/select.h-data: Likewise.
14940 * conform/data/sys/sem.h-data: Likewise.
14941 * conform/data/sys/shm.h-data: Likewise.
14942 * conform/data/sys/socket.h-data: Likewise.
14943 * conform/data/sys/stat.h-data: Likewise.
14944 * conform/data/sys/statvfs.h-data: Likewise.
14945 * conform/data/sys/time.h-data: Likewise.
14946 * conform/data/sys/timeb.h-data: Likewise.
14947 * conform/data/sys/times.h-data: Likewise.
14948 * conform/data/sys/types.h-data: Likewise.
14949 * conform/data/sys/uio.h-data: Likewise.
14950 * conform/data/sys/un.h-data: Likewise.
14951 * conform/data/sys/utsname.h-data: Likewise.
14952 * conform/data/sys/wait.h-data: Likewise.
14953 * conform/data/syslog.h-data: Likewise.
14954 * conform/data/tar.h-data: Likewise.
14955 * conform/data/termios.h-data: Likewise.
14956 * conform/data/utime.h-data: Likewise.
14957 * conform/data/utmpx.h-data: Likewise.
14958 * conform/data/varargs.h-data: Likewise.
14959 * conform/data/wchar.h-data: Likewise.
14960 * conform/data/wctype.h-data: Likewise.
14961 * conform/data/wordexp.h-data: Likewise.
14963 * include/stropts.h: New file.
14964 * include/uchar.h: New file.
14965 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14966 * include/assert.h: Likewise.
14967 * include/ctype.h: Likewise.
14968 * include/dirent.h: Likewise.
14969 * include/dlfcn.h: Likewise.
14970 * include/fcntl.h: Likewise.
14971 * include/fnmatch.h: Likewise.
14972 * include/glob.h: Likewise.
14973 * include/grp.h: Likewise.
14974 * include/libio.h: Likewise.
14975 * include/locale.h: Likewise.
14976 * include/math.h: Likewise.
14977 * include/net/if.h: Likewise.
14978 * include/netdb.h: Likewise.
14979 * include/netinet/in.h: Likewise.
14980 * include/pthread.h: Likewise.
14981 * include/pwd.h: Likewise.
14982 * include/regex.h: Likewise.
14983 * include/sched.h: Likewise.
14984 * include/search.h: Likewise.
14985 * include/setjmp.h: Likewise.
14986 * include/signal.h: Likewise.
14987 * include/stdio.h: Likewise.
14988 * include/stdlib.h: Likewise.
14989 * include/string.h: Likewise.
14990 * include/sys/cdefs.h: Likewise.
14991 * include/sys/mman.h: Likewise.
14992 * include/sys/msg.h: Likewise.
14993 * include/sys/resource.h: Likewise.
14994 * include/sys/select.h: Likewise.
14995 * include/sys/socket.h: Likewise.
14996 * include/sys/stat.h: Likewise.
14997 * include/sys/statvfs.h: Likewise.
14998 * include/sys/time.h: Likewise.
14999 * include/sys/times.h: Likewise.
15000 * include/sys/uio.h: Likewise.
15001 * include/sys/utsname.h: Likewise.
15002 * include/sys/wait.h: Likewise.
15003 * include/termios.h: Likewise.
15004 * include/time.h: Likewise.
15005 * include/ulimit.h: Likewise.
15006 * include/unistd.h: Likewise.
15007 * include/utime.h: Likewise.
15008 * include/wchar.h: Likewise.
15009 * include/wctype.h: Likewise.
15010 * include/wordexp.h: Likewise.
15012 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15014 * time/time.h: TIME_UTC must be a macro.
15015 Make timespec_get available for ISO C11 only as well.
15017 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15019 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15020 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15022 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15024 * configure.in: Use -o not -a in test for unsupported multi-arch.
15026 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15028 * manual/texinfo.tex: Update to version 2012-01-19.16.
15030 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15032 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15034 2012-02-24 Roland McGrath <roland@hack.frob.com>
15037 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15038 * manual/fdl-1.3.texi: New file.
15039 * manual/fdl-1.1.texi: File removed.
15042 * manual/libc.texinfo (FDL_VERSION): New @set.
15043 Use it for mention of FDL in cover text.
15044 (Documentation License): Use it in @include file name.
15046 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15047 Roland McGrath <roland@hack.frob.com>
15050 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15051 not LONG_LONG_MAX and LONG_LONG_MIN.
15052 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15053 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15055 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15061 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15062 manipulate bits before adding and subtracting TWO23[sx].
15063 * math/libm-test.inc (nearbyint_test): Add more tests.
15065 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15068 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15069 bits before adding and subtracting TWO23[sx].
15070 * math/libm-test.inc (rint_test): Add more tests.
15071 (rint_test_tonearest): Likewise.
15072 (rint_test_towardzero): Likewise.
15073 (rint_test_downward): Likewise.
15074 (rint_test_upward: Likewise.
15076 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15079 * include/stdc-predef.h: New file. Extracted from features.h.
15080 * include/features.h: Include stdc-predef.h.
15081 * Makefile (headers): Add stdc-predef.h.
15082 * CONFORMANCE (Compiler limitations): Update.
15084 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15086 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15088 2012-02-21 David S. Miller <davem@davemloft.net>
15090 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15091 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15093 2012-02-20 David S. Miller <davem@davemloft.net>
15095 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15096 using a normal save/restore sequence, rather than allocating a
15097 dummy stack frame just to store a frame pointer and restore.
15098 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15100 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15102 * manual/install.texi: Fix stray word in line-wrapped comment.
15104 2012-02-20 David S. Miller <davem@davemloft.net>
15106 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15107 both binutils and gcc support GOTDATA.
15109 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15110 "rd %pc" in the PIC register setup sequences.
15112 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15113 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15114 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15115 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15116 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15119 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15121 (SYSCALL_ERROR_HANDLER): Likewise.
15122 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15125 (SYSCALL_ERROR_HANDLER): Likewise.
15127 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15128 (HAVE_GCC_GOTDATA): New.
15129 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15130 relocation support in both binutils and gcc.
15131 * sysdeps/sparc/elf/configure: Regenerate.
15133 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15134 * sysdeps/sparc/sparc32/elf/configure: Delete.
15135 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15136 * sysdeps/sparc/sparc64/elf/configure: Delete.
15137 * sysdeps/sparc/elf/configure.in: New file.
15138 * sysdeps/sparc/elf/configure: Generate.
15140 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15141 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15142 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15143 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15144 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15146 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15148 * manual/install.texi: Do not mention specific glibc version
15150 * manual/libc.texinfo (VERSION, UPDATED): Update.
15151 (@copying): Use @copyright{} and range of years.
15153 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15156 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15157 [crti.S not in sysdirs] (generated): Do not append.
15158 [crti.S not in sysdirs] (omit-deps): Likewise.
15159 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15160 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15161 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15162 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15163 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15165 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15166 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15167 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15168 * csu/defs.awk: Remove file.
15169 * sysdeps/generic/initfini.c: Likewise.
15170 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15172 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15175 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15177 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15178 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15180 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15182 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15184 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15185 (__EPOLL_PACKED): Define to empty if not defined by
15187 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15191 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15193 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15194 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15195 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15196 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15198 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15202 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15204 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15206 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15207 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15208 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15211 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15213 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15216 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15218 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15219 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15221 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15223 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15226 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15228 * math/w_acos.c: Use non-signaling floating-point comparisons.
15229 * math/w_acosf.c: Likewise.
15230 * math/w_acosh.c: Likewise.
15231 * math/w_acoshf.c: Likewise.
15232 * math/w_acoshl.c: Likewise.
15233 * math/w_acosl.c: Likewise.
15234 * math/w_asin.c: Likewise.
15235 * math/w_asinf.c: Likewise.
15236 * math/w_asinl.c: Likewise.
15237 * math/w_atanh.c: Likewise.
15238 * math/w_atanhf.c: Likewise.
15239 * math/w_atanhl.c: Likewise.
15240 * math/w_exp2.c: Likewise.
15241 * math/w_exp2f.c: Likewise.
15242 * math/w_exp2l.c: Likewise.
15243 * math/w_j0.c: Likewise.
15244 * math/w_j0f.c: Likewise.
15245 * math/w_j0l.c: Likewise.
15246 * math/w_j1.c: Likewise.
15247 * math/w_j1f.c: Likewise.
15248 * math/w_j1l.c: Likewise.
15249 * math/w_jn.c: Likewise.
15250 * math/w_jnf.c: Likewise.
15251 * math/w_log.c: Likewise.
15252 * math/w_log10.c: Likewise.
15253 * math/w_log10f.c: Likewise.
15254 * math/w_log10l.c: Likewise.
15255 * math/w_log2.c: Likewise.
15256 * math/w_log2f.c: Likewise.
15257 * math/w_log2l.c: Likewise.
15258 * math/w_logf.c: Likewise.
15259 * math/w_logl.c: Likewise.
15260 * math/w_sqrt.c: Likewise.
15261 * math/w_sqrtf.c: Likewise.
15262 * math/w_sqrtl.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15264 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15266 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15267 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15269 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15272 * manual/string.texi (strnlen): Use correct parameter name in
15273 equivalent expression.
15275 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15278 * manual/users.texi (seteuid): Consistently use neweuid for
15281 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15284 * manual/nss.texi (Services in the NSS configuration): Correct
15285 list of services in example configuration file.
15287 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15290 * manual/arith.texi: Remove statements about negative zero
15291 behaving identically to zero.
15293 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15296 * manual/install.texi: Do not document upgrading from libc5.
15298 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15301 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15303 2012-02-18 David S. Miller <davem@davemloft.net>
15305 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15306 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15307 %o7 across the call.
15308 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15311 SETUP_PIC_REG_LEAF.
15312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15313 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15314 * sysdeps/sparc/crtn.S: Likewise.
15316 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15318 * aout/Makefile: Remove.
15320 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15323 * manual/examples/argp-ex1.c (main): Format definition in GNU
15325 * manual/examples/argp-ex2.c (main): Likewise.
15326 * manual/examples/argp-ex3.c (main): Likewise.
15327 * manual/examples/argp-ex4.c (main): Likewise.
15328 * manual/examples/longopt.c (main): Use new-style prototype
15330 * manual/examples/strncat.c (main): Specify return type and use
15331 (void) for arguments.
15332 * manual/examples/subopt.c (main): Use char **argv argument.
15334 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15337 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15340 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15343 * manual/string.texi (strchr): Change when strchrnul is
15346 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15349 * manual/locale.texi (setlocale): Document LOCPATH.
15351 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15354 * manual/process.texi (execle): Move @dots{} before last argument.
15356 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15359 * manual/charset.texi (Generic Charset Conversion): Fix typo
15360 (LC_TYPE -> LC_CTYPE).
15362 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15365 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15366 (scalbnf): Likewise.
15367 (scalbnl): Likewise.
15368 (scalbln): Likewise.
15369 (scalblnf): Likewise.
15370 (scalblnl): Likewise.
15371 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15372 (vwarnx): Likewise.
15375 * manual/filesys.texi (telldir): Use braces around return type.
15376 * manual/llio.texi (mmap): Add space after comma.
15377 (mmap64): Likewise.
15378 * manual/math.texi (jn): Use @var{} on parameter names.
15384 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15386 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15388 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15389 (sched_get_priority_max): Likewise.
15390 * manual/signal.texi (sigvec): Add space after comma.
15391 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15393 (if_indextoname): Likewise.
15394 (if_freenameindex): Likewise.
15395 (sendto): Use ',' instead of '.' in prototype.
15396 * manual/startup.texi (syscall): Use @dots{} instead of literal
15398 * manual/stdio.texi (__fpending): Separate initial words of
15399 paragraph from @deftypefun line.
15400 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15402 (vsyslog): Use @var{} on parameter names.
15403 * manual/terminal.texi (stty): Use @var{} on parameter names.
15404 * manual/users.texi (getutmp): Use @var{} on parameter names.
15405 (getutmpx): Likewise.
15407 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15410 * manual/stdio.texi (fopen): Fix typos in description of
15413 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15416 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15417 get clock_id definition.
15419 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15422 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15423 (madvise): Cast every argument to void on its own.
15425 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15428 * manual/startup.texi (Exit Status): Fix typo.
15430 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15433 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15434 * manual/examples/argp-ex2.c: Likewise.
15435 * manual/examples/argp-ex3.c: Likewise.
15437 2012-02-16 Richard Henderson <rth@redhat.com>
15439 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15440 * sysdeps/s390/s390-32/initfini.c: Remove.
15441 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15442 * sysdeps/s390/s390-64/initfini.c: Remove.
15444 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15446 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15447 compiler output for sysdeps/generic/initfini.c.
15448 * sysdeps/sh/elf/initfini.c: Remove file.
15450 2012-02-16 David S. Miller <davem@davemloft.net>
15453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15455 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15456 * sysdeps/sparc/crti.S: New file.
15457 * sysdeps/sparc/crtn.S: New file.
15458 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15459 * sysdeps/sparc/sparc64/Makefile: Likewise.
15461 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15464 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15466 2012-02-15 Roland McGrath <roland@hack.frob.com>
15469 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15471 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15472 (write, read, close): Likewise.
15473 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15475 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15477 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15478 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15479 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15480 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15482 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15486 2012-02-14 Marek Polacek <polacek@redhat.com>
15488 * sysdeps/x86_64/crti.S: New file.
15489 * sysdeps/x86_64/crtn.S: New file.
15490 * sysdeps/x86_64/elf/initfini.c: Remove file.
15492 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15494 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15495 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15496 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15497 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15499 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15503 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15505 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15506 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15507 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15508 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15510 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15514 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15516 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15517 __feraiseexcept instead of feraiseexcept.
15519 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15520 nanosleep invocations.
15521 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15522 strings, and add error checking for a nanosleep invocations.
15524 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15526 Replace FSF snail mail address with URLs, as per GNU coding standards.
15527 Most of the snail mail addresses were wrong anyway, and omitting
15528 them makes the source code easier to maintain. Almost all of the
15529 changes are to license notices and to locale LC_IDENTIFICATION
15530 addresses, except for this one:
15531 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15532 not its snail mail address.
15534 2012-02-09 Richard Henderson <rth@twiddle.net>
15536 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15537 of kernel-features.h.
15539 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15541 2012-02-08 Marek Polacek <polacek@redhat.com>
15543 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15544 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15545 * sysdeps/gnu/_G_config.h: Likewise.
15546 * sysdeps/generic/_G_config.h: Likewise.
15548 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15550 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15554 * sysdeps/powerpc/powerpc32/crti.S: New file.
15555 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15556 * sysdeps/powerpc/powerpc64/crti.S: New file.
15557 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15559 * Makeconfig (have-initfini): Don't set.
15560 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15561 * configure.in (nopic_initfini): Don't substitute.
15562 * config.h.in (HAVE_INITFINI): Don't #undef.
15563 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15564 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15566 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15568 Support crti.S and crtn.S provided directly by architectures.
15569 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15570 [crti.S in sysdirs] (omit-deps): Likewise.
15571 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15572 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15573 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15574 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15575 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15576 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15577 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15578 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15579 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15580 compiler output for sysdeps/generic/initfini.c.
15581 * sysdeps/i386/elf/Makefile: Remove file.
15582 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15584 2012-02-07 Marek Polacek <polacek@redhat.com>
15586 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15587 * sysdeps/gnu/_G_config.h: Likewise.
15588 * sysdeps/mach/hurd/_G_config.h: Likewise.
15590 2012-02-07 Marek Polacek <polacek@redhat.com>
15592 * math/Makefile (tests): Add tst-CMPLX2.
15593 * math/tst-CMPLX2.c: New file.
15595 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15597 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15599 * math/libm-test.inc (jn_test): Add missing L suffix.
15601 2012-02-06 Marek Polacek <polacek@redhat.com>
15603 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15604 * sysdeps/i386/fpu/e_powf.S: Likewise.
15605 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15606 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15607 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15608 * sysdeps/i386/fpu/e_pow.S: Likewise.
15609 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15610 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15611 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15612 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15613 * sysdeps/i386/fpu/e_log2.S: Likewise.
15614 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15615 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15616 * sysdeps/i386/fpu/e_powl.S: Likewise.
15617 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15618 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15619 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15620 * sysdeps/i386/fpu/e_logl.S: Likewise.
15621 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15622 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15623 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15624 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15625 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15626 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15627 * sysdeps/i386/fpu/e_log.S: Likewise.
15628 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15629 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15630 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15631 * sysdeps/i386/fpu/e_logf.S: Likewise.
15632 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15633 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15634 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15635 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15636 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15637 * sysdeps/i386/fpu/e_log10.S: Likewise.
15638 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15639 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15640 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15641 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15642 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15643 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15644 * sysdeps/i386/asm-syntax.h: Likewise.
15645 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15647 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15648 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15649 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15650 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15651 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15652 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15654 * sysdeps/powerpc/sysdep.h: Likewise.
15655 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15656 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15658 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15661 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15663 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15665 * sysdeps/i386/sysdep.h: Include <features.h>.
15666 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15669 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15671 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15673 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15676 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15678 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15679 (SETUP_PIC_REG): Use GET_PC_THUNK.
15680 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15683 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15685 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15686 for non-PIC compilation.
15687 (SETUP_PIC_REG): Add .p2align directive.
15688 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15689 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15690 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15691 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15692 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15693 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15694 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15695 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15696 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15697 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15704 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15705 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15706 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15707 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15708 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15709 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15710 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15711 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15714 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15716 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15717 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15719 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15720 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15721 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15722 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15723 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15724 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15725 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15726 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15727 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15728 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15730 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15732 * math/tst-CMPLX.c: Include <stdio.h>.
15734 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15736 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15738 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15739 * sysdeps/sparc/bits/mathdef.h: Likewise.
15741 2012-01-31 Marek Polacek <polacek@redhat.com>
15743 * libio/libio.h: Don't define _PARAMS.
15744 * locale/programs/config.h: Don't define PARAMS.
15745 * stdlib/strtol_l.c: Likewise.
15746 (__strtol_l): Remove PARAMS from the prototype.
15748 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15750 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15751 names. Just use the correct names. Remove unnecessary wrapper
15753 * malloc/arena.c: Likewise.
15754 * malloc/hooks.c: Likewise.
15756 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15757 ARENA_TEST says not to. Simplify test for creation of a new arena.
15758 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15760 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15762 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15764 (update_get_addr): New function.
15765 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15766 GET_ADDR_MODULE parameter.
15768 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15770 * crypt/cert.c: Remove __STDC__ conditionals.
15771 * crypt/crypt-entry.c: Likewise.
15772 * crypt/crypt_util.c: Likewise.
15773 * libio/filedoalloc.c: Likewise.
15774 * libio/fileops.c: Likewise.
15775 * libio/genops.c: Likewise.
15776 * libio/iofclose.c: Likewise.
15777 * libio/iofdopen.c: Likewise.
15778 * libio/iofopen.c: Likewise.
15779 * libio/iofopen64.c: Likewise.
15780 * libio/iogetdelim.c: Likewise.
15781 * libio/iopopen.c: Likewise.
15782 * libio/obprintf.c: Likewise.
15783 * libio/oldfileops.c: Likewise.
15784 * libio/oldiofclose.c: Likewise.
15785 * libio/oldiofdopen.c: Likewise.
15786 * libio/oldiofopen.c: Likewise.
15787 * libio/oldiopopen.c: Likewise.
15788 * libio/wfiledoalloc.c: Likewise.
15789 * libio/wgenops.c: Likewise.
15790 * locale/programs/xmalloc.c: Likewise.
15791 * misc/syslog.c: Likewise.
15792 * stdio-common/xbug.c: Likewise.
15793 * string/memchr.c: Likewise.
15794 * string/memcmp.c: Likewise.
15795 * string/memrchr.c: Likewise.
15796 * string/rawmemchr.c: Likewise.
15797 * sysdeps/posix/getcwd.c: Likewise.
15798 * time/strftime_l.c: Likewise.
15800 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15802 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15803 * config.make.in (config-cflags-sse2avx): Define.
15804 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15807 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15809 * scripts/config.guess: Update from upstream config git repository.
15810 * scripts/config.sub: Likewise.
15812 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15814 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15816 (R_TILEPRO_*, R_TILEGX_*): New macros.
15818 * scripts/firstversions.awk: Fix bug in version range handling.
15820 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15822 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15824 * include/sys/epoll.h: New file.
15825 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15828 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15830 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15831 Avoid unnecessary __WORDSIZE == 64 test.
15832 (fmaxf): Use VEX format if possible.
15837 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15838 * math/math_private.h: Remove libc_fegetround* and
15840 * sysdeps/i386/configure.in: Check for -msse2avx.
15841 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15842 also if SSE2AVX is defined.
15843 Remove libc_fegetround* and libc_fesetround*.
15844 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15845 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15846 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15848 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15849 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15850 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15851 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15852 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15854 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15856 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15860 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15862 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15865 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15867 * Makeconfig (libm): Define.
15868 * elf/Makefile: Add rules to build and run tst-relsort1.
15869 * elf/tst-relsort1.c: New file.
15870 * elf/tst-relsort1mod1.c: New file.
15871 * elf/tst-relsort1mod2.c: New file.
15873 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15875 * math/s_ldexp.c: Remove __STDC__ conditionals.
15876 * math/s_ldexpf.c: Likewise.
15877 * math/s_ldexpl.c: Likewise.
15878 * math/s_nextafter.c: Likewise.
15879 * math/s_nexttowardf.c: Likewise.
15880 * math/s_significand.c: Likewise.
15881 * math/s_significandf.c: Likewise.
15882 * math/s_significandl.c: Likewise.
15883 * math/w_jnl.c: Likewise.
15884 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15885 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15886 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15887 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15888 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15896 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15897 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15898 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15900 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15901 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15903 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15906 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15908 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15916 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15918 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15919 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15920 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15921 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15922 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15923 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15924 * sysdeps/ieee754/k_standard.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15991 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15999 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16000 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16004 * sysdeps/ieee754/s_matherr.c: Likewise.
16005 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16006 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16007 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16008 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16010 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16012 * crypt/md5.h: Remove __STDC__ conditionals.
16013 * libio/libioP.h: Likewise.
16014 * locale/programs/config.h: Likewise.
16015 * sysdeps/generic/sysdep.h: Likewise.
16016 * sysdeps/i386/asm-syntax.h: Likewise.
16017 * sysdeps/s390/asm-syntax.h: Likewise.
16018 * sysdeps/unix/sysdep.h: Likewise.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16022 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16024 * libio/libio.h: Remove __STDC__ conditionals.
16025 * malloc/obstack.h: Likewise.
16026 * math/complex.h: Likewise.
16027 * math/math.h: Likewise.
16028 * sysdeps/generic/_G_config.h: Likewise.
16029 * sysdeps/gnu/_G_config.h: Likewise.
16030 * sysdeps/mach/hurd/_G_config.h: Likewise.
16031 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16032 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16033 * sysdeps/sparc/bits/mathdef.h: Likewise.
16035 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16038 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16039 Clean up HAS_* macros.
16040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16041 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16043 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16045 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16046 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16047 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16051 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16053 * elf/tst-unique3.cc (gets): Remove declaration.
16054 * elf/tst-unique3lib.cc (gets): Likewise.
16055 * elf/tst-unique3lib2.cc (gets): Likewise.
16056 * elf/tst-unique4.cc (gets): Likewise.
16058 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16060 * include/stdio.h: Add C++ protection. Add gets declarations and
16062 * debug/tst-chk1.c: Don't declare gets here.
16063 * stdio-common/tst-gets.c: Likewise.
16065 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16067 * posix/glob: Remove directory.
16069 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16071 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16073 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16075 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16076 of the non-standard EPFNOSUPPORT.
16078 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16080 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16081 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16082 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16084 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16086 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16088 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16090 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16092 * nscd/grpcache.c (cache_addgr): Likewise.
16093 * nscd/hstcache.c (cache_addhst): Likewise.
16094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16095 * nscd/pwdcache.c (cache_addpw): Likewise.
16096 * nscd/servicescache.c (cache_addserv): Likewise.
16098 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16100 * malloc/malloc.c: Various cleanups.
16101 * malloc/hooks.c: Likewise.
16103 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16104 * stdlib/bug-fmtmsg1.c: New file.
16106 * stdlib/fmtmsg.c (init): Add missing unlock.
16107 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16109 2012-01-12 Marek Polacek <polacek@redhat.com>
16111 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16114 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16116 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16117 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16118 macro to ensure uniqueness of label name.
16119 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16120 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16122 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16124 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16126 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16127 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16128 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16131 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16133 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16135 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16136 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16137 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16139 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16141 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16142 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16143 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16146 * math/bits/math-finite.h: Add ldexp support.
16148 2012-01-10 Marek Polacek <polacek@redhat.com>
16150 * locale/programs/localedef.h (show_archive_content): Add noreturn
16153 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16155 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16157 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16159 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16161 * io/Makefile (headers): Add bits/poll2.h.
16163 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16166 typo #include statement.
16168 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16170 * include/sys/cdefs.h: Define __attribute_alloc_size.
16171 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16172 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16173 * elf/pldd.c: Likewise.
16174 * iconv/iconv_charmap.c: Likewise.
16175 * iconv/iconvconfig.c: Likewise.
16176 * iconv/strtab.c: Likewise.
16177 * locale/programs/locale.c: Likewise.
16178 * locale/programs/localedef.h: Likewise.
16179 * locale/programs/simple-hash.c: Likewise.
16180 * nscd/nscd.h: Likewise.
16181 * nss/makedb.c: Likewise.
16182 * sysdeps/generic/ldconfig.h: Likewise.
16183 * locale/programs/localedef.c: Remove xmalloc prototype.
16184 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16186 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16188 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16191 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16193 * math/Makefile (tests): Add tst-CMPLX.
16194 * math/tst-CMPLX.c: New file.
16196 * math/complex.h (CMPLXL): Fix typo.
16198 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16199 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16201 * debug/tst-chk1.c: Add poll and ppoll tests.
16202 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16203 * include/sys/poll.h: Add hidden proto for ppoll.
16204 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16205 * sysdeps/mach/hurd/ppoll.c: Likewise.
16206 * io/ppoll.c: Likewise.
16207 * debug/poll_chk.c: New file.
16208 * debug/ppoll_chk.c: New file.
16209 * include/bits/poll2.h: New file.
16210 * io/bits/poll2.h: New file.
16213 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16215 * configure.in: static is always set to yes. Remove.
16216 * config.make.in: Don't set build-static.
16217 * Makeconfig: Remove use of build-static.
16218 * dlfcn/Makefile: Likewise.
16219 * elf/Makefile: Likewise.
16220 * math/Makefile: Likewise.
16221 * misc/Makefile: Likewise.
16222 * nptl/Makefile: Likewise.
16223 * sysdeps/mach/hurd/Makefile: Likewise.
16225 * configure.in: PWD_P is not used anymore.
16226 * config.make.in: Remove PWD_P entry.
16228 * configure.in: Remove last remnants of RANLIB.
16229 No need to check for signed size_t anymore.
16230 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16232 Remove __builtin_expect test because we require at least gcc 3.4.
16233 * aclocal.m4: Likewise.
16235 * wcsmbs/mbrtoc16.c: Implement using towc function.
16236 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16237 * wcsmbs/wcsmbsload.c: Likewise.
16238 * iconv/gconv_simple.c: Likewise.
16239 * iconv/gconv_int.h: Likewise.
16240 * iconv/gconv_builtin.h: Likewise.
16241 * iconv/iconv_prog.c: Remove CHAR16 handling.
16243 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16245 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16247 * configure.in: Remove --with-elf and --enable-bounded options.
16248 Dont set base_machine for ia64. More non-ELF conditions removed.
16249 Remove testing and setting of leading underscore information.
16250 * config.make.in (build-bounded): Set to no.
16251 * config.h.in: Remove NO_UNDERSCORES entry.
16252 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16254 * csu/start.c: Remove !NO_UNDERSCORE code.
16255 * locale/localeinfo.h: Likewise.
16256 * sysdeps/generic/machine-gmon.h: Likewise.
16257 * sysdeps/generic/sysdep.h: Likewise.
16258 * sysdeps/i386/sysdep.h: Likewise.
16259 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16260 * sysdeps/mach/sysdep.h: Likewise.
16261 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16262 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16263 * sysdeps/sh/sysdep.h: Likewise.
16264 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16265 * sysdeps/unix/i386/sysdep.S: Likewise.
16266 * sysdeps/unix/sparc/start.c: Likewise.
16267 * sysdeps/unix/sparc/sysdep.S: Likewise.
16268 * sysdeps/unix/sparc/sysdep.h: Likewise.
16269 * sysdeps/unix/start.c: Likewise.
16270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16271 * sysdeps/x86_64/sysdep.h: Likewise.
16273 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16276 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16278 * argp/argp-fmtstream.h: Use const instead __const.
16279 * argp/argp.h: Likewise.
16280 * assert/assert.h: Likewise.
16281 * bits/fenv.h: Likewise.
16282 * bits/sched.h: Likewise.
16283 * bits/sigset.h: Likewise.
16284 * bits/sigthread.h: Likewise.
16285 * catgets/nl_types.h: Likewise.
16286 * conform/data/pthread.h-data: Likewise.
16287 * crypt/crypt-private.h: Likewise.
16288 * crypt/crypt.h: Likewise.
16289 * crypt/crypt_util.c: Likewise.
16290 * ctype/ctype.h: Likewise.
16291 * debug/execinfo.h: Likewise.
16292 * debug/mbsnrtowcs_chk.c: Likewise.
16293 * debug/mbsrtowcs_chk.c: Likewise.
16294 * debug/wcsnrtombs_chk.c: Likewise.
16295 * debug/wcsrtombs_chk.c: Likewise.
16296 * debug/wcstombs_chk.c: Likewise.
16297 * dirent/dirent.h: Likewise.
16298 * dlfcn/dlfcn.h: Likewise.
16299 * elf/neededtest4.c: Likewise.
16300 * grp/grp.h: Likewise.
16301 * gshadow/gshadow.h: Likewise.
16302 * iconv/gconv.h: Likewise.
16303 * iconv/gconv_int.h: Likewise.
16304 * iconv/gconv_simple.c: Likewise.
16305 * iconv/iconv.h: Likewise.
16306 * iconv/loop.c: Likewise.
16307 * iconv/skeleton.c: Likewise.
16308 * include/aio.h: Likewise.
16309 * include/aliases.h: Likewise.
16310 * include/argz.h: Likewise.
16311 * include/arpa/inet.h: Likewise.
16312 * include/assert.h: Likewise.
16313 * include/dirent.h: Likewise.
16314 * include/dlfcn.h: Likewise.
16315 * include/execinfo.h: Likewise.
16316 * include/fcntl.h: Likewise.
16317 * include/fenv.h: Likewise.
16318 * include/glob.h: Likewise.
16319 * include/grp.h: Likewise.
16320 * include/libintl.h: Likewise.
16321 * include/mntent.h: Likewise.
16322 * include/netdb.h: Likewise.
16323 * include/pwd.h: Likewise.
16324 * include/rpc/netdb.h: Likewise.
16325 * include/sched.h: Likewise.
16326 * include/search.h: Likewise.
16327 * include/shadow.h: Likewise.
16328 * include/signal.h: Likewise.
16329 * include/stdio.h: Likewise.
16330 * include/stdlib.h: Likewise.
16331 * include/string.h: Likewise.
16332 * include/sys/socket.h: Likewise.
16333 * include/sys/stat.h: Likewise.
16334 * include/sys/statfs.h: Likewise.
16335 * include/sys/statvfs.h: Likewise.
16336 * include/sys/syslog.h: Likewise.
16337 * include/sys/time.h: Likewise.
16338 * include/sys/uio.h: Likewise.
16339 * include/time.h: Likewise.
16340 * include/unistd.h: Likewise.
16341 * include/utmp.h: Likewise.
16342 * include/wchar.h: Likewise.
16343 * include/wctype.h: Likewise.
16344 * inet/aliases.h: Likewise.
16345 * inet/arpa/inet.h: Likewise.
16346 * inet/netinet/ether.h: Likewise.
16347 * inet/netinet/in.h: Likewise.
16348 * intl/libintl.h: Likewise.
16349 * io/bits/fcntl2.h: Likewise.
16350 * io/fcntl.h: Likewise.
16351 * io/ftw.h: Likewise.
16352 * io/sys/poll.h: Likewise.
16353 * io/sys/stat.h: Likewise.
16354 * io/sys/statfs.h: Likewise.
16355 * io/sys/statvfs.h: Likewise.
16356 * io/utime.h: Likewise.
16357 * libio/bits/stdio.h: Likewise.
16358 * libio/bits/stdio2.h: Likewise.
16359 * libio/libio.h: Likewise.
16360 * libio/libioP.h: Likewise.
16361 * libio/stdio.h: Likewise.
16362 * locale/lc-ctype.c: Likewise.
16363 * locale/locale.h: Likewise.
16364 * login/utmp.h: Likewise.
16365 * malloc/arena.c: Likewise.
16366 * malloc/malloc.c: Likewise.
16367 * malloc/malloc.h: Likewise.
16368 * malloc/mcheck.c: Likewise.
16369 * malloc/mtrace.c: Likewise.
16370 * math/bits/mathcalls.h: Likewise.
16371 * math/fenv.h: Likewise.
16372 * math/math_private.h: Likewise.
16373 * misc/bits/error.h: Likewise.
16374 * misc/bits/syslog.h: Likewise.
16375 * misc/err.h: Likewise.
16376 * misc/error.h: Likewise.
16377 * misc/fstab.h: Likewise.
16378 * misc/mntent.h: Likewise.
16379 * misc/regexp.h: Likewise.
16380 * misc/search.h: Likewise.
16381 * misc/sgtty.h: Likewise.
16382 * misc/sys/mman.h: Likewise.
16383 * misc/sys/syslog.h: Likewise.
16384 * misc/sys/uio.h: Likewise.
16385 * misc/sys/xattr.h: Likewise.
16386 * misc/ttyent.h: Likewise.
16387 * nis/rpcsvc/ypclnt.h: Likewise.
16388 * nss/nss.h: Likewise.
16389 * posix/bits/unistd.h: Likewise.
16390 * posix/fnmatch.h: Likewise.
16391 * posix/glob.h: Likewise.
16392 * posix/sched.h: Likewise.
16393 * posix/spawn.h: Likewise.
16394 * posix/sys/wait.h: Likewise.
16395 * posix/unistd.h: Likewise.
16396 * posix/wordexp.h: Likewise.
16397 * pwd/pwd.h: Likewise.
16398 * resolv/netdb.h: Likewise.
16399 * resource/sys/resource.h: Likewise.
16400 * rt/aio.h: Likewise.
16401 * rt/bits/mqueue2.h: Likewise.
16402 * rt/mqueue.h: Likewise.
16403 * shadow/shadow.h: Likewise.
16404 * signal/signal.h: Likewise.
16405 * socket/send.c: Likewise.
16406 * socket/sendto.c: Likewise.
16407 * socket/sys/socket.h: Likewise.
16408 * stdio-common/printf.h: Likewise.
16409 * stdlib/bits/stdlib.h: Likewise.
16410 * stdlib/fmtmsg.h: Likewise.
16411 * stdlib/monetary.h: Likewise.
16412 * stdlib/stdlib.h: Likewise.
16413 * stdlib/ucontext.h: Likewise.
16414 * streams/stropts.h: Likewise.
16415 * string/argz.h: Likewise.
16416 * string/bits/string2.h: Likewise.
16417 * string/string.h: Likewise.
16418 * string/strings.h: Likewise.
16419 * sunrpc/rpc/auth.h: Likewise.
16420 * sunrpc/rpc/auth_des.h: Likewise.
16421 * sunrpc/rpc/clnt.h: Likewise.
16422 * sunrpc/rpc/netdb.h: Likewise.
16423 * sunrpc/rpc/pmap_clnt.h: Likewise.
16424 * sunrpc/rpc/xdr.h: Likewise.
16425 * sysdeps/generic/inttypes.h: Likewise.
16426 * sysdeps/generic/net/if.h: Likewise.
16427 * sysdeps/generic/sys/swap.h: Likewise.
16428 * sysdeps/gnu/net/if.h: Likewise.
16429 * sysdeps/gnu/utmpx.h: Likewise.
16430 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16431 * sysdeps/i386/i486/bits/string.h: Likewise.
16432 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16433 * sysdeps/s390/bits/string.h: Likewise.
16434 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16435 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16436 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16437 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16438 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16439 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16440 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16441 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16442 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16443 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16444 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16445 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16446 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16447 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16448 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16450 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16452 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16453 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16454 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16455 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16456 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16457 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16458 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16459 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16460 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16461 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16462 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16463 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16464 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16465 * sysvipc/sys/ipc.h: Likewise.
16466 * sysvipc/sys/msg.h: Likewise.
16467 * sysvipc/sys/sem.h: Likewise.
16468 * sysvipc/sys/shm.h: Likewise.
16469 * termios/termios.h: Likewise.
16470 * time/sys/time.h: Likewise.
16471 * time/time.h: Likewise.
16472 * wcsmbs/bits/wchar2.h: Likewise.
16473 * wcsmbs/uchar.h: Likewise.
16474 * wcsmbs/wchar.h: Likewise.
16475 * wctype/wctype.h: Likewise.
16478 * Makeconfig: Remove all but ELF support including AIX support.
16479 * Makerules: Likewise.
16480 * config.h.in: Likewise.
16481 * config.make.in: Likewise.
16482 * configure: Likewise.
16483 * configure.in: Likewise.
16484 * csu/Makefile: Likewise.
16485 * csu/version.c: Likewise.
16486 * debug/Makefile: Likewise.
16487 * dlfcn/Makefile: Likewise.
16488 * elf/Makefile: Likewise.
16489 * extra-lib.mk: Likewise.
16490 * iconv/Makefile: Likewise.
16491 * include/libc-symbols.h: Likewise.
16492 * include/shlib-compat.h: Likewise.
16493 * resolv/Makefile: Likewise.
16494 * resolv/res_libc.c: Likewise.
16495 * rt/Makefile: Likewise.
16496 * sysdeps/i386/asm-syntax.h: Likewise.
16497 * sysdeps/i386/sysdep.h: Likewise.
16498 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16499 * sysdeps/mach/sysdep.h: Likewise.
16500 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16501 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16502 * sysdeps/s390/asm-syntax.h: Likewise.
16503 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16504 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16505 * sysdeps/sh/sysdep.h: Likewise.
16506 * sysdeps/unix/sparc/sysdep.h: Likewise.
16507 * sysdeps/wordsize-32/divdi3.c: Likewise.
16508 * sysdeps/x86_64/sysdep.h: Likewise.
16510 * argp/Versions: Remove _argp_unlock_xxx.
16513 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16514 * abilist/libBrokenLocale.abilist: Likewise.
16515 * abilist/libanl.abilist: Likewise.
16516 * abilist/libc.abilist: Likewise.
16517 * abilist/libcrypt.abilist: Likewise.
16518 * abilist/libdl.abilist: Likewise.
16519 * abilist/libm.abilist: Likewise.
16520 * abilist/libnsl.abilist: Likewise.
16521 * abilist/libpthread.abilist: Likewise.
16522 * abilist/libresolv.abilist: Likewise.
16523 * abilist/librt.abilist: Likewise.
16524 * abilist/libthread_db.abilist: Likewise.
16525 * abilist/libutil.abilist: Likewise.
16526 * abilist/libnss_db.abilist: New file.
16528 * scripts/abilist.awk: Add support for indirect functions.
16530 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16532 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16534 * shlib-versions: Remove entries for ports architectures.
16536 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16538 * elf/stackguard-macros.h: Remove support for IA-64.
16539 * elf/tst-auditmod1.c: Likewise.
16540 * sysdeps/generic/ldsodefs.h: Likewise.
16542 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16543 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16547 * configure.in: Remove --enable-omitfp support.
16549 * config.make.in: Likewise.
16550 * Makeconfig: Likewise.
16551 * manual/install.texi: Likewise.
16553 In case anyone cares, the IA-64 architecture could move to ports.
16554 * sysdeps/ia64/*: Removed.
16555 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16556 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16559 * configure.in: Remove entries for unsupported architectures.
16562 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16563 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16565 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16566 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16567 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16568 fall back to using wcrtomb.
16569 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16570 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16572 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16573 * wcsmbs/tst-c16c32-1.c: New file.
16575 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16578 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16580 * elf/tst-unique3.cc: Add explicit declaration of gets.
16581 * elf/tst-unique3lib.cc: Likewise.
16582 * elf/tst-unique3lib2.cc: Likewise.
16583 * elf/tst-unique4.cc: Likewise.
16585 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16587 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16590 * assert/assert.h (static_assert): Don't define for C++.
16591 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16592 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16594 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16596 * iconv/loop.c (single loop): Fix assertion in storing of
16599 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16601 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16603 * posix/getconf.c: Update copyright year.
16604 * nss/getent.c: Likewise.
16605 * nss/makedb.c: Likewise.
16606 * iconv/iconvconfig.c: Likewise.
16607 * iconv/iconv_prog.c: Likewise.
16608 * elf/ldconfig.c: Likewise.
16609 * elf/pldd.c: Likewise.
16610 * elf/sotruss.ksh: Likewise.
16611 * catgets/gencat.c: Likewise.
16612 * csu/version.c: Likewise.
16613 * elf/ldd.bash.in: Likewise.
16614 * elf/sprof.c (print_version): Likewise.
16615 * locale/programs/locale.c: Likewise.
16616 * locale/programs/localedef.c: Likewise.
16617 * login/programs/pt_chown.c: Likewise.
16618 * nscd/nscd.c (print_version): Likewise.
16619 * debug/xtrace.sh: Likewise.
16620 * malloc/memusage.sh: Likewise.
16621 * malloc/mtrace.pl: Likewise.
16622 * debug/catchsegv.sh: Likewise.
16624 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16626 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16629 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16632 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16633 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16635 * iconv/gconv_int.h: Likewise.
16636 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16637 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16638 from libc for GLIBC_2.16.
16639 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16640 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16641 * wcsmbs/uchar.h: Really define mbstate_t.
16642 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16643 * wcsmbs/c16rtomb.c: New file.
16644 * wcsmbs/mbrtoc16.c: New file.
16645 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16646 for C/POSIX locale.
16647 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16648 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16650 * wcsmbs/wchar.h: Add missing __restrict.
16652 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16655 * time/Makefile (routines): Add timespec_get.
16656 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16657 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16658 timespec for ISO C11.
16659 * time/timespec_get.c: New file.
16660 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16661 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16664 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16665 * stdlib/stdlib.h: Declare aligned_alloc.
16666 * Versions.def: Add GLIBC_2.16 for libc.
16667 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16670 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16673 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16677 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16680 * assert/assert.h (static_assert): Define.
16682 * version.h: Update for 2.16 development version.
16685 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16688 * version.h (RELEASE): Bump for 2.15 release.
16689 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16691 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16692 Patch by Marek Polacek <mpolacek@redhat.com>.
16694 * bits/byteswap.h: Protect long long constants with __extension__.
16695 * sysdeps/i386/bits/byteswap.h: Likewise.
16696 * sysdeps/ia64/bits/byteswap.h: Likewise.
16697 * sysdeps/s390/bits/byteswap.h: Likewise.
16698 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16700 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16704 destination buffer.
16705 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16707 2011-12-23 Marek Polacek <polacek@redhat.com>
16709 * elf/dl-addr.c (determine_info): Add inline keyword.
16710 * elf/tst-auditmod4b.c (check_avx): Likewise.
16711 * elf/tst-auditmod6b.c (check_avx): Likewise.
16712 * elf/tst-auditmod6c.c (check_avx): Likewise.
16713 * elf/tst-auditmod7b.c (check_avx): Likewise.
16715 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16717 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16720 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16723 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16724 processing for last bytes.
16726 2011-08-06 Bruno Haible <bruno@clisp.org>
16729 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16730 U+0385, not to U+1FEE.
16733 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16734 entry for U+00A5 U+0301.
16736 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16739 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16740 buffer for the output is too small.
16742 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16746 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16747 SSE flags if possible.
16749 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16752 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16753 processing for last bytes.
16755 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16757 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16758 (syscall-list-default-options, syscall-list-default-condition)
16759 (syscall-list-includes): Define.
16760 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16761 list of ABIs and options and #if conditions for each ABI. Do not
16762 handle common syscalls between ABIs specially.
16763 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16765 (syscall-list-variants, syscall-list-32bit-options)
16766 (syscall-list-32bit-condition, syscall-list-64bit-options)
16767 (syscall-list-64bit-condition): Define.
16768 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16769 (syscall-list-variants, syscall-list-32bit-options)
16770 (syscall-list-32bit-condition, syscall-list-64bit-options)
16771 (syscall-list-64bit-condition): Define.
16772 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16774 (syscall-list-variants, syscall-list-32bit-options)
16775 (syscall-list-32bit-condition, syscall-list-64bit-options)
16776 (syscall-list-64bit-condition): Define.
16777 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16779 (syscall-list-variants, syscall-list-32bit-options)
16780 (syscall-list-32bit-condition, syscall-list-64bit-options)
16781 (syscall-list-64bit-condition): Define.
16783 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16785 * locale/iso-639.def: Add brx entry.
16788 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16789 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16791 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16792 __feraiseexcept_renamed.
16794 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16797 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16798 EPOLLET with unsigned values.
16799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16802 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16803 to large cancellation.
16804 * math/s_cacoshf.c: Likewise.
16805 * math/s_cacoshl.c: Likewise.
16807 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16811 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16812 * math/s_cacoshf.c: Likewise.
16813 * math/s_cacoshl.c: Likewise.
16815 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16818 * iconv/gconv.h: Define __GCONV_SWAP.
16819 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16820 * iconvdata/utf-16.c: Likewise.
16821 * iconvdata/utf-32.c: Likewise.
16823 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16827 numerator after shifting it by one limb.
16829 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16832 under [__USE_EXTERN_INLINES].
16834 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16837 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16839 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16841 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16842 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16844 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16845 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16846 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16847 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16848 for strncasecmp/strncasecmp_l compilation.
16849 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16850 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16852 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16855 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16858 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16861 * time/tzfile.c (__tzfile_read): Check values from file header.
16863 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16865 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16866 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16867 * powerpc/powerpc32/dl-start.S: Likewise.
16868 * powerpc/powerpc32/elf/start.S: Likewise.
16869 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16870 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16871 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16872 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16873 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16874 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16875 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16876 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16877 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16878 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16879 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16880 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16881 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16882 * powerpc/powerpc32/memset.S: Likewise.
16883 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16884 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16885 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16886 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16887 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16888 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16889 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16890 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16891 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16892 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16894 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16895 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16897 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16899 * math/libm-test.inc: Added more nearbyint tests.
16900 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16901 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16902 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16903 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16905 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16907 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16910 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16912 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16913 Add wcscpy-ssse3 wcscpy-c.
16914 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16915 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16916 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16917 * sysdeps/x86_64/wcschr.S: New file.
16918 * sysdeps/x86_64/wcsrchr.S: New file.
16919 * string/test-strcmp.c: Remove checking of wcscmp function for
16921 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16922 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16923 wcsrchr-sse2 wcsrchr-c.
16924 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16925 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16926 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16927 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16928 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16929 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16930 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16931 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16932 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16933 * wcsmbc/wcschr.c (WCSCHR): New macro.
16935 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16937 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16938 * wcsmbs/test-wcsrchr.c: New file.
16939 * string/test-strrchr.c: Add wcsrchr support.
16941 * wcsmbs/test-wcscpy.c: New file.
16942 * string/test-strcpy.c: Add wcscpy support.
16945 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16947 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16950 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16953 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16955 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16957 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16958 Minor optimizations.
16960 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16961 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16962 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16964 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16966 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16967 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16968 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16969 for gcc to avoid warnings.
16970 * inet/Makefile (tests): Add tst-checks.
16971 * inet/tst-checks.c: New file.
16973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16976 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16979 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16980 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16982 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16984 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16986 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16989 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16991 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16993 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16994 conditional on GCC version.
16995 (__arch_compare_and_exchange_val_8_acq)
16996 (__arch_compare_and_exchange_val_16_acq)
16997 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16998 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16999 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17001 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17003 * sysdeps/sh/backtrace.c: New file.
17005 2011-12-02 Andreas Schwab <schwab@redhat.com>
17007 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17010 2011-12-01 Andreas Schwab <schwab@redhat.com>
17012 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17013 falling back to utime.
17015 2011-11-30 Andreas Schwab <schwab@redhat.com>
17017 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17018 expectations for float.
17020 2011-11-29 Andreas Schwab <schwab@redhat.com>
17022 * locale/weight.h (findidx): Add parameter len.
17023 * locale/weightwc.h (findidx): Likewise.
17024 * posix/fnmatch_loop.c (FCT): Adjust caller.
17025 * posix/regcomp.c (build_equiv_class): Likewise.
17026 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17027 * posix/regexec.c (check_node_accept_bytes): Likewise.
17028 * string/strcoll_l.c (STRCOLL): Likewise.
17029 * string/strxfrm_l.c (STRXFRM): Likewise.
17031 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17033 * Makefile.in: Remove CVSOPT handling.
17034 * configure.in: Remove use of AC_REVISION.
17035 * iconvdata/Makefile (distribute): No need to filter out CVS.
17036 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17039 2011-11-16 Andreas Schwab <schwab@redhat.com>
17041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17042 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17043 [USE_AS_STRNCASECMP_L]: Likewise.
17044 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17045 NO_TLS_DIRECT_SEG_REFS.
17046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17047 Fix argument offsets for non-PIC.
17048 [USE_AS_STRNCASECMP_L]: Likewise.
17049 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17050 NO_TLS_DIRECT_SEG_REFS.
17052 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17054 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17056 * locale/loadlocale.c (_nl_load_locale): Likewise.
17058 2011-11-15 Andreas Schwab <schwab@redhat.com>
17060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17061 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17062 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17063 (SYSCALL_GETTIME): Set errno on error.
17065 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17066 count references to noai6ai_cached.
17068 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17070 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17072 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17073 FD_CLOEXEC for /proc/self/maps.
17075 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17076 FD_CLOEXEC for /proc/meminfo.
17078 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17081 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17082 FD_CLOEXEC for given file.
17084 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17086 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17087 FD_CLOEXEC for /etc/hosts.
17088 (_gethtent): Likewise.
17090 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17092 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17093 cancellation and set FD_CLOEXEC for /etc/netgroup.
17095 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17096 reading /etc/publickey.
17098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17099 allow cancellation when reading /etc/group.
17101 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17103 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17105 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17106 when using data file.
17108 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17110 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17111 (write_nis_obj): Use "c" and "e" in fopen.
17113 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17115 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17117 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17119 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17121 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17124 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17126 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17128 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17130 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17131 file parsing and set FD_CLOEXEC.
17133 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17135 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17137 2011-11-14 Andreas Schwab <schwab@redhat.com>
17139 * malloc/arena.c (arena_get2): Don't call reused_arena when
17140 _int_new_arena failed.
17142 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17144 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17145 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17148 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17149 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17150 to compile strcasecmp and strncasecmp.
17151 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17152 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17156 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17158 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17159 locale-defines.sym to gen-as-const-headers.
17160 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17161 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17163 to compile strcasecmp and strncasecmp.
17164 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17165 strcasecmp_l and strncasecmp_l.
17166 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17167 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17168 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17169 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17170 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17171 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17172 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17173 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17174 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17175 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17176 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17178 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17180 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17181 result of SYSDEP_GETTIME_CPU to retval.
17182 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17183 parameter list to macro. Remove trailing semicolon. Adjust users.
17185 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17188 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17190 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17192 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17193 from unused variable.
17195 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17197 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17200 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17203 * sunrpc/rpc_prot.c (rejected): Fix case value.
17205 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17206 unsigned long long int to avoid warnings in shift.
17208 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17210 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17213 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17214 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17215 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17217 * nis/nis_table.c (nis_list): Use variable of correct type for
17218 result of __follow_path call.
17220 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17222 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17223 of math functions ceil, trunc, floor, round, and sqrt, when
17224 avaliable on the platform.
17225 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17231 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17233 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17234 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17236 2011-11-11 Roland McGrath <roland@hack.frob.com>
17238 * include/unistd.h: Fix __readlink return type.
17239 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17241 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17243 * stdlib/ucontext.h: Undo last change for makecontext.
17245 2011-11-11 Andreas Schwab <schwab@redhat.com>
17247 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17249 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17250 * setjmp/setjmp.h: Mark functions as non-leaf.
17251 * setjmp/bits/setjmp2.h: Likewise.
17252 * stdlib/ucontext.h: Likewise.
17254 2011-11-10 Andreas Schwab <schwab@redhat.com>
17256 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17257 (reused_arena): Don't check arena limit.
17258 (arena_get2): Atomically check arena limit.
17260 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17262 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17263 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17268 2011-11-07 Andreas Schwab <schwab@redhat.com>
17270 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17271 handler when locking.
17273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17274 Fix size of allocated buffer.
17276 2011-11-04 Andreas Schwab <schwab@redhat.com>
17279 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17280 declarations for long double functions.
17281 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17283 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17285 2011-11-03 Andreas Schwab <schwab@redhat.com>
17287 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17290 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17293 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17295 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17297 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17299 * include/alloca.h (stackinfo_alloca_round): Define.
17300 (extend_alloca): Use it.
17301 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17302 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17305 * scripts/check-local-headers.sh: Ignore libaudit.h.
17307 * nscd/Makefile (extra-objs): Make recursively expanded.
17309 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17311 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17314 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17315 * posix/tst-rfc3484-2.c: Likewise.
17316 * posix/tst-rfc3484-3.c: Likewise.
17318 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17320 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17322 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17323 process_vm_writev from libc using GLIBC_2.15 version.
17325 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17327 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17329 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17332 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17335 * nss/getent.c (initgroups_keys): Show error message in case no group
17338 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17339 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17340 __bump_nl_timestamp.
17341 * nscd/connections (nscd_init): When host database is served open
17342 netlink socket and request notification about configuration changes.
17343 (main_loop_poll): Track netlink file descriptor and bump timestamp
17344 in case data becomes available.
17345 (main_loop_epoll): Likewise.
17346 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17347 (database_pers_head): Add extra_data fileds.
17348 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17349 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17350 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17353 in6ai data, call __free_in6ai.
17354 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17355 Add -DHAVE_NETLINK.
17356 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17357 interface information. Reuse previous data if netlink timestamp
17359 (__bump_nl_timestamp): New function.
17360 (__free_in6ai): New function.
17362 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17364 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17365 close_not_cancel_no_status here.
17366 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17368 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17371 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17374 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17375 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17376 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17378 2011-07-03 Andreas Jaeger <aj@suse.de>
17381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17382 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17383 * math/libm-test.inc (sin_test): Add test case.
17385 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17388 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17389 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17391 * elf/chroot_canon.c (chroot_canon): Cleanups.
17393 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17396 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17397 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17399 * string/test-strchr.c: Make usable for strchrnul testing.
17400 * string/test-strchrnul.c: New file.
17401 * string/Makefile (strop-tests): Add strchrnul.
17403 * po/it.po: Update from translation team.
17404 * po/es.po: Likewise.
17406 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17409 the three constants needed as parameters. Drop the others.
17410 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17411 __m128i_strloadu_tolower.
17412 Create and initialize variable zero and use it in all the places
17413 where _mm_setzero_si128 was used.
17415 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17416 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17417 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17418 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17420 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17421 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17422 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17423 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17424 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17425 __mpranred, __mptan.
17426 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17427 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17428 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17429 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17430 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17431 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17432 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17433 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17434 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17436 2011-10-28 Andreas Schwab <schwab@redhat.com>
17438 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17439 redefine if SHARED.
17440 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17443 wide char related routines to wcsmbs subdir.
17445 2011-10-27 Andreas Schwab <schwab@redhat.com>
17448 * misc/sys/cdefs.h (__THROWNL): Define.
17449 * posix/unistd.h: Use __THREADNL instead of __THREAD
17450 for memory synchronization functions.
17452 2011-10-26 Roland McGrath <roland@hack.frob.com>
17455 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17457 * manual/stdio.texi (Obstack Streams): Node removed.
17459 2011-10-26 Andreas Schwab <schwab@redhat.com>
17461 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17462 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17465 * math/math_private.h (math_force_eval): Allow non-addressable
17467 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17469 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17471 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17472 file is not needed.
17474 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17476 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17477 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17479 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17481 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17483 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17484 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17485 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17486 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17487 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17488 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17490 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17491 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17492 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17493 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17494 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17495 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17496 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17497 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17498 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17499 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17501 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17503 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17504 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17507 place. Use VEX encoding when compiling for AVX.
17509 2011-10-25 Andreas Schwab <schwab@redhat.com>
17511 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17512 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17514 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17516 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17518 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17519 useless if() expression.
17520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17525 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17529 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17530 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17531 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17532 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17533 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17534 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17535 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17540 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17542 2011-10-25 Andreas Schwab <schwab@redhat.com>
17544 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17546 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17548 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17550 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17551 .text section. Avoid duplicate constants.
17552 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17559 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17562 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17564 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17565 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17569 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17570 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17572 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17575 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17576 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17577 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17578 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17579 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17580 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17581 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17583 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17585 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17586 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17587 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17588 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17589 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17590 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17591 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17592 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17593 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17594 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17595 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17596 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17598 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17600 * sysdeps/x86_64/dla.h: Move to ...
17601 * sysdeps/x86_64/fpu/dla.h: ...here.
17602 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17603 situations. Use __builtin_fma only for gcc 4.6 and up.
17605 * config.make.in: Add have-mfma4 entry.
17606 * configure.in: Substitute libc_cv_cc_fma4.
17607 * math/Makefile (dbl-only-routines): Add sincostab.
17608 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17609 Use __sincostab not sincos.
17610 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17617 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17618 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17619 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17620 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17622 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17623 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17625 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17626 define aliases when function name is a macro.
17627 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17628 sysdeps/ieee754/dbl-64/sincos.tbl.
17629 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17630 fma4-enabled routines.
17631 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17632 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17633 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17634 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17635 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17636 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17637 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17638 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17640 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17641 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17642 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17643 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17644 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17645 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17646 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17647 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17648 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17649 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17650 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17651 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17652 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17653 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17654 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17656 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17657 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17658 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17659 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17660 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17662 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17673 2011-10-24 Andreas Schwab <schwab@redhat.com>
17675 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17677 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17679 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17681 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17685 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17686 Remove unused variable magic_bits.
17687 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17689 * string/strnlen.c: Define and use STRNLEN macro.
17690 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17691 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17692 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17693 * wcsmbs/wcslen.c: Define and use WCSLEN.
17694 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17695 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17696 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17697 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17698 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17699 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17700 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17702 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17705 strnlen-sse2-no-bsf.
17706 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17707 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17708 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17709 Add strnlen support.
17710 (USE_AS_STRNLEN): New macro.
17711 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17712 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17713 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17714 * sysdeps/x86_64/wcslen.S: New file.
17716 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17719 XMM-moves are used for copying on small sizes.
17721 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17723 * wcsmbs/Makefile (strop-tests): Add wcschr.
17724 * wcsmbs/test-wcschr.c: New file.
17725 * string/test-strchr.c: Update.
17726 Add wcschr support.
17729 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17731 * wcsmbs/Makefile (strop-tests): Add wcslen.
17732 * wcsmbs/test-wcslen.c: New file.
17733 * string/test-strlen.c: Update.
17734 Add wcslen support.
17737 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17739 * po/it.po: Update from translation team.
17741 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17743 * sysdeps/x86_64/wcscmp.S: Update.
17744 Fix wrong comparison semantics.
17745 wcscmp shall use signed comparison not unsigned.
17746 Don't use substraction to avoid overflow bug.
17747 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17748 * wcsmbc/wcscmp.c: Likewise.
17749 * string/test-strcmp.c: Likewise.
17750 Add new tests to check cases with negative values.
17752 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17754 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17755 * sysdeps/x86_64/dla.h: ...here. New file.
17756 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17763 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17766 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17769 __ynl_finite aliases.
17771 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17775 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17777 [DLA_FMA] (EMULV): Use DLA_FMA.
17778 [DLA_FMA] (MUL12): Use EMULV.
17779 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17780 that are not needed.
17781 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17789 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17791 * math/s_nan.c: Undef __nan.
17792 * math/s_nanf.c: Undef __nanf.
17793 * math/s_nanl.c: Undef __nanl.
17794 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17797 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17799 * math/s_catan.c: Add branch predictions.
17800 * math/s_catanf.c: Likewise.
17801 * math/s_catanh.c: Likewise.
17802 * math/s_catanhf.c: Likewise.
17803 * math/s_catanhl.c: Likewise.
17804 * math/s_catanl.c: Likewise.
17805 * math/s_cexp.c: Likewise.
17806 * math/s_cexpf.c: Likewise.
17807 * math/s_cexpl.c: Likewise.
17808 * math/s_clog.c: Likewise.
17809 * math/s_clog10.c: Likewise.
17810 * math/s_clog10f.c: Likewise.
17811 * math/s_clog10l.c: Likewise.
17812 * math/s_clogf.c: Likewise.
17813 * math/s_clogl.c: Likewise.
17814 * math/s_csqrt.c: Likewise.
17815 * math/s_csqrtf.c: Likewise.
17816 * math/s_csqrtl.c: Likewise.
17817 * math/s_ctanf.c: Likewise.
17818 * math/s_ctanh.c: Likewise.
17819 * math/s_ctanhf.c: Likewise.
17820 * math/s_ctanhl.c: Likewise.
17821 * math/s_ctanl.c: Likewise.
17823 * math/math_private.h: Define __nan, __nanf, __nanl.
17824 * math/s_cacosh.c: Include <math_private.h>.
17825 * math/s_cacoshl.c: Likewise.
17826 * math/s_casinh.c: Likewise.
17827 * math/s_casinhf.c: Likewise.
17828 * math/s_casinhl.c: Likewise.
17829 * math/s_ccos.c: Rely entire on ccosh.
17830 * math/s_ccosf.c: Rely entire on ccoshf.
17831 * math/s_ccosl.c: Rely entirely on ccoshl.
17832 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17833 Remove tests for FE_INVALID.
17834 * math/s_ccoshf.c: Likewise.
17835 * math/s_ccoshl.c: Likewise.
17836 * math/s_csin.c: Likewise.
17837 * math/s_csinf.c: Likewise.
17838 * math/s_csinh.c Likewise.
17839 * math/s_csinhf.c: Likewise.
17840 * math/s_csinhl.c: Likewise.
17841 * math/s_csinl.c: Likewise.
17842 * math/s_ctan.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17844 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17845 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17847 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17850 compilation problems.
17852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17855 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17857 * sysdeps/i386/configure.in: Test for -mfma4 option.
17858 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17859 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17860 COMMON_CPUID_INDEX_80000001.
17861 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17862 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17863 use it if FMA3 is not supported.
17864 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17866 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17867 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17869 2011-10-20 Andreas Schwab <schwab@redhat.com>
17872 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17873 it would create a cycle with a link time dependency.
17875 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17877 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17879 * string/Makefile (strop-tests): Add rawmemchr.
17880 * string/test-rawmemchr.c: New file.
17882 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17884 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17885 when compiling str{,n}casecmp and when AVX is available. Hook up
17886 new optimized code in initializers.
17888 2011-10-19 Andreas Schwab <schwab@redhat.com>
17890 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17891 __feraiseexcept instead of feraiseexcept.
17893 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17895 * math/math_private.h: Define defaults for libc_fetestexcept and
17897 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17898 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17899 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17900 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17901 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17902 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17903 libc_fetestexcept and libc_feupdateenv.
17905 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17906 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17907 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17908 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17909 libc_feholdexcept_setround.
17911 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17912 Add s_nearbyint-c and s_nearbyintf-c.
17913 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17914 nearbyintf inlines.
17915 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17916 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17917 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17918 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17920 * math/math_private.h: Define defaults for libc_fegetround,
17921 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17922 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17923 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17924 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17925 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17926 standard functions.
17927 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17928 Remove comments and hacks for old compiler versions.
17929 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17930 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17931 libc_feholdexceptl.
17933 2011-10-18 Andreas Schwab <schwab@redhat.com>
17935 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17936 (__feraiseexcept_renamed): Add __NTH.
17937 (feraiseexcept): Add __NTH. Rename local variables to fix
17938 namespace violations.
17940 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17942 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17944 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17946 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17947 recently added interfaces.
17948 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17950 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17951 about macro parameter expansion.
17953 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17954 __NO_MATH_INLINES is defined. Cleanups.
17956 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17957 and __floorf is target has SSE4.1.
17958 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17959 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17960 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17961 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17963 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17965 (floorf): Likewise.
17967 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17969 2011-10-17 Andreas Schwab <schwab@redhat.com>
17971 * misc/sys/cdefs.h: Fix last change.
17973 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17976 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17978 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17980 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17981 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17987 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17988 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17989 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17990 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17991 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17992 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17993 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17994 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17995 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17996 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17997 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17998 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17999 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18000 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18001 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18003 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18004 ceil, ceilf, floor, floorf.
18006 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18007 Perform IRELATIVE relocations last.
18009 * elf/do-rel.h: Add another parameter nrelative, replacing the
18010 local variable with the same name. Change name of the function
18011 to end in Rel or Rela (uppercase).
18012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18013 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18014 elf_dynamic_do_##reloc function.
18016 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18018 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18019 is sufficient, at least on modern CPUs.
18021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18023 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18024 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18026 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18028 * math/bits/math-finite.h: Add entries for exp.
18029 * math/e_expl.c: Add __*_finite alias.
18030 * sysdeps/i386/fpu/e_exp.S: Likewise.
18031 * sysdeps/i386/fpu/e_expf.S: Likewise.
18032 * sysdeps/i386/fpu/e_expl.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18034 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18038 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18041 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18042 is sufficient, at least on modern CPUs.
18044 * ctype/ctype-info.c (__ctype_init): Define.
18045 * include/ctype.h (__ctype_init): Declare.
18046 (__ctype_b_loc): The variable is always initialized.
18047 (__ctype_toupper_loc): Likewise.
18048 (__ctype_tolower_loc): Likewise.
18049 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18050 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18052 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18054 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18056 * configure.in: Also look in $cxxmachine/include for C++ system
18059 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18061 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18062 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18063 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18064 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18065 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18066 (USE_AS_WMEMCMP): New macro.
18068 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18069 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18070 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18071 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18073 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18074 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18075 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18076 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18077 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18079 (USE_AS_WMEMCMP): New macro.
18080 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18081 * sysdeps/string/test-memcmp.c: Update.
18082 Fix simple_wmemcmp.
18084 * wcsmbs/wmemcmp.c: Update.
18085 (WMEMCMP): New macro.
18088 2011-10-12 Andreas Jaeger <aj@suse.de>
18091 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18093 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18095 * libio/iofwide.c (do_length): Avoid warning.
18097 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18099 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18101 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18103 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18104 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18105 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18106 * sysdeps/i386/i686/fpu/e_log.S: New file.
18107 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18108 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18110 * ctype/ctype.h: Add support for inlined isXXX functions when
18111 compiling C++ code.
18113 2011-10-14 Andreas Schwab <schwab@redhat.com>
18115 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18117 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18119 2011-10-13 Roland McGrath <roland@hack.frob.com>
18122 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18124 2011-10-13 Andreas Schwab <schwab@redhat.com>
18126 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18127 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18130 * sysdeps/x86_64/memrchr.S: Check for zero size.
18132 * string/stratcliff.c: Add memrchr tests.
18134 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18137 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18138 rawmemchr-sse2 rawmemchr-sse2-bsf.
18139 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18140 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18141 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18142 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18143 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18144 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18145 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18146 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18147 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18148 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18149 * string/memrchr.c (MEMRCHR): New macro.
18151 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18153 Add integration with gcc's -ffinite-math-only and optimize wrapper
18155 * Versions.def: Define GLIBC_2.15 version for libm.
18156 * math/Makefile (headers): Add bits/math-finite.h.
18157 * math/bits/math-finite.h: New file.
18158 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18159 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18160 * math/e_acoshl.c: Add __*_finite alias.
18161 * math/e_acosl.c: Likewise.
18162 * math/e_asinl.c: Likewise.
18163 * math/e_atan2l.c: Likewise.
18164 * math/e_atanhl.c: Likewise.
18165 * math/e_coshl.c: Likewise.
18166 * math/e_exp10.c: Likewise.
18167 * math/e_exp10f.c: Likewise.
18168 * math/e_exp10l.c: Likewise.
18169 * math/e_exp2l.c: Likewise.
18170 * math/e_fmodl.c: Likewise.
18171 * math/e_gammal_r.c: Likewise.
18172 * math/e_hypotl.c: Likewise.
18173 * math/e_j0l.c: Likewise.
18174 * math/e_j1l.c: Likewise.
18175 * math/e_jnl.c: Likewise.
18176 * math/e_lgammal_r.c: Likewise.
18177 * math/e_log10l.c: Likewise.
18178 * math/e_log2l.c: Likewise.
18179 * math/e_logl.c: Likewise.
18180 * math/e_powl.c: Likewise.
18181 * math/e_sinhl.c: Likewise.
18182 * math/e_sqrtl.c: Likewise.
18183 * math/e_scalb.c: Completely rewritten and optimized.
18184 * math/e_scalbf.c: Likewise.
18185 * math/e_scalbl.c: Likewise.
18186 * math/w_acos.c: Likewise.
18187 * math/w_acosf.c: Likewise.
18188 * math/w_acosl.c: Likewise.
18189 * math/w_acosh.c: Likewise.
18190 * math/w_acoshf.c: Likewise.
18191 * math/w_acoshl.c: Likewise.
18192 * math/w_asin.c: Likewise.
18193 * math/w_asinf.c: Likewise.
18194 * math/w_asinl.c: Likewise.
18195 * math/w_atan2.c: Likewise.
18196 * math/w_atan2f.c: Likewise.
18197 * math/w_atan2l.c: Likewise.
18198 * math/w_atanh.c: Likewise.
18199 * math/w_atanhf.c: Likewise.
18200 * math/w_atanhl.c: Likewise.
18201 * math/w_exp10.c: Likewise.
18202 * math/w_exp10f.c: Likewise.
18203 * math/w_exp10l.c: Likewise.
18204 * math/w_fmod.c: Likewise.
18205 * math/w_fmodf.c: Likewise.
18206 * math/w_fmodl.c: Likewise.
18207 * math/w_j0.c: Likewise.
18208 * math/w_j0f.c: Likewise.
18209 * math/w_j0l.c: Likewise.
18210 * math/w_j1.c: Likewise.
18211 * math/w_j1f.c: Likewise.
18212 * math/w_j1l.c: Likewise.
18213 * math/w_jn.c: Likewise.
18214 * math/w_jnf.c: Likewise.
18215 * math/w_log.c: Likewise.
18216 * math/w_logf.c: Likewise.
18217 * math/w_logl.c: Likewise.
18218 * math/w_log10.c: Likewise.
18219 * math/w_log10f.c: Likewise.
18220 * math/w_log10l.c: Likewise.
18221 * math/w_log2.c: Likewise.
18222 * math/w_log2f.c: Likewise.
18223 * math/w_log2l.c: Likewise.
18224 * math/w_pow.c: Likewise.
18225 * math/w_powf.c: Likewise.
18226 * math/w_powl.c: Likewise.
18227 * math/w_remainder.c: Likewise.
18228 * math/w_remainderf.c: Likewise.
18229 * math/w_remainderl.c: Likewise.
18230 * math/w_scalb.c: Likewise.
18231 * math/w_scalbf.c: Likewise.
18232 * math/w_scalbl.c: Likewise.
18233 * math/w_sqrt.c: Likewise.
18234 * math/w_sqrtf.c: Likewise.
18235 * math/w_sqrtl.c: Likewise.
18236 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18237 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18239 * math/math_private.h: Declare __kernel_standard_f.
18240 * math/w_cosh.c: Remove cruft and optimize a bit.
18241 * math/w_coshf.c: Likewise.
18242 * math/w_coshl.c: Likewise.
18243 * math/w_exp2.c: Likewise.
18244 * math/w_exp2f.c: Likewise.
18245 * math/w_exp2l.c: Likewise.
18246 * math/w_hypot.c: Likewise.
18247 * math/w_hypotf.c: Likewise.
18248 * math/w_hypotl.c: Likewise.
18249 * math/w_lgamma.c: Likewise.
18250 * math/w_lgamma_r.c: Likewise.
18251 * math/w_lgammaf.c: Likewise.
18252 * math/w_lgammaf_r.c: Likewise.
18253 * math/w_lgammal.c: Likewise.
18254 * math/w_lgammal_r.c: Likewise.
18255 * math/w_sinh.c: Likewise.
18256 * math/w_sinhf.c: Likewise.
18257 * math/w_sinhl.c: Likewise.
18258 * math/w_tgamma.c: Likewise.
18259 * math/w_tgammaf.c: Likewise.
18260 * math/w_tgammal.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18263 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18264 Minor optimizations. Pretty printing. Remove cruft.
18265 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18266 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18267 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18268 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18269 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18270 * sysdeps/i386/fpu/e_asin.S: Likewise.
18271 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18272 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18273 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18274 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18275 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18276 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18277 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18278 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18279 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18280 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18281 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18282 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18283 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18284 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18285 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18286 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18287 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18288 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18289 * sysdeps/i386/fpu/e_log.S: Likewise.
18290 * sysdeps/i386/fpu/e_log10.S: Likewise.
18291 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18292 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18293 * sysdeps/i386/fpu/e_log2.S: Likewise.
18294 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18295 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18296 * sysdeps/i386/fpu/e_logf.S: Likewise.
18297 * sysdeps/i386/fpu/e_logl.S: Likewise.
18298 * sysdeps/i386/fpu/e_pow.S: Likewise.
18299 * sysdeps/i386/fpu/e_powf.S: Likewise.
18300 * sysdeps/i386/fpu/e_powl.S: Likewise.
18301 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18302 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18303 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18304 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18306 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18307 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18308 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18309 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18326 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18327 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18328 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18330 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18335 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18336 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18337 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18338 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18339 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18340 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18341 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18342 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18343 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18344 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18345 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18346 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18347 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18348 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18349 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18350 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18351 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18393 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18395 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18398 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18405 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18406 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18407 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18408 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18409 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18410 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18411 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18412 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18413 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18414 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18415 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18416 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18417 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18418 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18419 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18420 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18421 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18422 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18423 (__isnanf): Likewise.
18424 (__isinf_ns): Likewise.
18425 (__isinf_nsf): Likewise.
18426 (__finite): Likewise.
18427 (__finitef): Likewise.
18428 (__ieee754_sqrt): Define as macro.
18429 (__ieee754_sqrtf): Define as macro.
18430 (__ieee754_sqrtl): Define as macro.
18431 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18433 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18434 __FINITE_MATH_ONLY__ consistent.
18435 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18437 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18439 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18442 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18444 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18446 * po/ja.po: Update from translation team.
18448 2011-10-08 Roland McGrath <roland@hack.frob.com>
18450 * locale/programs/locarchive.c (prepare_address_space): New function.
18451 (create_archive, enlarge_archive, open_archive): Use it.
18453 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18454 inside [SHARED], where it is used.
18456 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18458 * nss/getent.c (netgroup_keys): Remove unused variable.
18459 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18461 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18463 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18464 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18465 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18466 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18467 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18468 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18469 * math/Makefile (libm-calls): Add s_isinf_ns.
18470 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18471 * math/multc3.c: Likewise.
18472 * math/s_casin.c: Likewise.
18473 * math/s_casinf.c: Likewise.
18474 * math/s_casinl.c: Likewise.
18475 * math/s_ccos.c: Likewise.
18476 * math/s_ccosf.c: Likewise.
18477 * math/s_ccosl.c: Likewise.
18478 * math/s_ctan.c: Likewise.
18479 * math/s_ctanf.c: Likewise.
18480 * math/s_ctanh.c: Likewise.
18481 * math/s_ctanhf.c: Likewise.
18482 * math/s_ctanhl.c: Likewise.
18483 * math/s_ctanl.c: Likewise.
18484 * math/w_fmod.c: Likewise.
18485 * math/w_fmodf.c: Likewise.
18486 * math/w_fmodl.c: Likewise.
18487 * math/w_remainder.c: Likewise.
18488 * math/w_remainderf.c: Likewise.
18489 * math/w_remainderl.c: Likewise.
18490 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18491 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18492 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18494 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18495 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18496 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18497 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18499 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18501 * stdio-common/printf_fphex.c: Likewise.
18502 * stdio-common/printf_size.c: Likewise.
18504 * math/e_exp10.c: Include math_private.h using <...> not "...".
18505 * math/e_exp10f.c: Likewise.
18506 * math/e_exp10l.c: Likewise.
18507 * math/e_exp2l.c: Likewise.
18508 * math/e_j0l.c: Likewise.
18509 * math/e_j1l.c: Likewise.
18510 * math/e_jnl.c: Likewise.
18511 * math/e_lgammal_r.c: Likewise.
18512 * math/e_rem_pio2l.c: Likewise.
18513 * math/e_scalb.c: Likewise.
18514 * math/e_scalbf.c: Likewise.
18515 * math/e_scalbl.c: Likewise.
18516 * math/k_cosl.c: Likewise.
18517 * math/k_sinl.c: Likewise.
18518 * math/k_tanl.c: Likewise.
18519 * math/s_cacoshf.c: Likewise.
18520 * math/s_catan.c: Likewise.
18521 * math/s_catanf.c: Likewise.
18522 * math/s_catanh.c: Likewise.
18523 * math/s_catanhf.c: Likewise.
18524 * math/s_catanhl.c: Likewise.
18525 * math/s_catanl.c: Likewise.
18526 * math/s_ccosh.c: Likewise.
18527 * math/s_ccoshf.c: Likewise.
18528 * math/s_ccoshl.c: Likewise.
18529 * math/s_cexp.c: Likewise.
18530 * math/s_cexpf.c: Likewise.
18531 * math/s_cexpl.c: Likewise.
18532 * math/s_clog.c: Likewise.
18533 * math/s_clog10.c: Likewise.
18534 * math/s_clog10f.c: Likewise.
18535 * math/s_clog10l.c: Likewise.
18536 * math/s_clogf.c: Likewise.
18537 * math/s_clogl.c: Likewise.
18538 * math/s_csin.c: Likewise.
18539 * math/s_csinf.c: Likewise.
18540 * math/s_csinh.c: Likewise.
18541 * math/s_csinhf.c: Likewise.
18542 * math/s_csinhl.c: Likewise.
18543 * math/s_csinl.c: Likewise.
18544 * math/s_csqrt.c: Likewise.
18545 * math/s_csqrtf.c: Likewise.
18546 * math/s_csqrtl.c: Likewise.
18547 * math/s_ctan.c: Likewise.
18548 * math/s_ctanf.c: Likewise.
18549 * math/s_ctanh.c: Likewise.
18550 * math/s_ctanhf.c: Likewise.
18551 * math/s_ctanhl.c: Likewise.
18552 * math/s_ctanl.c: Likewise.
18553 * math/s_ldexp.c: Likewise.
18554 * math/s_ldexpf.c: Likewise.
18555 * math/s_ldexpl.c: Likewise.
18556 * math/s_significand.c: Likewise.
18557 * math/s_significandf.c: Likewise.
18558 * math/s_significandl.c: Likewise.
18559 * math/w_acos.c: Likewise.
18560 * math/w_acosf.c: Likewise.
18561 * math/w_acosh.c: Likewise.
18562 * math/w_acoshf.c: Likewise.
18563 * math/w_acoshl.c: Likewise.
18564 * math/w_acosl.c: Likewise.
18565 * math/w_asin.c: Likewise.
18566 * math/w_asinf.c: Likewise.
18567 * math/w_asinl.c: Likewise.
18568 * math/w_atan2.c: Likewise.
18569 * math/w_atan2f.c: Likewise.
18570 * math/w_atan2l.c: Likewise.
18571 * math/w_atanh.c: Likewise.
18572 * math/w_atanhf.c: Likewise.
18573 * math/w_atanhl.c: Likewise.
18574 * math/w_cosh.c: Likewise.
18575 * math/w_coshf.c: Likewise.
18576 * math/w_coshl.c: Likewise.
18577 * math/w_dremf.c: Likewise.
18578 * math/w_exp10.c: Likewise.
18579 * math/w_exp10f.c: Likewise.
18580 * math/w_exp10l.c: Likewise.
18581 * math/w_exp2.c: Likewise.
18582 * math/w_exp2f.c: Likewise.
18583 * math/w_fmod.c: Likewise.
18584 * math/w_fmodf.c: Likewise.
18585 * math/w_fmodl.c: Likewise.
18586 * math/w_hypot.c: Likewise.
18587 * math/w_hypotf.c: Likewise.
18588 * math/w_hypotl.c: Likewise.
18589 * math/w_j0.c: Likewise.
18590 * math/w_j0f.c: Likewise.
18591 * math/w_j0l.c: Likewise.
18592 * math/w_j1.c: Likewise.
18593 * math/w_j1f.c: Likewise.
18594 * math/w_j1l.c: Likewise.
18595 * math/w_jn.c: Likewise.
18596 * math/w_jnf.c: Likewise.
18597 * math/w_jnl.c: Likewise.
18598 * math/w_lgamma.c: Likewise.
18599 * math/w_lgamma_r.c: Likewise.
18600 * math/w_lgammaf.c: Likewise.
18601 * math/w_lgammaf_r.c: Likewise.
18602 * math/w_lgammal.c: Likewise.
18603 * math/w_lgammal_r.c: Likewise.
18604 * math/w_log.c: Likewise.
18605 * math/w_log10.c: Likewise.
18606 * math/w_log10f.c: Likewise.
18607 * math/w_log10l.c: Likewise.
18608 * math/w_log2.c: Likewise.
18609 * math/w_log2f.c: Likewise.
18610 * math/w_log2l.c: Likewise.
18611 * math/w_logf.c: Likewise.
18612 * math/w_logl.c: Likewise.
18613 * math/w_pow.c: Likewise.
18614 * math/w_powf.c: Likewise.
18615 * math/w_powl.c: Likewise.
18616 * math/w_remainder.c: Likewise.
18617 * math/w_remainderf.c: Likewise.
18618 * math/w_remainderl.c: Likewise.
18619 * math/w_scalb.c: Likewise.
18620 * math/w_scalbf.c: Likewise.
18621 * math/w_scalbl.c: Likewise.
18622 * math/w_sinh.c: Likewise.
18623 * math/w_sinhf.c: Likewise.
18624 * math/w_sinhl.c: Likewise.
18625 * math/w_sqrt.c: Likewise.
18626 * math/w_sqrtf.c: Likewise.
18627 * math/w_sqrtl.c: Likewise.
18628 * math/w_tgamma.c: Likewise.
18629 * math/w_tgammaf.c: Likewise.
18630 * math/w_tgammal.c: Likewise.
18632 * po/ja.po: Update from translation team.
18634 2011-09-29 Andreas Jaeger <aj@suse.de>
18637 * sunrpc/netname.c (netname2host): Fix logic.
18641 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18643 * math/w_remainder.c (__remainder): Likewise.
18644 * math/w_remainderf.c (__remainderf): Likewise.
18645 * math/libm-test.inc (remainder_test): Add test cases.
18647 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18649 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18652 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18654 * string/test-memcmp.c: Avoid unncessary #defines.
18655 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18657 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18659 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18660 Use new sse2 version for core i3 - i7 as it's faster
18661 than sse42 version.
18662 (bit_Prefer_PMINUB_for_stringop): New.
18663 * sysdeps/x86_64/rawmemchr.S: Update.
18664 Replace with faster SSE2 version.
18665 * sysdeps/x86_64/memrchr.S: New file.
18666 * sysdeps/x86_64/memchr.S: Update.
18667 Replace with faster SSE2 version.
18669 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18671 * elf/dl-load.c (lose): Add cast to avoid warning.
18673 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18675 * po/ca.po: Update from translation team.
18677 * inet/getnetgrent_r.c: Hook up nscd.
18678 * nscd/Makefile (routines): Add nscd_netgroup.
18679 (nscd-modules): Add netgroupcache.
18680 (CFLAGS-netgroupcache.c): Define.
18681 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18682 (cache_search): Add const to second parameter.
18683 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18685 (dbs): Add netgrdb entry.
18686 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18687 (verify_persistent_db): Handle netgrdb.
18688 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18689 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18691 (netgroup_response_header): Define.
18692 (innetgroup_response_header): Define.
18693 (datahead): Add netgroup_response_header and innetgroup_response_header
18695 * nscd/nscd.conf: Add entries for netgroup cache.
18696 * nscd/nscd.h (dbtype): Add netgrdb.
18697 (_PATH_NSCD_NETGROUP_DB): Define.
18698 (netgroup_iov_disabled): Declare.
18699 (xmalloc, xcalloc, xrealloc): Move declarations here.
18700 (cache_search): Adjust prototype.
18701 Add netgroup-related prototypes.
18702 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18703 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18704 (__nscd_innetgr): Declare.
18705 * nscd/selinux.c (perms): Use access_vector_t as element type and
18706 add netgroup-related initializers.
18707 * nscd/netgroupcache.c: New file.
18708 * nscd/nscd_netgroup.c: New file.
18709 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18710 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18711 For four parameters use innetgr.
18712 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18713 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18714 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18715 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18717 * nscd/connections.c (register_traced_file): Don't register file
18718 for disabled databases.
18720 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18722 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18724 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18725 from tree and freeing node.
18727 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18729 * nss/nsswitch.c (__nss_database_lookup): Handle
18730 nss_parse_service_list out of memory case.
18732 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18734 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18735 out of memory case.
18737 2011-10-04 Andreas Schwab <schwab@redhat.com>
18739 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18740 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18742 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18743 elf_machine_rela, elf_machine_lazy_rel.
18744 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18745 (ELF_DYNAMIC_DO_REL): Likewise.
18746 (ELF_DYNAMIC_DO_RELA): Likewise.
18747 (ELF_DYNAMIC_RELOCATE): Likewise.
18748 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18749 to ELF_DYNAMIC_DO_REL.
18750 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18751 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18752 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18754 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18755 skip_ifunc, don't call ifunc function if non-zero.
18756 (elf_machine_rela): Likewise.
18757 (elf_machine_lazy_rel): Likewise.
18758 (elf_machine_lazy_rela): Likewise.
18759 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18760 (elf_machine_lazy_rel): Likewise.
18761 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18763 (elf_machine_lazy_rel): Likewise.
18764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18766 (elf_machine_lazy_rel): Likewise.
18767 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18768 (elf_machine_lazy_rel): Likewise.
18769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18770 (elf_machine_lazy_rel): Likewise.
18771 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18772 (elf_machine_lazy_rel): Likewise.
18773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18774 (elf_machine_lazy_rel): Likewise.
18775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18776 (elf_machine_lazy_rel): Likewise.
18777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18778 (elf_machine_lazy_rel): Likewise.
18780 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18782 * nss/nss_files/files-init.c (_nss_files_init): Use static
18783 initialization for all the *_traced_file variables.
18785 2011-09-28 Andreas Schwab <schwab@redhat.com>
18787 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18789 2011-09-27 Roland McGrath <roland@hack.frob.com>
18792 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18794 2011-09-27 Andreas Schwab <schwab@redhat.com>
18796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18797 Reread the line before reparsing it.
18799 2011-09-26 Andreas Schwab <schwab@redhat.com>
18801 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18803 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18804 Maxim Kuvyrkov <maxim@codesourcery.com>
18805 Joseph Myers <joseph@codesourcery.com>
18807 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18808 if needed for __stack_chk_guard.
18810 2011-09-19 Roland McGrath <roland@hack.frob.com>
18812 * sysdeps/posix/spawni.c (script_execute): Always define it.
18813 It will be optimized away if unused.
18814 (maybe_script_execute): New function.
18815 (__spawni): Call it.
18817 * Makerules: Don't include tls.make.
18818 (config-tls): Always set to thread.
18819 * tls.make.c: File removed.
18821 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18823 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18824 * config.make.in (CPPFLAGS-config): New substituted variable.
18826 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18828 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18831 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18832 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18834 2011-09-15 Roland McGrath <roland@hack.frob.com>
18836 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18837 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18839 (CALL_FAIL): Likewise.
18840 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18841 (CALL_FAIL): Macro removed.
18842 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18844 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18846 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18847 for __FINITE_MATH_ONLY__ == 1.
18849 2011-09-15 Andreas Schwab <schwab@redhat.com>
18851 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18852 __ieee754_sqrt instead of sqrt.
18853 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18854 __ieee754_sqrtf instead of sqrtf.
18855 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18856 __floorf instead of floorf.
18857 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18858 __floorf, __truncf instead of floorf, truncf.
18860 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18862 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18864 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18865 __extern_always_inline.
18866 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18869 2011-09-14 Andreas Schwab <schwab@redhat.com>
18871 * elf/rtld.c (dl_main): Also relocate in dependency order when
18872 doing symbol dependency testing.
18874 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18877 Always define `refsym'.
18879 2011-09-13 Andreas Schwab <schwab@redhat.com>
18881 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18882 (__FD_ELT): Renamed from __FDELT.
18883 * misc/bits/select2.h (__FD_ELT): Likewise.
18884 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18885 __FD_MASK instead of __FDELT, __FDMASK.
18886 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18888 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18891 * elf/Makefile (gen-ldd): Fix pattern.
18893 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18894 (init_tls): Likewise.
18896 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18900 2011-09-12 Andreas Schwab <schwab@redhat.com>
18902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18903 `struct cmsghdr *' instead of `void *'.
18904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18907 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18909 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18911 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18912 ldd_rewrite_script.
18914 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18916 * configure.in: Remove --with-tls option.
18917 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18918 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18919 out in case it is missing.
18920 * sysdeps/ia64/elf/configure.in: Likewise.
18921 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18922 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18923 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18924 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18925 * sysdeps/sh/elf/configure.in: Likewise.
18926 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18927 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18928 * sysdeps/x86_64/elf/configure.in: Likewise.
18929 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18930 * sysdeps/mach/hurd/tls.h: Likewise.
18933 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18936 * configure.in: Fix use of AC_INIT.
18938 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18940 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18942 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18944 * malloc/hooks.c: Likewise.
18947 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18948 variables statically.
18949 (narenas): Initialize.
18950 (list_lock): Initialize.
18951 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18952 initializtion of main_arena and list_lock. Small cleanups.
18953 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18954 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18955 Add initializers to main_arena and mp_.
18956 (malloc_state): Remove pagesize member. Change all users to use
18959 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18960 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18961 is always initialized.
18963 * malloc/malloc.c: Removed unused configurations and dead code.
18964 * malloc/arena.c: Likewise.
18965 * malloc/hooks.c: Likewise.
18966 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18968 * include/tls.h: Removed. USE___THREAD must always be defined.
18969 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18970 * elf/dl-libc.c: Likewise.
18971 * elf/dl-tsd.c: Likewise.
18972 * include/errno.h: Likewise.
18973 * include/netdb.h: Likewise.
18974 * include/resolv.h: Likewise.
18975 * inet/herrno-loc.c: Likewise.
18976 * inet/herrno.c: Likewise.
18977 * malloc/arena.c: Likewise.
18978 * malloc/hooks.c: Likewise.
18979 * malloc/malloc.c: Likewise.
18980 * resolv/res-state.c: Likewise.
18981 * resolv/res_libc.c: Likewise.
18982 * sysdeps/i386/dl-machine.h: Likewise.
18983 * sysdeps/ia64/dl-machine.h: Likewise.
18984 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18985 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18986 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18987 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18988 * sysdeps/sh/dl-machine.h: Likewise.
18989 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18990 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18991 * sysdeps/unix/i386/sysdep.S: Likewise.
18992 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18993 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18995 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18996 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18998 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19002 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19003 * sysdeps/x86_64/dl-machine.h: Likewise.
19004 * tls.make.c: Likewise.
19006 * configure.in: Remove --with-__thread option. Make tests for
19007 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19008 tls_model attribute fail if no support is available. Remove
19010 * Makeconfig: Adjust for dropped configure option. All features are
19012 * Makerules: Likewise.
19013 * Versions.def: Likewise.
19014 * argp/argp-fmtstream.c: Likewise.
19015 * argp/argp-fmtstream.h: Likewise.
19016 * argp/argp-help.c: Likewise.
19017 * assert/assert.c: Likewise.
19018 * config.h.in: Likewise.
19019 * config.make.in: Likewise.
19020 * configure: Likewise.
19021 * configure.in: Likewise.
19022 * csu/Versions: Likewise.
19023 * csu/init.c: Likewise.
19024 * elf/tst-audit2.c: Likewise.
19025 * elf/tst-tls10.c: Likewise.
19026 * elf/tst-tls10.h: Likewise.
19027 * elf/tst-tls11.c: Likewise.
19028 * elf/tst-tls12.c: Likewise.
19029 * elf/tst-tls14.c: Likewise.
19030 * elf/tst-tlsmod11.c: Likewise.
19031 * elf/tst-tlsmod12.c: Likewise.
19032 * elf/tst-tlsmod13.c: Likewise.
19033 * elf/tst-tlsmod13a.c: Likewise.
19034 * elf/tst-tlsmod14a.c: Likewise.
19035 * elf/tst-tlsmod15b.c: Likewise.
19036 * elf/tst-tlsmod16a.c: Likewise.
19037 * elf/tst-tlsmod16b.c: Likewise.
19038 * elf/tst-tlsmod7.c: Likewise.
19039 * elf/tst-tlsmod8.c: Likewise.
19040 * elf/tst-tlsmod9.c: Likewise.
19041 * gmon/gmon.c: Likewise.
19042 * grp/fgetgrent_r.c: Likewise.
19043 * grp/putgrent.c: Likewise.
19044 * hurd/fopenport.c: Likewise.
19045 * include/libc-symbols.h: Likewise.
19046 * include/tls.h: Likewise.
19047 * intl/gettextP.h: Likewise.
19048 * intl/loadinfo.h: Likewise.
19049 * locale/global-locale.c: Likewise.
19050 * locale/localeinfo.h: Likewise.
19051 * mach/devstream.c: Likewise.
19052 * malloc/arena.c: Likewise.
19053 * malloc/set-freeres.c: Likewise.
19054 * misc/err.c: Likewise.
19055 * misc/getttyent.c: Likewise.
19056 * misc/mntent_r.c: Likewise.
19057 * posix/getopt.c: Likewise.
19058 * posix/wordexp.c: Likewise.
19059 * pwd/fgetpwent_r.c: Likewise.
19060 * resolv/Versions: Likewise.
19061 * resolv/res_hconf.c: Likewise.
19062 * shadow/fgetspent_r.c: Likewise.
19063 * shadow/putspent.c: Likewise.
19064 * stdio-common/printf_fphex.c: Likewise.
19065 * stdio-common/tmpfile.c: Likewise.
19066 * stdlib/abort.c: Likewise.
19067 * stdlib/fmtmsg.c: Likewise.
19068 * sunrpc/auth_unix.c: Likewise.
19069 * sunrpc/clnt_perr.c: Likewise.
19070 * sunrpc/clnt_tcp.c: Likewise.
19071 * sunrpc/clnt_udp.c: Likewise.
19072 * sunrpc/clnt_unix.c: Likewise.
19073 * sunrpc/openchild.c: Likewise.
19074 * sunrpc/svc_simple.c: Likewise.
19075 * sunrpc/svc_tcp.c: Likewise.
19076 * sunrpc/svc_udp.c: Likewise.
19077 * sunrpc/svc_unix.c: Likewise.
19078 * sunrpc/xdr.c: Likewise.
19079 * sunrpc/xdr_array.c: Likewise.
19080 * sunrpc/xdr_rec.c: Likewise.
19081 * sunrpc/xdr_ref.c: Likewise.
19082 * sunrpc/xdr_stdio.c: Likewise.
19084 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19086 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19088 2011-07-03 Andreas Jaeger <aj@suse.de>
19090 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19091 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19092 regenerate with gen-libm-tests.pl.
19094 2010-05-12 Petr Baudis <pasky@suse.cz>
19097 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19098 around j0() zero points by switching to j1().
19099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19104 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19106 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19108 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19111 Patch in part by Pavel Roskin <proski@gnu.org>.
19114 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19116 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19117 Free memory block if necessary.
19120 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19121 be NULL. Don't lock in this case.
19123 2011-09-09 Roland McGrath <roland@hack.frob.com>
19125 * elf/elf.h (ELFOSABI_GNU): New macro.
19126 (ELFOSABI_LINUX): Define to that.
19128 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19130 * string/strncat.c (strncat): Undef the symbol in case it has been
19131 defined in bits/string.h.
19133 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19135 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19137 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19140 2011-08-17 Andreas Jaeger <aj@suse.de>
19142 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19144 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19145 Ian Lance Taylor <iant@google.com>
19147 * math/libm-test.inc (lround_test): New testcase.
19148 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19150 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19152 * Makefile: Remove support for automatic cvs check-ins.
19153 * Makerules: Likewise.
19154 * config.make.in: Likewise.
19155 * configure.in: Likewise.
19156 * intl/Makefile: Likewise.
19157 * locale/Makefile: Likewise.
19158 * po/Makefile: Likewise.
19159 * posix/Makefile: Likewise.
19160 * sysdeps/gnu/Makefile: Likewise.
19161 * sysdeps/mach/hurd/Makefile: Likewise.
19162 * sysdeps/sparc/sparc32/Makefile: Likewise.
19165 * posix/Makefile (bug-regex32-ENV): Define.
19166 Patch by John Stanley <jpsinthemix@verizon.net>.
19168 * misc/Makefile (headers): Add bits/select2.h.
19169 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19170 * misc/bits/select2.h: New file.
19171 * include/bits/select2.h: New file.
19172 * debug/Makefile (routines): Add fdelt_chk.
19173 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19174 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19176 * debug/fdelt_chk.c: New file.
19178 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19179 * wcsmbs/test-wmemcmp.c: Likewise.
19180 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19181 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19183 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19185 * string/Makefile (strop-tests): Add memcmp.
19186 * string/test-wmemcmp.c: New file.
19187 * string/test-memcmp.c: Add wmemcmp support.
19189 2011-09-08 Roland McGrath <roland@hack.frob.com>
19192 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19195 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19196 garbage value in a __mach_port_mod_refs call in the cases of the
19197 task-self and thread-self ports.
19199 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19201 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19203 2011-09-08 Andreas Schwab <schwab@redhat.com>
19205 * elf/dl-load.c (lose): Check for non-null L.
19207 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19209 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19211 * elf/dl-libc.c (dlerror_run): Pass back error code from
19215 * elf/dl-load.c (lose): Free l_origin if it is valid.
19217 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19219 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19220 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19221 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19222 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19223 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19224 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19226 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19228 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19229 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19230 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19231 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19232 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19233 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19234 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19235 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19236 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19237 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19239 2011-08-15 Alan Modra <amodra@gmail.com>
19242 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19243 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19244 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19245 ppc_mcount to static-only-routines.
19246 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19248 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19249 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19251 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19253 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19254 for finite and infinity parameters.
19256 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19259 and add nop instructions for throughput optimization.
19260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19262 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19264 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19265 aligned copy for power7 with vector-scalar instructions.
19266 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19268 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19273 2011-09-07 Andreas Schwab <schwab@redhat.com>
19276 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19279 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19281 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19282 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19283 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19284 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19287 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19289 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19290 Forgot to demangle the pointer.
19292 * sysdeps/i386/sysdep.h: Define atom_text_section.
19293 * sysdeps/x86_64/sysdep.h: Likewise.
19294 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19295 section with atom_text_section.
19296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19297 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19298 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19299 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19300 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19302 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19303 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19304 already be defined. Change to take two parameters and don't assign
19305 result to variable. Adjust all users.
19306 Define INTERNAL_GETTIME if not already defined.
19307 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19310 HAVE_CLOCK_GETTIME_VSYSCALL.
19311 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19313 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19314 gettimeofday vsyscall, just use time.
19316 2011-09-06 Andreas Schwab <schwab@redhat.com>
19318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19321 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19323 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19327 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19329 syscall if possible.
19331 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19333 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19334 e_ident. Don't pass to find_mapsXX.
19335 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19337 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19340 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19341 * sysdeps/x86_64/multiarch/strchr.S: Update.
19342 Check bit_slow_BSF bit.
19343 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19344 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19345 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19347 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19350 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19352 (tryshell): Define.
19353 (__spawni): Change last parameter to be flag. Test
19354 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19355 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19356 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19357 * posix/spawni.c: Likewise.
19358 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19359 * posix/spawnp.c: Likewise. Change normal version to use
19360 SPAWN_XFLAGS_USE_PATH.
19361 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19362 SPAWN_XFLAGS_TRY_SHELL.
19365 * posix/glob.h: Remove gcc 1.x support.
19368 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19370 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19373 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19375 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19376 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19377 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19378 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19379 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19382 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19384 * sysdeps/x86_64/wcscmp.S: New file.
19386 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19387 wcscmp-c wcscmp-sse2
19388 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19389 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19390 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19391 * wcsmbs/wcscmp.c: Allow renaming.
19393 2011-09-05 David S. Miller <davem@davemloft.net>
19395 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19396 stack slot, rather than the struct return pointer slot.
19397 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19398 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19400 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19402 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19404 * po/ja.po: Update from translation team.
19407 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19408 kernel in 64-bit binaries.
19410 2011-09-01 David S. Miller <davem@davemloft.net>
19412 * elf/elf.h (HWCAP_SPARC_*): Move to..
19413 * sysdeps/sparc/sysdep.h: this new file and add new values.
19414 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19415 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19416 _DL_HWCAP_COUNT to 24.
19417 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19419 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19420 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19421 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19423 instead of magic constants.
19424 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19426 2011-08-31 David S. Miller <davem@davemloft.net>
19428 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19430 Reimplement to do errno handling inline.
19431 (SYSCALL_ERROR_HANDLER): New macro.
19432 (__SYSCALL_STRING): Do not do errno handling in asm.
19433 (__CLONE_SYSCALL_STRING): Delete.
19434 (__INTERNAL_SYSCALL_STRING): Delete.
19435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19436 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19437 (PSEUDO): Reimplement to do errno handling inline.
19438 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19439 (SYSCALL_ERROR_HANDLER): New macro.
19440 (__SYSCALL_STRING): Do not do errno handling in asm.
19441 (__CLONE_SYSCALL_STRING): Delete.
19442 (__INTERNAL_SYSCALL_STRING): Delete.
19443 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19444 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19446 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19447 (inline_syscall*): Add 'err' argument.
19448 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19449 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19450 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19451 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19453 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19454 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19456 2011-08-30 Andreas Schwab <schwab@redhat.com>
19458 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19460 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19462 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19465 2011-08-24 David S. Miller <davem@davemloft.net>
19467 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19469 2011-08-24 Andreas Schwab <schwab@redhat.com>
19471 * elf/Makefile: Add rules to build and run unload8 test.
19472 * elf/unload8.c: New file.
19473 * elf/unload8mod1.c: New file.
19474 * elf/unload8mod1x.c: New file.
19475 * elf/unload8mod2.c: New file.
19476 * elf/unload8mod3.c: New file.
19478 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19481 2011-08-23 David S. Miller <davem@davemloft.net>
19483 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19484 subtract stack bias.
19485 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19486 %sp not %fp in calculations.
19487 (_JMPBUF_UNWINDS_ADJ): Likewise.
19489 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19490 (aio_suspend): Call it to force an exception region around the
19491 AIO_MISC_WAIT() invocation.
19493 2011-08-23 Andreas Schwab <schwab@redhat.com>
19495 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19498 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19500 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19502 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19503 and <dl-machine.h>.
19504 (Elf64_FuncDesc): Remove.
19506 2011-08-22 David S. Miller <davem@davemloft.net>
19508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19509 sigaltstack check, add missing cfi directives.
19510 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19511 missing cfi directives, and sigaltstack handling.
19513 2011-08-16 Andreas Schwab <schwab@redhat.com>
19516 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19517 object is seen twice.
19518 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19520 * elf/Makefile (distribute): Add tst-initorder2.c.
19521 (tests): Add tst-initorder2.
19522 (modules-names): Add tst-initorder2a tst-initorder2b
19523 tst-initorder2c tst-initorder2d. Add rules to build them.
19524 ($(objpfx)tst-initorder2.out): New rule.
19525 * elf/tst-initorder2.c: New file.
19526 * elf/tst-initorder2.exp: New file.
19528 2011-08-22 Andreas Schwab <schwab@redhat.com>
19530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19532 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19533 dependencies back to end of function.
19535 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19536 $(elfobjdir)/ld.so.
19538 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19541 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19542 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19543 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19544 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19545 of __vdso_gettimeofday.
19546 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19547 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19549 (_libc_vdso_platform_setup): Remove initialization of
19550 __vdso_gettimeofday and __vdso_time.
19552 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19554 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19555 and fgetc_unlocked.
19556 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19559 * elf/dl-open.c (add_to_global): Report additions to the global scope
19560 for LD_DEBUG=scopes.
19561 (dl_open_worker): Also print scope of newly loaded dependencies.
19562 (_dl_show_scope): Indicate if there is no scope.
19565 * stdio-common/Makefile (tests): Add bug24.
19566 * stdio-common/bug24.c: New file.
19568 2011-08-19 Andreas Jaeger <aj@suse.de>
19571 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19572 non-existant file when using close-on-exec mode.
19574 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19577 the very first instruction.
19579 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19580 the CFI state in the end.
19581 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19582 inclusion of dl-trampoline.h.
19583 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19585 2011-08-19 Andreas Schwab <schwab@redhat.com>
19587 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19588 expectations for long double.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19591 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19593 2011-08-14 David S. Miller <davem@davemloft.net>
19595 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19596 artificual limit depends upon the system page size.
19598 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19600 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19601 * resolv/Makefile: Define CFLAGS-libresolv.
19603 2011-08-17 Andreas Schwab <schwab@redhat.com>
19605 * nss/makedb.c (compute_tables): Make variables used in nested
19608 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19610 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19611 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19612 if buffer was too small.
19614 * elf/pldd.c (main): Attach to all threads in the process.
19615 Rewrite /proc handling to use *at functions.
19617 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19619 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19620 specifies first scope to show.
19621 (dl_open_worker): Update callers. Move printing scope of new
19622 object to before the relocation.
19623 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19624 * sysdeps/generic/ldsodefs.h: Update declaration.
19626 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19627 string for the scope number.
19629 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19631 * nscd/servicescache.c (cache_addserv): Make sure written is always
19634 2011-08-14 Roland McGrath <roland@hack.frob.com>
19636 * sysdeps/i386/i486/bits/atomic.h
19637 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19638 statement expression, so as to suppress "set but not used" warning.
19639 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19641 * string/strncat.c (STRNCAT): Use prototype definition.
19643 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19644 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19646 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19647 (localedef-modules): Add localedef.
19648 (locale-modules): Add locale.
19650 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19651 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19652 to avoid a warning.
19654 2011-08-14 David S. Miller <davem@davemloft.net>
19656 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19657 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19659 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19661 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19662 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19663 * elf/rtld.c (dl_main): Set l_name of vDSO.
19664 Call _dl_show_scope when DL_DEBUG_SCOPES.
19665 (process_dl_debug): Recognize scopes flag and also set it for all.
19666 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19667 Declare _dl_show_scope.
19669 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19670 (do_dlopen): Pass caller_dlopen to dl_open.
19671 (__libc_dlopen_mode): Initialize caller_dlopen.
19673 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19674 of libc. Make tolower call locale-independent. Optimize a bit by
19675 using isdigit instead of isalnum.
19676 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19678 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19680 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19681 was a dependency or dynamically loaded.
19683 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19685 * intl/l10nflist.c: Allow architecture-specific pop function.
19686 * sysdeps/x86_64/l10nflist.c: New file.
19688 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19691 2011-08-10 Andreas Schwab <schwab@redhat.com>
19693 * include/dirent.h: Add libc_hidden_proto for scandirat and
19694 scandirat64. Don't declare __scandirat64.
19695 * dirent/scandirat.c: Add libc_hidden_def.
19696 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19697 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19699 2011-08-10 David S. Miller <davem@davemloft.net>
19701 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19703 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19705 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19707 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19709 * Versions.def [libc]: Add GLIBC_2.15.
19710 * dirent/Makefile (routines): Add scandirat and scandirat64.
19711 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19713 * dirent/dirent.h: Declare scandirat and scandirat64.
19714 * dirent/scandirat.c: New file.
19715 * dirent/scandirat64.c: New file.
19716 * sysdeps/wordsize-64/scandirat.c: New file.
19717 * sysdeps/wordsize-64/scandirat64.c: New file.
19718 * dirent/opendir.c: Define opendirat.
19719 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19721 * dirent/scandir64.c: Adjust for scandir.c change.
19722 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19723 __scandirat64, and __scandir_cancel_handler.
19724 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19725 additional parameter and use openat instead of open (outside of ld.so).
19726 Add new __opendir as wrapper around __opendirat.
19727 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19728 here without requiring old scandirat implementation.
19730 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19732 * dirent/scandir.c (cancel_handler): Renamed to
19733 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19734 defined. Adjust users.
19735 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19736 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19738 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19740 * string/test-string.h (IMPL): Use __STRING to expand name and then
19743 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19746 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19748 * string/Makefile: Update.
19749 (strop-tests): Append strncat.
19750 * string/test-wcscmp.c: New file.
19751 New comprehensive test for wcscmp.
19752 * string/test-strcmp.c: Update.
19753 (WIDE): New define.
19755 2011-07-22 Andreas Schwab <schwab@redhat.com>
19757 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19760 2011-07-26 Andreas Schwab <schwab@redhat.com>
19762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19763 encoding to ACE if AI_IDN.
19765 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19768 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19770 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19773 Fix overflow bug in strncat.
19774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19776 * string/test-strncat.c: Update.
19777 Add new tests for checking overflow bugs.
19779 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19782 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19783 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19784 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19786 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19787 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19788 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19789 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19792 (USE_AS_STRCAT): Define.
19793 Add strcat and strncat support.
19794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19796 2011-07-25 Andreas Schwab <schwab@redhat.com>
19798 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19799 __n bigger than INT_MAX+1.
19800 (__strncmp_g): Likewise.
19802 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19804 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19805 * libio/stido.h: Likewise.
19807 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19812 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19813 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19814 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19815 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19816 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19819 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19824 (_dl_x86_64_save_sse): Likewise.
19826 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19830 (_dl_x86_64_save_sse): Likewise.
19832 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19834 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19836 2011-07-21 Andreas Schwab <schwab@redhat.com>
19838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19840 (_dl_x86_64_save_sse): Use correct AVX check.
19842 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19845 bug in strncpy/strncat.
19846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19848 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19850 * string/tester.c (test_strcat): Add tests for different alignments
19851 of source and destination.
19852 (test_strncat): Likewise.
19854 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19857 * posix/glob.c (glob): Check passed in values before using them in
19858 expressions to avoid some overflows.
19859 (glob_in_dir): Likewise.
19862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19863 check for AVX enablement so that we don't crash with old kernels and
19865 * elf/tst-audit4.c: Add same checks here.
19866 * elf/tst-audit6.c: Likewise.
19868 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19870 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19872 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19874 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19876 * po/cs.po: Update from translation team.
19877 * po/bg.po: Likewise.
19879 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19881 * misc/sys/cdefs.h: Add support for const attribute.
19882 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19883 to gnu_dev_{major,minor,makedev} functions.
19885 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19887 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19889 2011-07-20 Andreas Schwab <schwab@redhat.com>
19891 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19894 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19897 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19898 register in order to avoid conflicts with the soft frame pointer
19899 being held in r11 when necessary.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19901 (INTERNAL_VSYSCALL_NCS): Likewise.
19903 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19905 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19906 * elf/dl-fini.c (_dl_fini): Adjust caller.
19907 * elf/dl-close.c (_dl_close_worker): Likewise.
19908 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19910 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19912 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19913 "aux_cache->nlibs < 0".
19915 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19916 in the reload-count case.
19918 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19921 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19922 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19923 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19924 * sysdeps/x86_64/multiarch/strcat.S: New file.
19925 * sysdeps/x86_64/multiarch/strncat.S: New file.
19926 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19927 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19928 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19929 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19930 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19931 (USE_AS_STRCAT): Define.
19932 Add strcat and strncat support.
19933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19934 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19935 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19936 * string/strncat.c: Update.
19937 (USE_AS_STRNCAT): Define.
19938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19939 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19941 * sysdeps/x86_64/multiarch/init-arch.h
19942 (bit_Prefer_PMINUB_for_stringop): New.
19943 (index_Prefer_PMINUB_for_stringop): Likewise.
19944 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19945 bit_Prefer_PMINUB_for_stringop.
19947 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19949 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19951 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19952 of casting of buffer.
19953 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19954 buffer32 and buffer64.
19955 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19956 writes instead of casting of buffer.
19957 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19959 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19962 2011-07-19 Andreas Schwab <schwab@redhat.com>
19964 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19966 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19968 * nscd/nscd.c (termination_handler): Don't do anything for a database
19969 if it has not yet been initialized.
19971 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19973 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19975 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19977 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19979 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19981 * po/nl.po: Update from translation team.
19982 * po/sv.po: Likewise.
19984 2011-07-16 Roland McGrath <roland@hack.frob.com>
19986 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19987 now disallowed by GCC.
19989 * configure.in (use-default-link): Default to yes if a test -shared
19990 link meets our qualifications.
19991 * configure: Regenerated.
19993 * config.make.in (output-format): New variable.
19994 * configure.in: Check for ld --print-output-format support.
19995 * configure: Regenerated.
19996 * Makerules ($(common-objpfx)format.lds)
19997 [$(output-format) != unknown]: Just use $(output-format),
19998 instead of the linker-script munging.
20000 2011-07-14 Roland McGrath <roland@hack.frob.com>
20002 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20003 of $(common-objpfx)shlib.lds.
20004 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20006 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20007 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20009 * configure.in (-z relro check): Adjust test code to add a large
20010 writable data section after it.
20011 * configure: Regenerated.
20013 2011-07-11 Roland McGrath <roland@hack.frob.com>
20015 * configure.in (-z relro check): Fix test code to make the variable
20017 * configure: Regenerated.
20019 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20021 * nscd/nscd.h (struct traced_file): Define.
20022 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20023 elements. Add traced_files.
20024 (inotify_fd): Declare.
20025 (register_traced_file): Declare.
20026 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20027 (inotify_fd): Export.
20028 (resolv_conf_descr): Remove.
20029 (nscd_init): Move inotify descriptor creation to main.
20030 Don't register files for notification here.
20031 (register_traced_file): New function.
20032 (invalidate_cache): Don't use reset_res to determine whether to call
20033 res_init, go through the list of registered files.
20034 (main_loop_poll): The inotify descriptors are now stored in the
20035 structures for the traced files.
20036 (main_loop_epoll): Likewise
20037 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20038 to __nss_disable_nscd.
20039 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20040 for a database anymore. Check the records for all the registered
20042 * nss/Makefile (libnss_files-routines): Add files-init.
20043 (libnss_db-routines): Add db-init.
20044 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20045 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20046 * nss/nss_db/db-init.c: New file.
20047 * nss/nss_files/files-init.c: New file.
20048 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20049 __nss_lookup_function.
20050 (__nss_lookup_function): Call nss_load_library.
20051 (nss_load_all_libraries): New function.
20052 (__nss_disable_nscd): Take parameter with callback function for files
20053 to register. Set is_nscd. Load all the DSOs for the NSS modules
20054 used for the cached services.
20055 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20056 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20057 options for features to all the files in nscd.
20059 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20061 2011-07-10 Roland McGrath <roland@hack.frob.com>
20063 * csu/elf-init.c (__libc_csu_init): Comment typo.
20065 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20067 * po/pl.po: Update from translation team.
20068 * po/ja.po: Likewise.
20069 * po/ru.po: Likewise.
20070 * po/ko.po: Likewise.
20071 * po/fr.po: Likewise.
20073 2011-07-09 Roland McGrath <roland@hack.frob.com>
20075 * configure.in (.ctors/.dtors header and trailer check):
20076 Use an empirical test on a built program.
20077 * configure: Regenerated.
20079 * configure.in (-z relro check): Use an empirical test on a built DSO.
20080 Detect, but do not require, on ia64.
20081 * configure: Regenerated.
20083 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20084 Update tests that use readelf to use $READELF instead.
20085 * configure: Regenerated.
20087 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20089 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20090 if the result is not used.
20092 2011-07-05 Andreas Jaeger <aj@suse.de>
20095 * stdlib/tst-strtod.c: Add testcase.
20097 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20099 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20100 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20101 The latter has a higher limit. Take additional parameter to pass to
20103 (__pathconf): Pass file to __statfs_link_max.
20104 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20106 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20110 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20111 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20113 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20114 (__statfs_filesize_max): Likewise.
20115 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20117 2011-07-05 Andreas Jaeger <aj@suse.de>
20119 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20121 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20123 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20125 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20128 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20130 * Makefile (strop-tests): Add strncat.
20131 * string/test-strncat.c: New file.
20133 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20135 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20137 2011-06-21 Andreas Jaeger <aj@suse.de>
20139 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20140 Copy rule from iconvdata/Makefile.
20142 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20145 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20146 but no long options are defined, just return 'W'.
20148 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20151 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20153 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20155 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20157 (innetgr): Likewise.
20159 2011-07-05 Roland McGrath <roland@hack.frob.com>
20161 * config.make.in (install_root): Default to $(DESTDIR).
20163 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20165 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20167 2011-07-02 Roland McGrath <roland@hack.frob.com>
20169 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20171 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20172 containing directory rather than embedding absolute directory names.
20174 * scripts/check-local-headers.sh: Rewritten using awk.
20175 Match by word, not by line. Print error messages for matches.
20176 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20178 * Makerules [shlib-lds-flags empty]:
20179 ($(common-objpfx)libc_pic.opts): New target.
20180 ($(common-objpfx)libc_pic.os.clean): New target.
20181 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20183 * config.make.in (OBJCOPY): New variable.
20184 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20185 * configure: Regenerated.
20187 * config.make.in (use-default-link): New variable.
20188 * configure.in (use_default_link): Grok --with-default-link to set it.
20189 * configure: Regenerated.
20190 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20191 (shlib-lds, shlib-lds-flags): Define to empty.
20193 * Makerules (shlib-lds): New variable.
20194 (shlib-lds-flags): New variable.
20195 (build-shlib, build-moduile, build-module-asneeded): Use it.
20196 ($(common-objpfx)libc.so): Use $(shlib-lds).
20197 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20198 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20200 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20201 DT_FLAGS/DT_FLAGS_1 with zero flags.
20203 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20204 linker script munging.
20206 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20208 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20210 * crypt/sha512.c (sha512_process_block): Perform total addition using
20211 128-bit if possible.
20212 (__sha512_finish_ctx): Likewise.
20213 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20215 * crypt/sha256.c (SWAP64): Define.
20216 (sha256_process_block): Perform total addition using 64-bit if
20218 (__sha256_finish_ctx): Likewise.
20220 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20222 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20224 * nscd/hstcache.c (cache_addhst): Likewise.
20225 * nscd/grpcache.c (cache_addgr): Likewise.
20226 * nscd/aicache.c (addhstaiX): Likewise
20227 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20229 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20231 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20233 * nscd/hstcache.c (cache_addhst): Likewise.
20234 * nscd/grpcache.c (cache_addgr): Likewise.
20235 * nscd/aicache.c (addhstaiX): Likewise
20237 2011-07-01 Andreas Schwab <schwab@redhat.com>
20239 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20240 domain only when needed.
20242 2011-06-30 Andreas Schwab <schwab@redhat.com>
20244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20245 is always restored.
20247 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20249 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20250 are re-adding the entry.
20251 * nscd/servicescache.c (cache_addserv): Likewise.
20253 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20255 * sysdeps/generic/dl-irel.h: fix protection against multiple
20257 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20259 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20262 * malloc/memusage.sh: Fix quoting in message.
20263 * debug/xtrace.sh: Likewise.
20265 * configure.in: Remove support for --experimental-malloc option, make
20267 * config.make.in: Likewise.
20268 * malloc/Makefile: Likewise.
20270 2011-06-27 Andreas Schwab <schwab@redhat.com>
20272 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20273 two-byte characters.
20275 2011-06-27 Roland McGrath <roland@hack.frob.com>
20277 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20278 AC_CACHE_CHECK invocation.
20279 * configure: Regenerated.
20281 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20283 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20286 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20287 bit from old_res_options.
20289 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20291 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20292 value type for setfct.
20294 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20297 __gettimeofday instead of gettimeofday.
20299 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20301 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20303 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20307 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20310 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20313 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20314 strcpy-sse2-unaligned strncpy-sse2-unaligned
20315 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20316 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20317 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20318 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20319 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20322 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20323 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20324 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20325 (STRCPY): Support SSE2 and SSSE3 versions.
20327 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20330 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20331 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20332 kernels which artificially limit size of requests.
20334 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20337 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20338 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20339 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20340 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20341 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20342 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20343 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20344 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20346 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20347 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20348 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20349 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20350 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20352 Enable unaligned load optimization for Intel Core i3, i5 and i7
20354 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20356 (index_Fast_Unaligned_Load): Define.
20357 (HAS_FAST_UNALIGNED_LOAD): Define.
20359 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20361 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20363 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20367 until it is clear that the information is realy needed.
20368 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20370 2011-06-22 Andreas Schwab <schwab@redhat.com>
20372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20374 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20377 /sys/devices/system/cpu/online if it is usable.
20379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20380 reading the information from the /proc filesystem to once a second.
20382 2011-06-21 Andreas Jaeger <aj@suse.de>
20384 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20385 NULL after inclusion of kernel headers.
20387 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20389 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20390 calls to internal_setent.
20393 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20394 addresses using gethostbyname4_r ignore IPv4 addresses.
20396 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20397 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20399 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20401 2011-06-20 David S. Miller <davem@davemloft.net>
20403 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20405 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20407 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20408 (elf_irel): Use it.
20409 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20410 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20411 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20412 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20413 * sysdeps/x86_64/dl-irel.h: Likewise.
20415 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20416 * elf/dl-sym.c: Likewise.
20418 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20420 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20421 need to dereference resplen2.
20423 2011-06-14 Andreas Schwab <schwab@redhat.com>
20425 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20427 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20429 * Makeconfig: Define vardbdir and inst_vardbdir.
20430 * nss/Makefile: Add rules to install db-Makefile.
20432 * nss/nss_db/db-XXX.c: Cleanup.
20434 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20435 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20437 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20438 * nss/makedb.c: Implement -g option to specify that value strings
20439 are generated and should not be added to table iterated over for
20441 * nss/nss_db/db-initgroups.c: New file.
20443 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20446 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20447 (internal_getgrouplist): Adjust to name change.
20448 Update use_initgroups_entry if this is not the first call.
20449 * nss/databases.def: Add initgroups entry.
20451 * nss/makedb.c (compute_tables): Check result of multiple hash table
20452 sizes to minimize maximum chain length.
20454 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20456 * Versions.def: Add entry for libnss_db.
20457 * shlib-versions: Likewise.
20458 * nss/Makefile: Add rules to build libnss_db.
20459 * nss/Versions: Add libnss_db information. Organize libnss_files
20461 * nss/db-Makefile: Add gshadow support. Change rules for the new
20462 makedb progra. Some minor improvements to generate smaller files.
20463 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20465 * nss/makedb.c: ...here.
20466 Improve database format to be smaller and require less memory at
20468 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20470 * nss/nss_db/db-netgrp.c: Likewise.
20471 * nss/nss_db/db-open.c: Likewise.
20472 * nss/nss_files/flies-XXX.x: Adjust comments.
20473 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20474 * nss/nss_files/files-grp.c: Likewise.
20475 * nss/nss_files/files-hosts.c: Likewise.
20476 * nss/nss_files/files-network.c: Likewise.
20477 * nss/nss_files/files-proto.c: Likewise.
20478 * nss/nss_files/files-pwd.c: Likewise.
20479 * nss/nss_files/files-rpc.c: Likewise.
20480 * nss/nss_files/files-service.c: Likewise.
20481 * nss/nss_files/files-sgrp.c: Likewise.
20482 * nss/nss_files/files-spwd.c: Likewise.
20483 * nss/nss_db/db-alias.c: Removed.
20484 * nss/nss_db/dummy-db.h: Removed.
20486 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20488 * nss/makedb.c: Rewritten to not use database library.
20489 * nss/Makefile: Update to build new makedb program.
20491 2011-06-14 Andreas Jaeger <aj@suse.de>
20493 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20494 memset declaration.
20496 2011-06-10 Andreas Schwab <schwab@redhat.com>
20498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20501 2011-06-10 Roland McGrath <roland@hack.frob.com>
20503 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20504 * elf/Makefile ($(objpfx)ld.so): Likewise.
20506 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20507 Don't list ld.so twice in dependencies.
20509 * posix/bug-regex31.c: Include <stdlib.h>.
20511 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20513 * nis/nss_compat/compat-spwd.c
20514 (getspent_next_nss_netgr): Remove unused variable.
20515 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20517 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20518 nonmembers" output to use the right array.
20520 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20522 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20524 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20525 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20526 * catgets/gencat.c (read_input_file): Likewise.
20527 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20529 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20530 variable definition inside #if's controlling its use.
20532 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20534 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20536 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20538 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20541 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20543 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20544 * configure: Regenerated.
20546 * Makerules: Revert last change.
20547 * elf/Makefile: Likewise.
20549 2011-06-09 Roland McGrath <roland@hack.frob.com>
20551 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20552 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20553 (reloc-link): Likewise.
20555 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20557 * elf/Makefile: Add rules to build pldd.
20558 * elf/pldd.c: New file.
20559 * elf/pldd-xx.c: New file.
20561 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20563 * version.h: Update for 2.15 development version.
20565 2011-06-07 David S. Miller <davem@davemloft.net>
20567 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20570 elf_machine_lazy_rel): Likewise.
20571 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20572 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20573 elf_machine_lazy_rel): Likewise.
20574 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20575 dl_hwcap via passed in argument.
20576 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20579 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20581 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20583 2011-06-06 Roland McGrath <roland@hack.frob.com>
20586 * manual/fdl-1.1.texi: New file, verbatim from:
20587 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20588 * manual/lgpl-2.1.texi: New file, verbatim from:
20589 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20590 * manual/Makefile (licenses): New variable, list those new file names.
20592 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20594 * manual/fdl.texi: File removed.
20595 * manual/lesser.texi: File removed.
20596 * manual/libc.texinfo (Copying, Documentation License):
20597 Use new @include file names, put @appendix directive before @include.
20599 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20602 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20603 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20604 (mq_open): Add __NTH.
20606 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20609 Assume Intel Core i3/i5/i7 processor if AVX is available.
20611 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20616 2011-05-31 Andreas Schwab <schwab@redhat.com>
20618 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20619 memory. Use alloca_account. Fix memory leak when retrying.
20621 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20623 * version.h (RELEASE): Bump for 2.14 release.
20624 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20626 * config.make.in (RANLIB): Remove entry.
20628 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20630 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20631 (libc.pot): Work around missing support for .ksh extension in xgettext.
20634 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20635 if both request failed.
20636 (send_dg): In case of server errors clear resplen or *resplen2.
20639 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20640 when there are multiple maps.
20641 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20642 (_dl_fini): Remove test here.
20644 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20646 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20649 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20650 bit from old_res_options.
20651 (gaih_inet): Likewise.
20654 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20657 * resolv/res_init.c (res_setoptions): Make the code more compact.
20660 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20664 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20666 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20669 * malloc/malloc.h: Declare malloc hook variables as volatile.
20671 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20675 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20676 raise in the comment.
20677 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20678 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20679 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20681 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20684 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20685 grow the buffers more if it already has to be sufficient.
20686 (build_wcs_upper_buffer): Likewise.
20687 * posix/regexec.c (check_matching): Likewise.
20688 (clean_state_log_if_needed): Likewise.
20689 (extend_buffers): Don't enlarge buffers beyond size of the input
20691 Patches mostly by Emil Wojak <emil@wojak.eu>.
20692 * posix/bug-regex32.c: New file.
20693 * posix/Makefile (tests): Add bug-regex32.
20695 * locale/findlocale.c (_nl_find_locale): Return right away if
20696 _nl_explode_name failed.
20697 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20699 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20701 * debug/xtrace.sh: Unify messages.
20702 * malloc/memusage.sh: Likewise.
20705 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20706 time symbol from vDSO. Substitute with vsyscall if not available.
20707 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20710 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20711 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20712 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20713 Add sendmmsg and internal_sendmmsg.
20714 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20715 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20716 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20718 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20719 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20720 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20722 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20725 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20726 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20728 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20732 * iconvdata/Makefile (tests): Add bug-iconv9.
20733 * iconvdata/bug-iconv9.c: New file.
20735 2011-05-27 Andreas Schwab <schwab@redhat.com>
20738 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20740 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20743 (struct user_regs_struct): Change intcs field back to cs.
20745 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20747 * po/ja.po: Update from translation team.
20749 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20752 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20753 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20755 2011-05-20 Andreas Schwab <schwab@redhat.com>
20757 * stdlib/longlong.h: Update from GCC.
20759 2011-05-23 Andreas Schwab <schwab@redhat.com>
20761 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20763 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20764 Add parameter name.
20765 (__sysconf): Pass it down.
20767 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20770 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20773 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20774 add in in __libc_use_alloca calls. Adjust callers.
20775 (glob): Use malloc in some situations.
20777 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20778 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20781 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20783 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20784 and CLOCK_BOOTTIME_ALARM.
20787 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20790 * string/_strerror.c (__strerror_r): Print negative errors as signed
20794 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20795 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20796 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20798 * configure.in: Fix typo in redirection and correct removal of test
20799 files in two cases.
20802 * locale/setlocale.c (new_composite_name): Fix test to check for
20803 identical name of all categories.
20806 * libio/filedoalloc.c (local_isatty): New function.
20807 (_IO_file_doallocate): Use local_isatty.
20808 * stdio-common/perror.c (perror): In case a new stream is used
20809 forward the stream error.
20810 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20813 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20818 * include/alloca.h (extend_alloca_account): Define.
20821 * posix/regex.h: Fix comments with documentation of user-accessible
20822 fields after compilation and describe correct free'ing of pattern
20823 after re_compile_pattern.
20824 Patch by Reuben Thomas <rrt@sc3d.org>.
20826 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20828 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20829 and -mno-altivec to prevent the compiler from using Altivec and/or
20830 VSX instructions when the corresponding registers are not available.
20832 2011-05-19 Andreas Schwab <schwab@redhat.com>
20834 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20836 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20838 * libio/freopen.c (freopen): Use __dup2, not dup2.
20839 * libio/freopen64.c (freopen64): Likewise.
20841 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20844 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20845 * math/Makefile (tests): Add test-powl.
20846 (CFLAGS-test-powl.c): Define.
20847 * math/test-powl.c: New file.
20849 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20851 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20853 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20856 * iconvdata/gb18030.c: Update to GB18020-2005.
20858 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20860 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20861 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20862 Patch by Aharon Robbins <arnold@skeeve.com>.
20865 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20869 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20870 through underflows.
20873 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20874 point to strings before performing equality test for error_one_per_line
20878 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20881 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20882 (struct user_fpregs_struct): Avoid __uint*_t types.
20885 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20886 symbol info. Use it instead of calling _dl_addr locally.
20887 (lock_and_info): New function.
20888 (tr_freehook): Call lock_and_info and pass symbol info as additional
20889 parameter to tr_where.
20890 (tr_mallochook): Likewise.
20891 (tr_reallochook): Likewise.
20892 (tr_memalignhook): Likewise.
20894 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20895 used and couldn't be at all thread-safe.
20897 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20899 * libio/freopen.c (freopen): Don't close old file descriptor
20900 before the new one is opened. Instead dup the new file descriptor
20901 to the old one after the new stream is created.
20902 * libio/freopen64.c (freopen64): Likewise.
20903 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20904 * libio/fileops.c (_IO_new_file_close_it): Handle new
20905 _IO_FLAGS2_NOCLOSE flag.
20906 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20907 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20908 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20909 _IO_FLAGS2_NOCLOSE flag.
20910 * include/unistd.h: Add hidden_proto for dup3.
20911 Define __have_dup3.
20912 * io/dup3.c: Define hidden symbol.
20913 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20916 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20917 when an incomplete long option is used.
20918 * posix/tst-getopt_long1.c: New file.
20919 * posix/Makefile (tests): Add tst-getopt_long1.
20922 * scripts/config.guess: Update from autoconf-2.68.
20923 * scripts/config.sub: Likewise.
20926 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20928 (has_cpuclock): ...this. New function.
20929 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20930 macro here based on has_cpuclock code.
20933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20934 First byte (not low byte) is now always NUL.
20935 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20937 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20938 Use non-cancelable interfaces.
20941 * locale/iso-639.def: Add entry for Sorani.
20944 * include/stdlib.h: Move include protection to the right place.
20945 Define abort_msg_s. Declare __abort_msg with it.
20946 * stdlib/abort.c (__abort_msg): Adjust type.
20947 * assert/assert.c (__assert_fail_base): New function. Majority
20948 of code from __assert_fail. Allocate memory for __abort_msg with
20950 (__assert_fail): Now call __assert_fail_base.
20951 * assert/assert-perr.c: Remove bulk of implementation. Use
20952 __assert_fail_base.
20953 * include/assert.hL Declare __assert_fail_base.
20954 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20956 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20958 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20962 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20963 until all modules are registered in the DTV.
20964 * elf/Makefile: Add rules to build and run tst-tls19.
20965 * elf/tst-tls19.c: New file.
20966 * elf/tst-tls19mod1.c: New file.
20967 * elf/tst-tls19mod2.c: New file.
20968 * elf/tst-tls19mod3.c: New file.
20969 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20972 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20976 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20977 two-byte sequence errors.
20978 * iconvdata/Makefile (tests): Add bug-iconv8.
20979 * iconvdata/bug-iconv8.c: New file.
20982 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20985 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20988 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20989 (dummy_getcfa): New function.
20990 (init): Get _Unwind_GetCFA address, use dummy if not found.
20991 (backtrace_helper): In recursion check, also check whether CFA changes.
20992 (__backtrace): Completely initialize arg.
20994 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20995 storing incomplete byte sequence in state object. Avoid testing for
20996 guaranteed too small input if we know there is enough data available.
20998 2011-05-11 Andreas Schwab <schwab@redhat.com>
21000 * Makeconfig (+link-pie): Indent.
21001 * Rules (binaries-pie): Define if $(have-fpie) and
21003 (binaries-shared): Also filter out $(binaries-pie).
21004 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21005 * nscd/Makefile (others-pie): Add nscd.
21006 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21007 ($(objpfx)nscd): Remove command override.
21008 * login/Makefile (others-pie): Add pt_chown.
21009 ($(objpfx)pt_chown): Remove command override.
21010 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21011 remove command overrides.
21013 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21015 * libio/tst_putwc.c: Fix error messages.
21018 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21019 currently writing and seek to current position when not.
21020 * libio/Makefile (tests): Add bug-fclose1.
21021 * libio/bug-fclose1.c: New file.
21023 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21026 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21027 don't set DF_1_NODELETE here.
21028 (do_lookup_x): When entering new entry test for copy relocation
21029 and if necessary set DF_1_NODELETE flag.
21030 * elf/tst-unique4.cc: New file.
21031 * elf/tst-unique4.h: New file.
21032 * elf/tst-unique4lib.cc: New file.
21033 * elf/Makefile: Add rules to build and run tst-unique4.
21034 Patch by Piotr Bury <pbury@goahead.com>.
21036 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21039 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21042 * misc/mntent_r.c (addmntent): Flush the stream after the output
21045 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21046 (is_trusted_path_normalize): Skip initial colon. Append slash
21047 to empty buffer. Duplicate is_trusted_path code but allow
21048 constructed patch to be prefix.
21049 (is_dst): Allow $ORIGIN followed by /.
21050 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21051 Correct testing of result of is_trusted_path_normalize
21052 (decompose_rpath): Fix warning.
21054 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21057 * grp/initgroups.c (internal_getgrouplist): When we found the service
21058 list through the initgroups entry in nsswitch.conf do not always
21059 continue on a successful lookup. Don't always use the
21060 __nss_group_database value if it is set.
21061 * nss/nsswitch.conf (initgroups): Change action for successful db
21062 lookup to continue for compatibility.
21064 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21067 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21069 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21071 * iconvdata/tst-tables.sh: Likewise.
21072 * iconvdata/cp770.c: New file.
21073 * iconvdata/cp771.c: New file.
21074 * iconvdata/cp772.c: New file.
21075 * iconvdata/cp773.c: New file.
21076 * iconvdata/cp774.c: New file.
21077 * iconvdata/testdata/CP770: New file.
21078 * iconvdata/testdata/CP770..UTF8: New file.
21079 * iconvdata/testdata/CP771: New file.
21080 * iconvdata/testdata/CP771..UTF8: New file.
21081 * iconvdata/testdata/CP772: New file.
21082 * iconvdata/testdata/CP772..UTF8: New file.
21083 * iconvdata/testdata/CP773: New file.
21084 * iconvdata/testdata/CP773..UTF8: New file.
21085 * iconvdata/testdata/CP774: New file.
21086 * iconvdata/testdata/CP774..UTF8: New file.
21088 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21090 * iconvdata/gen-8bit-gap.sh: Likewise.
21091 * iconvdata/gen-8bit.sh: Likewise.
21093 * locale/iso-639.def: Add ary entry.
21096 * locale/C-translit.h.in: Add U20A1 transliteration.
21099 * locale/iso-639.def: Add wae entry.
21100 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21103 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21107 * locale/C-translit.h.in: Add entry for U20B9.
21108 Patch by pravin.d.s@gmail.com.
21110 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21113 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21114 ENAMETOOLONG use generic getcwd.
21115 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21116 in rtld. Use *stat64.
21117 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21118 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21119 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21120 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21121 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21122 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21123 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21124 __fstatat64 macros.
21125 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21126 * dirent/rewinddir.c: Add libc_hidden_def.
21127 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21128 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21130 * include/dirent.h (__alloc_dir): Add flags parameter.
21131 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21132 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21134 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21135 from fdopendir if O_CLOEXEC is already set.
21137 2011-03-15 Alan Modra <amodra@gmail.com>
21139 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21140 l_tls_firstbyte_offset non-zero. Save padding offset in
21141 l_tls_firstbyte_offset for later use.
21142 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21143 freeing static tls block.
21145 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21147 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21148 where #ifdef was intended. The intent is to prevent ARG_MAX from
21149 being defined by the kernel headers.
21151 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21154 * resolv/resolv.h: Define RES_NOTLDQUERY.
21155 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21156 no-tld-query and set RES_NOTLDQUERY.
21157 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21158 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21159 modern BIND to search name as TLD unless forbidden.
21161 2011-05-07 Petr Baudis <pasky@suse.cz>
21162 Ulrich Drepper <drepper@gmail.com>
21165 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21166 (is_trusted_path): ...to here.
21167 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21168 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21169 using is_trusted_path_normalize() in setuid scripts.
21171 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21173 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21174 __BEGIN/__END_DECLS.
21176 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21179 NSS_STATUS_NOTFOUND if no record was found.
21181 2011-05-05 Andreas Schwab <schwab@redhat.com>
21183 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21184 (headers-not-in-tirpc): Remove rpc/netdb.h
21185 * resolv/netdb.h: Revert last change.
21187 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21189 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21190 circular dependency between libgcc.a and libc.a.
21192 2011-05-05 Andreas Schwab <schwab@redhat.com>
21194 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21195 * nis/Makefile: Don't install rpcsvc/*.
21196 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21197 instead of <rpc/types.h>.
21198 (MAXHOSTNAMELEN): Define.
21200 2011-05-03 Andreas Schwab <schwab@redhat.com>
21202 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21204 2011-04-28 Maciej Babinski <mbabinski@google.com>
21207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21208 gethostbyname4_r when IPv6 results are possible.
21210 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21213 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21214 _PC_PIPE_BUF handling.
21216 2011-04-30 Bruno Haible <bruno@clisp.org>
21219 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21220 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21222 * inet/getnameinfo.c (getnameinfo): Likewise.
21224 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21226 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21227 to groups setting in database lookup.
21228 * nss/nsswitch.conf: Add initgroups entry.
21230 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21233 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21235 Patch by Eric Blake <eblake@redhat.com>.
21237 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21239 * sunrpc/Makefile (need-export-routines): Add svc_run.
21240 (routines): Remove svc_run.
21241 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21242 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21243 * sunrpc/svc_run.c (svc_run): Likewise.
21244 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21246 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21249 problem in reallocation in last patch.
21251 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21253 * sunrpc/Makefile: Move inclusion of Rules.
21255 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21257 * nss/nss_files/files-initgroups.c: New file.
21258 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21259 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21260 _nss_files_initgroups_dyn.
21262 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21264 * elf/elf.h (R_ARM_IRELATIVE): Define.
21266 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21268 * po/ru.po: Update from translation team.
21270 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21272 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21275 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21278 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21279 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21280 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21282 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21284 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21288 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21292 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21295 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21297 * stdlib/bug-getcontext.c: New file.
21298 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21300 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21302 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21303 instructions into .machine "z9-109".
21304 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21305 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21307 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21309 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21310 between environment variables and auxiliary vector.
21312 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21314 * Makefile: Add rules to build linkobj/libc.so.
21315 * include/libc-symbols.h: Define libc_hidden_nolink.
21316 * include/rpc/auth.h: Mark functions which are to be hidden.
21317 * include/rpc/auth_des.h: Likewise.
21318 * include/rpc/auth_unix.h: Likewise.
21319 * include/rpc/clnt.h: Likewise.
21320 * include/rpc/des_crypt.h: Likewise.
21321 * include/rpc/key_prot.h: Likewise.
21322 * include/rpc/pmap_clnt.h: Likewise.
21323 * include/rpc/pmap_prot.h: Likewise.
21324 * include/rpc/pmap_rmt.h: Likewise.
21325 * include/rpc/rpc_msg.h: Likewise.
21326 * include/rpc/svc.h: Likewise.
21327 * include/rpc/svc_auth.h: Likewise.
21328 * include/rpc/xdr.h: Likewise.
21329 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21330 * nss/Makefile: Likewise.
21331 * sunrpc/Makefile: Don't install headers. Build library with normal
21332 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21333 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21334 for the compat linking library. Remove use of INTDEF/INTUSE.
21335 * sunrpc/auth_none.c: Likewise.
21336 * sunrpc/auth_unix.c: Likewise.
21337 * sunrpc/authdes_prot.c: Likewise.
21338 * sunrpc/authuxprot.c: Likewise.
21339 * sunrpc/clnt_gen.c: Likewise.
21340 * sunrpc/clnt_perr.c: Likewise.
21341 * sunrpc/clnt_raw.c: Likewise.
21342 * sunrpc/clnt_simp.c: Likewise.
21343 * sunrpc/clnt_tcp.c: Likewise.
21344 * sunrpc/clnt_udp.c: Likewise.
21345 * sunrpc/clnt_unix.c: Likewise.
21346 * sunrpc/des_crypt.c: Likewise.
21347 * sunrpc/des_soft.c: Likewise.
21348 * sunrpc/get_myaddr.c: Likewise.
21349 * sunrpc/key_call.c: Likewise.
21350 * sunrpc/key_prot.c: Likewise.
21351 * sunrpc/netname.c: Likewise.
21352 * sunrpc/pm_getmaps.c: Likewise.
21353 * sunrpc/pm_getport.c: Likewise.
21354 * sunrpc/pmap_clnt.c: Likewise.
21355 * sunrpc/pmap_prot.c: Likewise.
21356 * sunrpc/pmap_prot2.c: Likewise.
21357 * sunrpc/pmap_rmt.c: Likewise.
21358 * sunrpc/publickey.c: Likewise.
21359 * sunrpc/rpc_cmsg.c: Likewise.
21360 * sunrpc/rpc_common.c: Likewise.
21361 * sunrpc/rpc_dtable.c: Likewise.
21362 * sunrpc/rpc_prot.c: Likewise.
21363 * sunrpc/rpc_thread.c: Likewise.
21364 * sunrpc/rtime.c: Likewise.
21365 * sunrpc/svc.c: Likewise.
21366 * sunrpc/svc_auth.c: Likewise.
21367 * sunrpc/svc_authux.c: Likewise.
21368 * sunrpc/svc_raw.c: Likewise.
21369 * sunrpc/svc_run.c: Likewise.
21370 * sunrpc/svc_simple.c: Likewise.
21371 * sunrpc/svc_tcp.c: Likewise.
21372 * sunrpc/svc_udp.c: Likewise.
21373 * sunrpc/svc_unix.c: Likewise.
21374 * sunrpc/svcauth_des.c: Likewise.
21375 * sunrpc/xcrypt.c: Likewise.
21376 * sunrpc/xdr.c: Likewise.
21377 * sunrpc/xdr_array.c: Likewise.
21378 * sunrpc/xdr_float.c: Likewise.
21379 * sunrpc/xdr_intXX_t.c: Likewise.
21380 * sunrpc/xdr_mem.c: Likewise.
21381 * sunrpc/xdr_rec.c: Likewise.
21382 * sunrpc/xdr_ref.c: Likewise.
21383 * sunrpc/xdr_sizeof.c: Likewise.
21384 * sunrpc/xdr_stdio.c: Likewise.
21386 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21389 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21390 * sysdeps/ia64/dl-tls.h: Likewise.
21391 * sysdeps/powerpc/dl-tls.h: Likewise.
21392 * sysdeps/s390/dl-tls.h: Likewise.
21393 * sysdeps/sh/dl-tls.h: Likewise.
21394 * sysdeps/sparc/dl-tls.h: Likewise.
21395 * sysdeps/x86_64/dl-tls.h: Likewise.
21396 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21398 2011-03-14 Andreas Schwab <schwab@redhat.com>
21400 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21401 rpath element also skip the following colon.
21402 (expand_dynamic_string_token): Add is_path parameter and pass
21403 down to DL_DST_REQUIRED and _dl_dst_substitute.
21404 (decompose_rpath): Call expand_dynamic_string_token with
21405 non-zero is_path. Ignore empty rpaths.
21406 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21409 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21414 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21417 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21418 Patch by Filipe David Manana <fdmanana@apache.org>.
21420 2011-04-07 Andreas Schwab <schwab@redhat.com>
21422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21423 Maintain aligned stack.
21424 (CHECK_RSP): Remove unused macro.
21426 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21428 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21429 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21431 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21433 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21435 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21437 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21440 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21441 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21442 * sysdeps/x86_64/memmove.c: New file.
21443 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21444 (memcpy): Renamed to ...
21445 (__new_memcpy): This.
21446 (memcpy): Provide GLIBC_2_14 memcpy.
21447 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21448 (memcpy): Provide GLIBC_2_2_5 memcpy.
21450 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21453 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21455 2011-03-30 Andreas Schwab <schwab@redhat.com>
21457 * misc/syncfs.c: New file.
21458 * misc/Makefile (routines): Add syncfs.
21459 * posix/unistd.h: Declare syncfs.
21460 * sysdeps/unix/syscalls.list: Add syncfs.
21462 2011-04-01 Andreas Schwab <schwab@redhat.com>
21464 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21471 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21474 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21478 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21484 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21485 sync_file_range.c with -fexceptions.
21486 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21487 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21488 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21489 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21490 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21491 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21493 sync_file_range as cancellation point
21494 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21495 now a wrapper around __call_sync_file_range with cancellation handling.
21496 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21497 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21498 function name to __call_sync_file_range.
21499 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21500 Add call_sync_file_range.
21502 2011-04-01 Andreas Schwab <schwab@redhat.com>
21504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21507 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21509 * iconv/iconv.h: Fix typo in comment.
21510 * io/fcntl.h: Likewise.
21511 * libio/stdio.h: Likewise.
21512 * posix/spawn.h: Likewise.
21513 * posix/unistd.h: Likewise.
21514 * stdlib/stdlib.h: Likewise.
21515 * time/time.h: Likewise.
21516 * wcsmbs/wchar.h: Likewise.
21518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21519 open_by_handle): Add.
21520 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21521 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21522 Augment a few comments.
21523 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21525 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21527 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21528 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21531 * io/fcntl.h (AT_EMPTY_PATH): Define.
21533 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21535 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21536 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21537 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21539 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21540 * Versions.def: Add GLIBC_2.14.
21541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21544 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21550 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21553 * string/test-strncmp.c (do_page_test): New function.
21554 (check2): Likewise.
21555 (test_main): Call check2.
21556 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21558 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21561 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21562 Handle cache information in CPU leaf 4.
21563 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21565 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21568 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21569 character representation.
21570 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21572 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21574 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21575 END(__isnan) to END(__isnanf) to match function entry point/label
21576 EALIGN(__isnanf,...).
21578 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21580 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21582 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21585 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21586 copy from the symbol referenced in the relocation to initialize the
21588 Patch by Piotr Bury <pbury@goahead.com>.
21589 * elf/Makefile: Add rules to build and tst-unique3.
21590 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21591 * elf/tst-unique3.cc: New file.
21592 * elf/tst-unique3.h: New file.
21593 * elf/tst-unique3lib.cc: New file.
21594 * elf/tst-unique3lib2.cc: New file.
21596 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21598 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21600 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21601 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21604 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21606 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21607 to-be-loaded object along a path to loader is ld.so.
21609 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21610 Ulrich Drepper <drepper@gmail.com>
21612 * sysdeps/x86_64/memset.S: After aligning destination, code
21613 branches to different locations depending on the value of
21614 misalignment, when multiarch is enabled. Fix this.
21616 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21618 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21619 Set _x86_64_preferred_memory_instruction for AMD processsors.
21620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21621 Set bit_Prefer_SSE_for_memop for AMD processors.
21623 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21625 * libio/fmemopen.c (fmemopen): Optimize a bit.
21627 2011-03-03 Andreas Schwab <schwab@redhat.com>
21629 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21631 2011-03-03 Roland McGrath <roland@redhat.com>
21633 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21635 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21637 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21638 __bzero_ultra1 instead of __memset_ultra1.
21640 2011-02-23 Andreas Schwab <schwab@redhat.com>
21641 Ulrich Drepper <drepper@gmail.com>
21644 * include/link.h (struct link_map): Add l_orig_initfini.
21645 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21646 returning unsuccessfully.
21647 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21648 close of a file loaded at startup, restore the original l_initfini
21650 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21651 list, store the pointer.
21652 * elf/Makefile ($(objpfx)noload-mem): New rule.
21653 (noload-ENV): Define.
21654 (tests): Add $(objpfx)noload-mem.
21655 * elf/noload.c: Include <memcheck.h>.
21656 (main): Call mtrace. Close all opened handles.
21658 2011-02-17 Andreas Schwab <schwab@redhat.com>
21661 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21662 dependencies are missing.
21664 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21666 Fix __if_freereq crash: Unlike the generic version which uses free,
21668 * sysdeps/mach/hurd/ifreq.h: New file.
21670 2011-01-27 Petr Baudis <pasky@suse.cz>
21671 Ulrich Drepper <drepper@gmail.com>
21674 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21675 to extend_alloca().
21676 * stdio-common/bug23.c: New file.
21677 * stdio-common/Makefile (tests): Add bug23.
21679 2010-09-28 Andreas Schwab <schwab@redhat.com>
21680 Ulrich Drepper <drepper@gmail.com>
21683 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21684 before performing relro protection. At old place add assertion
21685 to make sure nothing changed.
21687 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21688 Glauber de Oliveira Costa <glommer@gmail.com>
21690 * elf/elf.h: Add new ARM TLS relocs.
21692 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21695 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21697 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21699 * sysdeps/wordsize-64/tst-writev.c: New file.
21701 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21703 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21704 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21705 insns in _dl_start to prevent a TOC reference before relocs are
21708 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21711 * Makeconfig: Remove RANLIB definition.
21712 * Makerules: Don't use RANLIB.
21713 * aclocal.m4: Remove ranlib test.
21714 * configure.in: No need to check for ranlib.
21715 * elf/rtld-Rules: Don't use RANLIB.
21717 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21719 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21721 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21722 inclusion protection macro.
21724 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21725 SIGRTMIN and SIGRTMAX and print information in that case only when
21726 SIGRTMIN is defined.
21728 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21730 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21731 arginfo fn returning -1.
21733 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21734 and thousands string is zero terminated.
21736 2011-02-03 Andreas Schwab <schwab@redhat.com>
21738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21739 sysdeps/unix/sysv/linux/bits/socket.h.
21741 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21743 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21744 (__CPU_COUNT): Remove old macros.
21745 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21746 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21747 (__CPU_ALLOC, __CPU_FREE): Add macros.
21748 (__sched_cpualloc, __sched_cpufree): Add declarations.
21750 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21752 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21753 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21754 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21755 (readdhstai): Return value of addhstaiX call.
21756 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21757 (addgrbyX): Return value returned by cache_addgr.
21758 (readdgrbyname): Return value returned by addgrbyX.
21759 (readdgrbygid): Likewise.
21760 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21761 (addpwbyX): Return value returned by cache_addpw.
21762 (readdpwbyname): Return value returned by addhstbyX.
21763 (readdpwbyuid): Likewise.
21764 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21765 (addservbyX): Return value returned by cache_addserv.
21766 (readdservbyname): Return value returned by addservbyX:
21767 (readdservbyport): Likewise.
21768 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21769 (addhstbyX): Return value returned by cache_addhst.
21770 (readdhstbyname): Return value returned by addhstbyX.
21771 (readdhstbyaddr): Likewise.
21772 (readdhstbynamev6): Likewise.
21773 (readdhstbyaddrv6): Likewise.
21774 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21775 (readdinitgroups): Return value returned by addinitgroupsX.
21776 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21777 (prune_cache): Keep track of timeout value of re-added entries.
21778 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21779 * nscd/nscd.h: Adjust prototypes of readd* functions.
21781 2011-02-04 Roland McGrath <roland@redhat.com>
21783 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21784 (nis_stats): Likewise.
21785 * nis/nis_modify.c (nis_modify): Likewise.
21786 * nis/nis_remove.c (nis_remove): Likewise.
21787 * nis/nis_add.c (nis_add): Likewise.
21789 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21791 * posix/fnmatch_loop.c: Add some consts.
21793 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21795 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21798 * config.make.in (config-cflags-novzeroupper): Define.
21799 * configure.in: Substitute libc_cv_cc_novzeroupper.
21800 * elf/Makefile (AVX-CFLAGS): Define.
21801 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21802 (CFLAGS-tst-auditmod4a.c): Likewise.
21803 (CFLAGS-tst-auditmod4b.c): Likewise.
21804 (CFLAGS-tst-auditmod6b.c): Likewise.
21805 (CFLAGS-tst-auditmod6c.c): Likewise.
21806 (CFLAGS-tst-auditmod7b.c): Likewise.
21807 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21809 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21811 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21812 function to the callback.
21813 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21815 2011-02-02 Andreas Schwab <schwab@redhat.com>
21817 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21820 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21823 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21825 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21827 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21830 * elf/Makefile: Add rules to build and run new test.
21831 * elf/tst-initorder.c: New file.
21832 * elf/tst-initorder.exp: New file.
21833 * elf/tst-initordera1.c: New file.
21834 * elf/tst-initordera2.c: New file.
21835 * elf/tst-initordera3.c: New file.
21836 * elf/tst-initordera4.c: New file.
21837 * elf/tst-initorderb1.c: New file.
21838 * elf/tst-initorderb2.c: New file.
21839 * elf/tst-order-a1.c: New file.
21840 * elf/tst-order-a2.c: New file.
21841 * elf/tst-order-a3.c: New file.
21842 * elf/tst-order-a4.c: New file.
21843 * elf/tst-order-b1.c: New file.
21844 * elf/tst-order-b2.c: New file.
21845 * elf/tst-order-main.c: New file.
21846 New test case by George Gensure <werkt0@gmail.com>.
21848 2010-10-01 Andreas Schwab <schwab@redhat.com>
21850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21851 decoding ACE if AI_CANONIDN.
21853 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21855 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21857 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21859 * version.h (RELEASE): Bump for 2.13 release.
21860 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21862 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21864 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21866 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21867 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21868 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21869 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21871 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21873 * posix/getconf.c: Update copyright year.
21874 * catgets/gencat.c: Likewise.
21875 * csu/version.c: Likewise.
21876 * debug/catchsegv.sh: Likewise.
21877 * debug/xtrace.sh: Likewise.
21878 * elf/ldconfig.c: Likewise.
21879 * elf/ldd.bash.in: Likewise.
21880 * elf/sprof.c (print_version): Likewise.
21881 * iconv/iconv_prog.c: Likewise.
21882 * iconv/iconvconfig.c: Likewise.
21883 * locale/programs/locale.c: Likewise.
21884 * locale/programs/localedef.c: Likewise.
21885 * malloc/memusage.sh: Likewise.
21886 * malloc/mtrace.pl: Likewise.
21887 * nscd/nscd.c (print_version): Likewise.
21888 * nss/getent.c: Likewise.
21890 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21891 PF_CAIF, and PF_ALG.
21892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21894 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21896 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21897 (modules-names): Use them.
21898 (ifunc-test-modules, ifunc-pie-tests): Define.
21899 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21900 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21901 (test-extras): Likewise.
21902 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21903 $(compile-command.c).
21904 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21905 (all-built-dso): Define.
21906 (check-textrel.out, check-execstack.out): Depend on it.
21908 * configure.in: Don't override --enable-multi-arch.
21910 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21913 * nscd/hstcache.c (tryagain): Define.
21914 (cache_addhst): Return tryagain not notfound for temporary errors.
21915 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21918 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21921 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21922 to make the syscall.
21923 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21926 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21927 and fall back to matching as normal character if the string ends before
21928 the matching ']' is found. This is what POSIX requires.
21929 * posix/testfnm.c: Adjust test result.
21930 * posix/globtest.sh: Adjust test result. Add new test.
21931 * posix/tst-fnmatch.input: Likewise.
21932 * posix/tst-fnmatch2.c: Add new test.
21934 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21936 * elf/Makefile (check-execstack): Revert last change. Depend on
21938 (check-execstack.h): New target.
21939 (generated): Add check-execstack.h.
21940 * elf/check-execstack.c: Include "check-execstack.h".
21941 (main): Revert last change.
21942 (handle_file): Return zero if GNU_STACK is absent and
21943 DEFAULT_STACK_PERMS doesn't include PF_X.
21945 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21947 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21948 in child fails because the descriptor is already closed.
21949 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21950 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21951 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21954 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21958 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21959 temporary buffer used to handle multi lookups locally.
21960 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21962 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21964 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21967 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21969 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21970 alignment for SSE2.
21972 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21975 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21976 characters. When rounding increased number of integer digits recompute
21978 * stdio-common/tst-grouping.c: New file.
21979 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21981 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21983 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21984 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21986 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21988 * bits/select.h: Likewise.
21990 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21992 * po/ja.po: Update from translation team.
21994 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21997 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21998 implementation just like for lxstat, fxstatat, et al.
22000 2010-12-27 Jim Meyering <meyering@redhat.com>
22003 * posix/regexec.c (build_trtable): Return failure indication upon
22004 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22006 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22009 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22010 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22011 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22012 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22015 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22018 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22019 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22021 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22023 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22024 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22025 script has SORT_BY_INIT_PRIORITY.
22026 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22027 NO_CTORS_DTORS_SECTIONS is defined.
22028 * elf/soinit.c: Likewise.
22029 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22030 NO_CTORS_DTORS_SECTIONS is defined.
22031 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22032 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22033 * sysdeps/sh/init-first.c: Likewise.
22034 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22036 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22038 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22039 always use the slow path.
22041 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22043 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22044 similar rule which adds the sysdep directories to the header search in
22045 order to pick up the correct platform stackinfo.h.
22046 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22047 perform test if it is, otherwise return successfully without testing.
22048 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22049 DEFAULT_STACK_PERMS define in stackinfo.h.
22050 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22051 defined in stackinfo.h.
22052 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22053 DEFAULT_STACK_PERMS defined in stackinfo.h.
22054 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22055 * sysdeps/ia64/stackinfo.h: Likewise.
22056 * sysdeps/s390/stackinfo.h: Likewise.
22057 * sysdeps/sh/stackinfo.h: Likewise.
22058 * sysdeps/sparc/stackinfo.h: Likewise.
22059 * sysdeps/x86_64/stackinfo.h: Likewise.
22060 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22061 PF_X for powerpc64. Retain PF_X for powerpc32.
22063 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22065 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22067 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22068 GETDENTS_64BIT_ALIGNED.
22070 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22072 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22074 2010-12-10 Andreas Schwab <schwab@redhat.com>
22076 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22079 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22080 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22082 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22083 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22085 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22088 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22091 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22093 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22095 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22097 * po/it.po: Update from translation team.
22099 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22104 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22106 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22108 2010-11-24 Andreas Schwab <schwab@redhat.com>
22110 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22112 (gaih_getanswer_slice): Likewise.
22114 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22118 2010-05-31 Petr Baudis <pasky@suse.cz>
22121 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22122 silently even in the chroot mode.
22124 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22126 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22127 last patch a bit. Pretty printing
22129 2010-05-31 Petr Baudis <pasky@suse.cz>
22132 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22133 initialization of skip_initgroups_dyn.
22135 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22137 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22138 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22140 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22142 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22144 2010-11-11 Andreas Schwab <schwab@redhat.com>
22146 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22147 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22148 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22149 ($(objpfx)tst-fnmatch-mem): New rule.
22150 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22151 * posix/tst-fnmatch.c (main): Call mtrace.
22153 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22156 Support Intel processor model 6 and model 0x2c.
22158 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22160 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22163 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22166 * string/test-strncasecmp.c (check_result): New function.
22167 (do_one_test): Use it.
22168 (check1): New function.
22169 (test_main): Use it.
22170 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22171 Support strcasecmp and strncasecmp.
22173 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22176 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22177 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22179 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22181 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22185 * sysdeps/x86_64/multiarch/bzero.S: New file.
22186 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22187 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22188 * sysdeps/x86_64/multiarch/memset.S: New file.
22189 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22191 Set bit_Prefer_SSE_for_memop for Intel processors.
22192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22194 (index_Prefer_SSE_for_memop): Define.
22195 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22197 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22199 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22200 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22202 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22205 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22206 (__x86_64_raw_data_cache_size_half): Likewise.
22207 (__x86_64_raw_shared_cache_size): Likewise.
22208 (__x86_64_raw_shared_cache_size_half): Likewise.
22210 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22211 (__x86_64_raw_data_cache_size_half): Likewise.
22212 (__x86_64_raw_shared_cache_size): Likewise.
22213 (__x86_64_raw_shared_cache_size_half): Likewise.
22214 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22215 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22216 and __x86_64_raw_shared_cache_size_half. Round
22217 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22218 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22219 to multiple of 256 bytes.
22221 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22224 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22225 of inacessible symlinks. Verify result of symlink before returning it.
22226 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22227 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22229 2010-10-28 Erich Ritz <erichritz@gmail.com>
22231 * math/math.h (isinf): Fix typo in comment.
22233 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22235 * po/da.po: Update from translation team.
22237 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22239 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22240 is added to the list.
22242 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22243 Ulrich Drepper <drepper@gmail.com>
22245 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22246 the global list here. Move code to...
22247 (_dl_add_to_namespace_list): ...here. New function.
22248 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22249 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22250 * elf/dl-load.c (lose): Don't remove the element from the list.
22251 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22252 (_dl_map_object): Likewise.
22254 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22257 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22258 into all bytes of SSE register.
22259 Patch by Richard Li <richardpku@gmail.com>.
22261 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22264 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22267 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22269 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22270 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22271 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22272 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22277 2010-10-22 Andreas Schwab <schwab@redhat.com>
22279 * include/dlfcn.h (__RTLD_SECURE): Define.
22280 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22281 mode & __RTLD_SECURE instead.
22282 (open_path): Rename preloaded parameter to secure.
22283 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22284 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22285 * elf/dl-deps.c (openaux): Likewise.
22286 * elf/rtld.c (struct map_args): Remove is_preloaded.
22287 (map_doit): Don't use it.
22288 (dl_main): Likewise.
22289 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22290 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22292 2010-09-09 Andreas Schwab <schwab@redhat.com>
22294 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22295 (sysd-rules-targets): Remove duplicates.
22296 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22297 rtld-%.$o dependency.
22299 2010-10-18 Andreas Schwab <schwab@redhat.com>
22301 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22302 _dl_map_object do it.
22304 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22306 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22307 fast fma builtins, define the macros in the C99 standard.
22308 (FP_FAST_FMAF): Likewise.
22309 (FP_FAST_FMAL): Likewise.
22310 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22312 * bits/mathdef.h: Update copyright year.
22313 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22315 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22317 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22318 builtins, define the macros in the C99 standard.
22319 (FP_FAST_FMAF): Likewise.
22320 (FP_FAST_FMAL): Likewise.
22321 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22323 (FP_FAST_FMAF): Likewise.
22325 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22328 * math/libm-test.inc (fma_test): Some new testcases.
22329 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22331 y and infinite z. Do multiplication by C already in long double.
22332 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22334 y and infinite z. Do bitwise or of inexact bit into u.d.
22335 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22336 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22337 * sysdeps/i386/fpu/s_fma.S: Removed.
22338 * sysdeps/i386/fpu/s_fmal.S: Removed.
22340 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22343 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22345 computation is not scheduled after fetestexcept. Fix value
22346 of minimum denormal long double.
22348 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22351 * math/libm-test.inc (fma_test): Add some more tests.
22352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22355 2010-10-15 Andreas Schwab <schwab@redhat.com>
22357 * scripts/data/localplt-s390-linux-gnu.data: New file.
22358 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22360 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22363 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22364 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22366 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22368 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22370 if one of x and y is very large and the other is subnormal.
22371 * sysdeps/s390/fpu/s_fmaf.c: New file.
22372 * sysdeps/s390/fpu/s_fma.c: New file.
22373 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22374 * sysdeps/powerpc/fpu/s_fma.S: New file.
22375 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22376 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22377 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22379 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22382 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22385 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22386 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22387 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22388 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22389 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22390 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22392 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22395 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22396 * posix/bug-regex31.input: Add test case.
22398 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22400 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22401 * posix/bug-regex31.input: New file.
22404 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22405 (parse_sub_exp): Fix last change, use postorder.
22407 * posix/bug-regex31.c: New file.
22408 * posix/Makefile: Add rules to build and run bug-regex31.
22410 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22413 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22416 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22417 to have entries in sys_siglist.
22420 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22423 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22426 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22427 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22428 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22429 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22430 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22431 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22432 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22433 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22434 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22435 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22436 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22437 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22438 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22439 * math/ftestexcept.c (fetestexcept): Likewise.
22440 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22441 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22442 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22443 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22444 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22445 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22446 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22448 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22451 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22454 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22456 * string/bug-strstr1.c: New file.
22457 * string/Makefile: Add rules to build and run bug-strstr1.
22459 2010-10-05 Eric Blake <eblake@redhat.com>
22462 * string/str-two-way.h (two_way_long_needle): Always clear memory
22463 when skipping input due to the shift table.
22465 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22468 * malloc/mcheck.c: Handle large requests.
22471 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22472 for strncmp and strncasecmp.
22473 * string/stratcliff.c: Add tests for strcmp and strncmp.
22474 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22476 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22478 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22481 2010-09-30 Andreas Jaeger <aj@suse.de>
22483 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22484 (CGROUP_SUPER_MAGIC): Define.
22485 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22486 Handle btrfs and cgroup file systems.
22487 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22490 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22492 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22493 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22495 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22498 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22499 trying to locate the ELF header.
22501 2010-09-27 Andreas Schwab <schwab@redhat.com>
22504 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22505 Mask out sign-bit copies when constructing f_fsid.
22507 2010-09-24 Petr Baudis <pasky@suse.cz>
22509 * debug/stack_chk_fail_local.c: Add missing licence exception.
22510 * debug/warning-nop.c: Likewise.
22512 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22514 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22515 implementing getdents64 using getdents syscall, set d_type if
22516 __ASSUME_GETDENTS32_D_TYPE.
22518 2010-09-16 Andreas Schwab <schwab@redhat.com>
22520 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22521 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22523 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22526 * posix/unistd.h: Undo change of feature selection for ftruncate from
22529 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22531 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22534 2010-09-20 Andreas Schwab <schwab@redhat.com>
22536 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22538 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22540 2010-09-14 Andreas Schwab <schwab@redhat.com>
22542 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22543 variables after CHECK_SP call.
22544 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22546 2010-09-13 Andreas Schwab <schwab@redhat.com>
22547 Ulrich Drepper <drepper@redhat.com>
22549 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22550 re-relocationg ld.so.
22551 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22552 _dl_init_paths call.
22553 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22556 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22558 * resolv/res_init.c (__res_vinit): Count the default server we added.
22560 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22561 Ulrich Drepper <drepper@redhat.com>
22564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22565 (____longjmp_chk): Use %ebx for saving value across system call.
22568 2010-09-06 Andreas Schwab <schwab@redhat.com>
22570 * manual/Makefile: Don't mix pattern rules with normal rules.
22572 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22574 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22576 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22577 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22578 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22579 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22580 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22583 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22586 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22587 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22589 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22591 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22592 * sysdeps/x86_64/addmul_1.S: Likewise.
22593 * sysdeps/x86_64/lshift.S: Likewise.
22594 * sysdeps/x86_64/mul_1.S: Likewise.
22595 * sysdeps/x86_64/rshift.S: Likewise.
22596 * sysdeps/x86_64/sub_n.S: Likewise.
22597 * sysdeps/x86_64/submul_1.S: Likewise.
22599 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22601 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22602 Define __sched_param instead of SCHED_* and sched_param when
22603 <bits/sched.h> is included with __need_schedparam defined.
22604 * bits/sched.h [__need_schedparam]
22605 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22606 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22607 (__defined_schedparam): Define to 1.
22608 (__sched_param): New structure, identical to sched_param.
22609 (__need_schedparam): Undefine.
22611 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22614 (epoll_create1): Declare.
22616 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22618 2010-08-31 Andreas Schwab <schwab@redhat.com>
22621 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22622 shifting retval into place.
22624 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22626 * nis/rpcsvc/nis.h: Update copyright notice.
22627 * nis/rpcsvc/nis.x: Likewise.
22628 * nis/rpcsvc/nis_callback.h: Likewise.
22629 * nis/rpcsvc/nis_callback.x: Likewise.
22630 * nis/rpcsvc/nis_object.x: Likewise.
22631 * nis/rpcsvc/nis_tags.h: Likewise.
22632 * nis/rpcsvc/yp.h: Likewise.
22633 * nis/rpcsvc/yp.x: Likewise.
22634 * nis/rpcsvc/ypupd.h: Likewise.
22635 * nis/yp_xdr.c: Likewise.
22636 * nis/ypupdate_xdr.c: Likewise.
22638 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22639 mainly the body of pmap_getport. Add parameters to specify timeouts.
22640 (pmap_getport): Use __libc_rpc_getport.
22641 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22642 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22643 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22645 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22650 2010-08-27 Roland McGrath <roland@redhat.com>
22652 * sysdeps/i386/i686/multiarch/Makefile
22653 (CFLAGS-varshift.c): New variable.
22655 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22657 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22658 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22660 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22662 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22664 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22666 * sysdeps/x86_64/strlen.S: Unroll the loop.
22667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22668 strlen-sse2 strlen-sse2-bsf.
22669 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22670 __strlen_no_bsf if bit_Slow_BSF is set.
22671 (__strlen_sse42): Removed.
22672 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22673 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22675 2010-08-25 Roland McGrath <roland@redhat.com>
22677 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22678 * sysdeps/x86_64/multiarch/varshift.c: New file.
22679 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22680 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22681 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22682 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22684 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22687 strlen-sse2 strlen-sse2-bsf.
22688 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22689 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22690 (__strlen_sse2): Removed.
22691 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22692 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22694 bit_Slow_BSF for Atom.
22695 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22696 (index_Slow_BSF): Define.
22697 (HAS_SLOW_BSF): Define.
22699 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22702 * resolv/res_init.c (__res_vinit): When no server address at all
22703 is given default to loopback.
22705 2010-08-24 Roland McGrath <roland@redhat.com>
22707 * configure.in: Remove config-name.h generation.
22708 * configure: Regenerated.
22709 * config-name.in: File removed.
22710 * scripts/config-uname.sh: New file.
22711 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22712 ($(objdir)config-name.h): New target.
22714 * sunrpc/rpc_parse.h: Avoid nested comment.
22716 2010-08-24 Richard Henderson <rth@redhat.com>
22717 Ulrich Drepper <drepper@redhat.com>
22718 H.J. Lu <hongjiu.lu@intel.com>
22720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22722 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22723 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22724 _mm_alignr_epi8 with _mm_loadu_si128.
22725 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22726 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22727 (__m128i_shift_right): Removed.
22728 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22729 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22730 * sysdeps/x86_64/multiarch/varshift.h: New file.
22731 * sysdeps/x86_64/multiarch/varshift.S: New file.
22733 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22735 * configure.in: Move assembler checks to before sysdep dir checking.
22737 2010-08-20 Petr Baudis <pasky@suse.cz>
22739 * LICENSES: Sync the sunrpc license.
22741 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22743 * sunrpc/auth_des.c: Update copyright notice once again.
22744 * sunrpc/auth_none.c: Likewise.
22745 * sunrpc/auth_unix.c: Likewise.
22746 * sunrpc/authdes_prot.c: Likewise.
22747 * sunrpc/authuxprot.c: Likewise.
22748 * sunrpc/bindrsvprt.c: Likewise.
22749 * sunrpc/clnt_gen.c: Likewise.
22750 * sunrpc/clnt_perr.c: Likewise.
22751 * sunrpc/clnt_raw.c: Likewise.
22752 * sunrpc/clnt_simp.c: Likewise.
22753 * sunrpc/clnt_tcp.c: Likewise.
22754 * sunrpc/clnt_udp.c: Likewise.
22755 * sunrpc/clnt_unix.c: Likewise.
22756 * sunrpc/des_crypt.c: Likewise.
22757 * sunrpc/des_soft.c: Likewise.
22758 * sunrpc/get_myaddr.c: Likewise.
22759 * sunrpc/getrpcport.c: Likewise.
22760 * sunrpc/key_call.c: Likewise.
22761 * sunrpc/key_prot.c: Likewise.
22762 * sunrpc/openchild.c: Likewise.
22763 * sunrpc/pm_getmaps.c: Likewise.
22764 * sunrpc/pm_getport.c: Likewise.
22765 * sunrpc/pmap_clnt.c: Likewise.
22766 * sunrpc/pmap_prot.c: Likewise.
22767 * sunrpc/pmap_prot2.c: Likewise.
22768 * sunrpc/pmap_rmt.c: Likewise.
22769 * sunrpc/rpc/auth.h: Likewise.
22770 * sunrpc/rpc/auth_unix.h: Likewise.
22771 * sunrpc/rpc/clnt.h: Likewise.
22772 * sunrpc/rpc/des_crypt.h: Likewise.
22773 * sunrpc/rpc/key_prot.h: Likewise.
22774 * sunrpc/rpc/netdb.h: Likewise.
22775 * sunrpc/rpc/pmap_clnt.h: Likewise.
22776 * sunrpc/rpc/pmap_prot.h: Likewise.
22777 * sunrpc/rpc/pmap_rmt.h: Likewise.
22778 * sunrpc/rpc/rpc.h: Likewise.
22779 * sunrpc/rpc/rpc_des.h: Likewise.
22780 * sunrpc/rpc/rpc_msg.h: Likewise.
22781 * sunrpc/rpc/svc.h: Likewise.
22782 * sunrpc/rpc/svc_auth.h: Likewise.
22783 * sunrpc/rpc/types.h: Likewise.
22784 * sunrpc/rpc/xdr.h: Likewise.
22785 * sunrpc/rpc_clntout.c: Likewise.
22786 * sunrpc/rpc_cmsg.c: Likewise.
22787 * sunrpc/rpc_common.c: Likewise.
22788 * sunrpc/rpc_cout.c: Likewise.
22789 * sunrpc/rpc_dtable.c: Likewise.
22790 * sunrpc/rpc_hout.c: Likewise.
22791 * sunrpc/rpc_main.c: Likewise.
22792 * sunrpc/rpc_parse.c: Likewise.
22793 * sunrpc/rpc_parse.h: Likewise.
22794 * sunrpc/rpc_prot.c: Likewise.
22795 * sunrpc/rpc_sample.c: Likewise.
22796 * sunrpc/rpc_scan.c: Likewise.
22797 * sunrpc/rpc_scan.h: Likewise.
22798 * sunrpc/rpc_svcout.c: Likewise.
22799 * sunrpc/rpc_tblout.c: Likewise.
22800 * sunrpc/rpc_util.c: Likewise.
22801 * sunrpc/rpc_util.h: Likewise.
22802 * sunrpc/rpcinfo.c: Likewise.
22803 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22804 * sunrpc/rpcsvc/key_prot.x: Likewise.
22805 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22806 * sunrpc/rpcsvc/mount.x: Likewise.
22807 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22808 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22809 * sunrpc/rpcsvc/rex.x: Likewise.
22810 * sunrpc/rpcsvc/rstat.x: Likewise.
22811 * sunrpc/rpcsvc/rusers.x: Likewise.
22812 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22813 * sunrpc/rpcsvc/spray.x: Likewise.
22814 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22815 * sunrpc/rtime.c: Likewise.
22816 * sunrpc/svc.c: Likewise.
22817 * sunrpc/svc_auth.c: Likewise.
22818 * sunrpc/svc_authux.c: Likewise.
22819 * sunrpc/svc_raw.c: Likewise.
22820 * sunrpc/svc_run.c: Likewise.
22821 * sunrpc/svc_simple.c: Likewise.
22822 * sunrpc/svc_tcp.c: Likewise.
22823 * sunrpc/svc_udp.c: Likewise.
22824 * sunrpc/svc_unix.c: Likewise.
22825 * sunrpc/svcauth_des.c: Likewise.
22826 * sunrpc/xcrypt.c: Likewise.
22827 * sunrpc/xdr.c: Likewise.
22828 * sunrpc/xdr_array.c: Likewise.
22829 * sunrpc/xdr_float.c: Likewise.
22830 * sunrpc/xdr_mem.c: Likewise.
22831 * sunrpc/xdr_rec.c: Likewise.
22832 * sunrpc/xdr_ref.c: Likewise.
22833 * sunrpc/xdr_sizeof.c: Likewise.
22834 * sunrpc/xdr_stdio.c: Likewise.
22836 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22839 2010-08-19 Andreas Schwab <schwab@redhat.com>
22841 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22843 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22845 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22846 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22847 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22848 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22849 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22850 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22851 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22852 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22853 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22854 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22855 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22856 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22857 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22858 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22860 2010-07-26 Anton Blanchard <anton@samba.org>
22862 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22863 * malloc/arena.c (heap_trim): Likewise.
22865 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22867 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22870 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22872 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22874 * sysdeps/i386/elf/Makefile: New file.
22876 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22878 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22879 from fanotify_init.
22880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22883 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22885 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22887 * sysdeps/multiarch/strcmp.S: Likewise.
22889 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22891 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22892 strncase_l-nonascii.
22893 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22894 Add strncase_l-ssse3.
22895 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22896 * sysdeps/x86_64/strcmp.S: Likewise.
22897 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22898 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22899 * sysdeps/x86_64/strncase.S: New file.
22900 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22901 * sysdeps/x86_64/strncase_l.S: New file.
22902 * string/Makefile (strop-tests): Add strncasecmp.
22903 * string/test-strncasecmp.c: New file.
22905 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22908 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22909 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22911 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22913 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22915 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22917 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22918 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22919 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22921 2010-05-01 Alan Modra <amodra@gmail.com>
22923 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22924 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22925 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22926 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22927 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22928 tidying. Don't tail-call __sigjmp_save for static lib.
22929 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22931 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22932 (CALL_MCOUNT): Add eh info, and nop after bl.
22933 (TAIL_CALL_SYSCALL_ERROR): New macro.
22934 (PSEUDO_RET): Use it.
22935 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22936 Correct save location of integer regs and cr.
22937 (_dl_profile_resolve): Correct cr save location. Delete nops
22938 after bl when SHARED. Reduce cfi size a little by better
22939 placement of cfi directives.
22940 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22941 make a stack frame. Instead use parm save area as a temp.
22942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22943 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22945 Don't make a stack frame for parent, use parm save area.
22946 Increase child stack frame to 112 bytes. Don't save unused reg,
22947 and adjust reg usage. Set up cfi on error recovery and
22948 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22950 (__makecontext): Add dummy nop after jump to exit.
22951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22952 Use correct parm save area and cr save, reduce stack frame.
22953 Correct cfi for possible PSEUDO_RET frame setup.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22955 Branch to local label emitted by PSEUDO_RET rather than
22958 2010-08-12 Andreas Schwab <schwab@redhat.com>
22961 * locale/programs/locale.c (print_assignment): New function.
22962 (show_locale_vars): Use it.
22964 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22966 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22968 (struct statfs64): Likewise.
22969 (_STATFS_F_FLAGS): Define.
22970 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22971 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22972 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22973 (ST_VALID): Define locally.
22974 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22975 __statvfs_getflags, use the provided value.
22976 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22977 __ASSUME_STATFS_F_FLAGS.
22979 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22981 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22982 Add sys/fanotify.h.
22983 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22984 fanotify_mask for GLIBC_2.13.
22985 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22986 fanotify_init and fanotify_mark.
22987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22988 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22990 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22992 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22993 prlimit64 for GLIBC_2.13.
22994 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22996 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22999 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23000 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23004 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23007 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23008 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23010 * nss/Makefile: Add rules to build and run tst-nss-test1.
23011 * shlib-versions: Add entry for libnss_test1.
23012 * nss/nss_test1.c: New file.
23013 * nss/tst-nss-test1.c: New file.
23015 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23016 (__nss_configure_lookup): Set appropriate entry in
23017 __nss_configure_lookup to true.
23018 * nss/nsswitch.h: Define enum with indeces of databases in
23019 databases and __nss_database_custom arrays. Declare
23020 __nss_database_custom.
23021 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23022 to avoid using nscd when custom rules are installed.
23023 * nss/getXXbyYY_r.c: Likewise.
23024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23026 * nss/nss_files/files-parse.c: Whitespace fixes.
23028 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23031 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23032 * posix/fnmatch_loop.c: Likewise.
23034 2010-07-17 Andi Kleen <ak@linux.intel.com>
23036 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23037 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23038 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23039 * Versions.def [GLIBC_2.13]: Add.
23041 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23043 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23044 Also fail if tpwd after pwuid call is NULL.
23046 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23048 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23049 when converting to ms.
23051 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23053 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23054 EOPNOTSUPP errors with ENOTTY.
23055 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23056 EOPNOTSUPP errors with ENOTTY.
23058 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23060 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23061 Add strcasecmp_l-ssse3.
23062 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23064 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23065 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23066 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23068 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23070 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23072 * string/Makefile (strop-tests): Add strcasecmp.
23073 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23074 strcasecmp_l-nonascii.
23075 (gen-as-const-headers): Add locale-defines.sym.
23076 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23077 * sysdeps/x86_64/strcasecmp.S: New file.
23078 * sysdeps/x86_64/strcasecmp_l.S: New file.
23079 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23080 * sysdeps/x86_64/locale-defines.sym: New file.
23081 * string/test-strcasecmp.c: New file.
23083 * string/test-strcasestr.c: Test both ends of the range of characters.
23084 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23086 2010-07-29 Roland McGrath <roland@redhat.com>
23089 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23091 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23093 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23096 2010-07-27 Andreas Schwab <schwab@redhat.com>
23098 * manual/memory.texi (Malloc Tunable Parameters): Document
23101 2010-07-26 Roland McGrath <roland@redhat.com>
23104 * configure.in (-fgnu89-inline check): Set and substitute
23105 gnu89_inline, not libc_cv_gnu89_inline.
23106 * configure: Regenerated.
23107 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23109 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23111 * string/test-strnlen.c: New file.
23112 * string/Makefile (strop-tests): Add strnlen.
23113 * string/tester.c (test_strnlen): Add a few more test cases.
23114 * string/tst-strlen.c: Better error reporting.
23116 * sysdeps/x86_64/strnlen.S: New file.
23118 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23120 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23121 lower-latency instructions.
23123 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23125 * string/test-strcasestr.c: New file.
23126 * string/test-strstr.c: New file.
23127 * string/Makefile (strop-tests): Add strstr and strcasestr.
23128 * string/str-two-way.h: Don't undefine MAX.
23129 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23131 2010-07-21 Andreas Schwab <schwab@redhat.com>
23133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23134 strcasestr-nonascii.
23135 (CFLAGS-strcasestr-nonascii.c): Define.
23136 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23137 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23138 Remove unused attribute.
23140 2010-07-20 Roland McGrath <roland@redhat.com>
23142 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23143 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23144 ld.so.cache was broken. With it, there is no way to disable dsocaps
23145 like LD_HWCAP_MASK can disable hwcaps.
23147 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23149 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23151 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23153 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23154 call in strcasestr.
23155 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23156 __strcasestr_sse42_nonascii.
23157 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23158 strcasestr-nonascii.c.
23159 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23161 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23163 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23164 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23165 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23166 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23168 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23173 2010-07-06 Andreas Schwab <schwab@redhat.com>
23176 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23179 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23181 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23182 _PC_PIPE_BUF using F_GETPIPE_SZ.
23184 2010-07-05 Roland McGrath <roland@redhat.com>
23186 * manual/arith.texi (Rounding Functions): Fix rint description
23187 implicit in round description.
23189 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23191 * elf/Makefile: Fix linking for a few tests to make recent linker
23194 2010-06-30 Andreas Schwab <schwab@redhat.com>
23196 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23197 $(common-objpfx)libc_nonshared.a.
23199 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23201 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23202 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23203 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23204 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23205 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23206 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23207 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23208 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23223 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23224 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23225 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23226 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23227 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23228 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23229 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23230 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23231 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23232 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23233 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23234 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23250 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23252 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23253 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23254 * string/memmove.c (memmove): Renamed to ...
23255 (MEMMOVE): ...this. Default to memmove.
23256 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23257 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23260 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23261 mempcpy-ssse3-back memmove-ssse3-back.
23262 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23264 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23265 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23266 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23267 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23268 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23269 * sysdeps/x86_64/multiarch/memmove.c: New file.
23270 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23271 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23272 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23273 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23274 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23275 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23277 (index_Fast_Copy_Backward): Define.
23278 (HAS_ARCH_FEATURE): Define.
23279 (HAS_FAST_REP_STRING): Define.
23280 (HAS_FAST_COPY_BACKWARD): Define.
23282 2010-06-21 Andreas Schwab <schwab@redhat.com>
23284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23285 Restore proper fallback handling.
23287 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23290 * posix/group_member.c (__group_member): Correct checking loop.
23292 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23293 OOM in getpwuid_r correctly. Return error number when the caller
23294 should return, otherwise -1.
23295 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23296 call returning > 0 value.
23297 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23299 2010-06-07 Andreas Schwab <schwab@redhat.com>
23301 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23302 libc_nonshared.a from targets in modules-names.
23304 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23306 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23309 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23311 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23312 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23313 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23314 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23316 2010-06-02 Andreas Schwab <schwab@redhat.com>
23318 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23320 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23322 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23328 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23331 2010-06-14 Roland McGrath <roland@redhat.com>
23333 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23335 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23337 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23338 __REDIRECT followed by __THROW.
23339 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23340 * posix/getopt.h (getopt): Likewise.
23342 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23344 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23345 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23346 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23348 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23349 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23351 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23353 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23355 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23359 Properly check family and model.
23361 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23363 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23365 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23367 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23369 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23371 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23374 2010-05-19 Andreas Schwab <schwab@redhat.com>
23376 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23379 2010-05-21 Andreas Schwab <schwab@redhat.com>
23381 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23382 and internal_recvmmsg.
23383 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23384 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23385 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23386 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23388 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23389 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23390 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23392 2010-05-20 Andreas Schwab <schwab@redhat.com>
23394 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23396 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23398 POWER7 optimizations.
23399 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23400 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23402 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23404 * version.h: Update for 2.13 development version.
23406 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23408 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23409 exceptions. Return 0.
23411 2010-05-07 Roland McGrath <roland@redhat.com>
23413 * elf/ldconfig.c (main): Add a const.
23415 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23417 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23418 (args_options): Add no-idn option.
23419 (ahosts_keys_int): Add idn_flags to ai_flags.
23420 (parse_option): Handle 'i' option to clear idn_flags.
23422 * malloc/malloc.c (_int_free): Possible race in the most recently
23423 added check. Only act on the data if no current modification
23426 See ChangeLog.17 for earlier changes.