1 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4 * menual/message.texi (Message Translation): Fix typos.
5 (Helper programs for gettext): Likewise.
7 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13 2012-12-07 David S. Miller <davem@davemloft.net>
15 * po/libc.pot: Update.
17 2012-12-07 Richard Henderson <rth@redhat.com>
19 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20 normal/normal case to before the switch.
23 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24 Mike Frysinger <vapier@gentoo.org>
26 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27 check for __NR_fadvise64_64.
29 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32 0, not just to plain "0" as a statement.
33 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38 * NEWS: Use sourceware.org in Bugzilla URL.
40 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45 * stdio-common/tst-put-error.c (do_test): Add newline to the
46 padded test to ensure flush.
48 2012-12-05 Jeff Law <law@redhat.com>
50 * sunrpc/etc.rpc (fedfs_admin): Add entry.
52 2012-12-05 Joseph Myers <joseph@codesourcery.com>
54 * README: Don't refer to ports add-on as distributed separately.
55 Mention AArch64 in list of systems supported in the ports add-on.
57 * LICENSES: Add more non-FSF copyright and license notices.
59 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65 10000 as width of padded output.
67 2012-12-04 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72 variable LX with __attribute__ ((unused)).
73 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
75 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
76 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
78 with __attribute__ ((unused)).
80 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
82 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
84 2012-12-04 Joseph Myers <joseph@codesourcery.com>
86 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
87 (CFLAGS-nldbl-acos.c): New variable.
88 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
117 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
118 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
146 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
147 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
148 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
149 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
150 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
187 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
191 whole low double instead of just low 47 bits when splitting values
194 2012-12-03 Allan McRae <allan@archlinux.org>
196 * manual/stdio.texi (Predefined Printf Handlers): Remove
197 @hsep and @vsep usage.
199 2012-12-03 Mike Frysinger <vapier@gentoo.org>
201 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
202 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
204 2012-12-03 Jeff Law <law@redhat.com>
206 * time/sys/time.h (settimeofday): Do not mark TV argument
209 2012-12-01 Mike Frysinger <vapier@gentoo.org>
211 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
212 when currently writing and seek to current position when not.
213 * libio/Makefile (tests): Remove bug-fclose1.
214 * libio/bug-fclose1.c: Delete.
216 2012-12-01 Joseph Myers <joseph@codesourcery.com>
218 * manual/arith.texi (feenableexcept): Fix typo.
219 (fedisableexcept): Likewise.
221 2012-11-30 Roland McGrath <roland@hack.frob.com>
223 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
224 second, differently-typed declaration, rather than a cast.
226 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
228 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
229 * include/rpc/svc.h: ... here.
231 2012-11-30 Aurelien Jarno <aurel32@debian.org>
234 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
235 depending n and resplen2 to catch cases where answer
238 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
240 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
241 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
243 2012-11-29 Mike Frysinger <vapier@gentoo.org>
245 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
247 2012-11-29 Roland McGrath <roland@hack.frob.com>
249 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
251 2012-11-28 Jeff Law <law@redhat.com>
254 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
255 dataset_temporary. Track alloca usage into alloca_used.
256 If dataset is large allocate and release it via malloc/free.
258 2012-06-04 Florian Weimer <fweimer@redhat.com>
261 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
263 2012-11-28 David S. Miller <davem@davemloft.net>
265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
267 2012-11-28 Joseph Myers <joseph@codesourcery.com>
270 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
271 of pi/2 rounded to nearest to 64 bits.
272 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
274 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
277 2012-11-28 Jeff Law <law@redhat.com>
278 Martin Osvald <mosvald@redhat.com>
281 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
282 * sunrpc/svc.c: Include time.h.
283 (__svc_accept_failed): New function.
284 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
285 any reason other than EINTR, call __svc_accept_failed.
286 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
287 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
289 2012-11-28 Andreas Schwab <schwab@suse.de>
291 * scripts/abilist.awk: Also handle indirect functions in .opd
294 2012-11-28 Joseph Myers <joseph@codesourcery.com>
297 * sysdeps/x86/fpu/powl_helper.c: New file.
298 * sysdeps/x86/fpu/Makefile: Likewise.
299 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
301 (__ieee754_powl): Use __powl_helper for finite arguments except
302 integer exponents below 8.
303 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
305 (__ieee754_powl): Use __powl_helper for finite arguments except
306 integer exponents below 8.
307 * math/libm-test.inc (pow_test): Add more tests and enable some
308 previously disabled tests.
309 * sysdeps/i386/fpu/libm-test-ulps: Update.
310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
312 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
313 Carlos O'Donell <carlos_odonell@mentor.com>
315 * nss/makedb.c (is_prime): Assert that input is odd and greater
316 than 4. Note that fact in a comment too.
317 (next_prime): Add 4 to input.
319 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
322 * libio/Makefile (tests): Add test case tst-fwrite-error.
323 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
324 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
325 * libio/tst-fwrite-error.c: New test case.
327 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
329 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
330 before casting to void *.
331 * include/libc-internal.h (__pointer_type): New macro.
332 (__integer_if_pointer_type_sub): Likewise.
333 (__integer_if_pointer_type): Likewise.
334 (cast_to_integer): Likewise.
335 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
336 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
337 before casting to atomic64_t.
338 (atomic_exchange_acq): Likewise.
339 (__arch_exchange_and_add_body): Likewise.
340 (__arch_add_body): Likewise.
341 (atomic_add_negative): Likewise.
342 (atomic_add_zero): Likewise.
344 2012-11-26 Joseph Myers <joseph@codesourcery.com>
346 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
347 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
348 (add_fdes): Likewise.
349 (linear_search_fdes): Likewise.
350 (binary_search_unencoded_fdes): Likewise.
352 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
354 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
356 2012-11-24 Adam Conrad <adconrad@0c3.net>
358 * configure.in: Autodetect C++ header directories.
359 * configure: Regenerated.
361 2012-11-23 Mike Frysinger <vapier@gentoo.org>
363 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
365 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
369 2012-11-22 Joseph Myers <joseph@codesourcery.com>
371 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
372 LDBL_MANT_DIG == 106]: Disable some tests.
373 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
375 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
379 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
380 input for small inputs. Return +/- pi/2 for large inputs.
381 * math/libm-test.inc (atan_test): Add more tests.
383 * sysdeps/generic/unwind-dw2-fde-glibc.c
384 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
385 __attribute__ ((unused)).
388 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
389 x * y if x and y are nonzero and z is zero.
392 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
393 nonzero exponents with absolute value below 0x1p-117 to +/-
397 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
398 up arguments below 2**-450, not just those below 2**-500.
399 * math/libm-test.inc (hypot_test): Add another test.
402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
403 Return a+b for ratio over 2**120, not 2**60.
404 * math/libm-test.inc (hypot_test): Add another test.
406 * math/libm-test.inc (clog_test): Use
407 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
408 (clog10_test): Likewise.
411 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
413 2012-11-22 Andreas Schwab <schwab@suse.de>
415 * sysdeps/i386/fpu/libm-test-ulps: Update.
417 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
419 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
420 printf output with newline.
422 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
425 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
426 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
427 -z nodlopen, -z initfirst and -z execstack support.
428 * configure: Regenerated.
430 * elf/elf.h (DF_1_NODIRECT): New macro.
431 (DF_1_IGNMULDEF): Likewise.
432 (DF_1_NOKSYMS): Likewise.
433 (DF_1_NOHDR): Likewise.
434 (DF_1_EDITED): Likewise.
435 (DF_1_NORELOC): Likewise.
436 (DF_1_SYMINTPOSE): Likewise.
437 (DF_1_GLOBAUDIT): Likewise.
438 (DF_1_SINGLETON): Likewise.
439 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
440 DT_1_SUPPORTED_MASK bits.
441 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
443 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
445 * sysdeps/unix/make-syscalls.sh: Document prefixes.
447 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
449 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
452 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
453 (sendmmsg): Move declarations...
454 * socket/sys/socket.h: ... here.
455 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
456 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
458 * socket/recvmmsg.c: ... this new file.
459 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
460 (sendmmsg): Rename to __sendmmsg, create weak alias and make
461 definition of __sendmmsg hidden.
462 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
463 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
464 Move ENOSYS stub into and include it from...
465 * socket/sendmmsg.c: ... this new file.
466 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
467 (sysdep_routines): Move recvmmsg and sendmmsg...
468 * socket/Makefile (routines): ... here.
469 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
470 (GLIBC_PRIVATE): Add __sendmmsg.
471 * include/sys/socket.h (__sendmmsg): Add declarations.
472 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
475 2012-11-20 Joseph Myers <joseph@codesourcery.com>
477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
478 variable I1 with __attribute__ ((unused)).
479 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
481 2012-11-19 Joseph Myers <joseph@codesourcery.com>
483 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
484 DUMMY variables with __attribute__ ((unused)).
486 * bits/byteswap.h: Include <bits/types.h>.
487 (__bswap_64): Use __uint64_t instead of unsigned long long int.
489 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
491 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
492 string_t. Do not manually set errno.
493 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
494 length with __strnlen. Make sure to both set errno and return it on
497 2012-11-19 David S. Miller <davem@davemloft.net>
499 With help from Joseph Myers.
500 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
501 very large arguments properly.
502 * math/libm-test.inc (atan_test): New tests.
503 (atan2_test): New tests.
504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
507 2012-11-19 Joseph Myers <joseph@codesourcery.com>
510 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
513 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
514 [POSIX] (EADDRNOTAVAIL): Likewise.
515 [POSIX] (EAFNOSUPPORT): Likewise.
516 [POSIX] (EALREADY): Likewise.
517 [POSIX] (ECONNABORTED): Likewise.
518 [POSIX] (ECONNREFUSED): Likewise.
519 [POSIX] (ECONNRESET): Likewise.
520 [POSIX] (EDESTADDRREQ): Likewise.
521 [POSIX] (EDQUOT): Likewise.
522 [POSIX] (EHOSTUNREACH): Likewise.
523 [POSIX] (EIDRM): Likewise.
524 [POSIX] (EISCONN): Likewise.
525 [POSIX] (ELOOP): Likewise.
526 [POSIX] (EMULTIHOP): Likewise.
527 [POSIX] (ENETDOWN): Likewise.
528 [POSIX] (ENETUNREACH): Likewise.
529 [POSIX] (ENOBUFS): Likewise.
530 [POSIX] (ENODATA): Likewise.
531 [POSIX] (ENOLINK): Likewise.
532 [POSIX] (ENOMSG): Likewise.
533 [POSIX] (ENOPROTOOPT): Likewise.
534 [POSIX] (ENOSR): Likewise.
535 [POSIX] (ENOSTR): Likewise.
536 [POSIX] (ENOTCONN): Likewise.
537 [POSIX] (ENOTSOCK): Likewise.
538 [POSIX] (EOPNOTSUPP): Likewise.
539 [POSIX] (EOVERFLOW): Likewise.
540 [POSIX] (EPROTO): Likewise.
541 [POSIX] (EPROTONOSUPPORT): Likewise.
542 [POSIX] (EPROTOTYPE): Likewise.
543 [POSIX] (ESTALE): Likewise.
544 [POSIX] (ETIME): Likewise.
545 [POSIX] (ETXTBSY): Likewise.
546 [POSIX] (EWOULDBLOCK): Likewise.
547 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
548 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
549 [POSIX] (SEEK_CUR): Likewise.
550 [POSIX] (SEEK_END): Likewise.
551 [POSIX || UNIX98] (mode_t): Do not require.
552 [POSIX] (off_t): Likewise.
553 [POSIX] (pid_t): Likewise.
554 [POSIX] (sys/stat.h): Do not allow header.
555 [POSIX] (unistd.h): Likewise.
556 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
557 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
558 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
559 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
561 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
562 sigevent): Specify elements.
563 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
565 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
566 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
568 * conform/data/cpio.h-data [POSIX]: Disable whole file.
569 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
570 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
571 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
572 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
573 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
574 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
575 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
576 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
577 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
578 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
579 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
580 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
581 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
583 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
587 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
589 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
593 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
594 Specify lower bound on value.
595 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
596 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
597 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
598 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
599 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
600 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
601 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
602 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
604 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
606 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
607 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
608 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
609 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
610 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
611 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
612 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
613 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
614 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
615 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
616 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
617 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
618 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
619 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
620 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
621 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
623 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
625 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
626 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
627 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
628 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
629 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
630 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
634 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
635 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
636 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
637 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
638 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
643 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
644 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
645 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
647 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
648 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
649 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
650 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
651 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
652 [XPG3] (NL_LANGMAX): Likewise.
653 [POSIX || XPG3] (NL_MSGMAX): Likewise.
654 [POSIX || XPG3] (NL_NMAX): Likewise.
655 [POSIX || XPG3] (NL_SETMAX): Likewise.
656 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
657 [XPG3] (NZERO): Likewise.
658 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
659 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
660 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
661 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
662 (REG_ERANGE): Expect.
663 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
665 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
666 Use (void) in prototype.
667 [POSIX] (*_t): Allow.
668 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
669 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
670 (WRDE_BADVAL): Expect.
672 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
674 [XPG3 || XPG4] (O_RSYNC): Likewise.
675 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
677 [XPG3 || XPG4] (pthread_sigmask): Likewise.
678 [XPG3 || XPG4] (sigqueue): Likewise.
679 [XPG3 || XPG4] (sigtimedwait): Likewise.
680 [XPG3 || XPG4] (sigwaitinfo): Likewise.
681 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
682 [XPG3 || XPG4] (vsnprintf): Likewise.
683 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
685 [XPG3 || XPG4] (blksize_t): Likewise.
686 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
688 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
689 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
690 [XPG3 || XPG4] (struct itimerspec): Likewise.
691 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
692 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
693 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
694 [XPG3 || XPG4] (clockid_t): Likewise.
695 [XPG3 || XPG4] (timer_t): Likewise.
696 [XPG3 || XPG4] (clock_getres): Likewise.
697 [XPG3 || XPG4] (clock_gettime): Likewise.
698 [XPG3 || XPG4] (clock_settime): Likewise.
699 [XPG3 || XPG4] (nanosleep): Likewise.
700 [XPG3 || XPG4] (timer_create): Likewise.
701 [XPG3 || XPG4] (timer_delete): Likewise.
702 [XPG3 || XPG4] (timer_gettime): Likewise.
703 [XPG3 || XPG4] (timer_getoverrun): Likewise.
704 [XPG3 || XPG4] (timer_settime): Likewise.
705 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
706 [XPG3 || XPG4] (getlogin_r): Likewise.
707 [XPG3 || XPG4] (pread): Likewise.
708 [XPG3 || XPG4] (pthread_atfork): Likewise.
709 [XPG3 || XPG4] (pwrite): Likewise.
712 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
715 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
717 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
718 finalizing MALLSTREAM.
720 * sysdeps/mach/hurd/syncfs.c: New file.
722 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
725 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
726 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
727 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
728 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
729 (_nss_dns_gethostbyname4_r): Likewise.
730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
731 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
733 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
736 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
738 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
740 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
741 * elf/cache.c (print_entry): Print ",AArch64" for
744 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
745 * elf/cache.c (print_entry): Print ",hard-float" for
748 2012-11-18 David S. Miller <davem@davemloft.net>
750 With help from Joseph Myers.
751 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
753 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
755 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
756 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
758 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
759 * math/libm-test.inc (y0_test): New tests.
760 (y1_test): New tests.
761 * sysdeps/i386/fpu/libm-test-ulps: Update.
762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
765 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
767 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
769 * configure: Regenerated.
771 2012-11-17 David S. Miller <davem@davemloft.net>
774 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
775 nonzero exponents with absolute value below 0x1p-128 to +/-
778 2012-11-17 Joseph Myers <joseph@codesourcery.com>
780 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
782 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
784 * posix/getconf-speclist.c: New file.
785 * posix/posix-envs.def: Likewise.
786 * posix/confstr.c (START_ENV_GROUP): New macro.
787 (END_ENV_GROUP): Likewise.
788 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
789 (KNOWN_PRESENT_ENV_STRING): Likewise.
790 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
791 (UNKNOWN_ENVIRONMENT): Likewise.
792 (confstr): Include posix-envs.def instead of handling
793 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
794 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
795 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
796 (END_ENV_GROUP): Likewise.
797 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
798 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
799 (UNKNOWN_ENVIRONMENT): Likewise.
800 (__sysconf): Include posix-envs.def instead of handling associated
802 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
803 preprocessing getconf-speclist.c rather than running getconf or
804 generating empty file.
806 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
808 * scripts/check-local-headers.sh: Ignore 'mach' headers.
810 2012-11-16 Andrej Lajovic <natrij@gmail.com>
813 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
815 2012-11-16 David S. Miller <davem@davemloft.net>
817 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
818 smaller than LDBL_EPSILON/2.0L, just return xm1.
820 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
822 * elf/tst-array1.c (init): Set constructor priority to 1000.
823 (fini): Set destructor priority to 1000.
824 * elf/tst-array2dep.c: Likewise.
826 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
829 * libio/fileops.c (_IO_new_file_write): Correctly return error.
830 (_IO_new_file_xsputn): Also return EOF if none of the input
831 data was written when overflow failed.
832 * libio/iopadn.c (_IO_padn): Likewise.
833 * libio/iowpadn.c (_IO_wpadn): Likewise.
834 * stdio-common/tst-put-error.c: Add copyright notice.
835 (do_test): Add case for printing padded string.
836 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
837 _IO_padn returned error.
838 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
839 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
842 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
844 * libio/libioP.h: Add comment note that the references to C++
845 bits are now obsolete.
847 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
849 * math/libm-test.inc (check_complex): Use asprintf.
851 2012-11-14 Joseph Myers <joseph@codesourcery.com>
853 * debug/pcprofiledump.c (print_version): Update copyright year.
854 * malloc/memusagestat.c (print_version): Likewise.
856 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
859 * elf/Makefile (tests): Add tst-audit8.
860 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
861 ($(objpfx)tst-audit8.out): New target.
862 (tst-audit8-ENV): New variable.
863 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
864 audit if l_reloc_result is NULL.
865 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
866 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
867 * elf/tst-audit8.c: New file.
869 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
871 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
872 * misc/Makefile (CFLAGS-select.c): Define.
873 * posix/Makefile (CFLAGS-pause.c): Define.
875 2012-11-13 David S. Miller <davem@davemloft.net>
877 * crypt/Makefile: Move test targets after toplevel Rules
878 inclusion. Grab any necessary sysdep routines when linking.
879 * crypt/md5.c (md5_process_block): Remove define, we will always
880 name it __md5_process_block.
881 (md5_finish_ctx): Update md5_process_block call.
882 (md5_stream): Likewise.
883 (md5_process_bytes): Likewise.
884 (md5_process_block): Rename to __md5_process_block and move to ...
885 * crypt/md5-block.c: ... here.
886 * crypt/sha256.c (sha256_process_block): Move to ...
887 * crypt/sha256-block.c: ... here.
888 * crypt/sha512.c (sha512_process_block): Move to ...
889 * crypt/sha512-block.c: ... here.
890 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
892 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
893 * sysdeps/sparc/sparc64/multiarch/Makefile
894 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
896 (localedef-aux): Add md5 crypto assembler when in locale subdir.
897 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
899 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
900 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
901 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
902 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
903 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
904 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
905 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
906 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
907 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
914 2012-11-13 Joseph Myers <joseph@codesourcery.com>
916 * timezone/tzselect.ksh: Update from tzcode git revision
917 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
918 * timezone/zdump.c: Likewise.
919 * timezone/zic.c: Likewise.
920 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
921 in TZVERSION setting, not $(PKGVERSION).
922 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
923 REPORT_BUGS_TO settings.
926 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
929 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
931 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
932 detection to immediately after _FP_ROUND().
933 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
936 2012-11-11 David S. Miller <davem@davemloft.net>
938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
940 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
941 __close rather than their public counterparts.
943 2012-11-10 Joseph Myers <joseph@codesourcery.com>
945 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
947 [UNIX98] (sem_timedwait): Do not expect.
948 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
949 [XPG4 || UNIX98] (sockatmark): Do not expect.
950 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
951 (clock_getcpuclockid): Do not expect.
952 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
953 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
955 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
956 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
957 [UNIX98] (vwscanf): Likewise.
958 [UNIX98] (vswscanf): Likewise.
960 2012-11-09 Joseph Myers <joseph@codesourcery.com>
962 * timezone/version.h: Remove file.
963 * timezone/README: Do not refer to version.h.
964 * timezone/Makefile ($(objpfx)zic.o): New dependency on
966 ($(objpfx)zdump.o): Likewise.
967 ($(objpfx)version.h): New target.
969 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
971 * timezone/README: Don't mention modification to tzselect.ksh.
972 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
973 work on unmodified tzselect.ksh. Substitute version numbers in
976 * Makefile (format-me): Remove.
977 (INSTALL): Adjust indentation. Use commands directly instead of
980 * aclocal.m4 (ACX_PKGVERSION): New macro.
981 (ACX_BUGURL): Likewise.
982 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
983 (PKGVERSION): New AC_DEFINE_UNQUOTED.
984 (REPORT_BUGS_TO): Likewise.
985 * configure: Regenerated.
986 * config.h.in (PKGVERSION): New macro.
987 (REPORT_BUGS_TO): Likewise.
988 * config.make.in (PKGVERSION): New variable.
989 (PKGVERSION_TEXI): Likewise.
990 (REPORT_BUGS_TO): Likewise.
991 (REPORT_BUGS_TEXI): Likewise.
992 * Makefile (format-me): Use -I$(common-objpfx)manual.
993 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
994 ($(common-objpfx)manual/%): New target.
995 (manual/%): Remove target.
996 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
997 (print_version): Use PKGVERSION.
998 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
999 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1001 ($(objpfx)xtrace): Likewise.
1002 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1003 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1004 (print_version): Use PKGVERSION.
1005 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1006 (do_version): Use PKGVERSION.
1007 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1009 (common-ldd-rewrite): Likewise.
1010 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1011 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1012 (print_version): Use PKGVERSION.
1013 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1014 * elf/pldd.c (argp_program_bug_address): Remove variable.
1015 (more_help): New function.
1016 (argp): Use more_help.
1017 (print_version): Use PKGVERSION.
1018 * elf/sln.c (main): Use PKGVERSION.
1019 (usage): Use REPORT_BUGS_TO.
1020 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1021 (top level): Use PKGVERSION.
1022 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1023 (print_version): Use PKGVERSION.
1024 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1025 (print_version): Use PKGVERSION.
1026 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1027 (print_version): Use PKGVERSION.
1028 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1029 (print_version): Use PKGVERSION.
1030 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1031 (print_version): Use PKGVERSION.
1032 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1033 (print_version): Use PKGVERSION.
1034 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1036 ($(objpfx)memusage): Likewise.
1037 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1038 (do_version): Use PKGVERSION.
1039 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1040 (print_version): Use PKGVERSION.
1041 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1042 ($PKGVERSION): New variable.
1043 ($REPORT_BUGS_TO): Likewise.
1044 (usage): Use $REPORT_BUGS_TO.
1045 (top level): Use $PKGVERSION.
1046 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1047 ($(objpfx)pkgvers.texi): New rule.
1048 ($(objpfx)stamp-pkgvers): Likewise.
1049 * manual/install.texi: Include pkgvers.texi.
1050 (--with-pkgversion): Document new configure option.
1051 (--with-bugurl): Likewise.
1052 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1053 than necessarily for this particular distribution. Use
1054 REPORT_BUGS_TO for where to report bugs.
1055 * INSTALL: Regenerated.
1056 * manual/libc.texinfo: Include pkgvers.texi.
1057 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1058 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1059 (print_version): Use PKGVERSION.
1060 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1061 (print_version): Use PKGVERSION.
1062 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1063 (print_version): Use PKGVERSION.
1064 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1065 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1067 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1068 (print_version): Use PKGVERSION.
1069 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1070 (print_version): Use PKGVERSION.
1071 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1074 * timezone/checktab.awk: Update from tzcode 2012i.
1075 * timezone/ialloc.c: Likewise.
1076 * timezone/private.h: Likewise.
1077 * timezone/scheck.c: Likewise.
1078 * timezone/tzfile.h: Likewise.
1079 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1080 (TZVERSION): Hardcode tzcode version number.
1081 * timezone/zdump.c: Update from tzcode 2012i.
1082 * timezone/zic.c: Likewise.
1083 * timezone/version.h: New file.
1084 * timezone/README: Describe version.h. Update upstream location.
1087 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1088 (mktemp): Enable declaration.
1089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1106 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1107 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1108 for copies of such integer values.
1109 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1110 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1112 2012-11-09 Andreas Jaeger <aj@suse.de>
1114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1115 definitions and declarations that are provided by
1116 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1118 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1120 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1121 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1122 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1125 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1127 * elf/elf.h: Update comment before AArch64 relocations.
1129 2012-11-07 David S. Miller <davem@davemloft.net>
1131 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1132 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1133 (__start_context): Declare.
1134 (__makecontext_ret): Delete.
1135 (__makecontext): Hook up __start_context instead of
1137 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1138 (sysdep_routines): Add __start_context when in stdlib.
1140 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1142 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1143 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1144 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1146 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1147 (READELF): New variable. Use it instead of hardcoded "readelf".
1149 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1151 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1152 * sysdeps/x86/Makefile: Here.
1153 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1154 * sysdeps/x86/tst-xmmymm.sh: This.
1156 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1158 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1160 [UNIX98] (pthread_barrier_t): Do not expect.
1161 [UNIX98] (pthread_barrierattr_t): Likewise.
1162 [UNIX98] (pthread_spinlock_t): Likewise.
1163 [UNIX98] (pthread_barrier_destroy): Likewise.
1164 [UNIX98] (pthread_barrier_init): Likewise.
1165 [UNIX98] (pthread_barrier_wait): Likewise.
1166 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1167 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1168 [UNIX98] (pthread_barrierattr_init): Likewise.
1169 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1170 [UNIX98] (pthread_getcpuclockid): Likewise.
1171 [UNIX98] (pthread_mutex_timedlock): Likewise.
1172 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1173 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1174 [UNIX98] (pthread_sigmask): Likewise.
1175 [UNIX98] (pthread_spin_destroy): Likewise.
1176 [UNIX98] (pthread_spin_init): Likewise.
1177 [UNIX98] (pthread_spin_lock): Likewise.
1178 [UNIX98] (pthread_spin_trylock): Likewise.
1179 [UNIX98] (pthread_spin_unlock): Likewise.
1180 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1182 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1184 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1185 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1186 [XPG3 || XPG4] (pthread_key_t): Likewise.
1187 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1188 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1189 [XPG3 || XPG4] (pthread_once_t): Likewise.
1190 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1191 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1193 [XPG3 || XPG4] (pthread_t): Likewise.
1195 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1197 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1199 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1200 Change function return type to int.
1202 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1203 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1204 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1205 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1206 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1207 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1208 [!POSIX] (posix_madvise): Likewise.
1209 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1211 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1212 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1214 (posix_mem_offset): Likewise.
1215 (posix_typed_mem_get_info): Likewise.
1216 (posix_typed_mem_open): Likewise.
1218 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1219 Change condition to [XOPEN2K8].
1221 * conform/conformtest.pl: Preprocess allow-header data with -x c
1222 instead of from stdin.
1223 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1224 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1225 [C99-based standards] (cerfc): Likewise.
1226 [C99-based standards] (cexp2): Likewise.
1227 [C99-based standards] (cexpm1): Likewise.
1228 [C99-based standards] (clog10): Likewise.
1229 [C99-based standards] (clog1p): Likewise.
1230 [C99-based standards] (clog2): Likewise.
1231 [C99-based standards] (clgamma): Likewise.
1232 [C99-based standards] (ctgamma): Likewise.
1233 [C99-based standards] (cerff): Likewise.
1234 [C99-based standards] (cerfcf): Likewise.
1235 [C99-based standards] (cexp2f): Likewise.
1236 [C99-based standards] (cexpm1f): Likewise.
1237 [C99-based standards] (clog10f): Likewise.
1238 [C99-based standards] (clog1pf): Likewise.
1239 [C99-based standards] (clog2f): Likewise.
1240 [C99-based standards] (clgammaf): Likewise.
1241 [C99-based standards] (ctgammaf): Likewise.
1242 [C99-based standards] (cerfl): Likewise.
1243 [C99-based standards] (cerfcl): Likewise.
1244 [C99-based standards] (cexp2l): Likewise.
1245 [C99-based standards] (cexpm1l): Likewise.
1246 [C99-based standards] (clog10l): Likewise.
1247 [C99-based standards] (clog1pl): Likewise.
1248 [C99-based standards] (clog2l): Likewise.
1249 [C99-based standards] (clgammal): Likewise.
1250 [C99-based standards] (ctgammal): Likewise.
1251 * conform/data/inttypes.h-data [C99-based standards]: Include
1252 stdint.h-data. Remove all expectations for stdint.h contents.
1253 [C99-based standards] (PRI*): Do not allow.
1254 [C99-based standards] (SCN*): Likewise.
1255 [C99-based standards] (*_t): Likewise.
1256 [C99-based-standards] (PRId8): Expect macro.
1257 [C99-based-standards] (PRIi8): Likewise.
1258 [C99-based-standards] (PRIo8): Likewise.
1259 [C99-based-standards] (PRIu8): Likewise.
1260 [C99-based-standards] (PRIx8): Likewise.
1261 [C99-based-standards] (PRIX8): Likewise.
1262 [C99-based-standards] (SCNd8): Likewise.
1263 [C99-based-standards] (SCNi8): Likewise.
1264 [C99-based-standards] (SCNo8): Likewise.
1265 [C99-based-standards] (SCNu8): Likewise.
1266 [C99-based-standards] (SCNx8): Likewise.
1267 [C99-based-standards] (PRIdLEAST8): Likewise.
1268 [C99-based-standards] (PRIiLEAST8): Likewise.
1269 [C99-based-standards] (PRIoLEAST8): Likewise.
1270 [C99-based-standards] (PRIuLEAST8): Likewise.
1271 [C99-based-standards] (PRIxLEAST8): Likewise.
1272 [C99-based-standards] (PRIXLEAST8): Likewise.
1273 [C99-based-standards] (SCNdLEAST8): Likewise.
1274 [C99-based-standards] (SCNiLEAST8): Likewise.
1275 [C99-based-standards] (SCNoLEAST8): Likewise.
1276 [C99-based-standards] (SCNuLEAST8): Likewise.
1277 [C99-based-standards] (SCNxLEAST8): Likewise.
1278 [C99-based-standards] (PRIdFAST8): Likewise.
1279 [C99-based-standards] (PRIiFAST8): Likewise.
1280 [C99-based-standards] (PRIoFAST8): Likewise.
1281 [C99-based-standards] (PRIuFAST8): Likewise.
1282 [C99-based-standards] (PRIxFAST8): Likewise.
1283 [C99-based-standards] (PRIXFAST8): Likewise.
1284 [C99-based-standards] (SCNdFAST8): Likewise.
1285 [C99-based-standards] (SCNiFAST8): Likewise.
1286 [C99-based-standards] (SCNoFAST8): Likewise.
1287 [C99-based-standards] (SCNuFAST8): Likewise.
1288 [C99-based-standards] (SCNxFAST8): Likewise.
1289 [C99-based-standards] (PRId16): Likewise.
1290 [C99-based-standards] (PRIi16): Likewise.
1291 [C99-based-standards] (PRIo16): Likewise.
1292 [C99-based-standards] (PRIu16): Likewise.
1293 [C99-based-standards] (PRIx16): Likewise.
1294 [C99-based-standards] (PRIX16): Likewise.
1295 [C99-based-standards] (SCNd16): Likewise.
1296 [C99-based-standards] (SCNi16): Likewise.
1297 [C99-based-standards] (SCNo16): Likewise.
1298 [C99-based-standards] (SCNu16): Likewise.
1299 [C99-based-standards] (SCNx16): Likewise.
1300 [C99-based-standards] (PRIdLEAST16): Likewise.
1301 [C99-based-standards] (PRIiLEAST16): Likewise.
1302 [C99-based-standards] (PRIoLEAST16): Likewise.
1303 [C99-based-standards] (PRIuLEAST16): Likewise.
1304 [C99-based-standards] (PRIxLEAST16): Likewise.
1305 [C99-based-standards] (PRIXLEAST16): Likewise.
1306 [C99-based-standards] (SCNdLEAST16): Likewise.
1307 [C99-based-standards] (SCNiLEAST16): Likewise.
1308 [C99-based-standards] (SCNoLEAST16): Likewise.
1309 [C99-based-standards] (SCNuLEAST16): Likewise.
1310 [C99-based-standards] (SCNxLEAST16): Likewise.
1311 [C99-based-standards] (PRIdFAST16): Likewise.
1312 [C99-based-standards] (PRIiFAST16): Likewise.
1313 [C99-based-standards] (PRIoFAST16): Likewise.
1314 [C99-based-standards] (PRIuFAST16): Likewise.
1315 [C99-based-standards] (PRIxFAST16): Likewise.
1316 [C99-based-standards] (PRIXFAST16): Likewise.
1317 [C99-based-standards] (SCNdFAST16): Likewise.
1318 [C99-based-standards] (SCNiFAST16): Likewise.
1319 [C99-based-standards] (SCNoFAST16): Likewise.
1320 [C99-based-standards] (SCNuFAST16): Likewise.
1321 [C99-based-standards] (SCNxFAST16): Likewise.
1322 [C99-based-standards] (PRId32): Likewise.
1323 [C99-based-standards] (PRIi32): Likewise.
1324 [C99-based-standards] (PRIo32): Likewise.
1325 [C99-based-standards] (PRIu32): Likewise.
1326 [C99-based-standards] (PRIx32): Likewise.
1327 [C99-based-standards] (PRIX32): Likewise.
1328 [C99-based-standards] (SCNd32): Likewise.
1329 [C99-based-standards] (SCNi32): Likewise.
1330 [C99-based-standards] (SCNo32): Likewise.
1331 [C99-based-standards] (SCNu32): Likewise.
1332 [C99-based-standards] (SCNx32): Likewise.
1333 [C99-based-standards] (PRIdLEAST32): Likewise.
1334 [C99-based-standards] (PRIiLEAST32): Likewise.
1335 [C99-based-standards] (PRIoLEAST32): Likewise.
1336 [C99-based-standards] (PRIuLEAST32): Likewise.
1337 [C99-based-standards] (PRIxLEAST32): Likewise.
1338 [C99-based-standards] (PRIXLEAST32): Likewise.
1339 [C99-based-standards] (SCNdLEAST32): Likewise.
1340 [C99-based-standards] (SCNiLEAST32): Likewise.
1341 [C99-based-standards] (SCNoLEAST32): Likewise.
1342 [C99-based-standards] (SCNuLEAST32): Likewise.
1343 [C99-based-standards] (SCNxLEAST32): Likewise.
1344 [C99-based-standards] (PRIdFAST32): Likewise.
1345 [C99-based-standards] (PRIiFAST32): Likewise.
1346 [C99-based-standards] (PRIoFAST32): Likewise.
1347 [C99-based-standards] (PRIuFAST32): Likewise.
1348 [C99-based-standards] (PRIxFAST32): Likewise.
1349 [C99-based-standards] (PRIXFAST32): Likewise.
1350 [C99-based-standards] (SCNdFAST32): Likewise.
1351 [C99-based-standards] (SCNiFAST32): Likewise.
1352 [C99-based-standards] (SCNoFAST32): Likewise.
1353 [C99-based-standards] (SCNuFAST32): Likewise.
1354 [C99-based-standards] (SCNxFAST32): Likewise.
1355 [C99-based-standards] (PRId64): Likewise.
1356 [C99-based-standards] (PRIi64): Likewise.
1357 [C99-based-standards] (PRIo64): Likewise.
1358 [C99-based-standards] (PRIu64): Likewise.
1359 [C99-based-standards] (PRIx64): Likewise.
1360 [C99-based-standards] (PRIX64): Likewise.
1361 [C99-based-standards] (SCNd64): Likewise.
1362 [C99-based-standards] (SCNi64): Likewise.
1363 [C99-based-standards] (SCNo64): Likewise.
1364 [C99-based-standards] (SCNu64): Likewise.
1365 [C99-based-standards] (SCNx64): Likewise.
1366 [C99-based-standards] (PRIdLEAST64): Likewise.
1367 [C99-based-standards] (PRIiLEAST64): Likewise.
1368 [C99-based-standards] (PRIoLEAST64): Likewise.
1369 [C99-based-standards] (PRIuLEAST64): Likewise.
1370 [C99-based-standards] (PRIxLEAST64): Likewise.
1371 [C99-based-standards] (PRIXLEAST64): Likewise.
1372 [C99-based-standards] (SCNdLEAST64): Likewise.
1373 [C99-based-standards] (SCNiLEAST64): Likewise.
1374 [C99-based-standards] (SCNoLEAST64): Likewise.
1375 [C99-based-standards] (SCNuLEAST64): Likewise.
1376 [C99-based-standards] (SCNxLEAST64): Likewise.
1377 [C99-based-standards] (PRIdFAST64): Likewise.
1378 [C99-based-standards] (PRIiFAST64): Likewise.
1379 [C99-based-standards] (PRIoFAST64): Likewise.
1380 [C99-based-standards] (PRIuFAST64): Likewise.
1381 [C99-based-standards] (PRIxFAST64): Likewise.
1382 [C99-based-standards] (PRIXFAST64): Likewise.
1383 [C99-based-standards] (SCNdFAST64): Likewise.
1384 [C99-based-standards] (SCNiFAST64): Likewise.
1385 [C99-based-standards] (SCNoFAST64): Likewise.
1386 [C99-based-standards] (SCNuFAST64): Likewise.
1387 [C99-based-standards] (SCNxFAST64): Likewise.
1388 [C99-based-standards] (PRIdMAX): Likewise.
1389 [C99-based-standards] (PRIiMAX): Likewise.
1390 [C99-based-standards] (PRIoMAX): Likewise.
1391 [C99-based-standards] (PRIuMAX): Likewise.
1392 [C99-based-standards] (PRIxMAX): Likewise.
1393 [C99-based-standards] (PRIXMAX): Likewise.
1394 [C99-based-standards] (SCNdMAX): Likewise.
1395 [C99-based-standards] (SCNiMAX): Likewise.
1396 [C99-based-standards] (SCNoMAX): Likewise.
1397 [C99-based-standards] (SCNuMAX): Likewise.
1398 [C99-based-standards] (SCNxMAX): Likewise.
1399 [C99-based-standards] (PRIdPTR): Likewise.
1400 [C99-based-standards] (PRIiPTR): Likewise.
1401 [C99-based-standards] (PRIoPTR): Likewise.
1402 [C99-based-standards] (PRIuPTR): Likewise.
1403 [C99-based-standards] (PRIxPTR): Likewise.
1404 [C99-based-standards] (PRIXPTR): Likewise.
1405 [C99-based-standards] (SCNdPTR): Likewise.
1406 [C99-based-standards] (SCNiPTR): Likewise.
1407 [C99-based-standards] (SCNoPTR): Likewise.
1408 [C99-based-standards] (SCNuPTR): Likewise.
1409 [C99-based-standards] (SCNxPTR): Likewise.
1410 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1412 * conform/data/stdint.h-data: Update comments to clarify
1414 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1416 [C99-based standards] (INT8_MAX): Likewise.
1417 [C99-based standards] (INT16_MIN): Likewise.
1418 [C99-based standards] (INT16_MAX): Likewise.
1419 [C99-based standards] (INT32_MIN): Likewise.
1420 [C99-based standards] (INT32_MAX): Likewise.
1421 [C99-based standards] (INT64_MIN): Likewise.
1422 [C99-based standards] (INT64_MAX): Likewise.
1423 [C99-based standards] (UINT8_MAX): Likewise.
1424 [C99-based standards] (UINT16_MAX): Likewise.
1425 [C99-based standards] (UINT32_MAX): Likewise.
1426 [C99-based standards] (UINT64_MAX): Likewise.
1427 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1428 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1429 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1430 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1431 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1432 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1433 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1434 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1435 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1436 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1437 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1438 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1439 [C99-based standards] (INT_FAST8_MIN): Likewise.
1440 [C99-based standards] (INT_FAST8_MAX): Likewise.
1441 [C99-based standards] (INT_FAST16_MIN): Likewise.
1442 [C99-based standards] (INT_FAST16_MAX): Likewise.
1443 [C99-based standards] (INT_FAST32_MIN): Likewise.
1444 [C99-based standards] (INT_FAST32_MAX): Likewise.
1445 [C99-based standards] (INT_FAST64_MIN): Likewise.
1446 [C99-based standards] (INT_FAST64_MAX): Likewise.
1447 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1448 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1449 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1450 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1451 [C99-based standards] (INTPTR_MIN): Likewise.
1452 [C99-based standards] (INTPTR_MAX): Likewise.
1453 [C99-based standards] (UINTPTR_MAX): Likewise.
1454 [C99-based standards] (INTMAX_MIN): Likewise.
1455 [C99-based standards] (INTMAX_MAX): Likewise.
1456 [C99-based standards] (UINTMAX_MAX): Likewise.
1457 [C99-based standards] (PTRDIFF_MIN): Likewise.
1458 [C99-based standards] (PTRDIFF_MAX): Likewise.
1459 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1460 [C99-based standards] (SIZE_MAX): Likewise.
1461 [C99-based standards] (WCHAR_MAX): Likewise.
1462 [C99-based standards] (WINT_MAX): Likewise.
1463 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1464 constraint on value.
1465 [C99-based standards] (WCHAR_MIN): Likewise.
1466 [C99-based standards] (WINT_MIN): Likewise.
1467 [C99-based standards] (*_t): Allow.
1468 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1469 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1470 Include math.h-data and complex.h-data. Remove all expectations
1471 of math.h and complex.h contents.
1472 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1474 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1475 (struct tm): Expect tag.
1476 [C99-based-standards] (wcstof): Expect function.
1477 [C99-based-standards] (wcstold): Likewise.
1478 [C99-based-standards] (wcstoll): Likewise.
1479 [C99-based-standards] (wcstoull): Likewise.
1480 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1481 macro-int-constant. Specify type.
1482 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1483 constraint on value.
1484 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1486 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1488 [ISO C standards]: Do not allow headers.
1489 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1490 wcs[abcdefghijklmnopqrstuvwxyz]*.
1491 [ISO C standards] (*_t): Do not allow.
1492 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1494 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1495 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1497 [ISO C standards]: Do not allow headers.
1498 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1499 is[abcdefghijklmnopqrstuvwxyz]*.
1500 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1501 to[abcdefghijklmnopqrstuvwxyz]*.
1502 [ISO C standards] (*_t): Do not allow.
1503 * conform/data/stdalign.h-data: New file.
1504 * conform/data/stdbool.h-data: Likewise.
1505 * conform/data/stdnoreturn.h-data: Likewise.
1507 2012-11-07 Roland McGrath <roland@hack.frob.com>
1510 * manual/filesys.texi (Directory Entries): Typo fix.
1511 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1513 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1515 * elf/elf.h (EM_AARCH64): New macro.
1516 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1517 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1518 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1519 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1520 (R_AARCH64_TLSDESC): Likewise.
1521 (NT_ARM_TLS): Likewise.
1522 (NT_ARM_HW_BREAK): Likewise.
1523 (NT_ARM_HW_WATCH): Likewise.
1525 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1528 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1529 (__ieee754_powl): Saturate nonzero exponents with absolute value
1530 below 0x1p-79 to +/- 0x1p-79.
1531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1532 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1533 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1534 nonzero exponents with absolute value below 0x1p-32 to +/-
1536 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1537 (__ieee754_powl): Saturate nonzero exponents with absolute value
1538 below 0x1p-79 to +/- 0x1p-79.
1539 * math/libm-test.inc (pow_test): Add more tests.
1541 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1543 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1544 _dl_s390_cap_flags with kernel. Increase string length.
1545 (_dl_s390_platforms): Add z196 and zEC12.
1547 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1549 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1550 Change XOPEN21K to XOPEN2K.
1552 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1554 * string/memmove.c: Use memcpy when possible.
1556 2012-11-06 Andreas Jaeger <aj@suse.de>
1558 * po/eo.po: Update from translation team.
1560 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1564 exponent and small x and y exponents, scale x or y up. Increase
1565 by 2 the exponent used in scaling up.
1566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1568 * math/libm-test.inc (fma_test): Add more tests.
1569 (fma_test_towardzero): Likewise.
1570 (fma_test_downward): Likewise.
1571 (fma_test_upward): Likewise.
1573 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1576 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1580 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1581 namespace for names of struct fields.
1582 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1584 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1585 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1587 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1590 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1592 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1594 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1598 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1601 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1605 definitely overflow as x * y not x * y + z.
1606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1608 * math/libm-test.inc (fma_test): Add more tests.
1609 (fma_test_towardzero): Likewise.
1610 (fma_test_downward): Likewise.
1611 (fma_test_upward): Likewise.
1613 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1617 * include/stub-tag.h: Remove file.
1618 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1620 * manual/maint.texi (Porting): Don't reference it.
1621 * Makerules ($(objpfx)stubs): Likewise.
1622 * dirent/closedir.c: Don't include <stub-tag.h>.
1623 * dirent/dirfd.c: Likewise.
1624 * dirent/fdopendir.c: Likewise.
1625 * dirent/getdents.c: Likewise.
1626 * dirent/getdents64.c: Likewise.
1627 * dirent/opendir.c: Likewise.
1628 * dirent/readdir.c: Likewise.
1629 * dirent/readdir64.c: Likewise.
1630 * dirent/readdir64_r.c: Likewise.
1631 * dirent/readdir_r.c: Likewise.
1632 * dirent/rewinddir.c: Likewise.
1633 * dirent/seekdir.c: Likewise.
1634 * dirent/telldir.c: Likewise.
1635 * gmon/profil.c: Likewise.
1636 * grp/setgroups.c: Likewise.
1637 * inet/if_index.c: Likewise.
1638 * io/access.c: Likewise.
1639 * io/chdir.c: Likewise.
1640 * io/chmod.c: Likewise.
1641 * io/chown.c: Likewise.
1642 * io/close.c: Likewise.
1643 * io/dup.c: Likewise.
1644 * io/dup2.c: Likewise.
1645 * io/dup3.c: Likewise.
1646 * io/euidaccess.c: Likewise.
1647 * io/faccessat.c: Likewise.
1648 * io/fchdir.c: Likewise.
1649 * io/fchmod.c: Likewise.
1650 * io/fchmodat.c: Likewise.
1651 * io/fchown.c: Likewise.
1652 * io/fchownat.c: Likewise.
1653 * io/fcntl.c: Likewise.
1654 * io/flock.c: Likewise.
1655 * io/fstatfs.c: Likewise.
1656 * io/fstatfs64.c: Likewise.
1657 * io/fstatvfs.c: Likewise.
1658 * io/fstatvfs64.c: Likewise.
1659 * io/futimens.c: Likewise.
1660 * io/fxstat.c: Likewise.
1661 * io/fxstat64.c: Likewise.
1662 * io/fxstatat.c: Likewise.
1663 * io/fxstatat64.c: Likewise.
1664 * io/getcwd.c: Likewise.
1665 * io/isatty.c: Likewise.
1666 * io/lchmod.c: Likewise.
1667 * io/lchown.c: Likewise.
1668 * io/link.c: Likewise.
1669 * io/linkat.c: Likewise.
1670 * io/lseek.c: Likewise.
1671 * io/lseek64.c: Likewise.
1672 * io/lxstat64.c: Likewise.
1673 * io/mkdir.c: Likewise.
1674 * io/mkdirat.c: Likewise.
1675 * io/mkfifo.c: Likewise.
1676 * io/mkfifoat.c: Likewise.
1677 * io/open.c: Likewise.
1678 * io/open64.c: Likewise.
1679 * io/openat.c: Likewise.
1680 * io/openat64.c: Likewise.
1681 * io/pipe.c: Likewise.
1682 * io/pipe2.c: Likewise.
1683 * io/poll.c: Likewise.
1684 * io/posix_fadvise.c: Likewise.
1685 * io/posix_fadvise64.c: Likewise.
1686 * io/posix_fallocate.c: Likewise.
1687 * io/posix_fallocate64.c: Likewise.
1688 * io/read.c: Likewise.
1689 * io/readlink.c: Likewise.
1690 * io/readlinkat.c: Likewise.
1691 * io/rmdir.c: Likewise.
1692 * io/sendfile.c: Likewise.
1693 * io/sendfile64.c: Likewise.
1694 * io/statfs.c: Likewise.
1695 * io/statfs64.c: Likewise.
1696 * io/statvfs.c: Likewise.
1697 * io/statvfs64.c: Likewise.
1698 * io/symlink.c: Likewise.
1699 * io/symlinkat.c: Likewise.
1700 * io/ttyname.c: Likewise.
1701 * io/ttyname_r.c: Likewise.
1702 * io/umask.c: Likewise.
1703 * io/unlink.c: Likewise.
1704 * io/unlinkat.c: Likewise.
1705 * io/utime.c: Likewise.
1706 * io/utimensat.c: Likewise.
1707 * io/write.c: Likewise.
1708 * io/xmknod.c: Likewise.
1709 * io/xmknodat.c: Likewise.
1710 * io/xstat.c: Likewise.
1711 * io/xstat64.c: Likewise.
1712 * login/getpt.c: Likewise.
1713 * login/grantpt.c: Likewise.
1714 * login/unlockpt.c: Likewise.
1715 * math/e_acoshl.c: Likewise.
1716 * math/e_acosl.c: Likewise.
1717 * math/e_asinl.c: Likewise.
1718 * math/e_atan2l.c: Likewise.
1719 * math/e_atanhl.c: Likewise.
1720 * math/e_coshl.c: Likewise.
1721 * math/e_expl.c: Likewise.
1722 * math/e_fmodl.c: Likewise.
1723 * math/e_gammal_r.c: Likewise.
1724 * math/e_hypotl.c: Likewise.
1725 * math/e_j0l.c: Likewise.
1726 * math/e_j1l.c: Likewise.
1727 * math/e_jnl.c: Likewise.
1728 * math/e_lgammal_r.c: Likewise.
1729 * math/e_log10l.c: Likewise.
1730 * math/e_log2l.c: Likewise.
1731 * math/e_logl.c: Likewise.
1732 * math/e_powl.c: Likewise.
1733 * math/e_rem_pio2l.c: Likewise.
1734 * math/e_sinhl.c: Likewise.
1735 * math/e_sqrtl.c: Likewise.
1736 * math/fclrexcpt.c: Likewise.
1737 * math/fedisblxcpt.c: Likewise.
1738 * math/feenablxcpt.c: Likewise.
1739 * math/fegetenv.c: Likewise.
1740 * math/fegetexcept.c: Likewise.
1741 * math/fegetround.c: Likewise.
1742 * math/feholdexcpt.c: Likewise.
1743 * math/fesetenv.c: Likewise.
1744 * math/fesetround.c: Likewise.
1745 * math/feupdateenv.c: Likewise.
1746 * math/fgetexcptflg.c: Likewise.
1747 * math/fraiseexcpt.c: Likewise.
1748 * math/fsetexcptflg.c: Likewise.
1749 * math/ftestexcept.c: Likewise.
1750 * math/k_cosl.c: Likewise.
1751 * math/k_rem_pio2l.c: Likewise.
1752 * math/k_sinl.c: Likewise.
1753 * math/k_tanl.c: Likewise.
1754 * math/s_asinhl.c: Likewise.
1755 * math/s_atanl.c: Likewise.
1756 * math/s_cbrtl.c: Likewise.
1757 * math/s_erfl.c: Likewise.
1758 * math/s_expm1l.c: Likewise.
1759 * math/s_log1pl.c: Likewise.
1760 * math/s_tanhl.c: Likewise.
1761 * misc/acct.c: Likewise.
1762 * misc/brk.c: Likewise.
1763 * misc/chflags.c: Likewise.
1764 * misc/chroot.c: Likewise.
1765 * misc/fchflags.c: Likewise.
1766 * misc/fgetxattr.c: Likewise.
1767 * misc/flistxattr.c: Likewise.
1768 * misc/fremovexattr.c: Likewise.
1769 * misc/fsetxattr.c: Likewise.
1770 * misc/fsync.c: Likewise.
1771 * misc/ftruncate.c: Likewise.
1772 * misc/futimes.c: Likewise.
1773 * misc/futimesat.c: Likewise.
1774 * misc/getdomain.c: Likewise.
1775 * misc/getdtsz.c: Likewise.
1776 * misc/gethostid.c: Likewise.
1777 * misc/gethostname.c: Likewise.
1778 * misc/getloadavg.c: Likewise.
1779 * misc/getpagesize.c: Likewise.
1780 * misc/getsysstats.c: Likewise.
1781 * misc/getxattr.c: Likewise.
1782 * misc/gtty.c: Likewise.
1783 * misc/ioctl.c: Likewise.
1784 * misc/lgetxattr.c: Likewise.
1785 * misc/listxattr.c: Likewise.
1786 * misc/llistxattr.c: Likewise.
1787 * misc/lremovexattr.c: Likewise.
1788 * misc/lsetxattr.c: Likewise.
1789 * misc/lutimes.c: Likewise.
1790 * misc/madvise.c: Likewise.
1791 * misc/mincore.c: Likewise.
1792 * misc/mlock.c: Likewise.
1793 * misc/mlockall.c: Likewise.
1794 * misc/mmap.c: Likewise.
1795 * misc/mprotect.c: Likewise.
1796 * misc/msync.c: Likewise.
1797 * misc/munlock.c: Likewise.
1798 * misc/munlockall.c: Likewise.
1799 * misc/munmap.c: Likewise.
1800 * misc/preadv.c: Likewise.
1801 * misc/preadv64.c: Likewise.
1802 * misc/ptrace.c: Likewise.
1803 * misc/pwritev.c: Likewise.
1804 * misc/pwritev64.c: Likewise.
1805 * misc/readv.c: Likewise.
1806 * misc/reboot.c: Likewise.
1807 * misc/remap_file_pages.c: Likewise.
1808 * misc/removexattr.c: Likewise.
1809 * misc/revoke.c: Likewise.
1810 * misc/select.c: Likewise.
1811 * misc/setdomain.c: Likewise.
1812 * misc/setegid.c: Likewise.
1813 * misc/seteuid.c: Likewise.
1814 * misc/sethostid.c: Likewise.
1815 * misc/sethostname.c: Likewise.
1816 * misc/setregid.c: Likewise.
1817 * misc/setreuid.c: Likewise.
1818 * misc/setxattr.c: Likewise.
1819 * misc/sstk.c: Likewise.
1820 * misc/stty.c: Likewise.
1821 * misc/swapoff.c: Likewise.
1822 * misc/swapon.c: Likewise.
1823 * misc/sync.c: Likewise.
1824 * misc/syncfs.c: Likewise.
1825 * misc/syscall.c: Likewise.
1826 * misc/truncate.c: Likewise.
1827 * misc/ualarm.c: Likewise.
1828 * misc/usleep.c: Likewise.
1829 * misc/ustat.c: Likewise.
1830 * misc/utimes.c: Likewise.
1831 * misc/vhangup.c: Likewise.
1832 * misc/writev.c: Likewise.
1833 * posix/_exit.c: Likewise.
1834 * posix/alarm.c: Likewise.
1835 * posix/execve.c: Likewise.
1836 * posix/fexecve.c: Likewise.
1837 * posix/fork.c: Likewise.
1838 * posix/fpathconf.c: Likewise.
1839 * posix/getaddrinfo.c: Likewise.
1840 * posix/getegid.c: Likewise.
1841 * posix/geteuid.c: Likewise.
1842 * posix/getgid.c: Likewise.
1843 * posix/getgroups.c: Likewise.
1844 * posix/getlogin.c: Likewise.
1845 * posix/getlogin_r.c: Likewise.
1846 * posix/getpgid.c: Likewise.
1847 * posix/getpid.c: Likewise.
1848 * posix/getppid.c: Likewise.
1849 * posix/getresgid.c: Likewise.
1850 * posix/getresuid.c: Likewise.
1851 * posix/getsid.c: Likewise.
1852 * posix/getuid.c: Likewise.
1853 * posix/glob64.c: Likewise.
1854 * posix/nanosleep.c: Likewise.
1855 * posix/pathconf.c: Likewise.
1856 * posix/pause.c: Likewise.
1857 * posix/posix_madvise.c: Likewise.
1858 * posix/pread.c: Likewise.
1859 * posix/pread64.c: Likewise.
1860 * posix/pwrite.c: Likewise.
1861 * posix/pwrite64.c: Likewise.
1862 * posix/sched_getaffinity.c: Likewise.
1863 * posix/sched_getp.c: Likewise.
1864 * posix/sched_gets.c: Likewise.
1865 * posix/sched_primax.c: Likewise.
1866 * posix/sched_primin.c: Likewise.
1867 * posix/sched_rr_gi.c: Likewise.
1868 * posix/sched_setaffinity.c: Likewise.
1869 * posix/sched_setp.c: Likewise.
1870 * posix/sched_sets.c: Likewise.
1871 * posix/sched_yield.c: Likewise.
1872 * posix/setgid.c: Likewise.
1873 * posix/setlogin.c: Likewise.
1874 * posix/setpgid.c: Likewise.
1875 * posix/setresgid.c: Likewise.
1876 * posix/setresuid.c: Likewise.
1877 * posix/setsid.c: Likewise.
1878 * posix/setuid.c: Likewise.
1879 * posix/sleep.c: Likewise.
1880 * posix/spawni.c: Likewise.
1881 * posix/sysconf.c: Likewise.
1882 * posix/times.c: Likewise.
1883 * posix/wait.c: Likewise.
1884 * posix/wait3.c: Likewise.
1885 * posix/wait4.c: Likewise.
1886 * posix/waitpid.c: Likewise.
1887 * resolv/gai_sigqueue.c: Likewise.
1888 * resource/getpriority.c: Likewise.
1889 * resource/getrlimit.c: Likewise.
1890 * resource/getrusage.c: Likewise.
1891 * resource/nice.c: Likewise.
1892 * resource/setpriority.c: Likewise.
1893 * resource/setrlimit.c: Likewise.
1894 * resource/ulimit.c: Likewise.
1895 * rt/aio_cancel.c: Likewise.
1896 * rt/aio_fsync.c: Likewise.
1897 * rt/aio_read.c: Likewise.
1898 * rt/aio_sigqueue.c: Likewise.
1899 * rt/aio_suspend.c: Likewise.
1900 * rt/aio_write.c: Likewise.
1901 * rt/clock_getres.c: Likewise.
1902 * rt/clock_gettime.c: Likewise.
1903 * rt/clock_nanosleep.c: Likewise.
1904 * rt/clock_settime.c: Likewise.
1905 * rt/lio_listio.c: Likewise.
1906 * rt/mq_close.c: Likewise.
1907 * rt/mq_getattr.c: Likewise.
1908 * rt/mq_notify.c: Likewise.
1909 * rt/mq_open.c: Likewise.
1910 * rt/mq_receive.c: Likewise.
1911 * rt/mq_send.c: Likewise.
1912 * rt/mq_setattr.c: Likewise.
1913 * rt/mq_timedreceive.c: Likewise.
1914 * rt/mq_timedsend.c: Likewise.
1915 * rt/mq_unlink.c: Likewise.
1916 * rt/shm_open.c: Likewise.
1917 * rt/shm_unlink.c: Likewise.
1918 * rt/timer_create.c: Likewise.
1919 * rt/timer_delete.c: Likewise.
1920 * rt/timer_getoverr.c: Likewise.
1921 * rt/timer_gettime.c: Likewise.
1922 * rt/timer_settime.c: Likewise.
1923 * setjmp/__longjmp.c: Likewise.
1924 * setjmp/setjmp.c: Likewise.
1925 * signal/kill.c: Likewise.
1926 * signal/killpg.c: Likewise.
1927 * signal/raise.c: Likewise.
1928 * signal/sigaction.c: Likewise.
1929 * signal/sigaltstack.c: Likewise.
1930 * signal/sigblock.c: Likewise.
1931 * signal/sigignore.c: Likewise.
1932 * signal/sigintr.c: Likewise.
1933 * signal/signal.c: Likewise.
1934 * signal/sigpause.c: Likewise.
1935 * signal/sigpending.c: Likewise.
1936 * signal/sigqueue.c: Likewise.
1937 * signal/sigreturn.c: Likewise.
1938 * signal/sigset.c: Likewise.
1939 * signal/sigsetmask.c: Likewise.
1940 * signal/sigstack.c: Likewise.
1941 * signal/sigsuspend.c: Likewise.
1942 * signal/sigtimedwait.c: Likewise.
1943 * signal/sigvec.c: Likewise.
1944 * signal/sigwait.c: Likewise.
1945 * signal/sigwaitinfo.c: Likewise.
1946 * signal/sysv_signal.c: Likewise.
1947 * socket/accept.c: Likewise.
1948 * socket/accept4.c: Likewise.
1949 * socket/bind.c: Likewise.
1950 * socket/connect.c: Likewise.
1951 * socket/getpeername.c: Likewise.
1952 * socket/getsockname.c: Likewise.
1953 * socket/getsockopt.c: Likewise.
1954 * socket/isfdtype.c: Likewise.
1955 * socket/listen.c: Likewise.
1956 * socket/recv.c: Likewise.
1957 * socket/recvfrom.c: Likewise.
1958 * socket/recvmsg.c: Likewise.
1959 * socket/send.c: Likewise.
1960 * socket/sendmsg.c: Likewise.
1961 * socket/sendto.c: Likewise.
1962 * socket/setsockopt.c: Likewise.
1963 * socket/shutdown.c: Likewise.
1964 * socket/sockatmark.c: Likewise.
1965 * socket/socket.c: Likewise.
1966 * socket/socketpair.c: Likewise.
1967 * stdio-common/ctermid.c: Likewise.
1968 * stdio-common/cuserid.c: Likewise.
1969 * stdio-common/remove.c: Likewise.
1970 * stdio-common/rename.c: Likewise.
1971 * stdio-common/renameat.c: Likewise.
1972 * stdio-common/tempname.c: Likewise.
1973 * stdlib/getcontext.c: Likewise.
1974 * stdlib/makecontext.c: Likewise.
1975 * stdlib/setcontext.c: Likewise.
1976 * stdlib/swapcontext.c: Likewise.
1977 * stdlib/system.c: Likewise.
1978 * streams/fattach.c: Likewise.
1979 * streams/fdetach.c: Likewise.
1980 * streams/getmsg.c: Likewise.
1981 * streams/getpmsg.c: Likewise.
1982 * streams/putmsg.c: Likewise.
1983 * streams/putpmsg.c: Likewise.
1984 * sysdeps/unix/bsd/getpt.c: Likewise.
1985 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1986 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1987 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1990 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1991 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1992 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1993 * sysvipc/msgctl.c: Likewise.
1994 * sysvipc/msgget.c: Likewise.
1995 * sysvipc/msgrcv.c: Likewise.
1996 * sysvipc/msgsnd.c: Likewise.
1997 * sysvipc/semctl.c: Likewise.
1998 * sysvipc/semget.c: Likewise.
1999 * sysvipc/semop.c: Likewise.
2000 * sysvipc/semtimedop.c: Likewise.
2001 * sysvipc/shmat.c: Likewise.
2002 * sysvipc/shmctl.c: Likewise.
2003 * sysvipc/shmdt.c: Likewise.
2004 * sysvipc/shmget.c: Likewise.
2005 * termios/tcdrain.c: Likewise.
2006 * termios/tcflow.c: Likewise.
2007 * termios/tcflush.c: Likewise.
2008 * termios/tcgetattr.c: Likewise.
2009 * termios/tcgetpgrp.c: Likewise.
2010 * termios/tcsendbrk.c: Likewise.
2011 * termios/tcsetattr.c: Likewise.
2012 * termios/tcsetpgrp.c: Likewise.
2013 * time/adjtime.c: Likewise.
2014 * time/clock.c: Likewise.
2015 * time/getitimer.c: Likewise.
2016 * time/gettimeofday.c: Likewise.
2017 * time/setitimer.c: Likewise.
2018 * time/settimeofday.c: Likewise.
2019 * time/stime.c: Likewise.
2020 * time/time.c: Likewise.
2022 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2024 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2027 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2029 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2031 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2035 FE_TONEAREST before applying Dekker multiplication and Knuth
2036 addition. Clear inexact exceptions and check for exact zero
2038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2041 * math/libm-test.inc (fma_test): Add more tests.
2042 (fma_test_towardzero): Likewise.
2043 (fma_test_downward): Likewise.
2044 (fma_test_upward): Likewise.
2045 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2047 (libc_fesetround): New macro.
2048 (libc_fesetroundf): Likewise.
2049 (libc_fesetroundl): Likewise.
2050 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2052 (libc_fesetround_387): Likewise.
2053 (libc_fesetroundf): New macro.
2054 (libc_fesetround): Likewise.
2055 (libc_fesetroundl): Likewise.
2056 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2058 (libc_fesetroundf): New macro.
2059 (libc_fesetround): Likewise.
2060 (libc_fesetroundl): Likewise.
2061 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2062 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2063 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2065 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2066 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2068 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2069 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2071 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2075 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2076 integer constant usable in #if and use that to give value to enum
2078 (FE_DIVBYZERO): Likewise.
2079 (FE_UNDERFLOW): Likewise.
2080 (FE_OVERFLOW): Likewise.
2081 (FE_INVALID): Likewise.
2082 (FE_INVALID_SNAN): Likewise.
2083 (FE_INVALID_ISI): Likewise.
2084 (FE_INVALID_IDI): Likewise.
2085 (FE_INVALID_ZDZ): Likewise.
2086 (FE_INVALID_IMZ): Likewise.
2087 (FE_INVALID_COMPARE): Likewise.
2088 (FE_INVALID_SOFTWARE): Likewise.
2089 (FE_INVALID_SQRT): Likewise.
2090 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2091 (FE_TONEAREST): Likewise.
2092 (FE_TOWARDZERO): Likewise.
2093 (FE_UPWARD): Likewise.
2094 (FE_DOWNWARD): Likewise.
2095 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2096 (FE_DIVBYZERO): Likewise.
2097 (FE_OVERFLOW): Likewise.
2098 (FE_UNDERFLOW): Likewise.
2099 (FE_INEXACT): Likewise.
2100 (FE_TONEAREST): Likewise.
2101 (FE_DOWNWARD): Likewise.
2102 (FE_UPWARD): Likewise.
2103 (FE_TOWARDZERO): Likewise.
2104 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2105 (FE_UNDERFLOW): Likewise.
2106 (FE_OVERFLOW): Likewise.
2107 (FE_DIVBYZERO): Likewise.
2108 (FE_INVALID): Likewise.
2109 (FE_TONEAREST): Likewise.
2110 (FE_TOWARDZERO): Likewise.
2111 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2112 (FE_OVERFLOW): Likewise.
2113 (FE_UNDERFLOW): Likewise.
2114 (FE_DIVBYZERO): Likewise.
2115 (FE_INEXACT): Likewise.
2116 (FE_TONEAREST): Likewise.
2117 (FE_TOWARDZERO): Likewise.
2118 (FE_UPWARD): Likewise.
2119 (FE_DOWNWARD): Likewise.
2120 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2121 (FE_DIVBYZERO): Likewise.
2122 (FE_OVERFLOW): Likewise.
2123 (FE_UNDERFLOW): Likewise.
2124 (FE_INEXACT): Likewise.
2125 (FE_TONEAREST): Likewise.
2126 (FE_DOWNWARD): Likewise.
2127 (FE_UPWARD): Likewise.
2128 (FE_TOWARDZERO): Likewise.
2130 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2132 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2134 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2136 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2137 commands. Quote $PWD.
2138 (blacklist_exports): Don't use remove_newlines. Replace "declare
2140 (remove_newlines): Remove.
2142 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2144 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2145 * stdlib/stdlib.h (atof): Moved to ...
2146 * include/bits/stdlib-float.h: Here. New file.
2147 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2148 * stdlib/bits/stdlib-float.h: New file.
2149 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2154 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2156 * conform/conformtest.pl (@headers): Add fenv.h.
2157 * conform/data/fenv.h-data: New file.
2158 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2159 include of <math/fenv.h>.
2161 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2162 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2163 && !UNIX98]. Enables tests for XOPEN2K8.
2164 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2165 POSIX2008]: Likewise.
2167 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2168 (struct rusage): Do not expect type or its members.
2171 * math/math.h (FP_NAN): Define macro to integer constant usable in
2172 #if and use that to give value to enum constant.
2173 (FP_INFINITE): Likewise.
2174 (FP_ZERO): Likewise.
2175 (FP_SUBNORMAL): Likewise.
2176 (FP_NORMAL): Likewise.
2178 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2180 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2181 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2184 2012-11-02 Roland McGrath <roland@hack.frob.com>
2186 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2187 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2188 autoconf-time if not.
2189 * configure.in: Remove AC_PREREQ.
2191 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2193 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2194 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2195 of the internal implementation.
2197 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2199 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2200 except include of <misc/sys/syslog.h>.
2202 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2205 function returns with a NULL context exit with zero.
2207 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2209 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2211 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2213 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2214 (run_program_cmd): This.
2215 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2216 (tst_langinfo): New variable. Use it.
2218 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2220 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2221 floating point opcodes.
2223 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2225 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2228 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2230 * sysdeps/mach/hurd/powerpc: Remove directory.
2231 * sysdeps/mach/powerpc: Likewise.
2233 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2235 * scripts/check-local-headers.sh: Ignore c++ headers.
2237 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2239 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2240 __libc_cleanup_region_start argument.
2242 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2247 x * y using scaling, not as x * y + z.
2248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2250 * math/libm-test.inc (fma_test): Add more tests.
2251 (fma_test_towardzero): Likewise.
2252 (fma_test_downward): Likewise.
2253 (fma_test_upward): Likewise.
2255 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2257 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2259 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2261 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2264 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2266 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2268 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2275 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2278 Fix the order of the list for glibc 2.17.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2282 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2286 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2289 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2290 for low part of x being zero before using __atanl (y).
2291 * math/libm-test.inc (atan2_test): Add another test.
2293 * manual/install.texi (Configuring and compiling): Document
2294 general use of test-wrapper and test-wrapper-env.
2295 * INSTALL: Regenerated.
2297 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2298 (__fma): Do not extract and scale down low bits on after-rounding
2299 systems when result rounded to normal precision would have normal
2301 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2302 (__fmal): Do not extract and scale down low bits on after-rounding
2303 systems when result rounded to normal precision would have normal
2305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2306 (__fmal): Do not extract and scale down low bits on after-rounding
2307 systems when result rounded to normal precision would have normal
2309 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2311 (fma_test): Add more tests.
2312 (fma_test_towardzero): Likewise.
2313 (fma_test_downward): Likewise.
2314 (fma_test_upward): Likewise.
2316 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2318 * sysdeps/i386/tininess.h: Renamed to ...
2319 * sysdeps/x86/tininess.h: This.
2320 * sysdeps/x86_64/tininess.h: Removed.
2322 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2324 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2325 input. Use $(build-program-cmd).
2326 ($(objpfx)tst-array1-static.out): Likewise.
2327 ($(objpfx)tst-array2.out): Likewise.
2328 ($(objpfx)tst-array3.out): Likewise.
2329 ($(objpfx)tst-array4.out): Likewise.
2330 ($(objpfx)tst-array5.out): Likewise.
2331 ($(objpfx)tst-array5-static.out): Likewise.
2333 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2335 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2338 * nss/nsswitch.h (nss_interface_function): Provide new
2339 macro for use with NSS functions.
2340 * grp/initgroups.c: Use new macro.
2341 * nss/getXXbyYY.c: Likewise.
2342 * nss/getXXbyYY_r.c: Likewise.
2343 * nss/getXXent.c: Likewise.
2344 * nss/getXXent_r.c: Likewise.
2345 * sysdeps/posix/getaddrinfo.c: Likewise.
2347 2012-10-30 Andreas Jaeger <aj@suse.de>
2349 * po/ru.po: Update Russion translation from translation project.
2351 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2356 result and shift together with sticky bit instead of replicating
2357 round-to-nearest rounding.
2358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2360 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2361 missing underflow exceptions.
2362 (fma_test_towardzero): Add more tests.
2363 (fma_test_downward): Likewise.
2364 (fma_test_upward): Likewise.
2367 * sysdeps/generic/tininess.h: New file.
2368 * sysdeps/i386/tininess.h: Likewise.
2369 * sysdeps/sh/tininess.h: Likewise.
2370 * sysdeps/x86_64/tininess.h: Likewise.
2371 * stdlib/tst-strtod-underflow.c: Likewise.
2372 * stdlib/tst-tininess.c: Likewise.
2373 * stdlib/strtod_l.c: Include <tininess.h>.
2374 (round_and_return): Do not set errno for exact underflow cases.
2375 Force an underflow exception when setting errno for underflow.
2376 Determine underflow based on rounding to normal precision if
2377 TININESS_AFTER_ROUNDING.
2378 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2379 ERANGE for exact underflow cases.
2380 * stdlib/Makefile (tests): Add tst-tininess and
2381 tst-strtod-underflow.
2382 ($(objpfx)tst-tininess): Use $(link-libm).
2383 ($(objpfx)tst-strtod-underflow): Likewise.
2385 2012-10-30 Andreas Jaeger <aj@suse.de>
2388 * elf/Makefile (tests): Remove conditional for have-initfini-array
2389 since this is now always required and the variable does not exist
2391 (tests-static): Likewise.
2392 (modules-names): Likewise.
2394 * po/eo.po: Add Esperanto translation from translation project.
2396 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2397 merged with constructor/destructor.
2398 (init_array): Likewise.
2399 * elf/tst-array2dep.c (fini_array): Likewise.
2400 (init_array): Likewise.
2402 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2404 * manual/message.texi: Delete @cartouche tags.
2406 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2408 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2410 * sysdeps/mach/hurd/fsync.c: Likewise.
2412 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2413 [_POSIX_REALTIME_SIGNALS]: Change condition to
2414 [_POSIX_REALTIME_SIGNALS > 0].
2416 2012-10-27 Andreas Jaeger <aj@suse.de>
2418 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2419 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2421 [__WORDSIZE != 64]: Likewise.
2423 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2425 * iconvdata/tst-table.sh: Remove ${SHELL}.
2426 * iconvdata/tst-tables.sh: Likewise.
2428 2012-10-25 David S. Miller <davem@davemloft.net>
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2431 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2437 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2438 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2441 2012-10-25 Roland McGrath <roland@hack.frob.com>
2443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2444 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2447 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2448 Jim Blandy <jimb@codesourcery.com>
2450 * scripts/cross-test-ssh.sh: New file.
2451 * manual/install.texi (Configuring and compiling): Document use of
2453 * INSTALL: Regenerated.
2455 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2457 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2460 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2462 * Makeconfig (run-program-prefix): Fix comment.
2464 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2465 Jim Blandy <jimb@codesourcery.com>
2467 * Makeconfig (test-wrapper): New variable,
2468 (test-wrapper-env): Likewise.
2469 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2470 (run-built-tests): Define to yes.
2471 (run-program-prefix): Use $(test-wrapper).
2472 (built-program-cmd): Likewise.
2473 * Rules (make-test-out): Use $(test-wrapper-env) and
2474 $(host-built-program-cmd).
2475 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2476 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2478 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2479 $(test-wrapper-env) to tst-rtld-load-self.sh.
2480 ($(objpfx)order2.out): Use $(test-wrapper).
2481 ($(objpfx)tst-initorder.out): Likewise.
2482 ($(objpfx)tst-initorder2.out): Likewise.
2483 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2484 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2485 (test_wrapper_env): New variable. Use it to run ld.so.
2486 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2487 Use it to run ld.so.
2488 (test_wrapper_env): Likewise.
2489 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2490 $(test-wrapper) to run-iconv-test.sh.
2491 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2492 (ICONV): Use $test_wrapper.
2493 * posix/Makefile ($(objpfx)globtest.out): Pass
2494 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2495 globtest.sh, not $(run-program-prefix).
2496 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2497 (test_wrapper): Likewise.
2498 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2499 set together with run_via_rtld_prefix.
2500 (run_program_prefix): Define in terms of test_wrapper and
2501 run_via_rtld_prefix.
2503 2012-10-24 Roland McGrath <roland@hack.frob.com>
2505 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2506 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2510 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2511 Declare __clock_getres, __clock_gettime, __clock_settime,
2512 __clock_nanosleep, and __clock_getcpuclockid.
2513 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2514 Remove librt_hidden_def (clock_gettime).
2515 * sysdeps/unix/clock_gettime.c: Likewise.
2516 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2517 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2518 * rt/clock_getres.c: Define __clock_getres as an alias.
2519 * sysdeps/posix/clock_getres.c: Likewise.
2520 * rt/clock_settime.c: Define __clock_settime as an alias.
2521 * sysdeps/unix/clock_settime.c: Likewise.
2522 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2523 * sysdeps/unix/clock_nanosleep.c: Likewise.
2524 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2525 * rt/clock-compat.c: New file.
2526 * rt/Makefile (librt-routines): Add clock-compat and move
2527 $(clock-routines) to ...
2528 (routines): ... here, new variable.
2529 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2530 Don't add get_clockfreq here.
2531 * rt/Versions (libc: GLIBC_2.17): New version set.
2532 Add clock_* symbols here.
2533 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2535 (GLIBC_2.17): Add clock_* symbols.
2536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2547 * NEWS: Mention the move.
2549 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2550 Use __open, __read, __close rather than their public counterparts.
2551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2552 (__get_clockfreq_via_cpuinfo): Likewise.
2553 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2554 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2556 * config.h.in (HAVE_IFUNC): New #undef.
2557 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2559 * configure: Regenerated.
2561 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2563 * configure.in: Move READELF check to start of file.
2564 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2565 libc_cv_asm_gnu_indirect_function in the process.
2566 * configure: Regenerated.
2568 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2570 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2571 send the output to /dev/null.
2572 (libc_cv_cc_with_libunwind): Likewise.
2573 (libc_cv_as_noexecstack): Likewise.
2574 * configure: Regenerate.
2576 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2578 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2580 * posix/globtest.sh (TMPDIR): Do not set.
2581 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2582 (testout): Likewise.
2584 2012-10-24 Andreas Jaeger <aj@suse.de>
2586 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2587 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2588 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2589 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2590 posix_fadvise64, posix_fallocate64.
2592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2593 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2594 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2596 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2598 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2601 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2602 <bits/fcntl-linux.h>.
2603 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2606 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2607 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2608 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2609 [__WORDSIZE != 64]: Likewise.
2611 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2613 * Makeconfig (run-built-tests): New variable.
2614 * Rules [$(cross-compiling) = yes]: Change condition to
2615 [$(run-built-tests) = no].
2616 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2617 to [$(run-built-tests) = yes].
2618 * elf/Makefile [$(cross-compiling) = no]: Likewise
2619 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2620 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2621 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2622 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2623 * io/Makefile [$(cross-compiling) = no]: Likewise.
2624 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2625 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2626 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2627 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2628 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2629 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2630 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2631 * string/Makefile [$(cross-compiling) = no]: Likewise.
2633 * posix/Makefile ($(objpfx)globtest.out): Pass
2634 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2635 $(rtld-installed-name).
2636 * posix/globtest.sh (elf_objpfx): Remove variable.
2637 (rtld_installed_name): Likewise.
2638 (library_path): Likewise.
2639 (run_program_prefix): New variable. Use for running globtest
2642 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2643 Joseph Myers <joseph@codesourcery.com>
2645 * Makeconfig (host-built-program-cmd): New variable.
2646 * elf/Makefile (tst-stackguard1-ARGS): Use
2647 $(host-built-program-cmd).
2648 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2649 (tst-spawn-ARGS): Likewise.
2650 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2652 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2653 Jim Blandy <jimb@codesourcery.com>
2655 * Makeconfig (run-via-rtld-prefix): New variable.
2656 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2657 (built-program-cmd): Likewise.
2659 2012-10-22 Andreas Jaeger <aj@suse.de>
2661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2662 __O_RSYNC if it exists, otherwise to O_SYNC.
2664 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2665 Joseph Myers <joseph@codesourcery.com>
2667 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2669 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2671 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2674 2012-10-22 Andreas Jaeger <aj@suse.de>
2676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2684 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2691 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2692 Joseph Myers <joseph@codesourcery.com>
2694 * config.make.in (NM): New variable.
2696 2012-10-21 Andreas Jaeger <aj@suse.de>
2698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2699 definitions and declarations that are provided by
2700 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2702 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2705 * elf/Makefile (tests-static): Add tst-leaks1-static.
2706 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2707 ($(objpfx)tst-leaks1-static): New rule.
2708 ($(objpfx)tst-leaks1-static-mem): Likewise.
2709 (tst-leaks1-static-ENV): New macro.
2710 * elf/dl-open.c (dl_open_worker): Check the main application
2711 only if SHARED is defined.
2712 * elf/tst-leaks1-static.c: New file.
2714 2012-10-20 Andreas Jaeger <aj@suse.de>
2716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2717 generic values for Linux.
2718 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2719 and declarations that are provided by <bits/fcntl-linux.h> and
2720 include <bits/fcntl-linux.h>.
2721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2724 2012-10-20 Roland McGrath <roland@hack.frob.com>
2726 * io/fcntl.h: Move include of <bits/types.h> to the top and
2727 include it unconditionally.
2729 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2731 * wcsmbs/Makefile (tests-ifunc): New variable.
2732 (tests): Add $(tests-ifunc).
2733 * wcsmbs/test-wcschr-ifunc.c: New file.
2734 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2735 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2736 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2737 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2738 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2740 * string/Makefile (tests-ifunc): New variable.
2741 (tests): Add $(tests-ifunc).
2742 * string/test-memccpy.c (TEST_NAME): New macro.
2743 * string/test-memchr.c (TEST_NAME): Likewise.
2744 * string/test-memcmp.c (TEST_NAME): Likewise.
2745 * string/test-memcpy.c (TEST_NAME): Likewise.
2746 * string/test-memmem.c (TEST_NAME): Likewise.
2747 * string/test-memmove.c (TEST_NAME): Likewise.
2748 * string/test-memset.c (TEST_NAME): Likewise.
2749 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2750 * string/test-stpcpy.c (TEST_NAME): Likewise.
2751 * string/test-stpncpy.c (TEST_NAME): Likewise.
2752 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2753 * string/test-strcasestr.c (TEST_NAME): Likewise.
2754 * string/test-strcat.c (TEST_NAME): Likewise.
2755 * string/test-strchr.c (TEST_NAME): Likewise.
2756 * string/test-strcmp.c(TEST_NAME): Likewise.
2757 * string/test-strcpy.c (TEST_NAME): Likewise.
2758 * string/test-strcspn.c (TEST_NAME): Likewise.
2759 * string/test-strlen.c (TEST_NAME): Likewise.
2760 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2761 * string/test-strncmp.c (TEST_NAME): Likewise.
2762 * string/test-strncpy.c (TEST_NAME): Likewise.
2763 * string/test-strnlen.c (TEST_NAME): Likewise.
2764 * string/test-strpbrk.c (TEST_NAME): Likewise.
2765 * string/test-strrchr.c (TEST_NAME): Likewise.
2766 * string/test-strspn.c (TEST_NAME): Likewise.
2767 * string/test-strstr.c (TEST_NAME): Likewise.
2768 * string/test-bcopy-ifunc.c: New file.
2769 * string/test-bzero-ifunc.c: Likewise.
2770 * string/test-memccpy-ifunc.c: Likewise.
2771 * string/test-memchr-ifunc.c: Likewise.
2772 * string/test-memcmp-ifunc.c: Likewise.
2773 * string/test-memcpy-ifunc.c: Likewise.
2774 * string/test-memmem-ifunc.c: Likewise.
2775 * string/test-memmove-ifunc.c: Likewise.
2776 * string/test-mempcpy-ifunc.c: Likewise.
2777 * string/test-memset-ifunc.c: Likewise.
2778 * string/test-rawmemchr-ifunc.c: Likewise.
2779 * string/test-stpcpy-ifunc.c: Likewise.
2780 * string/test-stpncpy-ifunc.c: Likewise.
2781 * string/test-strcasecmp-ifunc.c: Likewise.
2782 * string/test-strcasestr-ifunc.c: Likewise.
2783 * string/test-strcat-ifunc.c: Likewise.
2784 * string/test-strchr-ifunc.c: Likewise.
2785 * string/test-strchrnul-ifunc.c: Likewise.
2786 * string/test-strcmp-ifunc.c: Likewise.
2787 * string/test-strcpy-ifunc.c: Likewise.
2788 * string/test-strcspn-ifunc.c: Likewise.
2789 * string/test-strlen-ifunc.c: Likewise.
2790 * string/test-strncasecmp-ifunc.c: Likewise.
2791 * string/test-strncat-ifunc.c: Likewise.
2792 * string/test-strncmp-ifunc.c: Likewise.
2793 * string/test-strncpy-ifunc.c: Likewise.
2794 * string/test-strnlen-ifunc.c: Likewise.
2795 * string/test-strpbrk-ifunc.c: Likewise.
2796 * string/test-strrchr-ifunc.c: Likewise.
2797 * string/test-strspn-ifunc.c: Likewise.
2798 * string/test-strstr-ifunc.c: Likewise.
2800 * debug/Makefile (tests-ifunc): New variable.
2801 (tests): Add $(tests-ifunc).
2802 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2803 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2804 * debug/test-stpcpy_chk-ifunc.c: New file.
2805 * debug/test-strcpy_chk-ifunc.c: Likewise.
2807 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2810 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2811 header is not read in.
2813 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2815 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2816 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2817 directly. Pass built executable to script as
2818 $(built-program-cmd).
2819 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2820 $testprogram without using LD_LIBRARY_PATH and $ldso.
2822 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2823 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2824 $(rtld-installed-name).
2825 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2826 (rtld_installed_name): Likewise.
2827 (library_path): Likewise.
2828 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2829 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2830 $(run-program-prefix) to tst-tables.sh.
2831 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2832 it to run tst-table-from and tst-table-to.
2833 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2834 Pass it to tst-table.sh.
2835 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2836 $(run-program-prefix) to tst-gettext.sh.
2837 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2839 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2841 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2843 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2844 to run tst-gettext2.
2845 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2846 to run tst-translit.
2847 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2848 $(run-program-prefix) to tst-mtrace.sh.
2849 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2851 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2852 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2853 $(rtld-installed-name).
2854 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2855 (rtld_installed_name): Likewise.
2856 (run_program_prefix): New variable. Use it to run wordexp-test.
2858 * Makeconfig (ARCH): Remove all definitions.
2859 (machine): Likewise.
2860 [ARCH]: Remove conditional code.
2861 [!objdir]: Give error.
2862 [!objdir] (objpfx): Remove.
2863 [!objdir] (common-objpfx): Likewise.
2864 [!objdir] (common-objdir): Likewise.
2865 * configure.in (config_makefile): Remove. Hardcode Makefile in
2866 AC_CONFIG_FILES call.
2867 * configure: Regenerated.
2870 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2872 (testout): Likewise.
2874 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2875 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2876 $(rtld-installed-name).
2877 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2878 (rtld_installed_name): Likwise.
2879 (runit): Remove function.
2880 (run_getconf): New variable, Use it for running getconf binary.
2882 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2885 * string/test-memmem.c (check_result): New function.
2886 (do_one_test): Use it.
2887 (check1): New function.
2888 (test_main): Use it.
2890 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2892 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2894 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2897 (_G_LSEEK64): Likewise.
2898 (_G_MMAP64): Likewise.
2899 (_G_FSTAT64): Likewise.
2900 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2901 (_G_LSEEK64): Likewise.
2902 (_G_MMAP64): Likewise.
2903 (_G_FSTAT64): Likewise.
2904 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2905 unconditional. Call __mmap64 directly.
2906 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2907 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2909 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2910 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2912 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2913 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2915 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2916 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2918 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2919 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2921 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2922 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2923 __fxstat64 directly.
2924 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2925 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2927 (freopen64) [!_G_OPEN64]: Remove conditional code.
2928 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2930 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2931 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2933 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2934 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2936 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2937 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2939 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2940 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2942 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2943 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2945 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2946 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2948 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2950 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2953 * manual/memory.texi (Malloc Tunable Parameters): Add note
2954 about free list pointers overwriting some perturb bytes.
2955 Wording suggested by Roland McGrath.
2957 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2959 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2960 (lgamma_test): Likewise.
2961 (tgamma_test): Likewise.
2963 2012-10-16 Florian Weimer <fweimer@redhat.com>
2966 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2967 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2969 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2971 * NEWS: Mention BZ #14716.
2972 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2973 when removing AVAILABLE1_USES_J macro.
2975 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2977 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2978 (__bswap_64): __uint64_t for unsigned 64-bit int.
2980 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2982 * include/string.h (memmem): Declare libc hidden alias.
2983 * string/memmem.c (memmem): Define libc hidden alias.
2984 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2985 __read, __close instead of open, read, close.
2987 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2990 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2992 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2993 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2994 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2996 (__rawmemchr_sse2): Likewise.
2997 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2998 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2999 (__strchr_sse2): Likewise.
3000 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3001 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3002 (__strcasecmp_sse2): Likewise.
3003 (__strncasecmp_sse2): Likewise.
3004 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3005 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3006 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3007 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3008 (__strrchr_sse2): Likewise.
3009 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3011 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3012 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3013 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3014 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3015 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3016 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3017 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3018 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3019 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3020 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3021 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3022 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3023 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3024 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3025 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3026 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3027 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3028 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3029 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3030 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3031 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3032 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3033 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3034 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3035 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3036 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3037 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3038 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3039 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3040 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3044 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3045 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3046 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3047 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3049 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3051 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3052 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3053 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3054 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3056 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3064 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3074 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3079 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3083 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3084 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3090 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3098 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3099 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3100 * include/ifunc-impl-list.h: New file.
3101 * misc/ifunc-impl-list.c: Likewise.
3102 * misc/Makefile (routines): Add ifunc-impl-list.
3103 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3104 * string/test-string.h: Include <ifunc-impl-list.h>.
3105 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3106 impl_array): New variables.
3107 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3109 (test_init): Call __libc_ifunc_impl_list to initialize
3110 func_list if TEST_IFUNC and TEST_NAME are defined.
3112 * string/Makefile (strop-tests): Add bcopy and bzero.
3113 * string/test-bcopy.c: New file.
3114 * string/test-bzero.c: Likewise.
3115 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3117 * string/test-memset.c: Support bzero test if TEST_BZERO is
3119 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3121 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3123 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3126 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3128 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3129 * configure: Regenerated.
3131 * Makeconfig (+link-static-before-libc): Don't include
3132 $(link-static-libc).
3134 * libio/libio.h (_IO_pos_t): Remove.
3136 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3138 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3141 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3143 * crypt/crypt-entry.c: Include fips-private.h.
3144 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3145 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3146 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3147 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3149 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3151 * crypt/crypt-private.h: Include stdbool.h.
3152 (_ufc_setup_salt_r): Return bool.
3153 * crypt/crypt-entry.c: Include errno.h.
3154 (__crypt_r): Return NULL with EINVAL for bad salt.
3155 * crypt/crypt_util.c (bad_for_salt): New.
3156 (_ufc_setup_salt_r): Check that salt is long enough and within
3157 the specified alphabet.
3158 * crypt/badsalttest.c: New file.
3159 * crypt/Makefile (tests): Add it.
3160 ($(objpfx)badsalttest): New.
3162 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3164 * NEWS: Add entry for BZ #14602.
3166 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3168 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3170 * math/libm-test.inc: Update comment listing what functions and
3172 (isgreater_test): New function.
3173 (isgreaterequal_test): Likewise.
3174 (isless_test): Likewise.
3175 (islessequal_test): Likewise.
3176 (islessgreater_test): Likewise.
3177 (isunordered_test): Likewise.
3178 (main): Call the new functions.
3180 2012-10-09 Roland McGrath <roland@hack.frob.com>
3182 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3183 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3184 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3185 * sysdeps/i386/configure: Regenerated.
3186 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3187 * sysdeps/mach/configure: Regenerated.
3188 * sysdeps/mach/hurd/configure: Regenerated.
3189 * sysdeps/powerpc/configure: Regenerated.
3190 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3191 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3192 * sysdeps/s390/s390-32/configure: Regenerated.
3193 * sysdeps/s390/s390-64/configure: Regenerated.
3194 * sysdeps/sh/configure: Regenerated.
3195 * sysdeps/sparc/configure: Regenerated.
3196 * sysdeps/unix/sysv/linux/configure: Regenerated.
3197 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3198 * sysdeps/x86_64/configure: Regenerated.
3200 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3201 defined. Don't check if MAP is NULL.
3203 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3205 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3206 (_G_stat64): Likewise.
3207 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3208 (_G_stat64): Likewise.
3209 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3210 instead of struct _G_stat64.
3211 * libio/fileops.c (mmap_remap_check): Likewise.
3212 (decide_maybe_mmap): Likewise.
3213 (_IO_new_file_seekoff): Likewise.
3214 (_IO_file_stat): Likewise.
3215 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3217 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3218 instead of struct _G_stat64.
3219 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3221 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3224 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3226 (CHECK_EOL): New macro.
3227 (two_way_short_needle): Check beginning of haystack for EOL. Use
3229 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3230 Replace with CHECK_EOL.
3231 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3232 Replace with CHECK_EOL.
3234 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3236 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3238 * math/libm-test.inc: Update comment listing what functions and
3240 (finite_test): New function.
3241 (isinf_test): Likewise.
3242 (isnan_test): Likewise.
3243 (fpclassify_test): Test subnormal input.
3244 (isfinite_test): Likewise.
3245 (isnormal_test): Likewise.
3246 (main): Call the new functions.
3248 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3251 * Makerules (%.dynsym): Force C locale when running
3252 $(OBJDUMP) --dynamic-syms.
3254 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3256 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3259 2012-10-06 David S. Miller <davem@davemloft.net>
3261 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3262 upper 32-bits of the length value in %o2 since we use branch-on-register
3263 tests which consider the entire 64-bit register.
3265 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3267 * string/test-strstr.c (check2): Add a test for page boundary.
3269 2012-10-05 David S. Miller <davem@davemloft.net>
3271 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3272 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3274 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3276 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3277 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3278 and bzero when HWCAP_SPARC_CRYPTO is present.
3280 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3283 * string/test-strstr.c (check2): New function.
3284 (test_main): Call check2.
3286 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3288 * string/bug-strcasestr1.c (do_test): Moved to ...
3289 * string/test-strcasestr.c (check1): Here. New function.
3290 (do_one_test): Break out result checking code into ...
3291 (check_result): This. New function.
3292 (do_one_test): Call check_result.
3293 (test_main): Call check1.
3294 * string/bug-strchr1.c (do_test): Moved to ...
3295 * string/test-strchr.c (check1): Here. New function.
3296 (do_one_test): Break out result checking code into ...
3297 (check_result): This. New function.
3298 (do_one_test): Call check_result.
3299 (test_main): Call check1.
3300 * string/bug-strstr1.c (main): Moved to ...
3301 * string/test-strchr.c (check1): Here. New function.
3302 (do_one_test): Break out result checking code into ...
3303 (check_result): This. New function.
3304 (do_one_test): Call check_result.
3305 (test_main): Call check1.
3306 * string/bug-strcasestr1.c: Removed.
3307 * string/bug-strchr1.c: Likewise.
3308 * string/bug-strstr1.c: Likewise.
3310 * elf/Makefile (dl-routines): Add hwcaps.
3311 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3312 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3313 (_dl_important_hwcaps): Moved to ...
3314 * elf/dl-hwcaps.c: Here. New file.
3315 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3318 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3319 if IS_IN_rtld isn't defined.
3321 * elf/dl-support.c (_dl_sysinfo_map): New.
3322 Include "get-dynamic-info.h" and "setup-vdso.h".
3323 (_dl_non_dynamic_init): Call setup_vdso.
3324 * elf/dynamic-link.h: Don't include <assert.h>.
3325 (elf_get_dynamic_info): Moved to ...
3326 * elf/get-dynamic-info.h: Here. New file.
3327 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3328 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3329 * elf/setup-vdso.h: Here. New file.
3330 * elf/rtld.c: Include "setup-vdso.h".
3331 (dl_main): Call setup_vdso.
3333 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3335 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3336 creal in comment listing functions tested. List finite, isinf,
3337 isnan, isless, islessequal, isgreater, isgreaterequal,
3338 islessgreater, isunordered, lgamma_r and pow10 as functions and
3339 macros not tested. Mention which functions not tested are aliases
3340 for other functions. Fix typo. Note that signs of NaNs are not
3343 * scripts/config.guess: Update from config.git.
3344 * scripts/config.sub: Likewise.
3346 2012-10-04 Roland McGrath <roland@hack.frob.com>
3348 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3349 * misc/madvise.c (madvise): Renamed to __madvise.
3350 Make madvise a weak alias.
3351 * include/sys/mman.h: Declare __madvise.
3352 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3353 * sysdeps/unix/syscalls.list
3354 (madvise): Make __madvise the strong name, and madvise a weak alias.
3355 * sysdeps/unix/sysv/linux/syscalls.list
3356 (madvise, mmap): Remove redundant entries.
3357 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3358 * malloc/malloc.c (mtrim): Likewise.
3359 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3361 2012-10-03 Roland McGrath <roland@hack.frob.com>
3363 * sysdeps/mach/hurd/dl-cache.c: File removed.
3364 * config.h.in (USE_LDCONFIG): New #undef.
3365 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3366 * configure: Regenerated.
3367 * elf/Makefile (dl-routines): Add dl-cache only under
3368 [$(use-ldconfig) = yes].
3369 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3370 cache on [USE_LDCONFIG].
3371 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3373 * elf/rtld.c (dl_main): Likewise.
3375 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3377 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3378 _SC_LEVEL4_CACHE_LINESIZE.
3380 2012-10-03 Roland McGrath <roland@hack.frob.com>
3382 * sysdeps/unix/bsd/confstr.h: File removed.
3384 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3386 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3389 2012-10-02 Roland McGrath <roland@hack.frob.com>
3391 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3392 Make 'mapoff' field ElfW(Off) rather than off_t.
3394 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3396 * nscd/Makefile: Remove nscd-cflags and all its users.
3397 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3398 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3401 * malloc.c (malloc_printerr): Clarify error message.
3403 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3407 Set bit_FMA_Usable if FMA is supported.
3408 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3410 (bit_FMA4_Usable): Updated.
3411 (index_FMA_Usable): New macro.
3412 (CPUID_FMA): Likewise
3413 (HAS_FMA): Defined with bit_FMA_Usable.
3415 2012-10-01 Roland McGrath <roland@hack.frob.com>
3417 * bits/types.h (__swblk_t): Type removed.
3418 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3419 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3421 (__SWBLK_T_TYPE): Likewise.
3422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3423 (__SWBLK_T_TYPE): Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3425 (__SWBLK_T_TYPE): Likewise.
3426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3427 (__SWBLK_T_TYPE): Likewise.
3429 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3430 Honza Horak <hhorak@redhat.com>
3432 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3433 (xdr_mapname): Use YPMAXMAP as maxsize.
3434 (xdr_peername): Use YPMAXPEER as maxsize.
3435 (xdr_keydat): Use YPAXRECORD as maxsize.
3436 (xdr_valdat): Use YPMAXRECORD as maxsize.
3438 2012-10-01 Roland McGrath <roland@hack.frob.com>
3440 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3442 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3443 * csu/init-first.c: ... here.
3444 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3445 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3446 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3448 * sysdeps/i386/init-first.c: File removed.
3449 * sysdeps/sh/init-first.c: File removed.
3451 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3455 if x * y might underflow to zero and z is zero.
3456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3458 * math/libm-test.inc (min_subnorm_value): New variable.
3459 (fma_test): Add more tests.
3460 (fma_test_towardzero): Likewise.
3461 (fma_test_downward): Likewise
3462 (fma_test_upward): Likewise.
3463 (initialize): Set min_subnorm_value.
3465 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3470 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3471 mode for addition resulting in exact zero.
3472 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3477 * math/libm-test.inc (fma_test): Add more tests.
3478 (fma_test_towardzero): New function.
3479 (fma_test_downward): Likewise.
3480 (fma_test_upward): Likewise.
3481 (main): Call the new functions.
3483 2012-09-28 David S. Miller <davem@davemloft.net>
3485 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3487 2012-09-28 Roland McGrath <roland@hack.frob.com>
3489 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3492 * sysdeps/gnu/_G_config.h: Moved to ...
3493 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3494 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3495 * sysdeps/generic/_G_config.h: ... here.
3497 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3499 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3501 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3502 Conditionalize target on [libnss_test1.so-version].
3504 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3506 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3507 (elfobjdir): Move out of conditionals.
3509 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3510 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3511 (__nss_lookup_function): Conditionalize label remove_from_tree on
3512 [!DO_STATIC_NSS || SHARED], matching its only use.
3514 2012-09-28 David S. Miller <davem@davemloft.net>
3516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3517 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3519 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3521 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3523 when HWCAP_SPARC_CRYPTO is present.
3525 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3527 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3529 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3532 * stdio-common/vfprintf.c (process_string_arg): Revert
3535 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3537 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3539 * stdio-common/tst-sprintf.c: Include <locale.h>
3540 (main): Test sprintf's handling of incomplete multibyte
3543 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3545 * elf/dl-runtime.c (VERSYMIDX): Removed.
3546 * elf/dl-version.c (VERSYMIDX): Likewise.
3547 * elf/do-rel.h (VERSYMIDX): Likewise.
3549 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3550 * elf/rtld.c (VALIDX): Likewise.
3551 (ADDRIDX): Likewise.
3552 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3553 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3554 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3555 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3557 (ADDRIDX): Likewise.
3559 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3561 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3563 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3566 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3568 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3569 addresses are in the same scope as 192.0.2/24.
3570 * posix/gai.conf: Document new scope table defaults.
3572 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3575 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3576 for ftell. Compute offsets from write pointers instead.
3577 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3579 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3582 * libio/Makefile (tests): New test case tst-fseek.
3583 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3584 combination works in wide mode.
3585 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3586 state when the external buffer state changes.
3588 2012-09-27 David S. Miller <davem@davemloft.net>
3591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3592 pass reloc->r_addend in as the 'high' argument to
3593 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3597 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3599 * rt/tst-aio2.c: Include <pthread.h>.
3600 * rt/tst-aio3.c: Likewise.
3602 2012-09-27 Steve Ellcey <sellcey@mips.com>
3604 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3606 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3608 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3609 contents on [SHARED].
3611 2012-09-26 Marek Polacek <polacek@redhat.com>
3615 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3616 for C++ and GCC <4.3 as well as for non GCC compilers.
3618 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3622 2012-09-25 Roland McGrath <roland@hack.frob.com>
3624 * Makefile.in (all, install): Declare with .PHONY.
3625 Reported by Michael Hope <michael.hope@linaro.org>.
3627 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3629 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3630 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3632 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3634 (sydep_routines): Add the new and the internal functions.
3635 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3636 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3638 (GLIBC_2.17): Add the new function.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3640 (GLIBC_2.17): Likewise.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3642 (GLIBC_2.17): Likewise.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3644 (GLIBC_2.17): Likewise.
3645 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3647 2012-09-25 Alan Modra <amodra@gmail.com>
3649 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3650 Add release barrier before setting once_control to say
3651 initialisation is done. Add hints on lwarx. Use macro in
3653 (clear_once_control): Add release barrier.
3655 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3658 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3660 * math/s_clog10.c (__clog10): Likewise.
3661 * math/s_clog10f.c (__clog10f): Likewise.
3662 * math/s_clog10l.c (__clog10l): Likewise.
3663 * math/s_clogf.c (__clogf): Likewise.
3664 * math/s_clogl.c (__clogl): Likewise.
3665 * math/Makefile (libm-calls): Add x2y2m1.
3666 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3667 (__x2y2m1): Likewise.
3668 (__x2y2m1l): Likewise.
3669 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3670 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3673 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3675 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3676 * sysdeps/i386/fpu/libm-test-ulps: Update.
3677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3680 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3681 int as type of variable DEPTH.
3682 (glob): Use size_t instead of int as type of variables NEWCOUNT
3685 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3687 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3689 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3690 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3691 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3692 macros for using routine as __sincosf_ia32.
3693 Use macro for function declaration and weak_alias.
3694 * sysdeps/i386/fpu/libm-test-ulps: Update.
3696 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3699 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3701 * math/s_cexpf.c (__cexpf): Likewise.
3702 * math/s_csinf.c (__csinf): Likewise.
3703 * math/s_csinhf.c (__csinhf): Likewise.
3704 * math/s_ctanf.c (__ctanf): Likewise.
3705 * math/s_ctanhf.c (__ctanhf): Likewise.
3706 * math/s_ccosh.c (__ccoshf): Likewise.
3707 * math/s_cexp.c (__cexpl): Likewise.
3708 * math/s_csin.c (__csin): Likewise.
3709 * math/s_csinh.c (__csinh): Likewise.
3710 * math/s_ctan.c (__ctan): Likewise.
3711 * math/s_ctanh.c (ctanh): Likewise.
3712 * math/s_ccoshl.c (__ccoshl): Likewise.
3713 * math/s_cexpl.c (__cexpl): Likewise.
3714 * math/s_csinl.c (__csinl): Likewise.
3715 * math/s_csinhl.c (__csinhl): Likewise.
3716 * math/s_ctanl.c (__ctanl): Likewise.
3717 * math/s_ctanhl.c (__ctanhl): Likewise.
3719 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3721 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3722 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3723 (_IO_off_t): Define to __off_t, not _G_off_t.
3724 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3725 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3726 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3727 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3728 type of __dummy and __dummy2 fields.
3729 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3730 (_G_ssize_t): Likewise.
3731 (_G_off_t): Likewise.
3732 (_G_pid_t): Likewise.
3733 (_G_uid_t): Likewise.
3734 (_G_wchar_t): Likewise.
3735 (_G_wint_t): Likewise.
3736 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3737 (_G_ssize_t): Likewise.
3738 (_G_off_t): Likewise.
3739 (_G_pid_t): Likewise.
3740 (_G_uid_t): Likewise.
3741 (_G_wchar_t): Likewise.
3742 (_G_wint_t): Likewise.
3743 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3744 (_G_ssize_t): Likewise.
3745 (_G_off_t): Likewise.
3746 (_G_pid_t): Likewise.
3747 (_G_uid_t): Likewise.
3748 (_G_wchar_t): Likewise.
3749 (_G_wint_t): Likewise.
3751 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3753 * malloc/arena.c: Include malloc-sysdep.h.
3754 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3755 is sufficient to shrink the heap or an unmap is needed.
3756 * sysdeps/generic/malloc-sysdep.h: New file. Define
3757 new function check_may_shrink_heap.
3758 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3759 new function check_may_shrink_heap.
3761 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3763 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3766 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3768 * catgets/test-gencat.sh: Add "set -e".
3769 * elf/tst-pathopt.sh: Likewise.
3770 * grp/tst_fgetgrent.sh: Likewise.
3771 * iconvdata/run-iconv-test.sh: Likewise.
3772 * intl/tst-gettext.sh: Likewise.
3773 * intl/tst-gettext2.sh: Likewise.
3774 * intl/tst-gettext4.sh: Likewise.
3775 * intl/tst-gettext6.sh: Likewise.
3776 * intl/tst-translit.sh: Likewise.
3777 * io/ftwtest-sh: Likewise.
3778 * libio/test-freopen.sh: Likewise.
3779 * malloc/tst-mtrace.sh: Likewise.
3780 * posix/globtest.sh: Likewise.
3781 * posix/tst-getconf.sh: Likewise.
3782 * posix/wordexp-tst.sh: Likewise.
3783 * stdio-common/tst-printf.sh: Likewise.
3784 * stdio-common/tst-unbputc.sh: Likewise.
3785 * stdlib/tst-fmtmsg.sh: Likewise.
3786 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3787 * catgets/Makefile: Do not specify -e option when running
3788 testsuite shell scripts.
3789 * elf/Makefile: Likewise.
3790 * grp/Makefile: Likewise.
3791 * iconvdata/Makefile: Likewise.
3792 * intl/Makefile: Likewise.
3793 * io/Makefile: Likewise.
3794 * libio/Makefile: Likewise.
3795 * malloc/Makefile: Likewise.
3796 * posix/Makefile: Likewise.
3797 * stdio-common/Makefile: Likewise.
3798 * stdlib/Makefile: Likewise.
3799 * sysdeps/x86_64/Makefile: Likewise.
3801 * io/ftwtest-sh: Add copyright header.
3802 * posix/globtest.sh: Likewise.
3803 * posix/tst-getconf.sh: Likewise.
3804 * posix/wordexp-tst.sh: Likewise.
3805 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3807 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3810 * Makeconfig (+link): Defined as $(+link-static) if
3811 $(build-shared) isn't yes.
3812 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3814 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3816 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3819 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3820 new chunk size with MALLOC_ALIGN_MASK.
3822 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3825 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3827 (__printf_fphex): Determine rounding using get_rounding_mode and
3829 * stdio-common/tst-printf-round.c (struct hex_test): New
3831 (hex_tests): New variable.
3832 (test_hex_in_one_mode): New function.
3833 (do_test): Also run tests for hex float output.
3835 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3837 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3838 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3839 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3840 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3841 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3842 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3843 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3844 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3846 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3848 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3849 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3850 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3851 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3853 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3856 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3858 * elf/tst-rtld-load-self.sh: New test.
3859 * elf/Makefile: Run it.
3861 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3863 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3864 (tst-writev-ENV): Remove.
3865 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3867 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3869 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3871 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3873 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3875 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3877 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3878 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3879 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3882 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3885 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3886 * config.make.in (have-cpp-asm-debuginfo): Removed.
3887 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3888 * configure: Regenerated.
3890 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3893 * stdio-common/printf_fp.c: Include <stdbool.h> and
3895 (___printf_fp): Determine rounding using get_rounding_mode and
3897 * stdio-common/tst-printf-round.c: New file.
3898 * stdio-common/Makefile (tests): Add tst-printf-round.
3899 (link-libm): New variable.
3900 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3902 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3905 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3906 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3908 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3911 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3913 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3914 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3915 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3916 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3918 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3921 * include/rounding-mode.h: New file.
3922 * sysdeps/generic/get-rounding-mode.h: Likewise.
3923 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3924 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3925 (MAX_VALUE): New macro.
3926 (MIN_VALUE): Likewise.
3927 (overflow_value): New function.
3928 (underflow_value): Likewise.
3929 (round_and_return): Use overflow_value and underflow_value to
3930 determine return values in overflow and underflow cases. Use
3931 round_away to determine rounding depending on rounding mode.
3932 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3933 determine return values in overflow and underflow cases.
3934 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3935 (struct test_results): New structure.
3936 (struct test): Use struct test_results to store expected results
3937 for all rounding modes.
3938 (TEST): Include expected results for all rounding modes.
3939 (test_in_one_mode): New function.
3940 (do_test): Use test_in_one_mode to compute and check results.
3941 Check results for all rounding modes.
3942 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3945 2012-12-09 Allan McRae <allan@archlinux.org>
3947 * sysdeps/i386/fpu/libm-test-ulps: Update
3949 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3951 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3952 (_G_int32_t): Likewise.
3953 (_G_uint16_t): Likewise.
3954 (_G_uint32_t): Likewise.
3955 (_G_HAVE_BOOL): Likewise.
3956 (_G_HAVE_ATEXIT): Likewise.
3957 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3958 (_G_HAVE_IO_FILE_OPEN): Likewise.
3959 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3960 (_G_int32_t): Likewise.
3961 (_G_uint16_t): Likewise.
3962 (_G_uint32_t): Likewise.
3963 (_G_HAVE_BOOL): Likewise.
3964 (_G_HAVE_ATEXIT): Likewise.
3965 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3966 (_G_HAVE_IO_FILE_OPEN): Likewise.
3967 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3968 (_G_int32_t): Likewise.
3969 (_G_uint16_t): Likewise.
3970 (_G_uint32_t): Likewise.
3971 (_G_HAVE_BOOL): Likewise.
3972 (_G_HAVE_ATEXIT): Likewise.
3973 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3974 (_G_HAVE_IO_FILE_OPEN): Likewise.
3976 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3978 * csu/libc-tls.c: Update copyright years.
3980 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3982 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3983 [!_G_USING_THUNKS]: Remove conditional code.
3984 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3985 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3987 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3988 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3989 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3990 (_G_VTABLE_LABEL_PREFIX): Likewise.
3991 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3992 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3993 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3994 (_G_VTABLE_LABEL_PREFIX): Likewise.
3995 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3996 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3997 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3998 (_G_VTABLE_LABEL_PREFIX): Likewise.
3999 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4001 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4003 * libio/Makefile: Include ../Makeconfig before tests.
4004 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4005 only if $(build-shared) is yes.
4007 * iconv/gconv_db.c: Update copyright years.
4009 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4011 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4012 unwind info if defined PIC. Fix special cases description.
4013 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4015 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4017 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4019 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4021 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4023 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4026 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4027 (LDLIBS-tst-chk4): This.
4028 (LDFLAGS-tst-chk5): Renamed to ...
4029 (LDLIBS-tst-chk5): This.
4030 (LDFLAGS-tst-chk6): Renamed to ...
4031 (LDLIBS-tst-chk6): This.
4032 (LDFLAGS-tst-lfschk4): Renamed to ...
4033 (LDLIBS-tst-lfschk4): This.
4034 (LDFLAGS-tst-lfschk5): Renamed to ...
4035 (LDLIBS-tst-lfschk5): This.
4036 (LDFLAGS-tst-lfschk6): Renamed to ...
4037 (LDLIBS-tst-lfschk6): This.
4039 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4040 on $(common-objpfx)soversions.mk.
4042 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4045 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4048 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4050 * malloc/arena.c (arena_get_retry): New function that gets
4051 another arena for the caller to try its request on.
4052 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4053 current arena cannot fulfill the request.
4054 (__libc_memalign): Likewise.
4055 (__libc_memalign): Likewise.
4056 (__libc_pvalloc): Likewise.
4057 (__libc_calloc): Likewise.
4059 2012-09-05 John Tobey <john.tobey@gmail.com>
4062 * manual/arith.texi (Operations on Complex): Fix description
4065 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4068 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4072 * manual/memory.texi (Memory): Make order of menu items match
4075 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4077 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4078 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4079 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4081 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4083 * csu/libc-tls.c (static_dtv): Renamed to ...
4084 (_dl_static_dtv): This. Make it global.
4085 (_dl_initial_dtv): Removed.
4086 (__libc_setup_tls): Updated.
4087 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4088 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4091 2012-09-06 Petr Machata <pmachata@redhat.com>
4093 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4094 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4095 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4096 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4098 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4101 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4102 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4105 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4108 * Makeconfig (link-static-before-libc): Replace $(+prector)
4110 (link-static-after-libc): Replace $(+postctor) with
4112 (link-bounded): Replace $(+prector)/$(+postctor) with
4113 $(+prectorT)/$(+postctorT).
4114 (+prectorT): New macro.
4115 (+postctorT): Likewise.
4117 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4119 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4120 (round_str): Handle values above the maximum for IBM long double
4122 * stdlib/tst-strtod-round.c (tests): Regenerated.
4124 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4126 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4128 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4129 zarch_nohighgprs around the zarch optimized routines.
4130 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4131 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4132 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4135 2012-09-05 David S. Miller <davem@davemloft.net>
4137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4139 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4140 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4141 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4142 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4145 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4147 * malloc/arena.c: Fold copyright years.
4148 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4150 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4152 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4154 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4156 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4158 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4160 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4161 change internal state upon failure.
4163 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4165 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4166 * malloc/memusage.c (mmap): Likewise.
4167 (mmap64, mremap): Likewise. Adjust name in comment.
4169 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4171 * libio/fileops.c: Fix typos in comments.
4172 * libio/oldfileops.c: Likewise.
4173 * libio/wfileops.c: Likewise.
4175 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4178 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4179 (tst-malloc-usable-ENV): Set environment for test case.
4180 * malloc/hooks.c (malloc_check_get_size): New function to get
4182 * malloc/malloc.c (musable): Use malloc_check_get_size.
4183 * malloc/tst-malloc-usable.c: New test case.
4185 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4187 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4189 2012-09-05 Allan McRae <allan@archlinux.org>
4192 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4193 determine header location.
4194 * configure: Regenerated.
4196 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4198 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4200 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4201 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4205 2012-09-04 David S. Miller <davem@davemloft.net>
4207 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4208 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4209 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4211 2012-09-04 Florian Weimer <fweimer@redhat.com>
4213 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4216 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4218 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4221 * libio/iogetdelim.c: Include <limits.h>.
4222 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4223 + len + 1 would overflow.
4225 2012-09-03 Andreas Jaeger <aj@suse.de>
4227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4228 * sysdeps/i386/fpu/libm-test-ulps: Update.
4230 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4232 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4233 Add s_sinf-sse2, s_conf-sse2.
4235 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4236 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4237 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4238 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4240 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4241 for using routine as __sinf_ia32.
4242 Use macro for function declaration and weak_alias.
4243 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4244 for using routine as __cosf_ia32.
4245 Use macro for function declaration and weak_alias.
4247 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4248 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4250 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4251 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4254 * math/libm-test.inc (cos_test): Add more test cases.
4255 (sin_test): Likewise.
4256 (sincos_test): Likewise.
4258 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4261 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4263 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4265 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4268 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4269 first element of the GOT.
4270 (elf_machine_load_address): Return the difference between
4271 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4273 2012-09-01 Allan McRae <allan@archlinux.org>
4276 * configure.in (AWK): Require gawk version 3.0 or later.
4277 * configure: Regenerated.
4279 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4281 * sysdeps/unix/sysv/linux/kernel-features.h
4282 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4283 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4284 [__NR_clock_getres]: Make code unconditional.
4285 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4286 (clock_getcpuclockid): Remove code left unreachable by removal of
4288 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4290 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4291 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4292 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4293 Make code unconditional.
4294 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4295 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4296 * sysdeps/unix/sysv/linux/clock_settime.c
4297 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4299 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4302 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4305 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4306 scripts/test-installation.pl.
4308 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4309 and $ld_so_version if it is set.
4311 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4314 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4315 failure if reading from procfs failed.
4316 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4318 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4320 * sysdeps/unix/sysv/linux/kernel-features.h
4321 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4322 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4323 Remove conditional code.
4324 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4325 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4326 Remove conditional code.
4327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4328 * sysdeps/unix/sysv/linux/i386/fxstat.c
4329 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4331 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4332 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4334 * sysdeps/unix/sysv/linux/i386/lxstat.c
4335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4337 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4338 Remove conditional code.
4339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4340 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4341 Remove conditional code.
4342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4343 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4344 <kernel-features.h>.
4345 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4347 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4348 Remove conditional code.
4349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4350 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4353 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4356 * NEWS: Add fixed bug number.
4358 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4361 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4362 underflowing exponent in case of negative sign.
4363 * stdlib/tst-strtod-round-data: Add more tests.
4364 * stdlib/tst-strtod-round.c (tests): Regenerated.
4367 * stdlib/strtod_l.c (NDIG): Remove.
4368 (HEXNDIG): Likewise.
4369 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4370 smallest representable value.
4371 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4372 lie within an exact representation of 1/2 ulp of the result.
4373 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4375 (TENS_P9_IDX): Define unconditionally.
4376 (TENS_P9_SIZE): Likewise.
4377 (TENS_P10_IDX): Likewise.
4378 (TENS_P10_SIZE): Likewise.
4379 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4380 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4381 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4382 entries for 10^2^13 and 10^2^14.
4383 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4384 (TENS_P13_IDX): Define.
4385 (TENS_P13_SIZE): Likewise.
4386 (TENS_P14_IDX): Likewise.
4387 (TENS_P14_SIZE): Likewise.
4388 (_fpioconst_pow10): Change array size to
4389 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4391 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4392 1024]: Add entries for 10^2^13 and 10^2^14.
4393 [LAST_POW10 > _LAST_POW10]: Remove #error.
4394 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4395 (_fpioconst_pow10): Change array size to
4396 FPIOCONST_POW10_ARRAY_SIZE.
4397 * stdlib/gen-fpioconst.c: New file.
4398 * stdlib/gen-tst-strtod-round.c: Likewise.
4399 * stdlib/tst-strtod-round-data: Likewise.
4400 * stdlib/tst-strtod-round.c: Likewise.
4401 * stdlib/Makefile (tests): Add tst-strtod-round.
4404 * stdlib/strtod_l.c: Include <stdint.h>.
4405 (NDEBUG): Do not define.
4406 (round_and_return): Change EXPONENT parameter to type intmax_t.
4407 Rearrange calculations to avoid internal overflow possibilities.
4408 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4409 Rearrange calculations to avoid internal overflow possibilities.
4410 Assert that number fits inside MPNSIZE limbs.
4411 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4412 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4413 calculations and add assertions to avoid internal overflow
4414 possibilities. Add casts to avoid signed/unsigned operations.
4415 * stdlib/tst-strtod-overflow.c: New file.
4416 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4418 2012-08-25 Marek Polacek <polacek@redhat.com>
4420 * time/time.h: Fix some typos in comments.
4422 2012-08-23 Roland McGrath <roland@hack.frob.com>
4424 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4425 * posix/tst-rfc3484-2.c: Likewise.
4426 * posix/tst-rfc3484-3.c: Likewise.
4428 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4430 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4431 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4433 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4435 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4436 #include of fxstatat64.c.
4438 2012-08-22 Roland McGrath <roland@hack.frob.com>
4440 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4441 * shadow/getspent_r.c: Likewise.
4442 * shadow/getspnam.c: Likewise.
4443 * shadow/getspnam_r.c: Likewise.
4444 * gshadow/getsgent.c: Likewise.
4445 * gshadow/getsgent_r.c: Likewise.
4446 * gshadow/getsgnam.c: Likewise.
4447 * gshadow/getsgnam_r.c: Likewise.
4448 * inet/getnetbyad.c: Likewise.
4449 * inet/getnetbyad_r.c: Likewise.
4450 * inet/getnetbynm.c: Likewise.
4451 * inet/getnetbynm_r.c: Likewise.
4452 * inet/getnetent.c: Likewise.
4453 * inet/getnetent_r.c: Likewise.
4454 * inet/getproto.c: Likewise.
4455 * inet/getproto_r.c: Likewise.
4456 * inet/getprtent.c: Likewise.
4457 * inet/getprtent_r.c: Likewise.
4458 * inet/getprtname.c: Likewise.
4459 * inet/getprtname_r.c: Likewise.
4460 * inet/getrpcbyname.c: Likewise.
4461 * inet/getrpcbyname_r.c: Likewise.
4462 * inet/getrpcbynumber.c: Likewise.
4463 * inet/getrpcbynumber_r.c: Likewise.
4464 * inet/getrpcent.c: Likewise.
4465 * inet/getrpcent_r.c: Likewise.
4466 * inet/getaliasent.c: Likewise.
4467 * inet/getaliasent_r.c: Likewise.
4468 * inet/getaliasname.c: Likewise.
4469 * inet/getaliasname_r.c: Likewise.
4470 * nscd/getgrgid_r.c: Likewise.
4471 * nscd/getgrnam_r.c: Likewise.
4472 * nscd/gethstbyad_r.c: Likewise.
4473 * nscd/gethstbynm3_r.c: Likewise.
4474 * nscd/getpwnam_r.c: Likewise.
4475 * nscd/getpwuid_r.c: Likewise.
4476 * nscd/getsrvbynm_r.c: Likewise.
4477 * nscd/getsrvbypt_r.c: Likewise.
4478 * nscd/gai.c: Likewise.
4480 * configure.in (build_nscd): New substituted variable, set
4481 by --disable-build-nscd and defaults to $use_nscd.
4482 * configure: Regenerated.
4483 * config.make.in (build-nscd): New substituted variable.
4484 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4485 Change conditional to require [$(build-nscd) = yes] as well.
4486 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4489 * configure.in (use_nscd): New substituted variable, set by
4490 --disable-nscd. If enabled, define USE_NSCD.
4491 * configure: Regenerated.
4492 * config.h.in: Add USE_NSCD.
4493 * config.make.in (use-nscd): New substituted variable.
4494 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4495 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4496 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4497 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4498 (CFLAGS-getgrnam_r.c): Likewise.
4499 (CFLAGS-initgroups.c): Likewise.
4500 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4501 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4503 * inet/getnetgrent_r.c
4504 (nscd_setnetgrent): New function, broken out of ...
4505 (setnetgrent): ... here. Call it.
4506 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4507 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4508 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4509 * nscd/Makefile (routines, aux): Move definitions after include of
4510 Makeconfig. Conditionalize on [$(use-nscd) != no].
4511 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4512 Conditionalize on [USE_NSCD].
4513 (is_nscd, nscd_init_cb): Likewise.
4514 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4515 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4516 * nss/nss_db/db-init.c: Likewise.
4517 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4519 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4520 (make_request): Use it.
4521 (cache_valid_p): New function.
4522 (__check_pf): Use it.
4523 * NEWS: Add item for --disable-nscd.
4525 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4527 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4528 to support sed >= 4.2.1-20-ga9bf076.
4529 * configure: Regenerated.
4531 2012-08-22 Roland McGrath <roland@hack.frob.com>
4533 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4534 Conditionalize whole body on [IREL].
4536 2012-08-22 Jeff Law <law@redhat.com>
4539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4540 if the family is PF_UNSPEC.
4542 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4544 * Makerules (lib-version): Rename from V.
4545 (install-lib-nosubdir): Change V to lib-version.
4547 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4550 * powerpc32/power6/wcschr.c: New file.
4551 * powerpc32/power6/wcscpy.c: New file.
4552 * powerpc32/power6/wcsrchr.c: New file.
4553 * powerpc64/power6/wcschr.c: New file.
4554 * powerpc64/power6/wcscpy.c: New file.
4555 * powerpc64/power6/wcsrchr.c: New file.
4557 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4559 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4560 (two_way_short_needle): Use it.
4561 * string/strstr.c (AVAILABLE1_USES_J): Define.
4562 * string/strcasestr.c: Likewise.
4564 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4566 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4569 * NEWS: Add an entry.
4570 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4571 define their defaults.
4572 (two_way_short_needle): Detect end-of-string on-the-fly.
4573 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4574 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4575 * string/bug-strcasestr1.c: New test.
4576 * string/Makefile: Run it.
4578 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4581 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4582 the first character.
4584 2012-08-21 Roland McGrath <roland@hack.frob.com>
4586 * csu/elf-init.c (__libc_csu_irel): Function removed.
4587 * csu/libc-start.c (apply_irel): New function.
4588 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4590 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4592 * sysdeps/unix/sysv/linux/kernel-features.h
4593 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4594 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4595 <kernel-features.h>.
4596 [__NR_fadvise64_64]: Make code unconditional.
4597 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4598 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4599 !__NR_fadvise64_64)]: Likewise.
4600 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4601 !__NR_fadvise64_64))]: Likewise.
4602 [__NR_fadvise64]: Make code unconditional.
4603 [!__NR_fadvise64]: Remove conditional code.
4604 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4605 <kernel-features.h>.
4606 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4608 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4611 not include <kernel-features.h>.
4612 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4614 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4616 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4617 include <kernel-features.h>.
4618 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4620 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4623 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4626 slight instruction rearrangements per scrollpipe analysis.
4627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4629 2012-08-20 Roland McGrath <roland@hack.frob.com>
4631 * manual/syslog.texi (syslog; vsyslog, closelog):
4632 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4633 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4635 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4636 DSOCAPS to match condition on defining it.
4638 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4640 * sysdeps/unix/sysv/linux/kernel-features.h
4641 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4643 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4644 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4646 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4647 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4652 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4653 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4655 * sysdeps/unix/sysv/linux/kernel-features.h
4656 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4657 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4659 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4660 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4661 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4662 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4663 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4664 Make code unconditional.
4665 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4666 (__mmap64) [!__NR_mmap2]: Likewise.
4667 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4671 [__NR_mmap2]: Make code unconditional.
4672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4673 (__mmap64) [!__NR_mmap2]: Likewise.
4675 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4677 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4679 2012-08-18 Andreas Jaeger <aj@suse.de>
4681 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4683 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4685 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4686 * include/unistd.h (__have_sock_cloexec): Likewise.
4687 (__have_pipe2): Likewise.
4688 (__have_dup3): Likewise.
4690 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4693 * include/unistd.h (__have_pipe2): Change define into an extern int.
4694 (__have_dup3): Likewise.
4695 * socket/have_sock_cloexec.c: Include fcntl.h.
4696 (__have_pipe2): New variable.
4697 (__have_dup3): Likewise.
4699 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4701 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4703 2012-08-17 Marek Polacek <polacek@redhat.com>
4705 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4706 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4708 2012-08-17 Roland McGrath <roland@hack.frob.com>
4710 * configure.in: Add AC_SUBST for sysheaders.
4711 * configure: Regenerated.
4712 * config.make.in (sysheaders): New substituted variable.
4714 * sysdeps/unix/mkfifo.c: Moved ...
4715 * sysdeps/posix/mkfifo.c: ... here.
4716 * sysdeps/unix/mkfifoat.c: Moved ...
4717 * sysdeps/posix/mkfifoat.c: ... here.
4719 * sysdeps/unix/utime.c: Moved ...
4720 * sysdeps/posix/utime.c: ... here.
4722 * sysdeps/unix/time.c: Moved ...
4723 * sysdeps/posix/time.c: ... here.
4724 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4725 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4727 * sysdeps/unix/nice.c: Moved ...
4728 * sysdeps/posix/nice.c: ... here.
4730 * sysdeps/unix/alarm.c: Moved ...
4731 * sysdeps/posix/alarm.c: ... here.
4733 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4735 2012-08-17 Jeff Law <law@redhat.com>
4737 * intl/Makefile (codeset_mo): New variable.
4738 ($(codeset_mo)): New target.
4739 (tst-codeset.out): Depend on that. Remove explicit rule.
4740 (tst-gettext3.out, tst-gettext5.out): Likewise.
4741 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4742 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4743 * intl/tst-codeset.sh: Remove.
4744 * intl/tst-gettext3.sh: Likewise.
4745 * intl/tst-gettext5.sh: Likewise.
4747 2012-08-17 Roland McGrath <roland@hack.frob.com>
4749 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4750 * sysdeps/unix/syscalls.list: ... here.
4752 * sysdeps/posix/getaddrinfo.c
4753 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4754 (gaiconf_init, gaiconf_reload): Use them.
4756 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4757 Define using time_t rather than struct timespec.
4759 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4760 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4762 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4764 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4765 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4768 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4769 __libc_cleanup_push argument.
4771 * bits/param.h: New file.
4772 * misc/sys/param.h: New file.
4773 * include/sys/param.h: New file.
4774 * misc/Makefile (headers): Add bits/param.h.
4775 * sysdeps/generic/sys/param.h: File removed.
4776 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4777 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4778 * sysdeps/mach/hurd/bits/param.h: New file.
4779 * sysdeps/mach/hurd/sys/param.h: File removed.
4781 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4784 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4786 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4787 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4790 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4791 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4792 rather than -D_IO_MTSAFE_IO conditionally.
4793 * stdio-common/Makefile (CPPFLAGS): Likewise.
4794 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4795 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4796 Use $(libio-mtsafe).
4797 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4799 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4800 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4801 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4802 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4803 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4804 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4805 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4806 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4807 (CFLAGS-fread_u_chk.c): Likewise.
4808 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4809 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4810 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4811 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4812 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4813 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4814 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4815 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4816 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4818 * libio/Makefile: Test [$(libc-reentrant) = yes]
4819 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4822 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4823 * sysdeps/pthread/configure: File removed.
4824 * sysdeps/pthread/Makeconfig: New file.
4825 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4826 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4828 2012-08-16 Gary Benson <gbenson@redhat.com>
4830 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4831 unmapping the first object in a namespace.
4833 2012-08-16 Roland McGrath <roland@hack.frob.com>
4835 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4836 (__internal_setnetgrent): ... this. Add internal_function to
4837 definition. Add libc_hidden_def.
4838 (setnetgrent): Update caller.
4839 (internal_endnetgrent): Renamed to ...
4840 (__internal_endnetgrent): ... this. Add internal_function to
4841 definition. Add libc_hidden_def.
4842 (endnetgrent): Update caller.
4843 (internal_getnetgrent_r): Renamed to ...
4844 (__internal_getnetgrent_r): ... this. Add internal_function to
4845 definition. Add libc_hidden_def.
4846 (__getnetgrent_r): Update caller.
4847 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4849 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4851 * stdlib/longlong.h: Update from GCC.
4853 2012-08-16 Roland McGrath <roland@hack.frob.com>
4855 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4856 on _QL, which is set by umul_ppmm but never used.
4857 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4858 variables, which are set by GMP macros but never used.
4859 * stdio-common/_itowa.c (_itowa): Likewise.
4860 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4861 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4863 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4865 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4866 struct La_sh_regs is not constant.
4867 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4868 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4869 and struct La_sparc64_regs are not constant.
4871 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4873 * sysdeps/unix/sysv/linux/kernel-features.h
4874 (__ASSUME_POSIX_TIMERS): Remove.
4875 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4876 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4877 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4878 Make code unconditional.
4879 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4880 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4881 Make code unconditional.
4882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4883 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4884 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4886 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4887 Make code unconditional.
4888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4889 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4890 (__libc_missing_posix_timers): Remove.
4892 2012-08-15 Roland McGrath <roland@hack.frob.com>
4894 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4895 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4897 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4899 * elf/dl-sym.c: Include <stdlib.h>.
4901 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4902 constants, which avoids warnings in 32-bit builds.
4904 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4905 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4907 * misc/lseek.c: File moved to ...
4908 * io/lseek.c: ... here.
4910 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4912 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4913 shifting LEN more than 31 bits at once.
4915 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4918 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4919 segmentation fault for a case of two empty input strings.
4920 * string/test-strncasecmp.c (check1): Renamed to...
4922 (bz14195): Add new testcase for two empty input strings and N > 0.
4923 (test_main): Call new testcase, adapt for renamed function.
4925 2012-08-15 Andreas Jaeger <aj@suse.de>
4928 * crypt/md5test2.c: New test, based on test supplied by Serge
4929 Belyshev <belyshev@depni.sinp.msu.ru>.
4930 * crypt/Makefile (xtests): Add md5test-giant..
4931 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4933 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4936 * crypt/md5.c (md5_process_block): Don't assume the buffer
4937 length is less than 2**32.
4938 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4939 length is less than 2**64.
4941 2012-08-15 Roland McGrath <roland@hack.frob.com>
4943 * string/str-two-way.h: Include <sys/param.h>.
4944 (MAX): Macro removed.
4946 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4947 Move #define and #undef of memmove to just before and after
4948 including <string.h>.
4950 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4951 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4952 and after including <string.h>. Move declarations of
4953 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4954 to before #include "string/memmove.c".
4956 * include/dirent.h: Declare __getdirentries.
4958 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4959 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4961 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4963 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4964 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4965 * sysdeps/i386/configure: Regenerated.
4966 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4967 STABS_CURRENT_FILE, and STABS_FUN.
4968 (END): Remove call to STABS_FUN_END.
4969 (STABS_CURRENT_FILE1): Delete.
4970 (STABS_CURRENT_FILE): Likewise.
4971 (STABS_FUN): Likewise.
4972 (STABS_FUN_END): Likewise.
4973 (STABS_FUN2): Likewise.
4974 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4975 * sysdeps/x86_64/configure: Regenerated.
4977 2012-08-14 Roland McGrath <roland@hack.frob.com>
4979 * elf/dl-open.c: Include <atomic.h>.
4980 * elf/dl-lookup.c: Likewise.
4982 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4984 * sysdeps/unix/sysv/linux/kernel-features.h
4985 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4986 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4988 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4990 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4991 condition on __ASSUME_CLONE_THREAD_FLAGS.
4993 2012-08-14 Andreas Jaeger <aj@suse.de>
4995 * sysdeps/i386/fpu/libm-test-ulps: Update.
4997 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4999 * include/atomic.h (atomic_exchange_and_add): Split into ...
5000 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5003 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5007 2012-08-13 Jeff Law <law@redhat.com>
5009 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5010 null byte in the output string.
5012 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5014 * sysdeps/unix/sysv/linux/kernel-features.h
5015 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5016 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5017 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5018 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5019 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5020 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5021 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5023 2012-08-09 Jeff Law <law@redhat.com>
5026 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5027 When avoid_arena is set, don't retry in the that arena. Pick the
5028 next one, whatever it might be.
5029 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5030 (arena_lock): Pass in new parameter to arena_get2.
5031 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5033 (__libc_malloc): Unify retrying after main arena failure with
5034 __libc_memalign version.
5035 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5037 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5041 to __redirect_strstr.
5042 (__strstr_sse42): Use typeof __redirect_strstr.
5043 (__strstr_ia32): Likewise.
5044 (__libc_strstr): New prototype.
5045 (strstr): Renamed to ...
5046 (__libc_strstr): This.
5047 (strstr): New strong alias of __libc_strstr.
5048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5049 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5052 (__libc_time): New prototype.
5053 (time_ifunc): Replace time with __libc_time.
5054 (time): New strong alias and hidden definition of __libc_time.
5055 (__GI_time): Remove strong alias.
5056 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5058 (memmove): Redefined to __redirect_memmove.
5059 (__memmove_sse2): Use typeof __redirect_memmove.
5060 (__memmove_ssse3): Likewise.
5061 (__memmove_ssse3_back): Likewise.
5062 (__libc_memmove): New prototype.
5063 (memmove): Renamed to ...
5064 (__libc_memmove): This.
5065 (memmove): New strong alias of __libc_memmove.
5067 2012-08-08 Mark Salter <msalter@redhat.com>
5070 (R_MN10300_TLS_GD): Define.
5071 (R_MN10300_TLS_LD): Likewise.
5072 (R_MN10300_TLS_LDO): Likewise.
5073 (R_MN10300_TLS_GOTIE): Likewise.
5074 (R_MN10300_TLS_IE): Likewise.
5075 (R_MN10300_TLS_LE): Likewise.
5076 (R_MN10300_TLS_DTPMOD): Likewise.
5077 (R_MN10300_TLS_DTPOFF): Likewise.
5078 (R_MN10300_TLS_TPOFF): Likewise.
5079 (R_MN10300_SYM_DIFF): Likewise.
5080 (R_MN10300_ALIGN): Likewise.
5081 (R_MN10300_NUM): Update.
5083 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5088 2012-08-08 Roland McGrath <roland@hack.frob.com>
5090 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5092 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5093 sysdeps/unix -> sysdeps/posix move.
5094 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5096 2012-08-07 Allan McRae <allan@archlinux.org>
5099 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5100 (SUNOS_CPP): Likewise.
5101 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5103 (open_input): Call CPP using execvp.
5105 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5107 * sysdeps/unix/sysv/linux/kernel-features.h
5108 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5109 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5110 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5111 (__ASSUME_WAITID_SYSCALL): Likewise.
5112 * sysdeps/unix/sysv/linux/dl-execstack.c
5113 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5115 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5117 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5118 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5119 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5121 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5123 [__ASSUME_WAITID_SYSCALL]: Likewise.
5124 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5126 2012-08-07 Roland McGrath <roland@hack.frob.com>
5128 * sysdeps/unix/closedir.c: Renamed to ...
5129 * sysdeps/posix/closedir.c: ... here.
5130 * sysdeps/unix/dirfd.c: Renamed to ...
5131 * sysdeps/posix/dirfd.c: ... here.
5132 * sysdeps/unix/dirstream.h: Renamed to ...
5133 * sysdeps/posix/dirstream.h: ... here.
5134 * sysdeps/unix/fdopendir.c: Renamed to ...
5135 * sysdeps/posix/fdopendir.c: ... here.
5136 * sysdeps/unix/opendir.c: Renamed to ...
5137 * sysdeps/posix/opendir.c: ... here.
5138 * sysdeps/unix/readdir.c: Renamed to ...
5139 * sysdeps/posix/readdir.c: ... here.
5140 * sysdeps/unix/readdir_r.c: Renamed to ...
5141 * sysdeps/posix/readdir_r.c: ... here.
5142 * sysdeps/unix/rewinddir.c: Renamed to ...
5143 * sysdeps/posix/rewinddir.c: ... here.
5144 * sysdeps/unix/seekdir.c: Renamed to ...
5145 * sysdeps/posix/seekdir.c: ... here.
5146 * sysdeps/unix/telldir.c: Renamed to ...
5147 * sysdeps/posix/telldir.c: ... here.
5148 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5149 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5150 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5151 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5153 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5154 * bits/fcntl.h: ... here.
5156 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5158 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5159 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5160 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5161 (struct flock): Move l_start, l_len to the beginning.
5162 Use __pid_t for l_pid.
5163 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5164 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5165 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5166 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5167 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5168 [__USE_LARGEFILE64] (struct flock64): New type.
5169 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5171 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5172 * bits/dirent.h: ... here.
5174 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5175 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5177 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5180 Change from 2.6.0 to 2.6.16.
5181 * sysdeps/unix/sysv/linux/configure: Regenerated.
5182 * sysdeps/unix/sysv/linux/kernel-features.h
5183 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5184 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5186 (__ASSUME_UTIMES): Likewise.
5187 (__ASSUME_CLONE_STOPPED): Remove.
5188 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5189 architectures, not kernel version.
5190 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5191 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5192 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5193 (__ASSUME_WAITID_SYSCALL): Likewise.
5194 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5195 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5196 * README: State 2.6.16 as minimum Linux kernel version. Do not
5197 refer to older versions.
5199 2012-08-06 Roland McGrath <roland@hack.frob.com>
5201 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5202 Define alphasort64 as an alias.
5203 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5204 Define versionsort64 as an alias.
5205 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5206 Define scandir64 as an alias.
5207 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5208 Define scandirat64 as an alias.
5209 * dirent/alphasort64.c (alphasort64):
5210 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5211 * dirent/versionsort64.c: Likewise.
5212 * dirent/scandir64.c: Likewise.
5213 * dirent/scandirat64.c: Likewise.
5214 * sysdeps/wordsize-64/alphasort.c: File removed.
5215 * sysdeps/wordsize-64/alphasort64.c: File removed.
5216 * sysdeps/wordsize-64/scandir.c: File removed.
5217 * sysdeps/wordsize-64/scandir64.c: File removed.
5218 * sysdeps/wordsize-64/scandirat.c: File removed.
5219 * sysdeps/wordsize-64/scandirat64.c: File removed.
5220 * sysdeps/wordsize-64/versionsort.c: File removed.
5221 * sysdeps/wordsize-64/versionsort64.c: File removed.
5222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5231 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5233 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5235 [defined __arch64__ || defined __sparcv9]
5236 (__INO_T_MATCHES_INO64_T): New macro.
5237 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5238 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5239 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5240 * sysdeps/unix/sysv/linux/bits/dirent.h
5241 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5242 (_DIRENT_MATCHES_DIRENT64): New macro.
5244 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5245 Define lockf64 as an alias.
5246 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5247 Define fseeko64 as an alias.
5248 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5249 Define ftello64 as an alias.
5250 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5251 Define _IO_fgetpos64 and fgetpos64 as aliases.
5252 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5253 Define _IO_fsetpos64 and fsetpos64 as aliases.
5254 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5255 Conditionalize body on this.
5256 * libio/fseeko64.c: Likewise.
5257 * libio/ftello64.c: Likewise.
5258 * libio/iofgetpos64.c: Likewise.
5259 * libio/iofsetpos64.c: Likewise.
5260 * sysdeps/wordsize-64/lockf.c: File removed.
5261 * sysdeps/wordsize-64/lockf64.c: File removed.
5262 * sysdeps/wordsize-64/fseeko.c: File removed.
5263 * sysdeps/wordsize-64/fseeko64.c: File removed.
5264 * sysdeps/wordsize-64/ftello.c: File removed.
5265 * sysdeps/wordsize-64/ftello64.c: File removed.
5266 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5267 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5268 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5269 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5281 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5283 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5285 [defined __arch64__ || defined __sparcv9]
5286 (__OFF_T_MATCHES_OFF64_T): New macro.
5287 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5288 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5290 (__OFF_T_MATCHES_OFF64_T): New macro.
5292 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5294 * stdlib/secure-getenv.c (__secure_getenv): Replace
5295 GLIBC_2_16 with GLIBC_2_17.
5297 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5302 2012-08-03 David S. Miller <davem@davemloft.net>
5304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5306 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5310 (__ASSUME_CORRECT_SI_PID): Likewise.
5311 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5312 (__ASSUME_TMPFS_NAME): Likewise.
5313 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5314 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5315 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5316 (HAVE_AUX_SECURE): Make definition unconditional.
5317 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5318 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5320 2012-08-03 Roland McGrath <roland@hack.frob.com>
5322 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5323 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5324 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5325 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5326 __eloop_threshold instead of SYMLOOP_MAX.
5328 * sysdeps/generic/eloop-threshold.h: New file.
5329 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5331 * elf/chroot_canon.c (chroot_canon): Likewise.
5333 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5337 Change to 2.6.0 everywhere.
5338 * sysdeps/unix/sysv/linux/configure: Regenerated.
5339 * sysdeps/unix/sysv/linux/kernel-features.h
5340 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5341 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5343 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5344 (__ASSUME_FUTEX_REQUEUE): Remove.
5345 (__ASSUME_STATFS64): Define unconditionally.
5346 (__ASSUME_AT_SECURE): Likewise.
5347 (__ASSUME_CORRECT_SI_PID): Likewise.
5348 (__ASSUME_TGKILL): Define without depending on kernel version for
5350 (__ASSUME_UTIMES): Likewise.
5351 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5353 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5354 (__ASSUME_TMPFS_NAME): Likewise.
5355 * README: Update reference to Linux kernel versions.
5357 2012-08-02 Marek Polacek <polacek@redhat.com>
5360 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5361 libc_cv_asm_type_prefix with %.
5362 * configure: Regenerated.
5363 * include/libc-symbols.h: Remove comment about
5364 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5365 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5366 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5367 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5368 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5369 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5371 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5372 * elf/tst-unique2mod1.c: Likewise.
5373 * elf/tst-unique1mod2.c: Likewise.
5374 * elf/tst-unique1mod1.c: Likewise.
5375 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5376 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5377 Replace ASM_TYPE_DIRECTIVE with .type.
5378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5379 * sysdeps/i386/sysdep.h: Likewise.
5380 * sysdeps/x86_64/sysdep.h: Likewise.
5381 * sysdeps/sh/sysdep.h: Likewise.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5383 Do not define ASM_TYPE_DIRECTIVE.
5384 * sysdeps/powerpc/sysdep.h: Likewise.
5385 * sysdeps/powerpc/powerpc32/sysdep.h:
5386 Replace ASM_TYPE_DIRECTIVE with .type.
5387 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5388 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5389 * sysdeps/i386/fpu/e_powf.S: Likewise.
5390 * sysdeps/i386/fpu/e_expl.S: Likewise.
5391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5393 * sysdeps/i386/fpu/e_pow.S: Likewise.
5394 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5395 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5396 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5397 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5398 * sysdeps/i386/fpu/e_log2.S: Likewise.
5399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5400 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5401 * sysdeps/i386/fpu/e_powl.S: Likewise.
5402 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5403 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5404 * sysdeps/i386/fpu/e_logl.S: Likewise.
5405 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5406 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5407 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5408 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5410 * sysdeps/i386/fpu/e_log.S: Likewise.
5411 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5412 * sysdeps/i386/fpu/e_logf.S: Likewise.
5413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5414 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5415 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5416 * sysdeps/i386/fpu/e_log10.S: Likewise.
5417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5422 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5423 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5424 * sysdeps/i386/i686/strtok.S: Likewise.
5425 * sysdeps/i386/i386-mcount.S: Likewise.
5426 * sysdeps/i386/strtok.S: Likewise.
5427 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5430 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5431 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5432 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5433 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5434 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5436 * sysdeps/x86_64/_mcount.S: Likewise.
5437 * sysdeps/x86_64/strtok.S: Likewise.
5438 * sysdeps/sh/_mcount.S: Likewise.
5440 2012-08-01 Roland McGrath <roland@hack.frob.com>
5442 * libio/iofopen.c: Include <fcntl.h>.
5443 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5444 (_IO_fopen64, fopen64): Define as aliases.
5445 * libio/iofopen64.c: Include <fcntl.h>.
5446 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5447 Conditionalize body on this.
5448 * sysdeps/wordsize-64/iofopen.c: File removed.
5449 * sysdeps/wordsize-64/iofopen64.c: File removed.
5451 2012-08-01 Marek Polacek <polacek@redhat.com>
5453 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5454 Use dlfcn directly instead of a variable.
5455 (binfmt-subdir): Do not define.
5458 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5461 Remove all definitions.
5462 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5463 <kernel-features.h>.
5464 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5465 (miss_F_GETOWN_EX): Remove all definitions.
5466 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5468 [!__ASSUME_FCNTL64]: Remove conditional code.
5469 [__ASSUME_FCNTL64]: Make code unconditional.
5470 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5471 <kernel-features.h>.
5472 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5473 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5474 (lockf64) [__NR_fcntl64]: Make code unconditional.
5475 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5477 * sysdeps/unix/sysv/linux/kernel-features.h
5478 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5479 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5480 Make code unconditional.
5481 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5482 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5484 [__NR_vfork]: Make code unconditional.
5485 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5486 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5488 [__NR_vfork]: Make code unconditional.
5489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5492 2012-08-01 Roland McGrath <roland@hack.frob.com>
5494 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5495 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5497 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5498 Define mkstemp64 as an alias.
5499 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5500 Define mkstemps64 as an alias.
5501 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5502 Define mkostemp64 as an alias.
5503 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5504 Define mkostemps64 as an alias.
5505 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5506 Conditionalize body on this.
5507 * misc/mkostemp64.c: Likewise.
5508 * misc/mkostemps64.c: Likewise.
5509 * misc/mkstemps64.c: Likewise.
5510 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5511 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5512 * sysdeps/wordsize-64/mkostemp.c: File removed.
5513 * sysdeps/wordsize-64/mkstemp.c: File removed.
5514 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5520 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5521 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5522 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5523 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5525 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5526 compat_symbol macros from <shlib-compat.h> rather than the underlying
5527 default_symbol_version and symbol_version macros, so that DEFAULT
5528 lines in shlib-versions are respected.
5529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5531 2012-08-01 Florian Weimer <fweimer@redhat.com>
5533 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5534 Declare with warn_unused_result.
5535 (setgid, setregid, setegid, setresgid): Likewise.
5536 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5538 * WUR-REPORT: Remove set*id functions.
5540 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5542 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5544 2012-07-31 Roland McGrath <roland@hack.frob.com>
5546 * include/sys/socket.h (__libc_accept, __libc_accept4):
5547 Add attribute_hidden.
5548 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5550 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5552 * inet/getnetgrent_r.c (setup): Likewise.
5554 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5556 2012-07-31 David S. Miller <davem@davemloft.net>
5558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5560 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5563 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5564 value between 1.0 and 2.0 and smaller part has absolute value less
5566 * math/s_clog10.c (__clog10): Likewise.
5567 * math/s_clog10f.c (__clog10f): Likewise.
5568 * math/s_clog10l.c (__clog10l): Likewise.
5569 * math/s_clogf.c (__clogf): Likewise.
5570 * math/s_clogl.c (__clogl): Likewise.
5571 * math/libm-test.inc (clog_test): Add more tests.
5572 (clog10_test): Likewise.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5576 2012-07-31 Florian Weimer <fweimer@redhat.com>
5578 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5579 Exit with zero in case no suitable GID is found, and write a
5580 message to standard error.
5582 2012-07-30 Roland McGrath <roland@hack.frob.com>
5584 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5586 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5587 (MAXPATHLEN): Removed.
5588 (NOGROUP, NODEV): New macros.
5589 (setbit, clrbit, isset, isclr): New macros.
5590 (howmany, roundup, powerof2): New macros.
5591 (DEV_BSIZE): New macro.
5593 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5594 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5596 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5597 definition on [!__NO_LONG_DOUBLE_MATH].
5599 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5600 PTR_MANGLE and PTR_DEMANGLE.
5602 * socket/accept4.c (accept4): Rename to __libc_accept4.
5603 Define accept4 as a weak alias.
5605 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5606 on [_DIRENT_HAVE_D_TYPE].
5607 * io/ftw.c (ftw_dir): Likewise.
5609 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5611 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5613 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5614 Use the BSD numbers rather than the arbitrary ones we had.
5615 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5616 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5617 (SIGXCPU, SIGXFSZ): New macros.
5620 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5621 initializer on [_LIBC_REENTRANT].
5623 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5624 definitions inside [_POSIX_MAPPED_FILES].
5626 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5628 * dirent/opendir.c: Include <fcntl.h>.
5630 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5631 (__libc_getspecific): Likewise.
5632 (__libc_key_create): Likewise.
5634 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5635 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5636 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5637 (tmpfile64): Define as alias.
5638 * sysdeps/wordsize-64/tmpfile.c: File removed.
5639 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5643 * stdio-common/vfscanf.c: Include <stdbool.h>.
5644 * nss/makedb.c: Likewise.
5645 * stdio-common/_i18n_number.h: Likewise.
5646 * argp/argp-help.c: Likewise.
5647 * posix/wordexp.c: Likewise.
5648 * sysdeps/posix/spawni.c: Likewise.
5649 * nss/nss_files/files-initgroups.c: Likewise.
5650 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5651 * nss/nss_files/files-initgroups.c: Likewise.
5652 * nss/nss_db/db-netgrp.c: Likewise.
5653 * nss/nss_db/db-initgroups.c: Likewise.
5654 * io/fchmodat.c: Include <sys/stat.h>.
5656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5657 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5659 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5662 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5663 Add multiple inclusion protection.
5665 2012-07-27 David S. Miller <davem@davemloft.net>
5667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5669 2012-07-27 Gary Benson <gbenson@redhat.com>
5672 * elf/rtld.c: Include <stap-probe.h>.
5673 (dl_main): Added static probes "init_start" and "init_complete".
5674 * elf/dl-load.c: Include <stap-probe.h>.
5675 (lose): Take new parameter "nsid".
5676 Added static probe "map_failed".
5677 (_dl_map_object_from_fd): Pass namespace id to lose.
5678 Added static probe "map_start".
5679 (open_verify): Pass namespace id to lose.
5680 * elf/dl-open.c: Include <stap-probe.h>.
5681 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5682 and "reloc_complete".
5683 * elf/dl-close.c: Include <stap-probe.h>.
5684 (_dl_close_worker): Added static probes "unmap_start" and
5686 * elf/rtld-debugger-interface.txt: New file documenting the above.
5688 2012-07-26 Roland McGrath <roland@hack.frob.com>
5690 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5691 rather than a string variable.
5692 * sunrpc/rpc_main.c (h_output): Likewise.
5693 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5695 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5697 * inet/check_native.c: New file.
5699 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5702 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5703 if larger part has absolute value 1.0.
5704 * math/s_clog10.c (__clog10): Likewise.
5705 * math/s_clog10f.c (__clog10f): Likewise.
5706 * math/s_clog10l.c (__clog10l): Likewise.
5707 * math/s_clogf.c (__clogf): Likewise.
5708 * math/s_clogl.c (__clogl): Likewise.
5709 * math/libm-test.inc (clog_test): Add more tests.
5710 (clog10_test): Likewise.
5711 * sysdeps/i386/fpu/libm-test-ulps: Update.
5712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5715 (pltexit): Likewise.
5716 (La_regs): Likewise.
5717 (La_retval): Likewise.
5718 (int_retval): Likewise.
5719 Update #error for removed macros to refer only to definitions in
5721 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5723 (pltexit): Likewise.
5724 (La_regs): Likewise.
5725 (La_retval): Likewise.
5726 (int_retval): Likewise.
5727 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5729 (pltexit): Likewise.
5730 (La_regs): Likewise.
5731 (La_retval): Likewise.
5732 (int_retval): Likewise.
5733 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5735 (pltexit): Likewise.
5736 (La_regs): Likewise.
5737 (La_retval): Likewise.
5738 (int_retval): Likewise.
5739 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5741 (pltexit): Likewise.
5742 (La_regs): Likewise.
5743 (La_retval): Likewise.
5744 (int_retval): Likewise.
5745 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5747 (pltexit): Likewise.
5748 (La_regs): Likewise.
5749 (La_retval): Likewise.
5750 (int_retval): Likewise.
5751 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5753 (pltexit): Likewise.
5754 (La_regs): Likewise.
5755 (La_retval): Likewise.
5756 (int_retval): Likewise.
5757 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5758 macro definitions in tst-audit.h.
5759 * sysdeps/i386/tst-audit.h: New file.
5760 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5761 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5762 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5763 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5764 * sysdeps/sh/tst-audit.h: Likewise.
5765 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5766 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5767 * sysdeps/x86_64/tst-audit.h: Likewise.
5769 2012-07-26 Andreas Jaeger <aj@suse.de>
5771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5775 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5776 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5778 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5779 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5780 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5782 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5787 (si_call_addr, si_syscall, si_arch): Define new macro.
5788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5790 (si_call_addr, si_syscall, si_arch): Define new marcro.
5791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5793 (si_call_addr, si_syscall, si_arch): Define new macro.
5794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5796 (si_call_addr, si_syscall, si_arch): Define new macro.
5798 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5802 Change to 2.4.21 where previously 2.4.1.
5803 * sysdeps/unix/sysv/linux/configure: Regenerated.
5804 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5805 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5806 Linux kernel version.
5807 (__ASSUME_STD_AUXV): Remove.
5808 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5810 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5811 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5812 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5813 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5814 (__ASSUME_NETLINK_SUPPORT): Likewise.
5815 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5816 (__no_netlink_support): Remove conditional definition.
5817 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5819 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5820 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5822 (if_nameindex_ioctl): Remove.
5823 (if_nameindex_netlink): Do not handle __no_netlink_support.
5824 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5826 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5827 Remove conditional code.
5828 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5830 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5832 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5833 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5834 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5836 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5837 [!__ASSUME_STD_AUXV]: Remove conditional code.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5839 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5840 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5842 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5845 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5858 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5860 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5862 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5864 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5867 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5869 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5872 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5874 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5876 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5878 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5881 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5883 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5885 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5887 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5890 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5892 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5894 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5895 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5896 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5899 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5900 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5902 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5903 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5904 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5905 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5908 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5910 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5912 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5913 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5916 2012-07-25 Florian Weimer <fweimer@redhat.com>
5918 * Versions.def: Add GLIBC_2.17.
5919 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5920 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5921 Introduce __libc_secure_getenv.
5922 * stdlib/Versions (2.17): Add secure_getenv
5923 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5924 * stdlib/secure-getenv.c: Rename __secure_getenv to
5925 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5926 symbol __secure_getenv for GLIBC_2.0.
5927 * stdlib/tst-secure-getenv.c: New.
5928 * stdlib/Makefile (tests): Add testcase.
5929 * manual/startup.texi (Environment Access): Document
5931 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5932 __libc_secure_getenv.
5933 * inet/ruserpass.c (ruserpass): Likewise.
5934 * malloc/mtrace.c (mtrace): Likewise.
5935 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5936 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5937 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5938 * sysdeps/posix/tempname.c: Likewise. Evaluate
5940 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5941 __secure_getenv to __libc_secure_getenv.
5942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5955 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5957 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5958 (struct La_i86_retval): Likewise.
5959 (struct La_x86_64_regs): Likewise.
5960 (struct La_x86_64_retval): Likewise.
5961 (struct La_x32_regs): Likewise.
5962 (struct La_x32_retval): Likewise.
5963 (struct La_ppc32_regs): Likewise.
5964 (struct La_ppc32_retval): Likewise.
5965 (struct La_ppc64_regs): Likewise.
5966 (struct La_ppc64_retval): Likewise.
5967 (struct La_sh_regs): Likewise.
5968 (struct La_sh_retval): Likewise.
5969 (struct La_s390_32_regs): Likewise.
5970 (struct La_s390_32_retval): Likewise.
5971 (struct La_s390_64_regs): Likewise.
5972 (struct La_s390_64_retval): Likewise.
5973 (struct La_sparc32_regs): Likewise.
5974 (struct La_sparc32_retval): Likewise.
5975 (struct La_sparc64_regs): Likewise.
5976 (struct La_sparc64_retval): Likewise.
5977 (struct audit_ifaces): Remove architecture-specific pltenter and
5979 * sysdeps/i386/ldsodefs.h: New file.
5980 * sysdeps/powerpc/ldsodefs.h: Likewise.
5981 * sysdeps/s390/ldsodefs.h: Likewise.
5982 * sysdeps/sh/ldsodefs.h: Likewise.
5983 * sysdeps/sparc/ldsodefs.h: Likewise.
5984 * sysdeps/x86_64/ldsodefs.h: Likewise.
5986 2012-07-25 Marek Polacek <polacek@redhat.com>
5989 * math/libm-test.inc (yn_test): Add another test.
5990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5991 to ERANGE when the result is +-Inf.
5992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5997 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5999 * conform/data/time.h-data (NULL): Use macro-constant. Require
6001 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6003 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6005 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6007 * configure.in <sysdeps resolving>: Correct printing
6009 * configure: Regenerate.
6011 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6013 * math/w_ilogb.c: Include <limits.h>.
6014 * math/w_ilogbl.c: Likewise.
6016 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6018 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6019 va_copy. Document allowing for unavailable va_copy only as
6020 pre-C99 compatibility.
6021 * manual/string.texi (Copying and Concatenation): Use va_copy
6022 instead of __va_copy in concat example.
6024 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6026 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6027 (__sendto): Use create_address_port. Initialize APORT and deallocate
6030 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6031 with O_NOLINK passed to __file_name_lookup.
6033 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6034 with O_NOLINK passed to __file_name_lookup.
6036 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6037 negative N or less than NGIDS.
6039 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6040 type to string_t. Set ERANGE as errno and return it if NAME is not big
6041 enough. Use memcpy instead of strncpy.
6043 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6045 * elf/Makefile (check-data): Remove.
6046 (localplt.data): New vpath directive.
6047 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6048 instead of $(check-data).
6049 * scripts/data/localplt-generic.data: Move to ...
6050 * sysdeps/generic/localplt.data: ... here.
6051 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6053 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6056 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6059 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6062 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6065 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6068 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6072 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6075 PPC32 and PPC64 files.
6076 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6077 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6079 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6081 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6082 __makecontext_ret to ...
6083 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6084 ... here and call exit if uc_link is NULL. New file.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6086 __makecontext_ret.S.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6088 __makecontext_ret to ...
6089 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6090 ... here and call exit if uc_link is NULL. New file.
6091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6092 __makecontext_ret.S.
6094 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6096 * elf/elf.h (R_390_IRELATIVE): New definition.
6097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6098 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6099 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6101 (elf_machine_lazy_rel): Likewise.
6102 * sysdeps/s390/dl-irel.h: New file.
6103 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6104 * sysdeps/s390/s390-64/memset.S: New asm code.
6105 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6106 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6108 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6109 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6110 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6112 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6113 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6114 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6115 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6116 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6117 * sysdeps/s390/s390-32/memset.S: New asm code.
6118 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6120 2012-07-17 Marek Polacek <polacek@redhat.com>
6123 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6124 * sysdeps/s390/s390-64/configure.in: Likewise.
6125 * sysdeps/sparc/configure.in: Likewise.
6126 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6127 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6128 * sysdeps/i386/configure.in: Likewise.
6129 * sysdeps/x86_64/configure.in: Likewise.
6130 * sysdeps/sh/configure.in: Likewise.
6131 * sysdeps/s390/s390-32/configure: Regenerated.
6132 * sysdeps/s390/s390-64/configure: Likewise.
6133 * sysdeps/x86_64/configure: Likewise.
6134 * sysdeps/sh/configure: Likewise.
6135 * sysdeps/powerpc/powerpc64/configure: Likewise.
6136 * sysdeps/powerpc/powerpc32/configure: Likewise.
6137 * sysdeps/sparc/configure: Likwise.
6138 * sysdeps/i386/configure: Likewise.
6140 * elf/dl-open.c: Comment fixes.
6142 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6144 * Makefile [CXX] (check-data): Remove.
6145 [CXX] (c++-types.data): New vpath directive.
6146 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6147 vpath. Do not allow for C++ type data being missing.
6148 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6149 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6150 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6151 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6152 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6154 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6157 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6160 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6163 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6166 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6169 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6172 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6175 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6178 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6179 definitions to architecture-specific files.
6183 * sysdeps/i386/tls-macros.h: New file.
6184 * sysdeps/powerpc/tls-macros.h: Likewise.
6185 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6186 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6187 * sysdeps/sh/tls-macros.h: Likewise.
6188 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6189 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6190 * sysdeps/x86_64/tls-macros.h: Likewise.
6192 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6195 zero value for regular exit case.
6197 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6198 (__start_context): Preserve zero value for regular exit case.
6200 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6201 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6203 * manual/setjmp.texi (setcontext): Clarify normal process
6204 termination when uc_link is the null pointer.
6205 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6208 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6210 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6211 preprocessor. Test for each exception mask separately.
6213 2012-07-16 Andreas Jaeger <aj@suse.de>
6215 * po/ru.po: Update from translation team.
6217 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6219 * conform/data/string.h-data (NULL): Use macro-constant. Require
6221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6223 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6224 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6227 2012-07-13 Andreas Jaeger <aj@suse.de>
6229 * po/fr.po: Update from translation team.
6231 2012-07-12 Marek Polacek <polacek@redhat.com>
6234 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6238 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6242 Change to 2.4.1 where previously 2.4.0.
6243 * sysdeps/unix/sysv/linux/configure: Regenerated.
6244 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6245 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6247 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6248 (__ASSUME_AT_CLKTCK): Remove.
6249 (__ASSUME_AT_PAGESIZE): Likewise.
6250 (__ASSUME_AT_XID): Likewise.
6251 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6252 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6253 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6255 (HAVE_AUX_PAGESIZE): Likewise.
6256 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6257 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6258 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6260 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6264 the temporary buffer used to invoke __gethostbyname2_r,
6265 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6266 host_data / struct gaih_addrtuple.
6267 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6268 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6269 header file nss/nsswitch.h.
6270 * nss/nsswitch.h (global scope): Add definition of implementation
6271 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6272 resolv/nss_dns/dns-host.c).
6274 2012-07-11 Andreas Jaeger <aj@suse.de>
6276 * po/fr.po: Update from translation team.
6278 * po/sv.po: Update from translation team
6279 * po/fr.po: Another update from translation team.
6281 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6284 for subnormals or multiply small sinh result by itself.
6285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6288 2012-07-11 David S. Miller <davem@davemloft.net>
6290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6292 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6295 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6296 (INTERNAL_MARK): Shift it here.
6298 2012-07-10 Marek Polacek <polacek@redhat.com>
6301 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6302 libc_cv_asm_global_directive with .globl.
6303 * configure: Regenerated.
6304 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6306 * sysdeps/i386/configure: Regenerated.
6307 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6309 * sysdeps/x86_64/configure: Regenerated.
6310 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6311 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6312 * elf/tst-unique2mod2.c: Likewise.
6313 * elf/tst-unique2mod1.c: Likewise.
6314 * elf/tst-unique1mod2.c: Likewise.
6315 * elf/tst-unique1mod1.c: Likewise.
6316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6317 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6320 * sysdeps/mach/sysdep.h: Likewise.
6321 * sysdeps/i386/sysdep.h: Likewise.
6322 * sysdeps/i386/i386-mcount.S: Likewise.
6323 * sysdeps/x86_64/_mcount.S: Likewise.
6324 * sysdeps/x86_64/sysdep.h: Likewise.
6325 * sysdeps/sh/_mcount.S: Likewise.
6326 * sysdeps/sh/sysdep.h: Likewise.
6327 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6328 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6329 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6331 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6332 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6333 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6334 * locale/localeinfo.h: Likewise.
6335 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6336 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6338 2012-07-09 Roland McGrath <roland@hack.frob.com>
6341 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6343 * manual/message.texi (The Uniforum approach): Likewise.
6344 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6345 (glibc iconv Implementation): Likewise.
6347 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6350 * math/s_clog.c (__clog): Avoid scaling a value down where that
6351 could result in underflow.
6352 * math/s_clog10.c (__clog10): Likewise.
6353 * math/s_clog10f.c (__clog10f): Likewise.
6354 * math/s_clog10l.c (__clog10l): Likewise.
6355 * math/s_clogf.c (__clogf): Likewise.
6356 * math/s_clogl.c (__clogl): Likewise.
6357 * math/libm-test.inc (clog_test): Add more tests.
6358 (clog10_test): Likewise.
6359 * sysdeps/i386/fpu/libm-test-ulps: Update.
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6362 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6366 by 7 not 8 to examine high bit of fractional part.
6369 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6370 for call to __mcount_internal.
6371 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6372 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6373 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6375 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6378 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6379 approximation for values within 0x1p-13f of an odd multiple of
6381 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6382 exception. Add more tests.
6383 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6387 inputs and return -1 for them. Do not check for +Inf in case not
6389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6390 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6392 and return -1 for them. Do not check for +Inf in case not
6394 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6397 and return -1 for them. Do not check for +Inf in case not
6399 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6404 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6406 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6408 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6412 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6413 could result in spurious underflow. Scale down values above
6414 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6415 * math/s_csqrtf.c (__csqrtf): Likewise.
6416 * math/s_csqrtl.c (__csqrtl): Likewise.
6417 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6419 * sysdeps/i386/fpu/libm-test-ulps: Update.
6420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6424 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6426 * catgets/xopen-msg.awk: New file.
6427 * catgets/xopen-msg.sed: Removed.
6429 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6431 * intl/po2test.awk: New file.
6432 * intl/po2test.sed: Removed.
6434 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6437 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6438 or multiply small sinh result by itself.
6439 * math/s_ctanf.c (__ctanf): Likewise.
6440 * math/s_ctanh.c (__ctanh): Likewise.
6441 * math/s_ctanhf.c (__ctanhf): Likewise.
6442 * math/s_ctanhl.c (__ctanhl): Likewise.
6443 * math/s_ctanl.c (__ctanl): Likewise.
6444 * math/libm-test.inc (ctan_test_tonearest): New function.
6445 (ctan_test_towardzero): Likewise.
6446 (ctan_test_downward): Likewise.
6447 (ctan_test_upward): Likewise.
6448 (ctanh_test_tonearest): Likewise.
6449 (ctanh_test_towardzero): Likewise.
6450 (ctanh_test_downward): Likewise.
6451 (ctanh_test_upward): Likewise.
6452 (main): Call these new functions.
6453 * sysdeps/i386/fpu/libm-test-ulps: Update.
6454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6456 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6458 * .gitignore: Delete /ports entry.
6460 2012-07-03 Andreas Jaeger <aj@suse.de>
6462 * po/bg.po: Update from translation team.
6463 * po/cs.po: Likewise.
6464 * po/de.po: Likewise.
6465 * po/hr.po: Likewise.
6466 * po/nl.pl: Likewise.
6467 * po/pl.po: Likewise.
6468 * po/vi.po: Likewise.
6470 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6472 * Makeconfig [!+link] (+link-before-libc): New variable.
6473 [!+link] (+link-after-libc): Likewise.
6474 [!+link] (+link-tests): Likewise.
6475 [!+link] (+link): Define in terms of $(+link-before-libc) and
6476 $(+link-after-libc).
6477 [!+link-static] (+link-static-before-libc): New variable.
6478 [!+link-static] (+link-static-after-libc): Likewise.
6479 [!+link-static] (+link-static-tests): Likewise.
6480 [!+link-static] (+link-static): Define in terms of
6481 $(+link-static-before-libc) and $(+link-static-after-libc).
6482 [build-shared] (link-libc-before-gnulib): New variable.
6483 [build-shared] (link-libc-tests): Likewise.
6484 [build-shared] (link-libc): Define in terms of
6485 $(link-libc-before-gnulib).
6486 [!build-shared] (link-libc-tests): New variable.
6487 (link-libc-static-tests): New variable.
6488 [!gnulib] (gnulib-arch): New variable.
6489 [!gnulib] (gnulib-tests): Likewise.
6490 [!gnulib] (static-gnulib-arch): Likewise.
6491 [!gnulib] (static-gnulib-tests): Likewise.
6492 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6493 Define with "=" instead of ":=".
6494 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6495 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6496 * Rules (binaries-all-notests): New variable.
6497 (binaries-all-tests): Likewise.
6498 (binaries-static-notests): Likewise.
6499 (binaries-static-tests): Likewise.
6500 (binaries-all): Define using $(binaries-all-notests) and
6501 $(binaries-all-tests).
6502 (binaries-static): Define using $(binaries-static-notests) and
6503 $(binaries-static-tests).
6504 (binaries-shared-tests): New variable.
6505 (binaries-shared-notests): Likewise.
6506 (binaries-shared): Remove variable.
6507 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6508 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6509 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6510 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6511 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6512 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6513 * elf/Makefile (sln-modules): New variable.
6514 (extra-objs): Add $(sln-modules:=.o).
6515 (ldconfig-modules): Add static-stubs.
6516 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6517 * elf/static-stubs.c: New file.
6520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6521 by 7 not 8 to examine high bit of fractional part. Use volatile
6522 variables when splitting into final array of floats if
6523 __FLT_EVAL_METHOD__ != 0.
6524 * math/libm-test.inc (cos_test): Add another test.
6525 (sin_test): Likewise.
6526 * sysdeps/i386/fpu/libm-test-ulps: Update.
6529 * math/libm-test.inc (cosh_test): Add more tests.
6531 * version.h (RELEASE): Set to "development".
6532 (VERSION): Set to "2.16.90".
6534 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6536 * NEWS: Update copyright. Remove last-updated date.
6537 Mention math library bug fixes and timezone data changes.
6538 * README: Mention GNU/Hurd, x32, and HPPA support status.
6540 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6542 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6544 2012-06-27 Andreas Jaeger <aj@suse.de>
6546 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6548 2012-06-25 Andreas Jaeger <aj@suse.de>
6550 * sysdeps/s390/fpu/libm-test-ulps: Update.
6552 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6553 Thomas Schwinge <thomas@codesourcery.com>
6555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6556 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6560 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6562 * sysdeps/mach/start.c: Remove file.
6563 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6564 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6565 * sysdeps/sh/init-first.c: Likewise.
6567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6568 registers for frame unwinding purposes, add CFI directives.
6569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6571 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6575 __fortify_fail returning.
6576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6579 sysdeps/sh/____longjmp_chk.S.
6580 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6581 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6582 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6583 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6585 * sysdeps/sh/abort-instr.h: New file.
6586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6587 process in case exit returns.
6589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6590 initialize the GOT register before use.
6592 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6593 calculation of ARGC > 4.
6595 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6596 meaningful names to some local labels.
6598 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6599 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6601 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6602 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6603 (__arch_compare_and_exchange_val_16_acq): Likewise.
6604 (__arch_compare_and_exchange_val_32_acq): Likewise.
6605 (atomic_exchange_and_add): Fix gUSA sequence.
6606 (atomic_add): Likewise.
6607 (atomic_add_negative): Likewise.
6608 (atomic_add_zero): Likewise.
6609 (atomic_bit_test_set): Likewise.
6611 2012-06-22 Andreas Schwab <schwab@redhat.com>
6614 * include/link.h (struct link_map): Add l_free_initfini.
6615 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6617 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6618 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6619 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6622 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6624 * configure.in: Use AC_LANG_SOURCE.
6625 * configure: Regenerate.
6627 2012-06-22 Roland McGrath <roland@hack.frob.com>
6629 * configure.in (libc_cv_localstatedir): New substituted variable.
6630 * configure: Regenerated.
6631 * config.make.in (localstatedir): New variable, substituted from
6632 libc_cv_localstatedir.
6633 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6634 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6635 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6636 * sysdeps/gnu/configure: Regenerated.
6638 2012-06-21 Jeff Law <law@redhat.com>
6641 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6642 free. Simplify list management for _LIBC case.
6644 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6648 Clear sign bit of 64-bit integer value before comparing against
6651 * sysdeps/mach/configure: Regenerated.
6653 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6656 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6658 2012-06-21 Jeff Law <law@redhat.com>
6661 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6662 uint16_t for elements in the "seen" array to avoid char overflows.
6663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6664 * elf/dl-open.c (dl_open_worker): Likewise.
6666 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6668 * scripts/list-sources.sh: Scan PORTS for translations.
6669 * po/libc.pot: Regenerated.
6671 2012-06-21 Andreas Jaeger <aj@suse.de>
6674 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6676 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6677 * bits/byteswap-16.h (__bswap_16): Likewise.
6678 * bits/byteswap.h (__bswap_constant_16): Likewise.
6680 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6683 * sysdeps/i386/fpu_control.h: Removed.
6684 * sysdeps/x86_64/fpu_control.h: Moved to ...
6685 * sysdeps/x86/fpu_control.h: Here.
6687 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6688 (_FPU_SETCW): Likewise.
6690 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6693 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6694 * sysdeps/x86/fpu/bits/mathinline.h: This.
6695 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6699 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6700 functions if __x86_64__ is defined.
6702 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6704 * string/endian.h: Add !__ASSEMBLER__ condition for including
6705 conversion interfaces.
6707 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6711 of ABS(x) in calculating zero to negative powers other than odd
6713 * math/libm-test.inc (pow_test): Add more tests.
6715 2012-06-15 Andreas Jaeger <aj@suse.de>
6717 * manual/contrib.texi (Contributors): Update entry of Liubov
6718 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6721 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6723 * string/string.h: Add __wur to GNU version of strerror_r.
6725 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6728 * string/Makefile (tests): Add tst-strtok_r.
6729 * string/tst-strtok_r.c: New file.
6730 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6731 RAX_LP/RDX_LP on SAVE_PTR.
6733 2012-06-14 Roland McGrath <roland@hack.frob.com>
6735 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6737 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6739 * libm_test.inc (csqrt_test): Allow more spurious underflow
6741 (j0_test): Likewise.
6742 (j1_test): Likewise.
6743 (y0_test): Likewise.
6744 (y1_test): Likewise.
6746 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6748 * po/Makefile (libc.pot): Use UTF-8 charset.
6750 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6753 Suppress sign-conversion warning from FD_SET.
6754 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6755 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6756 not unsigned long int.
6757 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6759 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6763 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6764 __extern_always_inline instead of __extern_inline.
6765 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6766 (__signbit): Likewise.
6767 (__signbitl): Support C++ namespace.
6768 (lrintf): New inline function.
6770 (llrintf): Likewise.
6782 (nearbyint): Likewise.
6783 (nearbyintf): Likewise.
6785 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6788 non-default versions.
6790 2012-06-11 Roland McGrath <roland@hack.frob.com>
6793 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6795 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6797 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6798 (FE_UPWARD, FE_DOWNWARD): Don't define.
6799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6807 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6812 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6814 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6817 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6818 * sysdeps/i386/fpu/Implies: New file.
6819 * sysdeps/x86_64/fpu/Implies: Likewise.
6820 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6821 * sysdeps/x86/fpu/bits/fenv.h: This.
6823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6826 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6829 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6830 character 0xffff that matches the last element of the
6833 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6838 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6841 values higher than 25.6283.
6843 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6846 subnormal exponent extraction and add some __builtin_expect.
6847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6848 Fix for subnormal mantissa calculation.
6850 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6852 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6853 cpu2 is -1 and errno is not ENOSYS.
6855 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6858 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6859 * sysdeps/x86/bits/string.h: This.
6860 * sysdeps/x86_64/bits/string.h: Removed.
6862 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6863 if not compiling for x86-64, but compiling for >= i486.
6865 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6866 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6869 New macro from Linux kernel 3.4.0.
6870 (FP_XSTATE_MAGIC2): Likewise.
6871 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6872 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6873 (struct _fpx_sw_bytes): New struct.
6874 (struct _xsave_hdr): Likewise.
6875 (struct _ymmh_state): Likewise.
6876 (struct _xstate): Likewise.
6878 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6879 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6881 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6883 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6885 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6887 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6888 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6889 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6890 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6892 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6895 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6896 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6897 (sysdep_headers): Include sys/platform/ppc.h.
6898 * sysdeps/powerpc/test-gettimebase.c: Test for
6899 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6900 * manual/Makefile (appendices): Include platform.texi.
6901 * manual/contrib.texi (Contributors): Update @node pointers.
6902 * manual/maint.texi (Maintenance): Likewise.
6903 (Platform): New node.
6904 * manual/platform.texi: New file. Document the new features.
6906 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6907 Jakub Jelinek <jakub@redhat.com>
6910 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6911 where __builtin_expect is unavailable.
6913 2012-06-03 David S. Miller <davem@davemloft.net>
6915 * stdlib/longlong.h: Updated from GCC.
6917 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6920 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6921 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6924 (GLIBC_2.16): Likewise.
6926 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6930 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6933 (default-abi): New variable.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6937 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6939 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6941 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6944 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6945 definition. Document in comment.
6947 2012-06-01 David S. Miller <davem@davemloft.net>
6949 * stdlib/longlong.h: Updated from GCC.
6951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6954 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6955 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6956 sys/debugreg.h sys/io.h here.
6957 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6958 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6960 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6961 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6963 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6965 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6968 Define only if __x86_64__ is defined.
6970 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6974 Use int64_t for variable i.
6975 * math/libm-test.inc (fmod_test): Add more tests.
6977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6978 z computation is not scheduled after fetestexcept.
6979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6980 Use math_force_eval instead of asm to ensure calculation scheduled
6981 before exception test.
6982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6983 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6985 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6988 computation is not scheduled after fetestexcept.
6990 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6996 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6998 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7006 (__WCHAR_MIN): Support __WORDSIZE == 64.
7007 (__WCHAR_MAX): Likewise.
7009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7014 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7017 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7024 Defined to 1 if __x86_64__ isn't defined.
7025 (_STAT_VER_LINUX_OLD): New.
7026 (st_atime): Remove duplicate.
7027 (st_mtime): Likewise.
7028 (st_ctime): Likewise.
7030 2012-05-31 David S. Miller <davem@davemloft.net>
7032 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7035 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7037 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7041 * elf/dl-reloc.c: Include <_itoa.h>.
7042 (_dl_reloc_bad_type): Remove use of INTUSE.
7043 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7044 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7045 * stdio-common/psiginfo.c (psiginfo): Likewise.
7046 * stdio-common/psignal.c (psignal): Likewise.
7047 * string/strsignal.c (strsignal): Likewise.
7048 * include/signal.h (_sys_siglist): Declare hidden proto.
7049 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7050 INTVARDEF with libc_hidden_data_def.
7051 * stdio-common/itoa-udigits.c: Likewise.
7052 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7053 (_itoa_lower_digits_internal): Remove declaration.
7054 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7055 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7056 (_sys_sigabbrev_internal): Remove aliases.
7057 (_sys_siglist): Define hidden alias.
7059 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7064 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7068 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7070 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7071 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7072 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7073 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7075 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7077 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7093 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7094 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7096 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7097 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7101 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7110 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7111 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7113 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7115 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7117 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7123 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7125 * math/math.h (M_El): Use two more decimal places.
7126 (M_LOG2El): Likewise.
7127 (M_LOG10El): Likewise.
7129 (M_LN10l): Likewise.
7131 (M_PI_2l): Likewise.
7132 (M_PI_4l): Likewise.
7133 (M_1_PIl): Likewise.
7134 (M_2_PIl): Likewise.
7135 (M_2_SQRTPIl): Likewise.
7136 (M_SQRT2l): Likewise.
7137 (M_SQRT1_2l): Likewise.
7139 2012-05-31 David S. Miller <davem@davemloft.net>
7141 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7142 values between float registers.
7143 * sysdeps/sparc/sparc64/memset.S: Likewise.
7144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7146 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7148 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7149 -D_FORTIFY_SOURCE=1.
7150 (CPPFLAGS-tst-longjmp_chk.c): Define.
7151 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7152 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7153 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7154 CFLAGS-tst-wchar-h.c.
7156 2012-05-31 Marek Polacek <polacek@redhat.com>
7159 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7160 __endmntent_internal): Remove declaration.
7161 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7162 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7163 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7165 2012-05-30 David S. Miller <davem@davemloft.net>
7167 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7168 (___Q_simulate_exceptions): Use real FP ops rather than writing
7170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7173 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7176 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7177 * sysdeps/x86/bits/xtitypes.h: This.
7179 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7180 * sysdeps/x86/bits/wordsize.h: This.
7182 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7183 * sysdeps/x86/bits/huge_vall.h: This.
7185 * sysdeps/i386/bits/select.h: Removed.
7186 * sysdeps/x86_64/bits/select.h: Renamed to ...
7187 * sysdeps/x86/bits/select.h: This.
7189 * sysdeps/i386/bits/setjmp.h: Removed.
7190 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7191 * sysdeps/x86/bits/setjmp.h: This.
7193 * sysdeps/i386/bits/mathdef.h: Removed.
7194 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7195 * sysdeps/x86/bits/mathdef.h: This.
7197 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7200 * include/sys/socket.h (__connect_internal)
7201 (__libc_sa_len_internal): Remove declaration.
7202 (__connect, __libc_sa_len): Declare hidden_proto.
7203 (SA_LEN): Remove use of INTUSE.
7204 * socket/connect.c: Add libc_hidden_def.
7205 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7206 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7207 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7209 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7211 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7212 of adding _internal alias.
7214 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7217 * sysdeps/i386/bits/link.h: Removed.
7218 * sysdeps/i386/bits/linkmap.h: Likewise.
7219 * sysdeps/x86_64/bits/link.h: Renamed to ...
7220 * sysdeps/x86/bits/link.h: This.
7221 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7222 * sysdeps/x86/bits/linkmap.h: This.
7224 * sysdeps/i386/bits/endian.h: Removed.
7225 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7226 * sysdeps/x86/bits/endian.h: This.
7228 * sysdeps/i386/bits/byteswap.h: Removed.
7229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7230 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7231 * sysdeps/x86/bits/byteswap.h: This.
7232 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7233 * sysdeps/x86/bits/byteswap-16.h: This.
7234 * sysdeps/i386/Implies: Add x86.
7235 * sysdeps/x86_64/Implies: Likewise.
7237 2012-05-30 David S. Miller <davem@davemloft.net>
7239 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7240 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7242 (FP_TRAPPING_EXCEPTIONS): Define.
7243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7244 (FP_TRAPPING_EXCEPTIONS): Define.
7245 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7246 subnormals only when inexact has been signalled or underflow
7247 exceptions are enabled.
7248 (_FP_PACK_CANONICAL): Likewise.
7250 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7254 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7256 2012-05-30 Richard Henderson <rth@twiddle.net>
7258 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7259 with #ifndef NOT_IN_libc.
7261 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7262 marked to avoid plt entry.
7264 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7267 * Makeconfig (default-abi): New macro.
7268 (abi-includes): Likewise.
7269 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7270 $(abi-$(default-abi)-lib-soname) for soname if defined.
7271 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7273 * Makefile (installed-stubs): Likewise.
7274 * include/stubs-biarch.h: Removed.
7275 * scripts/lib-names.awk: Only handle one library at a time.
7276 * scripts/soversions.awk: Remove WORDSIZE support.
7277 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7279 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7281 (syscall-list-default-condition): Likewise.
7282 (syscall-list-default-condition): Likewise.
7283 (syscall-list-includes): Likewise.
7284 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7285 syscall-list-* with abi-*. Handle undefined abi-variants.
7286 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7287 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7288 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7290 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7291 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7293 (syscall-list-32-options): Likewise.
7294 (syscall-list-32-condition): Likewise.
7295 (syscall-list-64-options): Likewise.
7296 (syscall-list-64-condition): Likewise.
7297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7299 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7302 (abi-64-ld-soname): New macro.
7303 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7304 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7307 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7308 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7310 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7312 * sysdeps/unix/sysv/linux/kernel-features.h
7313 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7314 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7315 include <kernel-features.h>.
7316 [!__NR_ftruncate64]: Remove conditional code.
7317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7318 [__NR_ftruncate64]: Make code unconditional.
7319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7320 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7321 include <kernel-features.h>.
7322 [!__NR_ftruncate64]: Remove conditional code.
7323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7324 [__NR_ftruncate64]: Make code unconditional.
7325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7327 include <kernel-features.h>.
7328 [!__NR_ftruncate64]: Remove conditional code.
7329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7330 [__NR_ftruncate64]: Make code unconditional.
7331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7333 include <kernel-features.h>.
7334 [!__NR_ftruncate64]: Remove conditional code.
7335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7336 [__NR_ftruncate64]: Make code unconditional.
7337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7339 * configure.in (libc_cv_fpie): Weaken to a compile test using
7341 * configure: Regenerated.
7343 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7358 2012-05-27 David S. Miller <davem@davemloft.net>
7360 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7362 (__Q_simulate_exceptions): Return void. Change to simulate
7363 exceptions by writing into the %fsr.
7364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7365 (__Qp_handle_exceptions): Likewise.
7367 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7368 __Qp_handle_exceptions.
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7370 __Qp_handle_exceptions.
7371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7372 as unused and give dummy FP_RND_NEAREST initializer.
7373 (FP_INHIBIT_RESULTS): Define.
7374 (___Q_simulate_exceptions): Update declaration.
7375 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7378 as unused and give dummy FP_RND_NEAREST initializer.
7379 (__Qp_handle_exceptions): Update declaration.
7380 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7383 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7386 the temporary FPU control word.
7387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7388 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7390 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7395 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7396 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7399 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7404 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7406 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7407 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7411 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7412 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7415 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7417 * po/h.po: Update from translation team.
7419 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7421 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7424 handling of denormals.
7425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7434 2012-05-26 Marek Polacek <polacek@redhat.com>
7437 * math/libm-test.inc (fma_test): Don't always expect underflow
7440 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7443 * elf/tst-execstack.c: Include stackinfo.h.
7444 (do_test): Adjust test case to ensure that pthread_getattr_np
7445 behaviour remains the same after marking stack executable.
7447 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7449 * sysdeps/unix/sysv/linux/kernel-features.h
7450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7451 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7455 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7460 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7462 * configure.in: Define the default includes to being none.
7463 * configure: Regenerated.
7465 2012-05-25 Roland McGrath <roland@hack.frob.com>
7467 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7468 * sysdeps/x86_64/setjmp.S: Likewise.
7469 * sysdeps/i386/bsd-setjmp.S: Likewise.
7470 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7471 * sysdeps/i386/setjmp.S: Likewise.
7472 * sysdeps/i386/__longjmp.S: Likewise.
7473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7476 * include/stap-probe.h: New file.
7477 * configure.in: Handle --enable-systemtap.
7478 * configure: Regenerated.
7479 * config.h.in (USE_STAP_PROBE): New #undef.
7480 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7481 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7482 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7484 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7488 to 2.4.0 where earlier.
7489 * sysdeps/unix/sysv/linux/configure: Regenerated.
7490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7491 <kernel-features.h>.
7492 [__ASSUME_32BITUIDS]: Make code unconditional.
7493 [!__ASSUME_32BITUIDS]: Remove conditional code.
7494 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7495 <kernel-features.h>.
7496 [__ASSUME_32BITUIDS]: Make code unconditional.
7497 [!__ASSUME_32BITUIDS]: Remove conditional code.
7498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7499 [__ASSUME_32BITUIDS]: Make code unconditional.
7500 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7501 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7502 <kernel-features.h>.
7503 [__ASSUME_32BITUIDS]: Make code unconditional.
7504 [!__ASSUME_32BITUIDS]: Remove conditional code.
7505 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7506 <kernel-features.h>.
7507 [__ASSUME_32BITUIDS]: Make code unconditional.
7508 [!__ASSUME_32BITUIDS]: Remove conditional code.
7509 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7510 <kernel-features.h>.
7511 [__ASSUME_32BITUIDS]: Make code unconditional.
7512 [!__ASSUME_32BITUIDS]: Remove conditional code.
7513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7514 <kernel-features.h>.
7515 [__ASSUME_32BITUIDS]: Make code unconditional.
7516 [!__ASSUME_32BITUIDS]: Remove conditional code.
7517 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7518 <kernel-features.h>.
7519 [__ASSUME_32BITUIDS]: Make code unconditional.
7520 [!__ASSUME_32BITUIDS]: Remove conditional code.
7521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7522 <kernel-features.h>.
7523 [__ASSUME_32BITUIDS]: Make code unconditional.
7524 [!__ASSUME_32BITUIDS]: Remove conditional code.
7525 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7526 <kernel-features.h>.
7527 [__ASSUME_32BITUIDS]: Make code unconditional.
7528 [!__ASSUME_32BITUIDS]: Remove conditional code.
7529 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7530 <kernel-features.h>.
7531 [__ASSUME_32BITUIDS]: Make code unconditional.
7532 [!__ASSUME_32BITUIDS]: Remove conditional code.
7533 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7534 <kernel-features.h>.
7535 [__ASSUME_32BITUIDS]: Make code unconditional.
7536 [!__ASSUME_32BITUIDS]: Remove conditional code.
7537 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7538 <kernel-features.h>.
7539 [__ASSUME_32BITUIDS]: Make code unconditional.
7540 [!__ASSUME_32BITUIDS]: Remove conditional code.
7541 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7542 <kernel-features.h>.
7543 [__NR_setresgid] (__setresgid): Do not declare.
7544 [__ASSUME_32BITUIDS]: Make code unconditional.
7545 [!__ASSUME_32BITUIDS]: Remove conditional code.
7546 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7547 <kernel-features.h>.
7548 [__NR_setresuid] (__setresuid): Do not declare.
7549 [__ASSUME_32BITUIDS]: Make code unconditional.
7550 [!__ASSUME_32BITUIDS]: Remove conditional code.
7551 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7552 <kernel-features.h>.
7553 [__ASSUME_32BITUIDS]: Make code unconditional.
7554 [!__ASSUME_32BITUIDS]: Remove conditional code.
7555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7556 <kernel-features.h>.
7557 [__ASSUME_32BITUIDS]: Make code unconditional.
7558 [!__ASSUME_32BITUIDS]: Remove conditional code.
7559 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7560 <kernel-features.h>.
7561 [__ASSUME_32BITUIDS]: Make code unconditional.
7562 [!__ASSUME_32BITUIDS]: Remove conditional code.
7563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7564 <kernel-features.h>.
7565 [__ASSUME_32BITUIDS]: Make code unconditional.
7566 [!__ASSUME_32BITUIDS]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7568 <kernel-features.h>.
7569 [__ASSUME_32BITUIDS]: Make code unconditional.
7570 [!__ASSUME_32BITUIDS]: Remove conditional code.
7571 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7572 <kernel-features.h>.
7573 [__ASSUME_32BITUIDS]: Make code unconditional.
7574 [!__ASSUME_32BITUIDS]: Remove conditional code.
7575 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7576 <kernel-features.h>.
7577 [__ASSUME_32BITUIDS]: Make code unconditional.
7578 [!__ASSUME_32BITUIDS]: Remove conditional code.
7579 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7580 <kernel-features.h>.
7581 [__ASSUME_32BITUIDS]: Make code unconditional.
7582 [!__ASSUME_32BITUIDS]: Remove conditional code.
7583 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7584 <kernel-features.h>.
7585 [__ASSUME_32BITUIDS]: Make code unconditional.
7586 [!__ASSUME_32BITUIDS]: Remove conditional code.
7587 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7588 <kernel-features.h>.
7589 [__ASSUME_32BITUIDS]: Make code unconditional.
7590 [!__ASSUME_32BITUIDS]: Remove conditional code.
7591 * sysdeps/unix/sysv/linux/kernel-features.h
7592 (__ASSUME_SETRESUID_SYSCALL): Remove.
7593 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7594 (__ASSUME_32BITUIDS): Likewise.
7595 (__ASSUME_LDT_WORKS): Likewise.
7596 (__ASSUME_O_DIRECTORY): Likewise.
7597 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7598 architecture but not kernel version.
7599 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7600 (__ASSUME_MMAP2_SYSCALL): Likewise.
7601 (__ASSUME_STAT64_SYSCALL): Likewise.
7602 (__ASSUME_IPC64): Likewise.
7603 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7604 <kernel-features.h>.
7605 [__ASSUME_32BITUIDS]: Make code unconditional.
7606 [!__ASSUME_32BITUIDS]: Remove conditional code.
7607 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7608 <kernel-features.h>.
7609 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7610 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7611 132096]: Remove conditional code.
7612 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7614 <kernel-features.h>.
7615 [__ASSUME_32BITUIDS]: Make code unconditional.
7616 [!__ASSUME_32BITUIDS]: Remove conditional code.
7617 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7618 <kernel-features.h>.
7619 [__ASSUME_32BITUIDS]: Make code unconditional.
7620 [!__ASSUME_32BITUIDS]: Remove conditional code.
7621 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7622 <kernel-features.h>.
7623 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7625 (__setresgid): Do not declare.
7626 [__ASSUME_32BITUIDS]: Make code unconditional.
7627 [!__ASSUME_32BITUIDS]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7629 <kernel-features.h>.
7630 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7632 (__setresuid): Do not declare.
7633 [__ASSUME_32BITUIDS]: Make code unconditional.
7634 [!__ASSUME_32BITUIDS]: Remove conditional code.
7635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7636 <kernel-features.h>.
7637 [__ASSUME_32BITUIDS]: Make code unconditional.
7638 [!__ASSUME_32BITUIDS]: Remove conditional code.
7639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7640 <kernel-features.h>.
7641 [__ASSUME_32BITUIDS]: Make code unconditional.
7642 [!__ASSUME_32BITUIDS]: Remove conditional code.
7644 2012-05-25 Richard Henderson <rth@twiddle.net>
7646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7647 dl_hwcap to ifunc resolver.
7648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7650 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7651 dl_hwcap to ifunc resolver.
7652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7654 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7658 for |x| <= 2**-26, not 2**-57.
7659 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7662 2012-05-24 Jeff Law <law@redhat.com>
7664 * stdio-common/Makefile (tests): Add bug25.
7665 * stdio-common/bug25.c: New test.
7667 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7670 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7671 multiple of MALLOC_ALIGNMENT in size.
7672 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7674 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7676 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7678 (FILENAME_MAX): Use macro-int-constant.
7679 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7680 (_IOFBF): Use macro-int-constant.
7683 (SEEK_CUR): Likewise.
7684 (SEEK_END): Likewise.
7685 (SEEK_SET): Likewise.
7686 (TMP_MAX): Likewise.
7687 (EOF): Use macro-int-constant. Require < 0.
7688 (NULL): Use macro-constant. Require == 0.
7689 (stdin): Require type to be FILE *.
7692 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7694 (EXIT_SUCCESS): Likewise.
7695 (NULL): Use macro-constant. Require == 0.
7696 (RAND_MAX): Use macro-int-constant.
7697 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7698 [C99-based standards] (strtof): Require function.
7699 [C99-based standards] (strtold): Likewise.
7700 [C99-based standards] (strtoll): Likewise.
7701 [C99-based standards] (strtoull): Likewise.
7702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7703 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7704 [ISO || ISO99 || ISO11] (math.h): Likewise.
7705 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7709 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7712 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7713 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7714 * intl/dgettext.c (DCGETTEXT): Likewise.
7715 * intl/gettext.c (DCGETTEXT): Likewise.
7716 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7717 * posix/regex_internal.h (gettext): Likewise.
7718 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7720 * include/argz.h (__argz_count_internal)
7721 (__argz_stringify_internal): Remove declaration.
7722 (__argz_count, __argz_stringify): Declare hidden proto.
7723 * intl/dcgettext.c: Remove use of INTDEF.
7724 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7725 * string/argz-stringify.c: Likewise.
7726 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7727 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7728 Declare hidden proto.
7729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7731 Declare hidden proto.
7732 * include/stdio.h (__asprintf_internal): Don't declare.
7733 (__asprintf): Don't define as macro. Declare hidden proto.
7734 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7735 (__fsetlocking): Declare hidden proto.
7736 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7737 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7739 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7740 (_IO_setlinebuf): Remove use of INTUSE.
7741 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7742 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7743 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7745 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7746 (_IO_do_flush): Remove use of INTUSE.
7747 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7748 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7749 (_IO_adjust_column, _IO_least_wmarker)
7750 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7751 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7752 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7753 (_IO_default_doallocate, _IO_wdefault_doallocate)
7754 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7755 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7756 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7757 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7758 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7759 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7760 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7761 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7762 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7763 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7764 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7765 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7766 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7768 (_IO_flush_all_internal, _IO_adjust_column_internal)
7769 (_IO_default_uflow_internal, _IO_default_finish_internal)
7770 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7771 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7772 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7773 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7774 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7775 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7776 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7777 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7778 (_IO_file_close_internal, _IO_file_close_it_internal)
7779 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7780 (_IO_file_init_internal, _IO_file_attach_internal)
7781 (_IO_file_fopen_internal, _IO_file_read_internal)
7782 (_IO_file_sync_internal, _IO_file_seek_internal)
7783 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7784 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7785 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7786 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7787 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7788 (_IO_list_all_internal, _IO_link_in_internal)
7789 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7790 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7791 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7792 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7793 (_IO_do_write_internal, _IO_padn_internal)
7794 (_IO_getline_info_internal, _IO_getline_internal)
7795 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7796 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7797 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7798 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7799 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7800 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7801 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7802 with libc_hidden_ver, remove use of INTUSE.
7803 * libio/genops.c: Likewise.
7804 * libio/freopen.c: Likewise.
7805 * libio/freopen64.c: Likewise.
7806 * libio/iofclose.c: Likewise.
7807 * libio/iofdopen.c: Likewise.
7808 * libio/iofflush.c: Likewise.
7809 * libio/iofflush_u.c: Likewise.
7810 * libio/iofgets.c: Likewise.
7811 * libio/iofgets_u.c: Likewise.
7812 * libio/iofopen.c: Likewise.
7813 * libio/iofopncook.c: Likewise.
7814 * libio/iofread.c: Likewise.
7815 * libio/iofread_u.c: Likewise.
7816 * libio/ioftell.c: Likewise.
7817 * libio/iofwrite.c: Likewise.
7818 * libio/iogetline.c: Likewise.
7819 * libio/iogets.c: Likewise.
7820 * libio/iogetwline.c: Likewise.
7821 * libio/iopadn.c: Likewise.
7822 * libio/iopopen.c: Likewise.
7823 * libio/ioseekoff.c: Likewise.
7824 * libio/ioseekpos.c: Likewise.
7825 * libio/iosetbuffer.c: Likewise.
7826 * libio/iosetvbuf.c: Likewise.
7827 * libio/ioungetc.c: Likewise.
7828 * libio/ioungetwc.c: Likewise.
7829 * libio/iovdprintf.c: Likewise.
7830 * libio/iovsprintf.c: Likewise.
7831 * libio/iovsscanf.c: Likewise.
7832 * libio/memstream.c: Likewise.
7833 * libio/obprintf.c: Likewise.
7834 * libio/oldfileops.c: Likewise.
7835 * libio/oldiofclose.c: Likewise.
7836 * libio/oldiofdopen.c: Likewise.
7837 * libio/oldiofopen.c: Likewise.
7838 * libio/oldiopopen.c: Likewise.
7839 * libio/oldstdfiles.c: Likewise.
7840 * libio/putc.c: Likewise.
7841 * libio/setbuf.c: Likewise.
7842 * libio/setlinebuf.c: Likewise.
7843 * libio/stdfiles.c: Likewise.
7844 * libio/strops.c: Likewise.
7845 * libio/vasprintf.c: Likewise.
7846 * libio/vscanf.c: Likewise.
7847 * libio/vsnprintf.c: Likewise.
7848 * libio/vswprintf.c: Likewise.
7849 * libio/wfiledoalloc.c: Likewise.
7850 * libio/wfileops.c: Likewise.
7851 * libio/wgenops.c: Likewise.
7852 * libio/wmemstream.c: Likewise.
7853 * libio/wstrops.c: Likewise.
7854 * libio/__fpurge.c: Likewise.
7855 * libio/__fsetlocking.c: Likewise.
7856 * assert/assert.c: Likewise.
7857 * debug/fgets_chk.c: Likewise.
7858 * debug/fgets_u_chk.c: Likewise.
7859 * debug/fread_chk.c: Likewise.
7860 * debug/fread_u_chk.c: Likewise.
7861 * debug/gets_chk.c: Likewise.
7862 * debug/obprintf_chk.c: Likewise.
7863 * debug/vasprintf_chk.c: Likewise.
7864 * debug/vdprintf_chk.c: Likewise.
7865 * debug/vsnprintf_chk.c: Likewise.
7866 * debug/vsprintf_chk.c: Likewise.
7867 * malloc/mtrace.c: Likewise.
7868 * misc/error.c: Likewise.
7869 * misc/syslog.c: Likewise.
7870 * stdio-common/asprintf.c: Likewise.
7871 * stdio-common/fxprintf.c: Likewise.
7872 * stdio-common/getw.c: Likewise.
7873 * stdio-common/isoc99_fscanf.c: Likewise.
7874 * stdio-common/isoc99_scanf.c: Likewise.
7875 * stdio-common/isoc99_vfscanf.c: Likewise.
7876 * stdio-common/isoc99_vscanf.c: Likewise.
7877 * stdio-common/isoc99_vsscanf.c: Likewise.
7878 * stdio-common/printf-prs.c: Likewise.
7879 * stdio-common/printf_fp.c: Likewise.
7880 * stdio-common/printf_fphex.c: Likewise.
7881 * stdio-common/printf_size.c: Likewise.
7882 * stdio-common/putw.c: Likewise.
7883 * stdio-common/scanf.c: Likewise.
7884 * stdio-common/sprintf.c: Likewise.
7885 * stdio-common/tmpfile.c: Likewise.
7886 * stdio-common/vfprintf.c: Likewise.
7887 * stdio-common/vfscanf.c: Likewise.
7888 * stdlib/strfmon_l.c: Likewise.
7889 * sunrpc/openchild.c: Likewise.
7890 * sunrpc/xdr_stdio.c: Likewise.
7891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7892 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7894 2012-05-24 Roland McGrath <roland@hack.frob.com>
7896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7898 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7899 in the third column, to generate for the shared library an IFUNC
7900 that uses _dl_vdso_vsym.
7901 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7902 * Makeconfig (object-suffixes-noshared): New variable.
7904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7905 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7906 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7907 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7910 * include/sys/time.h (__gettimeofday): Remove macro.
7911 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7912 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7914 (__gettimeofday): Add libc_hidden_def.
7915 (gettimeofday): Add libc_hidden_weak.
7916 * sysdeps/mach/gettimeofday.c: Likewise.
7917 * sysdeps/posix/gettimeofday.c: Likewise.
7918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7921 (__gettimeofday_internal): Remove strong_alias.
7922 (__gettimeofday): Add libc_hidden_def.
7923 (gettimeofday): Add libc_hidden_weak.
7924 * sysdeps/unix/syscalls.list (gettimeofday):
7925 Remove __gettimeofday_internal alias.
7927 2012-05-24 Daniel Jacobowitz <drow@false.org>
7928 H.J. Lu <hongjiu.lu@intel.com>
7931 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7932 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7933 (largebin_index_32_big): New.
7934 (largebin_index): Use it for 16-byte alignment.
7935 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7936 correction with front_misalign.
7938 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7966 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7967 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7969 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7973 * math/libm-test.inc (exp_test): Add test from bug 14036.
7974 (pow_test): Add test from bug 10846.
7976 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7978 (special_function): Do not include flags in test name.
7979 (parse_args): Likewise.
7980 * sysdeps/i386/fpu/libm-test-ulps: Update.
7981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7983 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7988 * math/libm-test.inc ("Philosophy"): Update comment about
7990 (UNDERFLOW_EXCEPTION): New macro.
7991 (UNDERFLOW_EXCEPTION_OK): Likewise.
7992 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7993 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7994 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7995 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7996 (INVALID_EXCEPTION_OK): Update value.
7997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7998 (OVERFLOW_EXCEPTION_OK): Likewise.
7999 (IGNORE_ZERO_INF_SIGN): Likewise.
8000 (test_exceptions): Handle underflow exceptions.
8001 (acos_test): Update for underflow exception expectations.
8002 (cexp_test): Likewise.
8003 (clog_test): Likewise.
8004 (clog10_test): Likewise.
8005 (csqrt_test): Likewise.
8006 (ctan_test): Likewise.
8007 (ctanh_test): Likewise.
8008 (exp_test): Likewise.
8009 (exp10_test): Likewise.
8010 (exp2_test): Likewise.
8011 (expm1_test): Likewise.
8012 (fma_test): Likewise.
8013 (j0_test): Likewise.
8014 (jn_test): Likewise.
8015 (nexttoward_test): Likewise.
8016 (pow_test): Likewise.
8017 (scalbn_test): Likewise.
8018 (scalbln_test): Likewise.
8019 (tan_test): Likewise.
8020 (y1_test): Likewise.
8021 * sysdeps/i386/fpu/libm-test-ulps: Update.
8022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8024 2012-05-23 David S. Miller <davem@davemloft.net>
8026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8027 (__libc_sigaction): Remove unused local variables.
8029 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8031 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8033 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8035 mktime: avoid signed integer overflow
8036 * time/mktime.c (__mktime_internal): Do not mishandle the case
8037 where diff == INT_MIN.
8039 mktime: simplify computation of average
8040 * time/mktime.c (ranged_convert): Use new time_t_avg function
8041 instead of rolling our own (probably-slower) code.
8043 mktime: do not assume signed right shift propagates sign bit
8044 * time/mktime.c (isdst_differ): New static function.
8045 (__mktime_internal): No need to normalize tm_isdst now.
8046 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8049 mktime: merge another wrapv change from gnulib
8050 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8051 from some compilers.
8053 mktime: remove incorrect attempt at unusual arithmetics
8054 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8055 The code didn't really work on such machines anyway.
8056 (TYPE_MINIMUM): Assume two's complement.
8057 (twos_complement_arithmetic): Verify that long_int and time_t
8058 are two's complement (or unsigned, in the latter case).
8060 mktime: check signed shifts on long_int and time_t, too
8061 * time/mktime.c (SHR): Check that shifts work as desired
8062 on the types long_int and time_t too, as SHR is used on
8065 mktime: do not assume 'long' is wide enough
8066 * time/mktime.c (verify): Move decl up.
8067 (long_int): New type.
8068 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8069 to remove assumption in the code that 'long' is wide enough to
8070 store year values. This assumption is not true on x32 and on
8071 some non-glibc platforms.
8073 mktime: merge wrapv change from gnulib
8074 * time/mktime.c (WRAPV): New macro.
8075 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8076 (guess_time_tm, __mktime_internal): Do not assume that signed
8077 integer overflow wraps around; modern compilers generate code
8078 where this assumption is no longer valid.
8080 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8083 Replace "jmp L(pseudo_end)" with "ret".
8084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8087 2012-05-23 Andreas Jaeger <aj@suse.de>
8089 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8090 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8092 2012-05-23 Andreas Jaeger <aj@suse.de>
8093 Maximilian Attems <max@stro.at>
8095 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8098 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8101 code so that pseudo_end is just ret and the stack pointer is
8102 correct also for static library in error case.
8104 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8106 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8107 move to syscalls.list.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8113 * manual/install.texi (Running make install): Do not mention Linux
8114 kernel version for which pt_chown is not needed.
8115 (Linux): Do not mention problems with nscd with 2.0 kernels.
8116 * INSTALL: Regenerated.
8118 2012-05-23 Andreas Jaeger <aj@suse.de>
8120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8121 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8123 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8125 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8127 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8133 * sysdeps/unix/sysv/linux/bits/in.h
8134 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8136 2012-05-22 Roland McGrath <roland@hack.frob.com>
8138 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8139 (PREPARE_VERSION): Just use assert instead, it will be elided
8140 under [NDEBUG] anyway.
8142 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8144 * sysdeps/unix/sysv/linux/Makefile: Include
8145 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8146 (sysdep_routines): Remove sysctl.
8147 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8148 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8150 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8151 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8153 2012-05-22 Andreas Jaeger <aj@suse.de>
8155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8156 that pseudo_end is just ret and the stack pointer is correct also
8157 for static library in error case.
8159 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8162 * nss/nsswitch.c (defconfig_entries): New variable.
8163 (__nss_database_lookup): Don't leak defconfig entries.
8164 (nss_parse_service_list): Don't leak on error paths.
8165 (free_database_entries): New function.
8166 (free_defconfig): New function.
8167 (free_mem): Move common code to free_database_entries.
8169 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8175 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8176 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8179 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8180 (INTERNAL_SYSCALL_TYPES): Likewise.
8181 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8182 (LOAD_REGS_TYPES_[1-6]): Likewise.
8183 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8184 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8186 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8189 copysignl for GLIBC_2_0.
8190 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8191 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8193 logbl for GLIBC_2_0.
8194 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8195 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8202 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8205 * time/mktime.c: Update copyright years.
8207 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8209 mktime: merge comment-quoting-style change from gnulib
8210 * time/mktime.c: Quote 'like this' in comments.
8211 The GNU coding standards suggest that we no longer quote `like this',
8212 as "`" and "'" are typically rendered asymmetrically nowadays.
8213 The typical gnulib style is to quote 'like this' when quoting
8214 code, and "like this" when quoting English.
8216 * time/mktime.c (compile-command): Add "-I.".
8218 mktime: merge mktime-internal.h change from gnulib
8219 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8221 mktime: merge time_r change from gnulib
8222 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8224 mktime: merge DEBUG change from gnulib
8225 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8226 case system <time.h> has a #define.
8228 mktime: merge <sys/types.h> change from gnulib
8229 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8230 since <time.t> is now guaranteed to define time_t.
8232 mktime: merge HAVE_CONFIG_H change from gnulib
8233 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8235 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8240 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8242 (struct rusage): Use anonymous union to pad each field to
8245 2012-05-21 David S. Miller <davem@davemloft.net>
8247 * Makefules (o-iterator): Remove .s cases.
8248 (compile-command.s): Delete.
8249 (COMPILE.s): Delete.
8250 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8252 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8254 * configure.in (libc_cv_predef_stack_protector): Only consider
8255 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8256 * configure: Regenerated.
8258 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8261 New macro. Use R*LP on int and pointer.
8262 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8263 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8264 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8267 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8268 [__WORDSIZE_TIME64_COMPAT32] instead of
8269 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8270 (struct utmp): Likewise.
8271 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8272 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8274 (__WORDSIZE_TIME64_COMPAT32): This.
8275 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8276 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8277 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8278 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8280 (__WORDSIZE_TIME64_COMPAT32): New macro.
8282 2012-05-21 Andreas Jaeger <aj@suse.de>
8284 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8285 only if [SHARED]. Add prototype for __wcschr_ia32.
8287 2012-05-21 Roland McGrath <roland@hack.frob.com>
8289 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8290 of %rbp unmolested in the jmp_buf while mangling the low bits.
8291 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8292 unmolested high bits of %rbp while demangling the low bits.
8293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8295 2012-05-21 Andreas Jaeger <aj@suse.de>
8297 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8298 * sunrpc/svc_simple.c: Use it for registerrpc.
8299 * sunrpc/xcrypt.c: Use it for passwd2des.
8301 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8303 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8305 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8306 Don't define if [__SYSCALL_WORDSIZE != 32].
8307 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8310 2012-05-21 Bruno Haible <bruno@clisp.org>
8311 Andreas Jaeger <aj@suse.de>
8313 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8314 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8315 inptr and inend for must_buffer_ch.
8316 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8317 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8318 * stdio-common/Makefile (tests): Remove bug15.
8319 (bug15-ENV): Remove macro.
8320 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8323 2012-05-19 Andreas Jaeger <aj@suse.de>
8324 Roland McGrath <roland@hack.frob.com>
8326 * manual/contrib.texi: Completely rewritten. It contains now an
8327 alphabetical list of contributors and their contributions.
8329 2012-05-21 Richard Henderson <rth@twiddle.net>
8331 * misc/getauxval.c (__getauxval): Use unsigned long int.
8332 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8333 (getauxval): Use unsigned long int.
8335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8339 2012-05-21 Roland McGrath <roland@hack.frob.com>
8341 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8342 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8343 __alignof__ (long double).
8345 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8349 2012-05-20 Richard Henderson <rth@twiddle.net>
8351 * misc/getauxval.c: New file.
8352 * misc/sys/auxv.h: New file.
8353 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8354 (routines): Add getauxval.
8355 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8357 * elf/dl-sysdep.c (_dl_auxv): Remove.
8358 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8359 * elf/dl-support.c (_dl_auxv): New variable.
8360 (_dl_aux_init): Initialize it.
8361 * manual/startup.texi (Auxiliary Vector): New node.
8362 * sysdeps/generic/bits/hwcap.h: New file.
8363 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8364 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8365 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8366 * sysdeps/sparc/sysdep.h: ... here. Include it.
8367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8380 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8384 2012-05-19 David S. Miller <davem@davemloft.net>
8386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8388 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8391 * math/s_ccosh.c: Include <float.h>
8392 (__ccosh): Avoid internal overflow calculating sinh and cosh
8393 values before multiplying by sin and cos values.
8394 * math/s_ccoshf.c: Likewise.
8395 * math/s_ccoshl.c: Likewise.
8396 * math/s_csin.c: Likewise.
8397 * math/s_csinf.c: Likewise.
8398 * math/s_csinl.c: Likewise.
8399 * math/s_csinh.c: Likewise.
8400 * math/s_csinhf.c: Likewise.
8401 * math/s_csinhl.c: Likewise.
8402 * math/libm-test.inc (ccos_test): Add more tests.
8403 (ccosh_test): Likewise.
8404 (csin_test): Likewise.
8405 (csinh_test): Likewise.
8406 * sysdeps/i386/fpu/libm-test-ulps: Update.
8407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8411 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8414 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8416 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8418 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8419 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8420 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8421 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8422 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8423 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8424 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8425 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8426 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8427 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8428 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8429 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8430 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8431 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8432 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8433 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8434 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8435 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8436 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8437 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8438 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8439 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8440 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8441 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8442 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8443 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8444 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8445 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8446 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8447 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8450 2012-05-18 Andreas Jaeger <aj@suse.de>
8452 * csu/.gitignore: Delete.
8454 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8456 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8457 (timex): Use __syscall_slong_t.
8459 2012-05-18 Andreas Jaeger <aj@suse.de>
8460 Carlos O'Donell <carlos_odonell@mentor.com>
8462 * manual/install.texi (Configuring and compiling): Update
8463 description about files modified in the source directory.
8464 * INSTALL: Regenerated.
8466 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8468 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8469 value. Use "or" to set return value to -1.
8470 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8471 negate return value.
8473 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8475 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8476 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8477 failure if the compiler has Graphite support disabled.
8478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8480 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8481 CFLAGS-memmove.c): Likewise.
8482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8485 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8487 * sysdeps/x86_64/x32/_itoa.h: New file.
8489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8490 getdents system call only if kernel and user dirents have the
8491 same d_ino and d_off.
8493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8494 LLONG_MAX != LONG_MAX.
8495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8496 (_fitoa_word): Likewise.
8498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8505 include <bits/wordsize.h>. Check __x86_64__ instead of
8507 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8508 if __x86_64__ is defined. Use anonymous union on fpstate.
8510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8513 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8516 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8518 Refer to _rtld_local_ro instead of _rtld_global_ro.
8519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8521 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8523 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8525 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8526 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8527 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8529 * sysdeps/powerpc/powerpc32/dl-machine.c
8530 (__elf_machine_runtime_setup) [PROF]: Don't reference
8533 2012-05-18 Andreas Jaeger <aj@suse.de>
8535 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8536 function only available for GCCs before 3.4 since GCC 3.4
8537 introduced a builtin.
8539 (llrintf): Likewise.
8547 (nearbyint): Likewise.
8548 (nearbyintf): Likewise.
8554 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8556 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8557 on both fields and cast pointer to __syscall_ulong_t.
8559 * bits/types.h (__fsword_t): New type.
8560 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8561 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8563 (__FSWORD_T_TYPE): Likewise.
8564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8565 (__FSWORD_T_TYPE): Likewise.
8566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8567 (__FSWORD_T_TYPE): Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8569 (__FSWORD_T_TYPE): Likewise.
8570 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8571 __SWORD_TYPE with __fsword_t.
8572 (statfs64): Likewise.
8574 2012-05-17 David S. Miller <davem@davemloft.net>
8576 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8578 2012-05-17 Andreas Jaeger <aj@suse.de>
8580 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8583 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8585 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8587 2012-05-17 Andreas Jaeger <aj@suse.de>
8589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8592 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8594 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8596 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8598 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8599 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8601 2012-05-17 Andreas Jaeger <aj@suse.de>
8602 Carlos O'Donell <carlos_odonell@mentor.com>
8605 * sysdeps/x86_64/multiarch/init-arch.h
8606 (bit_YMM_Usable): Rename to...
8607 (bit_AVX_Usable): ... this.
8608 (bit_FMA4_Usable): New macro.
8609 (bit_XMM_state): New macro.
8610 (bit_YMM_state): New macro.
8611 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8612 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8613 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8614 (CPUID_OSXSAVE): New macro.
8615 (CPUID_AVX): New macro.
8616 (CPUID_FMA4): New macro.
8617 (index_YMM_Usable): Rename to...
8618 (index_AVX_Usable): ... this.
8619 (HAS_AVX): Use HAS_ARCH_FEATURE.
8620 (HAS_FMA4): Likewise.
8621 (HAS_YMM_USABLE): Remove.
8622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8623 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8625 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8626 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8627 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8628 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8629 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8631 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8633 * math/libm-test.c: Support platforms without multiple rounding modes.
8634 * math/bug-nextafter.c: Support platforms without FP exceptions.
8635 * math/bug-nexttoward.c: Likewise.
8636 * math/test-fenv.c: Likewise.
8637 * math/test-misc.c: Likewise.
8638 * stdlib/bug-getcontext.c: Likewise.
8640 2012-05-17 Andreas Jaeger <aj@suse.de>
8642 * manual/examples/search.c (critter_cmp): Change signature to
8644 * manual/string.texi (Collation Functions): Likewise.
8646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8648 * bits/types.h: Fold copyright years.
8649 * bits/typesizes.h: Likewise.
8650 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8654 * time/time.h: Likewise.
8656 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8659 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8660 in instead of returning them. Return void.
8661 (__libc_mallinfo): Accumulate over all arenas.
8662 (__malloc_stats): Adjust for change in int_mallinfo interface.
8664 2012-05-16 Roland McGrath <roland@hack.frob.com>
8667 * configure.in (NM): Add AC_CHECK_TOOL for it.
8668 (libc_extra_cflags): New substituted variable.
8669 Check for -fstack-protector being used implicitly.
8670 * configure: Regenerated.
8671 * config.make.in (config-extra-cflags): New variable,
8672 gets @libc_extra_cflags@.
8673 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8676 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8677 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8678 * configure: Regenerated.
8679 * config.make.in (CPPUNDEFS): New substituted variable.
8680 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8681 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8682 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8686 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8687 (mq_attr): Use __syscall_slong_t.
8689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8692 Check __x86_64__ instead of __WORDSIZE.
8693 (_STAT_VER_LINUX): Likewise.
8694 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8695 __syscall_ulong_t and __syscall_slong_t.
8698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8704 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8706 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8708 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8712 include <bits/wordsize.h>. Check __x86_64__ instead of
8714 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8716 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8719 include <bits/wordsize.h>. Check __x86_64__ instead of
8721 (user_regs_struct): Use "__extension__ unsigned long long"
8722 instead of "unsigned long" if __x86_64__ is defined.
8723 (user): Likewise. Pad after pointer field if __ILP32__ is
8726 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8728 * configure.in (makeinfo): Require version 4.5 or later. Allow
8730 * configure: Regenerated.
8731 * manual/install.texi (texinfo): Increase version requirement to
8733 * INSTALL: Regenerated.
8735 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8737 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8739 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8741 * sysdeps/x86_64/x32/ffs.c: New file.
8743 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8745 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8746 defined. Use __syscall_ulong_t.
8747 (shminfo): Use __syscall_ulong_t.
8748 (shm_info): Likewise.
8750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8753 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8755 (msgqnum_t): Use __syscall_ulong_t.
8756 (msglen_t): Likewise.
8757 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8763 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8765 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8766 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8768 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8772 include <bits/wordsize.h>. Check __x86_64__ instead of
8775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8776 "unsigned long long int" if __x86_64__ is defined.
8777 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8781 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8783 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8785 (GET_PC): Cast to uintptr_t first.
8786 (GET_FRAME): Likewise.
8787 (GET_STACK): Likewise.
8789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8819 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8821 * Makerules (+depfiles): Also collect depfiles from .oS in
8823 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8824 .oS, $(libnldbl-routines)).
8826 * Makerules (native-compile-mkdep-flags): Define.
8827 * sunrpc/Makefile (extra-objs): Add $(addprefix
8828 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8829 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8830 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8831 calling $(make-target-directory).
8833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8835 * bits/types.h (__snseconds_t): Removed.
8836 * time/time.h (struct timespec): Replace __snseconds_t with
8838 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8839 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8842 (__SNSECONDS_T_TYPE): Likewise.
8843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8844 (__SNSECONDS_T_TYPE): Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8846 (__SNSECONDS_T_TYPE): Likewise.
8848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8850 * sysdeps/mach/hurd/bits/typesizes.h
8851 (__SYSCALL_SLONG_TYPE): New macro.
8852 (__SYSCALL_ULONG_TYPE): Likewise.
8854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8856 * bits/types.h (__syscall_slong_t): New type.
8857 (__syscall_ulong_t): Likewise.
8859 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8860 (__SYSCALL_ULONG_TYPE): Likewise.
8861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8862 (__SYSCALL_SLONG_TYPE): Likewise.
8863 (__SYSCALL_ULONG_TYPE): Likewise.
8864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8865 (__SYSCALL_SLONG_TYPE): Likewise.
8866 (__SYSCALL_ULONG_TYPE): Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8868 (__SYSCALL_SLONG_TYPE): Likewise.
8869 (__SYSCALL_ULONG_TYPE): Likewise.
8871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8874 Add sigaltstack-offsets.sym.
8875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8876 <sigaltstack-offsets.h>.
8877 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8878 longjmp_msg pointer.
8879 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8880 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8882 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8884 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8886 * elf/stackguard-macros.h: Remove file.
8887 * sysdeps/generic/stackguard-macros.h: New file.
8888 * sysdeps/i386/stackguard-macros.h: Likewise.
8889 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8890 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8891 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8892 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8893 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8894 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8895 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8896 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8897 <elf/stackguard-macros.h>.
8900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8901 __aligned__ in attribute.
8902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8903 (gregset_t): Likewise.
8905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8907 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8908 * sysdeps/x86_64/64/Implies-after: Here. New file.
8909 * sysdeps/x86_64/x32/Implies-after: New file.
8911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8913 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8914 and access return value for _dl_profile_fixup. Use R10_LP to
8917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8923 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8924 * sysdeps/x86_64/x32/sysdep.h: New file.
8926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8928 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8929 * sysdeps/x86_64/setjmp.S: Likewise.
8931 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8935 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8937 remove unused global constant.
8939 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8941 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8942 include of <not-cancel.h>.
8944 2012-05-15 Roland McGrath <roland@hack.frob.com>
8946 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8948 2012-05-15 Jeff Law <law@redhat.com>
8949 Andreas Jaeger <aj@suse.de>
8952 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8954 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8955 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8957 code changing __hst_map_handle.map.
8959 2012-05-15 Roland McGrath <roland@hack.frob.com>
8961 * configure.in (sysnames): Look for Implies-before and Implies-after
8963 * configure: Regenerated.
8965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8968 8-byte data alignment with LP_SIZE alignment.
8970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8977 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8981 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8989 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8990 (stackinfo_sub_sp): Likewise.
8992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9009 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9013 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9014 into R11_LP and load __x86_64_shared_cache_size_half into
9017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9022 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9031 powerpc32/power7/fpu/s_logb.c via #include.
9032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9033 powerpc32/power7/fpu/s_logbf.c via #include.
9034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9035 powerpc32/power7/fpu/s_logbl.c via #include.
9037 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9039 * README.libm: Remove file.
9041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9044 count for x32. Use R*_LP and omit operand-size suffix.
9046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9048 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9049 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9050 * sysdeps/x86_64/x32/shlib-versions: New file.
9052 2012-05-14 Roland McGrath <roland@hack.frob.com>
9054 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9055 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9056 Use _dl_fatal_printf instead.
9058 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9060 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9061 set if not set by the user. Do not allow for being unset.
9062 * sysdeps/unix/sysv/linux/configure: Regenerated.
9064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9066 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9067 the `q' suffix from lea and replace .quad with ASM_ADDR.
9069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9072 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9074 (PTR_DEMANGLE): Likewise.
9076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9078 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9080 (ASM_ADDR): Likewise.
9098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9100 * sysdeps/x86_64/x32/dl-machine.h: New file.
9102 2012-05-14 Andreas Jaeger <aj@suse.de>
9104 * manual/Makefile (subdir): Remove export of subdir.
9105 (all): Remove target.
9106 (.PHONY): Remove all from list.
9107 (mkinstalldirs): Remove.
9108 (.PHONY): Remove installdirs from list.
9109 ($(inst_infodir)/libc.info): Use make-target-directory.
9110 (installdirs): Remove.
9112 (glibc-targets): Remove.
9115 ($(objpfx)stubs ../po/manual.pot): Remove.
9116 ($(objpfx)stamp%): Remove.
9117 (make-target-directory): Remove.
9118 (subdir_install): Remove.
9126 * manual/.gitignore: Remove, it's not needed anymore.
9127 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9129 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9131 (texis): Renamed to $(objpfx)texis.
9132 (texis-path): New, contains path to generated files.
9133 (chapters.%): Use texis-path for complete path, add extra argument
9135 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9136 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9137 (summary,texi, stamp-summary): Use complete path of
9138 files. Generate files in build dir.
9139 (dir-add.texi): Build in build dir.
9140 (libm-err.texi,stamp-libm-err): Likewise.
9141 (version.texi, stamp-version): Likewise.
9142 (.%c.texi): Likewise.
9143 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9144 (mostlyclean): Remove target.
9145 (realclean): Remove target.
9146 (generated): Add new variable with contents from mostlyclean and
9147 realclean, remove entries duplicated in common-mostlyclean, add
9148 stamp-libm-err and stamp-version.
9149 (generated-dirs): Add libc directory.
9150 ($(inst_infodir)/libc.info): Install files from build dir.
9152 * manual/install.texi (Configuring and compiling): Adjust since
9153 the info files are not part of the tar ball anymore.
9155 2012-05-14 Andreas Jaeger <aj@suse.de>
9157 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9160 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9164 to 2.2.0 where earlier.
9165 * sysdeps/unix/sysv/linux/configure: Regenerated.
9166 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9167 Remove conditional code.
9168 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9169 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9170 Remove conditional code.
9171 [!__NR_lchown]: Likewise.
9172 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9173 [__NR_lchown]: Likewise.
9174 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9175 comment referencing __ASSUME_LCHOWN_SYSCALL.
9176 * sysdeps/unix/sysv/linux/i386/sigaction.c
9177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9179 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9180 Remove conditional code.
9181 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9182 (__protocol_available): Remove #if 0 code.
9183 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9185 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9186 * sysdeps/unix/sysv/linux/kernel-features.h
9187 (__ASSUME_GETCWD_SYSCALL): Don't define.
9188 (__ASSUME_REALTIME_SIGNALS): Likewise.
9189 (__ASSUME_PREAD_SYSCALL): Likewise.
9190 (__ASSUME_PWRITE_SYSCALL): Likewise.
9191 (__ASSUME_POLL_SYSCALL): Likewise.
9192 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9193 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9195 (__ASSUME_SIOCGIFNAME): Don't define.
9196 (__ASSUME_MSG_NOSIGNAL): Likewise.
9197 (__ASSUME_SENDFILE): Define unconditionally.
9198 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9199 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9201 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9202 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9203 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9204 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9207 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9209 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9232 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9233 Remove conditional code.
9234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9235 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9236 Remove conditional code.
9237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9239 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9240 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9241 Remove conditional code.
9242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9243 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9244 Remove conditional code.
9245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9246 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9247 Remove conditional code.
9248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9249 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9250 Remove conditional code.
9251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9252 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9253 Remove conditional code.
9254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9255 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9258 * sysdeps/unix/sysv/linux/sigaction.c
9259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9261 * sysdeps/unix/sysv/linux/sigpending.c
9262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9264 * sysdeps/unix/sysv/linux/sigprocmask.c
9265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9267 * sysdeps/unix/sysv/linux/sigsuspend.c
9268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9271 (__libc_missing_rt_sigs): Remove.
9272 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9273 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9274 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9275 Remove conditional code.
9276 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9277 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9280 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9284 2012-05-14 Andreas Jaeger <aj@suse.de>
9286 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9287 it's not used in glibc.
9288 (__coshm1): Likewise.
9289 (__acosh1p): Likewise.
9292 * manual/string.texi (Copying and Concatenation): Add missing
9293 variable in concat example.
9294 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9300 __builtin_clzl with __builtin_clzll.
9302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9305 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9308 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9310 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9311 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9312 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9315 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9317 * NEWS: Update ia64 info.
9319 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9321 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9324 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9326 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9327 * sysdeps/unix/syscalls.list (dup3): Likewise.
9328 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9329 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9331 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9333 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9334 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9336 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9338 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9340 (TLS_IE): Use mov/add instead of movq/addq to load thread
9342 (TLS_GD_PREFIX): New.
9345 2012-05-11 David S. Miller <davem@davemloft.net>
9347 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9348 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9349 (_FPU_SETCW): Likewise.
9351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9353 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9356 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9359 * iconvdata/gb18030.c: Update tables.
9360 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9361 characters specially.
9362 (BODY for TO_LOOP): Add encoding of missing ranges.
9364 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9367 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9368 * sysdeps/mach/hurd/dup3.c: Likewise.
9369 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9370 * sysdeps/powerpc/memmove.c:: Likewise.
9372 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9375 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9377 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9379 * elf/elf.h (R_X86_64_RELATIVE64): New.
9380 (R_X86_64_NUM): Updated.
9381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9382 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9383 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9384 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9385 tst-quad1pie tst-quad2pie
9386 (modules-names): Add tst-quadmod1 tst-quadmod2.
9387 ($(objpfx)tst-quad1): New dependency.
9388 ($(objpfx)tst-quad2): Likewise.
9389 ($(objpfx)tst-quad1pie): Likewise.
9390 ($(objpfx)tst-quad2pie): Likewise.
9391 * sysdeps/x86_64/tst-quad1.c: New file.
9392 * sysdeps/x86_64/tst-quad1pie.c: New file.
9393 * sysdeps/x86_64/tst-quad2.c: Likewise.
9394 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9395 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9396 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9397 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9398 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9402 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9403 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9404 * streams/stropts.h (t_scalar_t): Define type.
9406 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9407 (_PATH_PRESERVE): Set to "/var/lib".
9408 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9410 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9413 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9414 if __dir_mkfile succeeded.
9416 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9417 checking for _hurd_dtablesize. Unlock it right after having
9418 finished _hurd_dtable allocation.
9420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9422 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9423 * sysdeps/mach/hurd/configure: Regenerated.
9424 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9425 special-casing to...
9426 * sysdeps/gnu/configure.in: ... this new file.
9427 * sysdeps/unix/sysv/linux/configure: Regenerated.
9428 * sysdeps/gnu/configure: New generated file.
9430 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9431 for Linux: use nsec instead of usec, as well as:
9432 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9433 members of type struct timespec.
9434 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9436 (struct stat64): Likewise.
9437 (_STATBUF_ST_NSEC): New macro.
9438 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9441 __strtoul_internal rather than strtoul.
9443 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9445 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9450 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9451 which preserves existing values.
9452 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9454 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9456 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9457 TIMEOUT values. Return EINVAL for NFDS values either negative or
9458 greater than FD_SETSIZE.
9460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9462 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9463 allocated, call __vm_protect to finish enabling the existing space, and
9464 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9465 allocate the remainder.
9467 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9469 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9470 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9474 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9475 sysdeps/mach/hurd/readlink.c.
9477 * posix/tst-sysconf.c (posix_options): Only use
9478 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9479 _POSIX_SYNCHRONIZED_IO when they are defined
9480 * sysdeps/mach/hurd/bits/posix_opt.h:
9481 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9482 (_XOPEN_REALTIME): Undefine macro.
9483 (_XOPEN_REALTIME_THREADS): Undefine macro.
9484 (_XOPEN_SHM): Undefine macro.
9485 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9489 (_POSIX_ASYNC_IO): Undefine macro.
9490 (_POSIX_PRIORITIZED_IO): Undefine macro.
9491 (_POSIX_SPIN_LOCKS): Define macro to -1.
9493 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9494 SA_NODEFER, SA_RESETHAND.
9495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9496 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9501 * elf/Makefile (pldd-modules): Define unconditionally.
9503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9505 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9509 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9510 Return ENOENT when name is empty.
9511 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9515 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9517 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9521 Fix mlock in all cases except non-readable pages.
9522 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9523 instead of VM_PROT_ALL as parameter to __vm_wire function.
9525 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9526 (__mkdir): When path is `/', just fail with EEXIST.
9527 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9531 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9532 <sys/uio.h> (for writev).
9533 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9534 and <sys/param.h> (for MIN).
9536 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9538 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9539 REQUESTED_TIME. Properly set the remaining time and return EINTR
9542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9544 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9545 Depend on against $(link-rpcuserlibs).
9547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9549 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9550 (__libc_stack_end): Do not use attribute_relro.
9551 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9552 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9553 to libthread-provided value.
9554 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9560 * bits/libc-lock.h (__libc_once_get): New macro.
9561 * sysdeps/mach/bits/libc-lock.h: Likewise.
9562 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9564 instead of using implementation details.
9566 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9567 * libio/freopen.c: Likewise.
9568 * libio/freopen64.c: Likewise.
9569 * misc/syslog.c: Likewise.
9570 * nscd/connections.c: Likewise.
9571 * nscd/netgroupcache.c: Likewise.
9572 * sysdeps/posix/getcwd.c: Likewise.
9574 2012-05-10 Roland McGrath <roland@hack.frob.com>
9576 * math/w_ilogbf.c: Add #include <limits.h>.
9578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9580 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9581 path instead of returning without unlocking.
9583 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9584 immediate-write ioctls.
9585 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9589 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9590 __builtin_frame_address instead of making assumptions about the
9591 location of the return address relative to DATA. Force early load of
9593 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9594 __builtin_frame_address.
9597 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9598 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9599 implement dup3 and do some further code clean-ups.
9600 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9605 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9607 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9608 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9609 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9610 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9611 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9614 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9615 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9616 when handler == SIG_ERR, not when handler != SIG_ERR.
9618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9620 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9621 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9624 accept4 for GNU Hurd.
9625 * include/sys/socket.h (__libc_accept4): New prototype.
9626 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9627 to implement __libc_accept4.
9628 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9633 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9634 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9639 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9643 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9644 assertion on O_CLOEXEC flag.
9645 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9646 * hurd/intern-fd.c: Likewise.
9647 * hurd/port2fd.c: Likewise.
9649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9652 * bits/in.h (IPV6_PKTINFO): Define new macro.
9653 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9655 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9662 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9663 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9666 * math/libm-test.inc (logb_test) : Additional logb tests.
9668 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9669 Andreas Jaeger <aj@suse.de>
9671 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9672 * configure: Regenerated.
9673 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9674 * config.make.in (link-obsolete-rpc): New substituted variable.
9675 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9676 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9677 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9678 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9679 so that libc.a contains the symbols.
9680 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9681 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9682 * sunrpc/auth_none.c: Likewise.
9683 * sunrpc/auth_unix.c: Likewise.
9684 * sunrpc/authdes_prot.c: Likewise.
9685 * sunrpc/authuxprot.c: Likewise.
9686 * sunrpc/clnt_gen.c: Likewise.
9687 * sunrpc/clnt_perr.c: Likewise.
9688 * sunrpc/clnt_raw.c: Likewise.
9689 * sunrpc/clnt_simp.c: Likewise.
9690 * sunrpc/clnt_tcp.c: Likewise.
9691 * sunrpc/clnt_udp.c: Likewise.
9692 * sunrpc/clnt_unix.c: Likewise.
9693 * sunrpc/des_crypt.c: Likewise.
9694 * sunrpc/des_soft.c: Likewise.
9695 * sunrpc/get_myaddr.c: Likewise.
9696 * sunrpc/key_call.c: Likewise.
9697 * sunrpc/key_prot.c: Likewise.
9698 * sunrpc/netname.c: Likewise.
9699 * sunrpc/pm_getmaps.c: Likewise.
9700 * sunrpc/pm_getport.c: Likewise.
9701 * sunrpc/pmap_clnt.c: Likewise.
9702 * sunrpc/pmap_prot.c: Likewise.
9703 * sunrpc/pmap_prot2.c: Likewise.
9704 * sunrpc/pmap_rmt.c: Likewise.
9705 * sunrpc/publickey.c: Likewise.
9706 * sunrpc/rpc_cmsg.c: Likewise.
9707 * sunrpc/rpc_common.c: Likewise.
9708 * sunrpc/rpc_dtable.c: Likewise.
9709 * sunrpc/rpc_prot.c: Likewise.
9710 * sunrpc/rpc_thread.c: Likewise.
9711 * sunrpc/rtime.c: Likewise.
9712 * sunrpc/svc.c: Likewise.
9713 * sunrpc/svc_auth.c: Likewise.
9714 * sunrpc/svc_raw.c: Likewise.
9715 * sunrpc/svc_run.c: Likewise.
9716 * sunrpc/svc_tcp.c: Likewise.
9717 * sunrpc/svc_udp.c: Likewise.
9718 * sunrpc/svc_unix.c: Likewise.
9719 * sunrpc/svcauth_des.c: Likewise.
9720 * sunrpc/xcrypt.c: Likewise.
9721 * sunrpc/xdr.c: Likewise.
9722 * sunrpc/xdr_array.c: Likewise.
9723 * sunrpc/xdr_float.c: Likewise.
9724 * sunrpc/xdr_intXX_t.c: Likewise.
9725 * sunrpc/xdr_mem.c: Likewise.
9726 * sunrpc/xdr_rec.c: Likewise.
9727 * sunrpc/xdr_ref.c: Likewise.
9728 * sunrpc/xdr_sizeof.c: Likewise.
9729 * sunrpc/xdr_stdio.c: Likewise.
9731 2012-05-10 Roland McGrath <roland@hack.frob.com>
9733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9734 change. Update copyright years.
9736 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9738 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9740 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9741 Joseph Myers <joseph@codesourcery.com>
9742 Paul Pluzhnikov <ppluzhnikov@google.com>
9745 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9747 [cross-compiling] (extra-libs): Likewise.
9748 [cross-compiling] (extra-libs-others): Likewise.
9749 [cross-compiling] (librpcsvc-routines): Likewise.
9750 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9751 [cross-compiling] (omit-deps): Likewise.
9752 (sunrpc-CPPFLAGS): New variable.
9753 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9754 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9755 (cross-rpcgen-objs): New variable.
9756 (extra-objs): Append $(cross-rpcgen-objs).
9757 ($(cross-rpcgen-objs)): New rule.
9758 ($(objpfx)cross-rpcgen): Likewise.
9759 (rpcgen-cmd): Define to use $(built-program-file). Expand
9761 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9762 ($(objpfx)x%.stmp): Likewise.
9763 * sunrpc/proto.h [IS_IN_build] (_): Define.
9764 [IS_IN_build] (_libc_intl_domainname): Likewise.
9766 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9769 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9770 and R_X86_64_TPOFF64.
9772 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9774 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9775 sysdeps/unix/sysv/syscalls.list.
9778 * sysdeps/unix/sysv/syscalls.list: Remove file.
9780 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9783 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9784 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9785 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9786 (__LC_IDENTIFICATION): Make these macros useful in #if
9787 expressions, as required by C99.
9789 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9791 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9792 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9795 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9797 * stdlib/longlong.h: Updated from GCC.
9799 2012-05-09 Andreas Jaeger <aj@suse.de>
9801 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9802 default is first entry.
9803 (run_mode): Set type.
9804 (main): Remove informal message about syslog.
9805 (options): Fix typo.
9808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9811 (llrintf): Likewise.
9815 (nearbyint): Likewise.
9816 (nearbyintf): Likewise.
9818 2012-05-09 Andreas Jaeger <aj@suse.de>
9819 Pedro Alves <palves@redhat.com>
9821 * nscd/nscd.c (run_mode): Use enum.
9822 (main): Cleanup coding style issue.
9824 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9825 Andreas Jaeger <aj@suse.de>
9827 * nscd/nscd.c (go_background): Replaced with...
9828 (run_mode): ... this.
9829 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9830 (options): Add -F --foreground.
9831 (main): Implement it.
9832 (parse_opt): Parse it.
9834 2012-05-09 Andreas Jaeger <aj@suse.de>
9837 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9838 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9839 -Wconversion warning.
9840 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9843 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9845 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9847 (LC_ALL): Use macro-int-constant.
9848 (LC_COLLATE): Likewise.
9849 (LC_CTYPE): Likewise.
9850 (LC_MESSAGES): Likewise.
9851 (LC_MONETARY): Likewise.
9852 (LC_NUMERIC): Likewise.
9853 (LC_TIME): Likewise.
9854 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9855 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9857 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9859 [C99-based standards] (float_t): Expect type.
9860 [C99-based standards] (double_t): Expect type.
9861 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9863 [C99-based standards] (HUGE_VALL): Likewise.
9864 [C99-based standards] (INFINITY): Likewise.
9865 [C99-based standards] (NAN): Likewise.
9866 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9867 [C99-based standards] (FP_NAN): Likewise.
9868 [C99-based standards] (FP_NORMAL): Likewise.
9869 [C99-based standards] (FP_SUBNORMAL): Likewise.
9870 [C99-based standards] (FP_ZERO): Likewise.
9871 [C99-based standards] (FP_FAST_FMA): Use
9872 optional-macro-int-constant. Specify type. Require == 1.
9873 [C99-based standards] (FP_FAST_FMAF): Likewise.
9874 [C99-based standards] (FP_FAST_FMAL): Likewise.
9875 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9876 [C99-based standards] (FP_ILOGBNAN): Likewise.
9877 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9879 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9880 [C99-based standards] (math_errhandling): Specify type.
9881 [ISO99 || ISO11] (signgam): Do not allow.
9882 [non-C99-based standards] (copysignf): Do not allow.
9883 [non-C99-based standards] (exp2f): Likewise.
9884 [non-C99-based standards] (log2f): Likewise.
9885 [non-C99-based standards] (modff): Allow.
9886 [non-C99-based standards] (erff): Do not allow.
9887 [non-C99-based standards] (erfcf): Likewise.
9888 [non-C99-based standards] (gammaf): Likewise.
9889 [non-C99-based standards] (hypotf): Likewise.
9890 [non-C99-based standards] (j0f): Likewise.
9891 [non-C99-based standards] (j1f): Likewise.
9892 [non-C99-based standards] (jnf): Likewise.
9893 [non-C99-based standards] (lgammaf): Likewise.
9894 [non-C99-based standards] (tgammaf): Likewise.
9895 [non-C99-based standards] (y0f): Likewise.
9896 [non-C99-based standards] (y1f): Likewise.
9897 [non-C99-based standards] (ynf): Likewise.
9898 [non-C99-based standards] (isnanf): Likewise.
9899 [non-C99-based standards] (acoshf): Likewise.
9900 [non-C99-based standards] (asinhf): Likewise.
9901 [non-C99-based standards] (atanhf): Likewise.
9902 [non-C99-based standards] (cbrtf): Likewise.
9903 [non-C99-based standards] (expm1f): Likewise.
9904 [non-C99-based standards] (ilogbf): Likewise.
9905 [non-C99-based standards] (log1pf): Likewise.
9906 [non-C99-based standards] (logbf): Likewise.
9907 [non-C99-based standards] (nextafterf): Likewise.
9908 [non-C99-based standards] (remainderf): Likewise.
9909 [non-C99-based standards] (rintf): Likewise.
9910 [non-C99-based standards] (scalbf): Likewise.
9911 [non-C99-based standards] (copysignl): Likewise.
9912 [non-C99-based standards] (exp2l): Likewise.
9913 [non-C99-based standards] (log2l): Likewise.
9914 [non-C99-based standards] (modfl): Allow.
9915 [non-C99-based standards] (erfl): Do not allow.
9916 [non-C99-based standards] (erfcl): Likewise.
9917 [non-C99-based standards] (gammal): Likewise.
9918 [non-C99-based standards] (hypotl): Likewise.
9919 [non-C99-based standards] (j0l): Likewise.
9920 [non-C99-based standards] (j1l): Likewise.
9921 [non-C99-based standards] (jnl): Likewise.
9922 [non-C99-based standards] (lgammal): Likewise.
9923 [non-C99-based standards] (tgammal): Likewise.
9924 [non-C99-based standards] (y0l): Likewise.
9925 [non-C99-based standards] (y1l): Likewise.
9926 [non-C99-based standards] (ynl): Likewise.
9927 [non-C99-based standards] (isnanl): Likewise.
9928 [non-C99-based standards] (acoshl): Likewise.
9929 [non-C99-based standards] (asinhl): Likewise.
9930 [non-C99-based standards] (atanhl): Likewise.
9931 [non-C99-based standards] (cbrtl): Likewise.
9932 [non-C99-based standards] (expm1l): Likewise.
9933 [non-C99-based standards] (ilogbl): Likewise.
9934 [non-C99-based standards] (log1pl): Likewise.
9935 [non-C99-based standards] (logbl): Likewise.
9936 [non-C99-based standards] (nextafterl): Likewise.
9937 [non-C99-based standards] (remainderl): Likewise.
9938 [non-C99-based standards] (rintl): Likewise.
9939 [non-C99-based standards] (scalbl): Likewise.
9940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9941 [non-C99-based standards] (FP_*): Do not allow.
9942 [C99-based standards] (FP_*): Change to
9943 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9944 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9946 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9947 (SIG_ERR): Likewise.
9948 [X/Open-based standards] (SIG_HOLD): Likewise.
9949 (SIG_IGN): Likewise.
9950 (SIGABRT): Use macro-int-constant. Specify type. Require
9955 (SIGSEGV): Likewise.
9957 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9958 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9959 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9960 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9961 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9962 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9963 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9964 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9965 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9966 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9967 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9969 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9970 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9971 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9972 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9973 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9974 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9975 [X/Open-based standards] (SIGTRAP): Likewise.
9976 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9977 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9978 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9979 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9980 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9983 2012-05-08 Ian Wienand <ianw@vmware.com>
9986 * time/tzset.c (__tzset_parse_tz): Update default rules for
9987 daylight time changes in the Energy Policy Act of 2005.
9989 2012-05-09 Andreas Jaeger <aj@suse.de>
9992 * elf/ldconfig.c (parse_conf): Change string to make clear that
9993 ldconfig only issued a warning if ld.so.conf does not exist.
9995 2012-05-08 David S. Miller <davem@davemloft.net>
9997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9998 movxtod instead of popping the value on the stack.
10000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10002 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10004 * config.h.in: Add HAVE_ARM_PCS_VFP.
10006 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10009 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10010 checking but the checks are disabled for any reason.
10012 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10014 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10015 and ELF64_R_TYPE with ELFW(R_TYPE).
10017 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10020 (ulimit): Likewise.
10022 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10023 (settimeofday): Likewise.
10025 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10027 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10028 a struct th_u2 inside the union, and move tu_block/tu_code into
10029 a new th_u3 union of tu_block/tu_code inside of that. Move
10030 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10031 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10032 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10033 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10034 (th_stuff): Change to th_u1.tu_stuff.
10036 (th_msg): Change to th_u1.th_u2.tu_data.
10038 2012-05-07 David S. Miller <davem@davemloft.net>
10040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10043 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10044 (SETUP_PIC_REG): Use it.
10045 (SETUP_PIC_REG_LEAF): Use it.
10047 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10053 (EXPL_FINITE): Likewise.
10054 (FLDLOG): Likewise.
10055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10056 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10060 (EXPL_FINITE): Likewise.
10061 (FLDLOG): Likewise.
10062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10063 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10065 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10066 test of -max_value argument for long double.
10067 * sysdeps/i386/fpu/libm-test-ulps: Update.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10070 2012-05-06 David S. Miller <davem@davemloft.net>
10072 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10073 quad soft-float symbols whose references which are compiler
10075 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10077 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10083 (EXPL_FINITE): Likewise.
10084 (FLDLOG): Likewise.
10087 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10088 Adjust comments for base varying.
10089 (__expl_finite): Change alias to EXPL_FINITE.
10090 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10092 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10093 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10095 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10098 (EXPL_FINITE): Likewise.
10099 (FLDLOG): Likewise.
10102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10103 Adjust comments for base varying.
10104 (__expl_finite): Change alias to EXPL_FINITE.
10105 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10110 * math/libm-test.inc (check_float_internal): Correct ulp
10111 calculation for subnormal expected results.
10113 2012-05-06 Andreas Jaeger <aj@suse.de>
10115 * Makeconfig (+math-flags): New, set to -frounding-math.
10116 (+cflags): Add +math-flags so that all of glibc gets compiled with
10119 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10121 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10123 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10129 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10130 (__ieee754_expl): Allow for and saturate large arguments.
10131 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10132 (u_threshold): Likewise.
10133 (__exp): Call __ieee754_exp before checking for overflow and
10135 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10136 (u_threshold): Likewise.
10137 (__expf): Call __ieee754_expf before checking for overflow and
10139 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10140 (u_threshold): Likewise.
10141 (__expl): Call __ieee754_expl before checking for overflow and
10143 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10144 (__ieee754_expl): Allow for and saturate large arguments.
10145 * math/libm-test.inc (exp_test): Add another test. Do not allow
10146 missing overflow exception on overflow.
10147 (expm1_test): Do not allow missing overflow exception on overflow.
10149 * sysdeps/i386/fpu/e_expl.c: Move to ...
10150 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10151 rather than using inline asm.
10152 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10153 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10154 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10156 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10159 (signal): Likewise.
10163 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10165 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10166 sysdeps/unix/common/syscalls.list.
10167 (fchmod): Likewise.
10168 (fchown): Likewise.
10169 (ftruncate): Likewise.
10170 (getrusage): Likewise.
10171 (gettimeofday): Likewise.
10172 (setpgid): Likewise.
10173 (setregid): Likewise.
10174 (setreuid): Likewise.
10175 (sigaction): Likewise.
10176 (truncate): Likewise.
10177 (vhangup): Likewise.
10178 * sysdeps/unix/common/syscalls.list: Remove file.
10179 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10180 * sysdeps/unix/sysv/linux/Implies: Likewise.
10182 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10190 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10193 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10196 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10199 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10202 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10205 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10208 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10216 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10219 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10227 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10229 * sysdeps/unix/common/bits/dirent.h: Remove file.
10230 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10232 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10233 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10234 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10235 * sysdeps/unix/bsd/isatty.c: Likewise.
10236 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10237 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10238 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10240 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10244 long double comparison inaccuracies.
10245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10248 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10250 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10253 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10257 nonzero digits before rounding a hex value.
10258 * stdlib/tst-strtod.c (tests): Add another test.
10260 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10262 * sysdeps/s390/fpu/libm-test-ulps: Update.
10264 2012-05-03 Andreas Jaeger <aj@suse.de>
10266 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10267 does not get optimized out.
10268 (malloc_opt_barrier): New.
10270 2012-05-03 Andreas Jaeger <aj@suse.de>
10271 Roland McGrath <roland@hack.frob.com>
10273 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10274 intermediate file deletion.
10275 (generated): Add .symlist files.
10277 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10280 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10281 Redirect under this condition.
10282 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10283 [__USE_GNU] (__dprintf_chk): Not under this condition.
10284 [__USE_GNU] (__vdprintf_chk): Likewise.
10285 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10286 under this condition.
10287 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10288 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10289 [__USE_XOPEN2K8] (vdprintf): Likewise.
10290 [__USE_GNU] (__dprintf_chk): Not under this condition.
10291 [__USE_GNU] (__vdprintf_chk): Likewise.
10292 [__USE_GNU] (dprintf): Likewise.
10293 [__USE_GNU] (vdprintf): Likewise.
10295 2012-05-03 Roland McGrath <roland@hack.frob.com>
10297 * elf/Makefile (common-generated): Set this instead of generated for
10298 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10299 $(all-built-dso)-derived lists.
10301 2012-05-03 Andreas Jaeger <aj@suse.de>
10303 * sysdeps/i386/fpu/libm-test-ulps: Update.
10306 * FAQ.in: Likewise.
10307 * scripts/gen-FAQ.pl: Likewise.
10308 * manual/install.texi (Installation): Point to online location of
10310 * Makefile (files-for-dist): Remove FAQ.
10313 2012-05-02 Allan McRae <allan@archlinux.org>
10315 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10316 (LDFLAGS-reldepmod5.so): Likewise.
10317 (LDFLAGS-reldep6mod1.so): Likewise.
10318 (LDFLAGS-reldep6mod4.so): Likewise.
10319 (LDFLAGS-reldep8mod3.so): Likewise.
10320 (LDFLAGS-unload4mod1.so): Likewise.
10321 (LDFLAGS-unload4mod2.so): Likewise.
10322 (LDFLAGS-tst-initorder): Likewise.
10323 (LDFLAGS-tst-initordera2.so): Likewise.
10324 (LDFLAGS-tst-initordera3.so): Likewise.
10325 (LDFLAGS-tst-initordera4.so): Likewise.
10326 (LDFLAGS-tst-initorderb2.so): Likewise.
10327 (LDFLAGS-noload): Likewise.
10328 (LDFLAGS-next): Likewise.
10329 (LDFLAGS-order2mod1.so): Likewise.
10330 (LDFLAGS-order2mod2.so): Likewise.
10331 (LDFLAGS-tst-initorder2): Likewise.
10332 (LDFLAGS-tst-initorder2a.so): Likewise.
10333 (LDFLAGS-tst-initorder2b.so): Likewise.
10334 (LDFLAGS-tst-initorder2c.so): Likewise.
10335 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10337 2012-05-02 David S. Miller <davem@davemloft.net>
10339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10341 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10344 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10346 2012-05-02 Andreas Jaeger <aj@suse.de>
10348 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10349 since we manipulate rounding mode.
10350 (CPPFLAGS-test-idouble.c): Likewise.
10351 (CPPFLAGS-test-ifloat.c): Likewise.
10352 (CFLAGS-test-ldouble.c): Likewise.
10353 (CFLAGS-test-double.c): Likewise.
10354 (CFLAGS-test-float.c): Likewise.
10355 (CFLAGS-test-misc.c): Likewise.
10356 (CFLAGS-test-test-fenv.c): Likewise.
10358 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10363 comparisons to determine direction to adjust input.
10365 2012-05-01 Roland McGrath <roland@hack.frob.com>
10367 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10368 output to the target.
10370 * scripts/localplt.awk: New file.
10371 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10372 (check-localplt-CFLAGS): Variable removed.
10373 ($(all-built-dso:=.jmprel)): New static pattern rule.
10374 (generated): Add those targets.
10375 (localplt-built-dso): New variable.
10376 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10378 * elf/check-localplt.c: File removed.
10380 * scripts/check-execstack.awk: New file.
10381 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10382 (check-execstack-CFLAGS): Variable removed.
10383 ($(objpfx)check-execstack.h): Target removed.
10384 ($(objpfx)execstack-default): New target.
10385 (generated): Add that instead of check-execstack.h.
10386 ($(all-built-dso:=.phdr)): New static pattern rule.
10387 (generated): Add those targets.
10388 * elf/check-execstack.c: File removed.
10390 * scripts/check-textrel.awk: New file.
10391 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10392 (check-textrel-CFLAGS): Variable removed.
10393 (all-built-dso): Use := to define.o
10394 ($(all-built-dso:=.dyn)): New static pattern rule.
10395 (generated): Add those targets.
10396 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10397 * config.make.in (READELF): New substituted variable.
10398 * elf/check-textrel.c: File removed.
10400 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10402 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10404 * conform/data/ctype.h-data [C99-based standards] (isblank):
10406 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10407 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10409 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10410 Specify type. Require positive value.
10411 (EILSEQ): Likewise.
10412 (ERANGE): Likewise.
10413 [ISO || POSIX] (EILSEQ): Do not expect.
10414 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10415 Specify type. Require positive value.
10416 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10443 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10451 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10457 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10490 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10491 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10492 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10494 (FLT_ROUNDS): Expect as macro, not constant.
10495 (FLT_MANT_DIG): Use macro-int-constant.
10496 (DBL_MANT_DIG): Likewise.
10497 (LDBL_MANT_DIG): Likewise.
10498 (FLT_DIG): Likewise.
10499 (DBL_DIG): Likewise.
10500 (LDBL_DIG): Likewise.
10501 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10502 (DBL_MIN_EXP): Likewise.
10503 (LDBL_MIN_EXP): Likewise.
10504 (FLT_MAX_EXP): Use macro-int-constant.
10505 (DBL_MAX_EXP): Likewise.
10506 (LDBL_MAX_EXP): Likewise.
10507 (FLT_MAX_10_EXP): Likewise.
10508 (DBL_MAX_10_EXP): Likewise.
10509 (LDBL_MAX_10_EXP): Likewise.
10510 (FLT_MAX): Use macro-constant.
10511 (DBL_MAX): Likewise.
10512 (LDBL_MAX): Likewise.
10513 (FLT_EPSILON): Use macro-constant. Give upper bound.
10514 (DBL_EPSILON): Likewise.
10515 (LDBL_EPSILON): Likewise.
10516 (FLT_MIN): Likewise.
10517 (DBL_MIN): Likewise.
10518 (LDBL_MIN): Likewise.
10519 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10520 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10521 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10522 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10523 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10524 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10525 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10526 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10527 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10528 [ISO11] (FLT_TRUE_MIN): Likewise.
10529 [ISO11] (LDBL_TRUE_MIN): Likewise.
10530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10531 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10532 (SCHAR_MIN): Use macro-int-constant. Specify type.
10533 (SCHAR_MAX): Likewise.
10534 (UCHAR_MAX): Likewise.
10535 (CHAR_MIN): Likewise.
10536 (CHAR_MAX): Likewise.
10537 (MB_LEN_MAX): Use macro-int-constant.
10538 (SHRT_MIN): Use macro-int-constant. Specify type.
10539 (SHRT_MAX): Likewise.
10540 (USHRT_MAX): Likewise.
10541 (INT_MAX): Likewise.
10542 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10544 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10546 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10548 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10549 bound negative. Suffix upper bound with "L".
10550 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10552 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10554 [C99-based standards] (LLONG_MAX): Likewise.
10555 [C99-based standards] (ULLONG_MAX): Likewise.
10556 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10558 [ISO11] (max_align_t): Require type.
10559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10561 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10562 from $CFLAGS, without defining away __attribute__ calls.
10563 (checknamespace): Use $CFLAGS_namespace.
10565 * conform/conformtest.pl (@keywords): Only include C99 keywords
10566 for standards based on C99 or C11.
10568 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10570 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10573 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10574 usability of symbols in #if.
10576 * conform/conformtest.pl: If macro or constant types start
10577 "promoted:", expect the symbol to be of the following type
10578 promoted by the integer promotions.
10580 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10581 in one place. Also handle "macro-constant".
10583 * conform/conformtest.pl: Only accept expected macro values with
10584 "==". Parse all "macro" lines in one place.
10585 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10587 * conform/conformtest.pl: Handle braced types on "constant" lines
10588 instead of handling "typed-constant".
10589 * conform/data/signal.h-data: Use "constant" instead of
10592 * conform/conformtest.pl: Handle "optional-" at start of lines in
10593 one place rather than duplicating several cases. Handle each
10594 format of "macro" line with initial "optional-".
10596 * conform/conformtest.pl: Only accept expected constant or
10597 optional-constant values with "==". Parse all "constant" lines in
10598 one place. Parse all "optional-constant" lines in one place.
10599 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10600 * conform/data/fmtmsg.h-data: Likewise.
10601 * conform/data/netinet/in.h-data: Likewise.
10602 * conform/data/tar.h-data: Likewise.
10603 * conform/data/limits.h-data: Use "==" form on "constant" and
10604 "optional-constant" lines.
10606 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10607 Use -std=c99 for XOPEN2K.
10608 (@knownproblems): Remove.
10609 (newtoken): Don't check %isknown.
10611 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10612 Do not expect macro.
10613 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10616 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10625 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10626 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10643 [XPG3] (acosh): Likewise.
10644 [XPG3] (asinh): Likewise.
10645 [XPG3] (atanh): Likewise.
10646 [XPG3] (cbrt): Likewise.
10647 [XPG3] (expm1): Likewise.
10648 [XPG3] (ilogb): Likewise.
10649 [XPG3] (log1p): Likewise.
10650 [XPG3] (logb): Likewise.
10651 [XPG3] (nextafter): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10654 [XPG3] (remainder): Likewise.
10655 [XPG3] (rint): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10663 [UNIX98 || XOPEN2K] (scalb): Expect.
10664 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10665 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10802 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10803 _XOPEN_SOURCE_EXTENDED for XPG4.
10805 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10807 * Makeconfig (localtime): Remove variable.
10808 (inst_localtime-file): Likewise.
10810 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10831 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10835 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10836 comparisons to determine direction to adjust input.
10837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10838 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10848 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10850 * math/libm-test.inc (nexttoward_test): Add more tests.
10852 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10856 in version GLIBC_2.1, not GLIBC_2.0.
10857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10860 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10866 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10867 * math/libm-test.inc (acos_test): Add more tests.
10868 (asin_test): Likewise.
10869 * sysdeps/i386/fpu/libm-test-ulps: Update.
10870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10875 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10877 * math/libm-test.inc (acos_test_tonearest): New function.
10878 (acos_test_towardzero): Likewise.
10879 (acos_test_downward): Likewise.
10880 (acos_test_upward): Likewise.
10881 (asin_test_tonearest): Likewise.
10882 (asin_test_towardzero): Likewise.
10883 (asin_test_downward): Likewise.
10884 (asin_test_upward): Likewise.
10885 (main): Call the new functions.
10886 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10891 * math/e_exp10.c: Include <float.h>.
10892 (__ieee754_exp10): Handle underflow here rather than multiplying
10893 large negative argument by M_LN10.
10894 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10896 * math/e_exp10l.c: Include <float.h>.
10897 (__ieee754_exp10l): Handle underflow here rather than multiplying
10898 large negative argument by M_LN10l.
10899 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10900 spurious overflow exception on underflow.
10902 2012-04-29 Marek Polacek <polacek@redhat.com>
10904 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10905 (__fortify_function): New macro.
10906 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10907 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10908 __extern_always_inline.
10909 * libio/bits/stdio2.h: Likewise.
10910 * libio/bits/stdio.h: Likewise.
10911 * string/string.h: Likewise.
10912 * string/bits/string3.h: Likewise.
10913 * include/stdio.h: Likewise.
10914 * stdlib/bits/stdlib.h: Likewise.
10915 * stdlib/stdlib.h: Likewise.
10916 * rt/bits/mqueue2.h: Likewise.
10917 * rt/mqueue.h: Likewise.
10918 * posix/bits/unistd.h: Likewise.
10919 * posix/unistd.h: Likewise.
10920 * io/bits/poll2.h: Likewise.
10921 * io/bits/fcntl2.h: Likewise.
10922 * io/fcntl.h: Likewise.
10923 * io/sys/poll.h: Likewise.
10924 * misc/bits/syslog.h: Likewise.
10925 * misc/bits/syslog-ldbl.h: Likewise.
10926 * misc/sys/syslog.h: Likewise.
10927 * socket/bits/socket2.h: Likewise.
10928 * socket/sys/socket.h: Likewise.
10929 * debug/tst-chk1.c: Likewise.
10930 * wcsmbs/bits/wchar2.h: Likewise.
10931 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10932 * wcsmbs/wchar.h: Likewise.
10934 2012-04-29 Andreas Jaeger <aj@suse.de>
10936 * Makerules (tests): Remove enable-check-abi protection.
10937 (check-abi-warn): Remove.
10938 (check-abi-%): Remove check-abi-warn usage.
10940 * configure.in: Remove check-abi configure option.
10941 * configure: Regenerated.
10942 * config.make.in (enable-check-abi): Remove.
10944 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10947 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10948 double functions to double *_finite functions.
10951 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10952 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10954 * stdio-common/Makefile (tests): Add tst-sprintf3.
10955 * stdio-common/tst-sprintf3.c: New file.
10957 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10958 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10960 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10962 * conform/conformtest.pl: Remove duplicate typed-constant
10965 2012-04-28 David S. Miller <davem@davemloft.net>
10967 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10968 (check-abi-%): Remove AWK script prerequisite and explicit
10970 (check-abi): Rewrite to just diff the symlist with the abilist.
10971 (config-tls, config-abi-config): Delete, no longer used.
10972 (update-abi-%): Remove AWK script and explicit abilist directory.
10973 (update-abi): Rewrite to simply compare and conditionally copy the
10974 symlist and the sysdep abilist file. Remove update-abi-config
10976 * abilist/ld.abilist: Remove.
10977 * abilist/libBrokenLocale.abilist: Remove.
10978 * abilist/libanl.abilist: Remove.
10979 * abilist/libcrypt.abilist: Remove.
10980 * abilist/libdl.abilist: Remove.
10981 * abilist/librt.abilist: Remove.
10982 * abilist/libthread_db.abilist: Remove.
10983 * abilist/libutil.abilist: Remove.
10984 * scripts/extract-abilist.awk: Remove.
10985 * scripts/merge-abilist.awk: Remove.
10986 * sysdeps/generic/libcidn.abilist: New file.
10987 * sysdeps/generic/libnss_compat.abilist: New file.
10988 * sysdeps/generic/libnss_db.abilist: New file.
10989 * sysdeps/generic/libnss_dns.abilist: New file.
10990 * sysdeps/generic/libnss_files.abilist: New file.
10991 * sysdeps/generic/libnss_hesiod.abilist: New file.
10992 * sysdeps/generic/libnss_nis.abilist: New file.
10993 * sysdeps/generic/libnss_nisplus.abilist: New file.
10994 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10995 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10996 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10999 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11000 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11001 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11003 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11004 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11005 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11006 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11008 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11009 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11011 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11014 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11016 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11017 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11018 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11020 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11021 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11128 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11129 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11132 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11133 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11135 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11136 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11137 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11139 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11140 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11192 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11194 * conform/conformtest.pl: Fix typo in handling typed-constant from
11197 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11199 * README: Cut down references to pre-2.6 Linux kernels and
11200 Linuxthreads. Update lists of configurations in libc and ports
11201 and sort alphabetically. Say "or newer" with Linux kernel version
11204 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11206 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11209 * math/libm-test.inc (logb_test_downward): New test to expose
11210 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11213 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11216 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11218 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11219 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11221 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11223 * sysdeps/unix/i386/brk.S: Remove file.
11224 * sysdeps/unix/i386/dl-brk.S: Likewise.
11225 * sysdeps/unix/i386/pipe.S: Likewise.
11226 * sysdeps/unix/i386/sigreturn.S: Likewise.
11227 * sysdeps/unix/i386/syscall.S: Likewise.
11228 * sysdeps/unix/i386/vfork.S: Likewise.
11229 * sysdeps/unix/i386/wait.S: Likewise.
11231 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11232 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11234 * configure.in (arm*-none*): Do not allow without
11235 --enable-hacker-mode.
11236 (netbsd*): Remove case setting base_os.
11237 (386bsd*): Likewise.
11238 (freebsd*): Likewise.
11241 (sunos*): Likewise.
11242 (ultrix*): Likewise.
11243 (newsos*): Likewise.
11244 (dynix*): Likewise.
11250 (minix*): Likewise.
11251 (irix4*): Likewise.
11252 (irix6*): Likewise.
11253 (solaris[2-9]*): Likewise.
11255 * configure: Regenerated.
11257 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11261 overflow or cancellation in calculating denominator.
11262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11264 down expression to avoid unexpected rounding in newer GCCs.
11265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11267 2012-04-26 David S. Miller <davem@davemloft.net>
11269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11270 long-double compat symbols.
11271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11285 2012-04-25 David S. Miller <davem@davemloft.net>
11287 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11288 HWCAP_* values only after the memory barriers have been defined.
11289 (atomic_full_barrier): Define.
11290 (atomic_read_barrier): Define.
11291 (atomic_write_barrier): Define.
11293 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11295 * shlib-versions: Add libgcc_s version information.
11296 * sysdeps/generic/libgcc_s.h: Remove.
11297 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11299 * sysdeps/gnu/unwind-resume.c: Likewise.
11300 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11302 2012-04-25 David S. Miller <davem@davemloft.net>
11304 * sysdeps/unix/sparc/brk.S: Delete.
11305 * sysdeps/unix/sparc/dl-brk.S: Delete.
11306 * sysdeps/unix/sparc/pipe.S: Delete.
11307 * sysdeps/unix/sparc/sysdep.S: Delete.
11308 * sysdeps/unix/sparc/sysdep.h: Delete.
11309 * sysdeps/unix/sparc/vfork.S: Delete.
11310 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11311 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11313 ret_ERRVAL, r0, r1, MOVE): Define.
11314 (JUMPTARGET): Remove.
11315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11316 sysdeps/unix/sparc/sysdep.h
11317 (ENTRY, END): Remove.
11318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11320 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11322 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11323 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11326 * timezone/README: Update upstream location and email address for
11328 * timezone/zdump.c: Update from tzcode 2012b.
11329 * timezone/zic.c: Likewise.
11331 * configure.in (libc_cv_as_needed): Remove test.
11332 * configure: Regenerated.
11333 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11334 conditional definition.
11335 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11336 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11337 * config.make.in (have-as-needed): Remove variable.
11339 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11340 Paul Pluzhnikov <ppluzhnikov@google.com>
11342 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11345 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11347 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11348 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11349 * sysdeps/sh/strlen.S: Likewise.
11351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11353 * sysdeps/unix/fork.S: Remove file.
11354 * sysdeps/unix/i386/fork.S: Likewise.
11355 * sysdeps/unix/sparc/fork.S: Likewise.
11357 * sysdeps/unix/system.c: Remove file.
11358 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11360 * sysdeps/unix/getegid.S: Remove file.
11361 * sysdeps/unix/geteuid.S: Likewise.
11363 2012-04-24 Roland McGrath <roland@hack.frob.com>
11365 * scripts/check-localplt.awk: New file.
11366 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11368 * scripts/data/localplt-generic.data: Add a comment.
11370 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11371 NODE when __dir_mkfile failed.
11372 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11373 Reported by Ludovic Courtès <ludo@gnu.org>.
11375 2012-04-24 Andreas Jaeger <aj@suse.de>
11377 * Makerules (common-clean): Also remove gen-as-const-headers
11380 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11382 * Makerules (native-compile): Do not change working directory for
11383 build. Use $(OUTPUT_OPTION) in command.
11384 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11386 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11389 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11390 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11391 * math/libm-test.inc (floor_test): Add more tests.
11392 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11394 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11396 * sysdeps/unix/getdents.c: Remove file.
11397 * sysdeps/unix/sysv/getdents.c: Likewise.
11398 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11400 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11401 sysdeps/unix/mman/syscalls.list.
11403 (mprotect): Likewise.
11405 (munmap): Likewise.
11406 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11407 * sysdeps/unix/mman/syscalls.list: Remove.
11408 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11410 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11411 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11412 * configure: Regenerated.
11413 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11414 $(libgcc_s_suffix).
11415 * config.make.in (libgcc_s_suffix): Remove variable.
11417 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11419 * sysdeps/unix/sysv/gethostname.c: Move to ...
11420 * sysdeps/posix/gethostname.c: ... here.
11422 * sysdeps/unix/execve.S: Remove file.
11424 * sysdeps/unix/_exit.S: Remove file.
11426 2012-04-23 Andreas Jaeger <aj@suse.de>
11429 * manual/Makefile: Remove make dist support, there's no
11430 need for a stand-alone documentation tar ball.
11431 (TEXI2DVI): Define always, it's not in Makeconfig.
11434 (edition): Removed.
11435 (glibc-doc-$(edition).tar): Removed
11439 (ETAGS): Remove, it's in Makeconfig.
11440 (move-if-change): Remove, it's in Makeconfig.
11442 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11445 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11446 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11447 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11448 (strtod_l, strtof_l, strtold_l): Remove __wur.
11449 It is not necessarily an error to ignore strtol's return value.
11450 One can reliably look at the stored endptr to decide whether
11451 the number had valid syntax.
11453 2012-04-21 Andreas Jaeger <aj@suse.de>
11456 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11458 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11460 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11461 * sysdeps/unix/sysv/Versions: Remove file.
11463 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11468 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11472 version from __vm86.
11474 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11476 * sysdeps/unix/common/lxstat.c: Remove file.
11477 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11479 * sysdeps/unix/sysv/Makefile: Remove file.
11481 * sysdeps/unix/sysv/direct.h: Remove file.
11483 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11484 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11485 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11486 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11487 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11488 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11489 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11491 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11493 * sysdeps/unix/xmknod.c: Remove file.
11494 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11496 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11498 * sysdeps/unix/sysv/i386/time.S: Remove file.
11500 * sysdeps/unix/fxstat.c: Remove file.
11501 * sysdeps/unix/xstat.c: Likewise.
11502 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11504 * sysdeps/unix/sysv/sigaction.c: Remove file.
11506 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11507 (sysdep_headers): Remove variable.
11508 [termio.h not in sysdep_headers] (generated): Likewise.
11509 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11510 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11511 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11512 * sysdeps/unix/sysv/tcflow.c: Likewise.
11513 * sysdeps/unix/sysv/tcflush.c: Likewise.
11514 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11515 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11516 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11517 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11518 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11520 * sysdeps/unix/siglist.c: Remove file.
11522 * sysdeps/unix/getppid.S: Remove file.
11524 * sysdeps/unix/mkdir.c: Remove file.
11525 * sysdeps/unix/rmdir.c: Likewise.
11527 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11529 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11532 errlist-compat value.
11534 2012-04-18 David S. Miller <davem@davemloft.net>
11536 * sysdeps/generic/memcopy.h (reg_char): Delete.
11537 * debug/strcat_chk.c: Use char, not reg_char.
11538 * debug/strcpy_chk.c: Likewise.
11539 * debug/strncat_chk.c: Likewise.
11540 * debug/strncpy_chk.c: Likewise.
11541 * string/memchr.c: Likewise.
11542 * string/memrchr.c: Likewise.
11543 * string/rawmemchr.c: Likewise.
11544 * string/strcat.c: Likewise.
11545 * string/strchr.c: Likewise.
11546 * string/strchrnul.c: Likewise.
11547 * string/strcmp.c: Likewise.
11548 * string/strcpy.c: Likewise.
11549 * string/strncat.c: Likewise.
11550 * string/strncmp.c: Likewise.
11551 * string/strncpy.c: Likewise.
11553 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11555 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11556 __builtin_memcopy is called when src and dest ranges are known to not
11559 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11562 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11563 fwd_align_merge macro call.
11564 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11565 bwd_align_merge macro call.
11566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11568 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11571 bwd_align_merge macros.
11572 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11573 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11576 2012-04-18 David S. Miller <davem@davemloft.net>
11578 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11580 2012-04-18 Andreas Jaeger <aj@suse.de>
11583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11584 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11585 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11588 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11591 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11592 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11593 Adjust for changed ldbl-128 files.
11595 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11596 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11599 2012-04-17 David S. Miller <davem@davemloft.net>
11601 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11603 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11605 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11606 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11607 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11608 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11609 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11612 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11615 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11616 * math/libm-test.inc: Add ilogb errno and exception tests.
11617 * math/w_ilogb.c: New file: ilogb wrapper.
11618 * math/w_ilogbf.c: New file: ilogbf wrapper.
11619 * math/w_ilogbl.c: New file: ilogbl wrapper.
11620 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11621 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11622 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11623 exception being thrown with 0.0 as argument.
11624 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11625 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11626 exception being thrown with 0.0 as argument.
11627 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11628 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11629 exception being thrown with 0.0 as argument.
11630 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11631 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11632 exception being thrown with 0.0 as argument.
11633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11634 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11636 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11638 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11639 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11640 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11641 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11643 2012-04-17 Petr Baudis <pasky@ucw.cz>
11645 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11648 2012-04-16 Marek Polacek <polacek@redhat.com>
11650 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11652 2012-04-16 Marek Polacek <polacek@redhat.com>
11654 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11655 operands of fdivp instruction.
11657 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11659 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11660 * elf/tst-auditmod3b.c: Likewise.
11661 * elf/tst-auditmod4b.c: Likewise.
11662 * elf/tst-auditmod5b.c: Likewise.
11663 * elf/tst-auditmod6b.c: Likewise.
11664 * elf/tst-auditmod6c.c: Likewise.
11665 * elf/tst-auditmod7b.c: Likewise.
11666 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11667 * sysdeps/x86_64/preconfigure.in: Likewise.
11668 * sysdeps/x86_64/preconfigure: Regenerated.
11670 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11672 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11675 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11678 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11680 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11683 * locale/iso-639.def: Fix gl language name. Spotted by
11686 2012-04-12 Roland McGrath <roland@hack.frob.com>
11689 * libio/libio.h (__io_write_fn): Update comment.
11691 2012-04-12 Petr Baudis <pasky@ucw.cz>
11694 * stdio.texi (Hook Functions): The user provided writer function
11695 is not allowed to return -1.
11697 2012-04-11 David S. Miller <davem@davemloft.net>
11699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11701 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11703 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11704 Add a leading slash to rtkaio.
11706 2012-04-11 Jim Meyering <meyering@redhat.com>
11709 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11710 It is not necessarily an error to ignore fwrite's return
11711 value. One can reliably use ferror to test for errors after
11714 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11716 * bits/types.h (__snseconds_t): New type.
11717 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11719 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11721 (__SNSECONDS_T_TYPE): Likewise.
11722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11723 (__SNSECONDS_T_TYPE): Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11725 (__SNSECONDS_T_TYPE): Likewise.
11727 2012-04-10 Andreas Jaeger <aj@suse.de>
11730 * manual/time.texi (Processor Time): Return type of times is
11731 elapsed real time since an arbitrary point in the past.
11732 (CPU Time): Move CLK_TCK from here...
11733 (Processor Time): ...to here. Correct description.
11734 * manual/conf.texi (Constants for Sysconf): Correct description of
11737 2012-04-10 David S. Miller <davem@davemloft.net>
11740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11741 where the is a gap between DT_REL(A) and DT_JMPREL.
11743 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11745 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11749 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11751 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11752 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11753 (dl_main): Handle --inhibit-cache.
11754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11756 * elf/dl-load.c (_dl_map_object): Use it.
11757 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11759 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11762 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11763 (__ieee754_powl): Saturate large exponents rather than testing for
11764 overflow of y*log2(x).
11765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11766 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11770 * math/s_ctan.c: Include <float.h>.
11771 (__ctan): Avoid internal overflow or cancellation in calculating
11773 * math/s_ctanf.c: Likewise.
11774 * math/s_ctanl.c: Likewise.
11775 * math/s_ctanh.c: Likewise.
11776 * math/s_ctanhf.c: Likewise.
11777 * math/s_ctanhl.c: Likewise.
11778 * math/libm-test.inc (ctan_test): Add more tests.
11779 (ctanh_test): Likewise.
11780 * sysdeps/i386/fpu/libm-test-ulps: Update.
11781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11783 2012-04-09 Andreas Jaeger <aj@suse.de>
11786 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11787 is an optional BSD extension.
11790 * manual/stdio.texi (Opening Streams): Document additional fopen
11793 2012-04-09 Roland McGrath <roland@hack.frob.com>
11795 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11796 %eax without telling the compiler.
11798 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11801 * manual/install.texi: Use sourceware.org.
11803 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11806 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11807 (__ieee754_pow): Generate overflow and underflow using huge*huge
11808 and tiny*tiny rather than just returning constant infinity or zero
11809 for large exponents.
11810 * math/libm-test.inc (pow_test): Require overflow exceptions for
11811 applicable cases of large exponents.
11814 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11815 (__ieee754_pow): Use iterative multiplication algorithm only for
11816 integer exponents with absolute value below 1024. Check for odd
11817 integer exponents when using algorithm for real exponents.
11818 * math/libm-test.inc (pow_test): Add more tests.
11819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11821 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11824 * math/libm-test.inc (exp_test): Do not allow overflow exception
11827 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11830 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11831 instead of __kernel_standard_f.
11833 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11835 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11836 * sysdeps/x86_64/memset_chk.S: Likewise.
11838 2012-04-08 Andreas Jaeger <aj@suse.de>
11841 * manual/startup.texi (Environment Access): Describe return value
11842 for putenv and setenv.
11845 * manual/filesys.texi (Directory Entries): Add description for
11849 * manual/filesys.texi (Directory Entries): Clarify that it's file
11850 system not operating system in the description of DT_UNKNOWN.
11853 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11855 2012-04-08 Stephen Compall <s11@member.fsf.org>
11858 * manual/llio.texi (Opening and Closing Files): Add cross
11859 reference to explain mode argument.
11861 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11863 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11864 * sysdeps/x86_64/memset_chk.S: Likewise.
11866 2012-04-07 David S. Miller <davem@davemloft.net>
11868 * elf/elf.h (R_SPARC_WDISP10): Define.
11869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11872 R_SPARC_SIZE64 and R_SPARC_H34.
11874 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11877 conditions and remove no longer applicable assertion.
11879 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11881 * bits/byteswap.h: Include <features.h>.
11882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11885 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11887 * bits/byteswap.h (__bswap_16): Removed.
11888 Include <bits/byteswap-16.h> to get __bswap_16.
11889 * sysdeps/i386/bits/byteswap.h: Likewise.
11890 * sysdeps/s390/bits/byteswap.h: Likewise.
11891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11892 * bits/byteswap-16.h: New file.
11893 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11894 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11895 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11896 * string/Makefile (headers): Add bits/byteswap-16.h.
11898 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11901 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11903 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11904 * nss/tst-nss-static.c: New.
11906 2012-04-06 Robert Millan <rmh@gnu.org>
11909 * manual/llio.texi (File Position Primitive): lseek
11910 refers to WHENCE when it really means OFFSET.
11912 2012-04-06 Andreas Jaeger <aj@suse.de>
11914 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11915 strncmp declarations.
11917 * abilist/libc.abilist: Add __poll and __ppoll.
11919 2012-04-05 David S. Miller <davem@davemloft.net>
11921 * scripts/check-local-headers.sh: Accept a host triplet in the
11922 path matched by the exclude regexp.
11924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11926 * sysdeps/powerpc/powerpc32/dl-machine.h
11927 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11928 * sysdeps/s390/s390-32/dl-machine.h
11929 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11930 * sysdeps/sparc/sparc32/dl-machine.h
11931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11932 * sysdeps/sparc/sparc64/dl-machine.h
11933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11935 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11937 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11938 undefined symbol errors.
11940 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11943 2012-04-05 Michael Matz <matz@suse.de>
11946 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11948 2012-04-05 Andreas Jaeger <aj@suse.de>
11951 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11956 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11957 which ROUND is no valid rounding mode.
11959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11961 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11963 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11965 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11968 an exception using FPU order intentionally.
11970 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11972 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11973 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11974 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11975 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11977 2012-04-05 Simon Josefsson <simon@josefsson.org>
11980 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11981 EINVAL when BUFLEN is too smal.
11983 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11986 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11987 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11989 2012-04-03 Andreas Jaeger <aj@suse.de>
11992 * manual/setjmp.texi (System V contexts): Fix sentence.
11995 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11996 New macro for this case.
11997 [!__GNUC__] (__bswap_64): New inline function for this case.
11998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11999 * bits/byteswap.h: Likewise.
12000 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12001 ull, guard with __GLIBC_HAVE_LONG_LONG.
12003 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12004 __GLIBC_HAVE_LONG_LONG.
12006 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12007 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12009 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12013 inptr and inend, rather than using last_ch.
12015 2012-04-02 David S. Miller <davem@davemloft.net>
12017 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12018 * stdio-common/printf-parse.h (read_int): Change return type to
12019 'int', return -1 on INT_MAX overflow.
12020 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12021 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12022 overflows INT_MAX. Check for overflow of in-format-string precision
12023 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12024 SIZE_MAX not INT_MAX for integer overflow test.
12025 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12026 skip the construct in the format string but do not record anything.
12027 * stdio-common/bug22.c: Adjust to test both width/prevision
12028 INT_MAX overflow as well as total length INT_MAX overflow. Check
12029 explicitly for proper errno values.
12031 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12033 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12035 * string/test-strcmp.c [! WIDE]: Likewise.
12036 * time/tst-mktime2.c: Likewise for INT_MAX.
12037 * string/test-string.h: #include <sys/param.h> for MIN.
12039 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12040 * sysdeps/i386/init-first.c (init): Likewise.
12041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12042 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12043 * sysdeps/sh/init-first.c (init): Likewise.
12045 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12047 * po/ru.po: Update from translation team.
12048 * po/vi.po: Likewise.
12050 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12052 * resolv/nss_dns/dns-host.c: Merge copyright years.
12054 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12057 Optimize memcpy with prefetch if
12058 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12059 src, dst pointers have unequal 16 byte alignments.
12061 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12064 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12065 from a CNAME entry and return the minimum ttl for the query.
12066 (gaih_getanswer_slice): Likewise.
12068 2012-03-30 Jeff Law <law@redhat.com>
12070 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12072 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12073 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12075 * resolv/nss_dns/dns-host.c: Update copyright year.
12077 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12079 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12080 requests to save a system call. Fix check that all bytes are sent.
12082 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12083 comments for sendmmsg.
12085 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12088 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12089 with only 1 character between 0x0041 and 0x01b0.
12090 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12091 * wcsmbs/tst-mbsnrtowcs.c: New file.
12093 2012-03-29 David S. Miller <davem@davemloft.net>
12095 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12096 small copies by hand.
12098 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12101 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12102 _nss_compat_initgroups_dyn): Fall back to malloc/free
12103 for large group memberships.
12105 2012-03-28 David S. Miller <davem@davemloft.net>
12107 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12108 that branches into memcpy.
12109 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12112 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12115 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12116 implementation too.
12117 * sysdeps/sparc/mempcpy.S: New file.
12119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12120 the IFUNC routine in the libc case.
12121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12124 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12125 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12126 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12127 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12128 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12129 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12130 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12132 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12133 loop to 256 bytes instead of 64 bytes and fix test signedness.
12135 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12136 * sysdeps/sparc/sparc32/Makefile: rather than here...
12137 * sysdeps/sparc/sparc64/Makefile: and here.
12139 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12141 * malloc/mallocbug.c: Avoid warnings about unused variables.
12143 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12146 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12147 in the right place. Discard and retry query if response is
12148 larger than input buffer size.
12150 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12156 x for large integer exponent.
12157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12159 sign of result as needed afterwards.
12160 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12162 result for underflowing pow the same as for overflow.
12163 (__kernel_standard_l): Handle powl overflow and underflow here
12164 rather than calling __kernel_standard.
12165 * math/libm-test.inc (pow_test): Add more tests.
12180 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12181 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12182 (__kernel_standard_l): New function.
12183 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12185 * math/w_acosl.c (__acosl): Likewise.
12186 * math/w_asinl.c (__asinl): Likewise.
12187 * math/w_atan2l.c (__atan2l): Likewise.
12188 * math/w_atanhl.c (__atanhl): Likewise.
12189 * math/w_coshl.c (__coshl): Likewise.
12190 * math/w_exp10l.c (__exp10l): Likewise.
12191 * math/w_exp2l.c (__exp2l): Likewise.
12192 * math/w_fmodl.c (__fmodl): Likewise.
12193 * math/w_hypotl.c (__hypotl): Likewise.
12194 * math/w_j0l.c (__j0l, __y0l): Likewise.
12195 * math/w_j1l.c (__j1l, __y1l): Likewise.
12196 * math/w_jnl.c (__jnl, __ynl): Likewise.
12197 * math/w_lgammal.c (__lgammal): Likewise.
12198 * math/w_log10l.c (__log10l): Likewise.
12199 * math/w_log2l.c (__log2l): Likewise.
12200 * math/w_logl.c (__logl): Likewise.
12201 * math/w_powl.c (__powl): Likewise.
12202 * math/w_remainderl.c (__remainderl): Likewise.
12203 * math/w_scalbl.c (sysv_scalbl): Likewise.
12204 * math/w_sinhl.c (__sinhl): Likewise.
12205 * math/w_sqrtl.c (__sqrtl): Likewise.
12206 * math/w_tgammal.c (__tgammal): Likewise.
12207 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12208 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12209 * math/libm-test.inc (acos_test): Add more tests.
12210 (acosh_test): Likewise.
12211 (asin_test): Likewise.
12212 (atanh_test): Likewise.
12213 (exp_test): Likewise.
12214 (exp10_test): Likewise.
12215 (exp2_test): Likewise.
12216 (expm1_test): Likewise.
12217 (lgamma_test): Likewise.
12218 (log_test): Likewise.
12219 (log10_test): Likewise.
12220 (log1p_test): Likewise.
12221 (log2_test): Likewise.
12222 (pow_test): Do not allow some spurious overflow exceptions.
12223 (sqrt_test): Add more tests.
12224 (tgamma_test): Likewise.
12225 (y0_test): Likewise.
12226 (y1_test): Likewise.
12227 (yn_test): Likewise.
12229 2012-03-27 Anton Blanchard <anton@samba.org>
12231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12233 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12237 2012-03-27 David S. Miller <davem@davemloft.net>
12239 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12241 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12242 have-as-vis3 check.
12244 2012-03-27 Andreas Jaeger <aj@suse.de>
12246 * sysdeps/x86_64/elf/configure.in: Moved to ...
12247 * sysdeps/x86_64/configure.in: ... here.
12248 * sysdeps/x86_64/elf/start.S: Moved to ...
12249 * sysdeps/x86_64/start.S: ... here.
12250 * sysdeps/x86_64/elf/configure: Delete.
12252 * sysdeps/x86_64/configure.in: Merge contents from
12253 sysdeps/i386/configure.in (without i686 check).
12255 * sysdeps/i386/elf/Versions: Merge into ...
12256 * sysdeps/i386/Versions: ... this.
12257 * sysdeps/i386/elf/Versions: Delete file.
12258 * sysdeps/i386/elf/start.S: Moved to ...
12259 * sysdeps/i386/start.S: ...here.
12260 * sysdeps/i386/elf/configure.in: Merge into...
12261 * sysdeps/i386/configure.in: ...here.
12262 * sysdeps/i386/elf/configure.in: Delete file.
12263 * sysdeps/i386/elf/configure: Delete file.
12265 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12266 * debug/backtracesyms.c: ... here.
12267 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12268 * debug/backtracesymsfd.c: ... here.
12269 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12270 * sysdeps/generic/ifunc-sel.h: ... here.
12272 * sysdeps/unix/i386/start.c: Delete file.
12273 * sysdeps/unix/sparc/start.c: Delete file.
12274 * sysdeps/unix/start.c: Delete file.
12276 * sysdeps/sh/elf/configure.in: Moved to ...
12277 * sysdeps/sh/configure.in: ... here.
12278 * sysdeps/sh/elf/start.S: Moved to ...
12279 * sysdeps/sh/start.S: ... here.
12280 * sysdeps/sh/elf/configure: Delete file.
12282 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12283 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12284 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12285 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12286 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12287 * sysdeps/powerpc/powerpc64/start.S: here.
12288 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12289 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12290 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12291 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12292 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12294 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12295 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12296 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12297 * sysdeps/powerpc/powerpc32/start.S: ... here.
12298 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12299 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12300 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12302 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12303 * sysdeps/powerpc/ifunc-sel.h: ... here.
12304 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12305 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12307 * sysdeps/sparc/elf/configure.in: Moved to ...
12308 * sysdeps/sparc/configure.in: ... here.
12309 * sysdeps/sparc/elf/configure: Delete file.
12310 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12311 * sysdeps/sparc/sparc32/start.S: ... here.
12312 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12313 * sysdeps/sparc/sparc64/start.S: ... here.
12314 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12315 * sysdeps/sparc/sparc32/Makefile: ... this.
12316 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12317 * sysdeps/sparc/sparc64/Makefile: ... this.
12319 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12320 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12321 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12322 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12323 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12324 * sysdeps/s390/s390-32/setjmp.S: ... here.
12325 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12326 * sysdeps/s390/s390-32/configure.in: ... here.
12327 * sysdeps/s390/s390-32/elf/configure: Delete file.
12328 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12329 * sysdeps/s390/s390-32/start.S: ... here.
12331 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12332 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12333 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12334 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12335 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12336 * sysdeps/s390/s390-64/setjmp.S: ... here.
12337 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12338 * sysdeps/s390/s390-64/configure.in: ... here
12339 * sysdeps/s390/s390-64/elf/configure: Delete file.
12340 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12341 * sysdeps/s390/s390-64/start.S: ... here.
12342 * sysdeps/s390/s390-64/elf/configure: Delete.
12344 * configure.in: Remove support for elf directories in sysdeps.
12346 * configure: Regenerated.
12347 * sysdeps/i386/configure: Regenerated.
12348 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12349 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12350 * sysdeps/s390/s390-32/configure: Regenerated.
12351 * sysdeps/s390/s390-64/configure: Regenerated.
12352 * sysdeps/sh/configure: Regenerated.
12353 * sysdeps/sparc/configure: Regenerated.
12354 * sysdeps/x86_64/configure: Regenerated.
12356 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12361 denormal result into account.
12363 2012-03-25 Roland McGrath <roland@hack.frob.com>
12365 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12366 Reported by Allan McRae <allan@archlinux.org>.
12368 2012-03-23 Jeff Law <law@redhat.com>
12370 * nss/getnssent.c (__nss_getent): Fix typo.
12372 2012-03-23 David S. Miller <davem@davemloft.net>
12374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12376 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12378 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12379 to pad to uint64_t for each field.
12380 (dl_tls_index): Replace unsigned long with uint64_t.
12382 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12383 Paul Pluzhnikov <ppluzhnikov@google.com>
12386 * grp/Makefile (otherlibs): Don't set it.
12387 * inet/Makefile (otherlibs): Likewise.
12388 * login/Makefile (otherlibs): Likewise.
12389 * nscd/Makefile (otherlibs): Likewise.
12390 * posix/Makefile (otherlibs): Likewise.
12391 * pwd/Makefile (otherlibs): Likewise.
12392 * rt/Makefile (otherlibs): Likewise.
12393 * sunrpc/Makefile (otherlibs): Likewise.
12394 * nss/Makefile (otherlibs): Likewise.
12395 Add libnss_files to routines and static-only-routines.
12396 ($(objpfx)getent): Remove rule.
12397 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12398 static-only-routines.
12400 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12403 * math/s_cexp.c: Include <float.h>.
12404 (__cexp): Handle exp result overflowing not necessarily
12405 overflowing both real and imaginary parts of result.
12406 * math/s_cexpf.c: Likewise.
12407 * math/s_cexpl.c: Likewise.
12408 * math/libm-test.inc (cexp_test): Add more tests.
12409 * sysdeps/i386/fpu/libm-test-ulps: Update.
12410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12414 * include/link.h (ELFW): New macro.
12415 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12416 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12420 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12425 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12427 (struct La_x32_retval): Likewise.
12429 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12431 * sysdeps/x86_64/preconfigure.in: New file.
12432 * sysdeps/x86_64/preconfigure: New generated file.
12434 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12437 * math/e_exp2l.c: Include <float.h>.
12438 (__ieee754_exp2l): Handle overflow and underflow cases
12439 separately. Only pass fractional part of argument to
12441 * math/libm-test.inc (exp2_test): Add more tests.
12443 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12444 negating x to take absolute value.
12445 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12448 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12450 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12451 computing low part if x was negated.
12452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12454 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12456 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12457 la_x32_gnu_pltexit.
12458 (pltexit): Cast int_retval to ptrdiff_t.
12459 * elf/tst-auditmod3b.c: Likewise.
12460 * elf/tst-auditmod4b.c: Likewise.
12461 * elf/tst-auditmod5b.c: Likewise.
12462 * elf/tst-auditmod6b.c: Likewise.
12463 * elf/tst-auditmod6c.c: Likewise.
12464 * elf/tst-auditmod7b.c: Likewise.
12466 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12467 and x32_gnu_pltexit.
12469 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12470 __ELF_NATIVE_CLASS.
12471 (La_x32_regs): New macro.
12472 (La_x32_retval): Likewise.
12473 (la_x32_gnu_pltenter): New function prototype.
12474 (la_x32_gnu_pltexit): Likewise.
12476 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12483 * configure.in (libc_cv_cc_nofma): Check for option to disable
12484 generation of FMA instructions.
12485 * configure: Regenerate.
12486 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12487 * sysdeps/ieee754/dbl-64/Makefile: New file.
12488 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12489 Remove brandred-fma4.
12490 (CFLAGS-brandred-fma4.c): Remove.
12491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12499 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12500 LLONG_MAX != LONG_MAX.
12501 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12502 (_fitoa_word): Likewise.
12503 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12504 LLONG_MAX != LONG_MAX.
12505 * stdio-common/_itowa.h: Include <_itoa.h>.
12506 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12507 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12508 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12509 only if not defined.
12510 (_ITOA_WORD_TYPE): Likewise.
12511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12512 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12514 2012-03-21 David S. Miller <davem@davemloft.net>
12516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12518 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12520 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12521 of x86_64 when setting libc_cv_slibdir, libdir and
12523 * sysdeps/unix/sysv/linux/configure: Regenerated.
12525 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12527 * manual/lang.texi (Old Varargs): Remove section.
12528 (How Variadic): Update menu.
12529 (va_start): Do not mention varargs.h.
12531 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12532 Joseph Myers <joseph@codesourcery.com>
12534 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12536 * configure: Regenerated.
12538 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12540 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12541 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12544 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12547 * Makefile (files-for-dist): Remove NOTES.
12548 (NOTES): Remove rule.
12549 * README: Don't refer to NOTES.
12550 * manual/creature.texi: Don't include macros.texi.
12551 * manual/intro.texi (creature.texi): Remove comment referring to
12554 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12555 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12556 * configure: Regenerated.
12557 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12558 LIBC_TRY_CC_OPTION.
12559 (libc_cv_as_i686): Likewise.
12560 (libc_cv_cc_avx): Likewise.
12561 (libc_cv_cc_sse2avx): Likewise.
12562 (libc_cv_cc_fma4): Likewise.
12563 (libc_cv_cc_novzeroupper): Likewise.
12564 * sysdeps/i386/configure: Regenerated.
12567 * sysdeps/i386/fpu/s_cexp.S: Remove.
12568 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12570 * math/libm-test.inc (cexp_test): Add more tests.
12571 * sysdeps/i386/fpu/libm-test-ulps: Update.
12572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12574 2012-03-21 Allan McRae <allan@archlinux.org>
12576 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12578 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12581 * math/w_exp2.c: Do not include <float.h>.
12582 (o_threshold, u_threshold): Remove.
12583 (__exp2): Calculate result before checking finiteness and calling
12585 * math/w_exp2f.c: Likewise.
12586 * math/w_exp2l.c: Likewise.
12587 * math/libm-test.inc (exp2_test): Require overflow exception for
12591 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12592 range of signed 64-bit integers before using fistpll. Remove
12593 checks for whether integers fit in mantissa bits.
12594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12595 the range of signed 32-bit integers before using fistpl. Remove
12596 checks for whether integers fit in mantissa bits.
12597 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12598 (__ieee754_powl): Test for y outside the range of signed 64-bit
12599 integers before using fistpll. Reduce 64-bit values to 63-bit
12601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12602 divide-by-zero is raised for zero to large negative powers.
12603 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12604 (__ieee754_powl): Test for y outside the range of signed 64-bit
12605 integers before using fistpll. Reduce 64-bit values to 63-bit
12607 * math/libm-test.inc (pow_test): Add more tests.
12609 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12611 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12612 <stdio-common/_itoa.h>.
12613 * debug/segfault.c: Likewise.
12614 * elf/dl-cache.c: Likewise.
12615 * elf/dl-minimal.c: Likewise.
12616 * elf/dl-misc.c: Likewise.
12617 * elf/dl-sysdep.c: Likewise.
12618 * elf/dl-version.c: Likewise.
12619 * elf/rtld.c: Likewise.
12620 * hurd/hurdsock.c: Likewise.
12621 * hurd/lookup-retry.c: Likewise.
12622 * malloc/malloc.c: Likewise.
12623 * malloc/mtrace.c: Likewise.
12624 * nscd/nscd_getgr_r.c: Likewise.
12625 * nscd/nscd_getpw_r.c: Likewise.
12626 * nscd/nscd_getserv_r.c: Likewise.
12627 * posix/getopt_init.c: Likewise.
12628 * posix/wordexp.c: Likewise.
12629 * stdio-common/_itoa.c: Likewise.
12630 * stdio-common/printf_fphex.c: Likewise.
12631 * stdio-common/vfprintf.c: Likewise.
12632 * string/_strerror.c: Likewise.
12633 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12634 * sysdeps/i386/i686/hp-timing.h: Likewise.
12635 * sysdeps/mach/_strerror.c: Likewise.
12636 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12637 * sysdeps/mach/hurd/sethostid.c: Likewise.
12638 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12639 * sysdeps/mach/xpg-strerror.c: Likewise.
12640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12642 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12643 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12644 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12645 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12647 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12648 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12649 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12650 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12651 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12652 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12653 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12654 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12656 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12658 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12659 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12660 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12662 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12664 * stdio-common/_itoa.h: Moved to ...
12665 * sysdeps/generic/_itoa.h: Here.
12667 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12669 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12670 instead of "_itoa.h" and "_itowa.h".
12671 * stdio-common/vfprintf.: Likewise.
12673 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12677 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12678 (__signbit): Likwise.
12679 (llrintf): Likwise.
12682 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12684 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12687 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12689 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12690 OVERFLOW_EXCEPTION_OK.
12691 * math/libm-test.inc ("Philosophy"): Update comment about
12693 (OVERFLOW_EXCEPTION): Define.
12694 (OVERFLOW_EXCEPTION_OK): Likewise.
12695 (INVALID_EXCEPTION_OK): Renumber.
12696 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12697 (IGNORE_ZERO_INF_SIGN): Likewise.
12698 (test_exceptions): Handle FE_OVERFLOW.
12699 (exp10_test): Expect overflow exceptions.
12700 (exp2_test): Likewise.
12701 (expm1_test): Likewise.
12702 (nextafter_test): Likewise.
12703 (pow_test): Likewise.
12704 (scalbn_test): Likewise.
12705 (scalbln_test): Likewise.
12707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12709 * sysdeps/x86_64/bits/atomic.h
12710 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12712 (atomic_exchange_acq): Likewise.
12713 (__arch_exchange_and_add_body): Likewise.
12714 (__arch_add_body): Likewise.
12715 (atomic_add_negative): Likewise.
12716 (atomic_add_zero): Likewise.
12718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12720 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12721 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12725 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12726 Check __x86_64__ instead of __WORDSIZE.
12728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12730 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12732 2012-03-19 David S. Miller <davem@davemloft.net>
12734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12736 * sysdeps/sparc/fpu/fenv_private.h: New file.
12737 * sysdeps/sparc/fpu/math_private.h: Use it.
12738 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12741 (libc_feholdexcept_setroundl): Remove.
12742 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12749 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12750 int64_t instead of long int.
12751 (INSERT_WORDS64): Likwise.
12753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12755 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12756 _Unwind_GetCFA return to _Unwind_Ptr first.
12758 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12761 * math/s_clog.c: Include <float.h>.
12762 (__clog): Scale large or subnormal inputs.
12763 * math/s_clogf.c: Likewise.
12764 * math/s_clogl.c: Likewise.
12765 * math/s_clog10.c: Include <float.h>.
12766 (M_LOG10_2): Define.
12767 (__clog10): Scale large or subnormal inputs.
12768 * math/s_clog10f.c: Likewise.
12769 * math/s_clog10l.c: Likewise.
12770 * math/libm-test.inc (clog_test): Add more tests.
12771 (clog10_test): Likewise.
12772 * sysdeps/i386/fpu/libm-test-ulps: Update.
12773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12778 * math/libm-test.inc (atan2_test): Add another test.
12780 * Makerules (common-objdir-compile): Remove.
12781 * sysdeps/unix/Makefile (config-generated): Do not add
12782 $(unix-generated) to variable.
12783 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12784 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12786 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12788 [generic bits/local_lim.h] (before-compile): Do not append to
12790 [generic bits/local_lim.h] (common-generated): Likewise.
12791 [generic sys/param.h] (before-compile): Do not append to variable.
12792 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12793 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12795 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12797 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12798 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12799 [generic sys/param.h] ($(addprefix
12800 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12801 [generic sys/param.h] (common-generated): Do not append to
12803 [generic sys/param.h] (sysdep_headers): Likewise.
12804 [generic bits/errno.h] (before-compile): Do not append to
12806 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12808 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12809 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12810 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12811 [generic bits/errno.h] (common-generated): Do not append to
12813 [generic bits/ioctls.h] (before-compile): Do not append to
12815 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12817 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12818 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12819 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12822 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12823 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12824 [generic bits/ioctls.h] (common-generated): Do not append to
12826 [generic sys/syscall.h] (syscall.h): Remove variable.
12827 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12829 [generic sys/syscall.h] (before-compile): Do not append to
12831 [generic sys/syscall.h] (common-generated): Likewise.
12832 * sysdeps/unix/errnos-tmpl.c: Remove file.
12833 * sysdeps/unix/errnos.awk: Likewise.
12834 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12835 * sysdeps/unix/ioctls.awk: Likewise.
12836 * sysdeps/unix/mk-local_lim.c: Likewise.
12837 * sysdeps/unix/snarf-ioctls: Likewise.
12839 2012-03-19 Richard Henderson <rth@twiddle.net>
12841 * sysdeps/i386/fpu/fenv_private.h: New file.
12842 * sysdeps/i386/fpu/math_private.h: Use it.
12843 (math_opt_barrier, math_force_eval): Remove.
12844 (libc_feholdexcept_setround_53bit): Remove.
12845 (libc_feupdateenv_53bit): Remove.
12846 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12847 (math_opt_barrier, math_force_eval): Remove.
12848 (libc_feholdexcept): Remove.
12849 (libc_feholdexcept_setround): Remove.
12850 (libc_fetestexcept, libc_fesetenv): Remove.
12851 (libc_feupdateenv_test): Remove.
12852 (libc_feupdateenv, libc_feholdsetround): Remove.
12853 (libc_feresetround): Remove.
12855 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12856 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12858 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12859 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12860 (libc_feupdateenv_testl): New.
12861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12862 (libc_feupdateenv_testf): New.
12863 (libc_feupdateenv): Use libc_feupdateenv_test.
12864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12867 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12868 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12869 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12870 (libc_feresetround_noex): New.
12871 (libc_feresetround_noexf): New.
12872 (libc_feresetround_noexl): New.
12873 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12874 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12875 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12881 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12883 SET_RESTORE_ROUND_NOEX.
12884 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12885 SET_RESTORE_ROUND_NOEXF.
12886 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12887 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12888 (libc_feholdsetroundf): New.
12889 (libc_feresetround, libc_feresetroundf): New.
12891 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12892 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12893 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12895 * sysdeps/generic/math_private.h: Include <fenv.h>.
12896 (default_libc_feholdexcept): New.
12897 (default_libc_feholdexcept_setround): New.
12898 (default_libc_fesetenv, default_libc_feupdateenv): New.
12899 (libc_feholdexcept): Only define if undefined.
12900 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12901 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12902 (libc_feholdexcept_setroundl): Likewise.
12903 (libc_feholdexcept_setround_53bit): Likewise.
12904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12905 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12906 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12907 (libc_feupdateenv_53bit): Likewise.
12908 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12909 (libc_feholdexcept): Convert from macro to inline function.
12910 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12911 (libc_fesetenv, libc_feupdateenv): Likewise.
12913 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12914 not previously defined.
12915 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12916 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12917 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12919 * sysdeps/ieee754/flt-32/math_private.h: New file.
12920 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12921 math_private.h below SET_FLOAT_WORD.
12922 (__isnan, __isinf_ns, __finite): Remove.
12923 (__isnanf, __isinf_nsf, __finitef): Remove.
12925 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12929 2012-03-17 David S. Miller <davem@davemloft.net>
12932 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12935 2012-03-16 David S. Miller <davem@davemloft.net>
12937 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12943 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12944 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12945 sysdep_routines when subdir is sysvipc.
12946 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12947 __getshmlba helper.
12949 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12953 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12956 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12960 (__lround): Renamed to ...
12961 (__llround): This. Replace long int with long long int.
12962 Define lround functions as aliases of llround functions.
12963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12965 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12967 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12968 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12969 adresses to uintptr_t. Replace "long int" and "unsigned long
12970 int" with "greg_t" on va_arg.
12972 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12974 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12975 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12977 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12978 Move e_machine check before EI_CLASS check. Handle x32
12979 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12980 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12981 SKIP_EM_IA_64 and include
12982 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12984 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12985 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12986 (add_system_dir): New macro.
12988 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12989 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12991 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13002 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13004 * math/w_j0f.c (j0f): Likewise.
13006 * math/w_j0l.c (__j0l): Likewise.
13008 * math/w_j1.c (j1): Likewise.
13010 * math/w_j1f.c (j1f): Likewise.
13012 * math/w_j1l.c (__j1l): Likewise.
13014 * math/w_jn.c (jn): Likewise.
13016 * math/w_jnf.c (jnf): Likewise.
13018 * math/w_jnl.c (__jnl): Likewise.
13020 * math/libm-test.inc (j0_test): Add more tests.
13021 (j1_test): Likewise.
13022 (jn_test): Likewise. Add trailing semicolon to existing test.
13023 (y0_test): Likewise.
13024 (y1_test): Likewise.
13025 * sysdeps/i386/fpu/libm-test-ulps: Update.
13026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13031 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13032 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13034 (__tanl): Set errno for infinite argument.
13035 * sysdeps/i386/fpu/mptan.c: Remove.
13036 * sysdeps/i386/fpu/s_tan.S: Likewise.
13037 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13038 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13039 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13040 * math/libm-test.inc (tan_test): Add more tests and enable more
13041 tests for double and long double.
13042 * sysdeps/i386/fpu/libm-test-ulps: Update.
13043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13045 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13047 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13048 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13050 2012-03-16 Roland McGrath <roland@hack.frob.com>
13052 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13053 * configure.in: Use it for both main tree and add-ons.
13054 * configure: Regenerated.
13056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13058 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13060 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13067 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13072 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13074 != 0 for prec == 2.
13075 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13076 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13077 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13078 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13079 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13080 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13081 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13082 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13083 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13084 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13085 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13086 * math/libm-test.inc (cos_test): Add more tests and enable more
13087 tests for long double.
13088 (sin_test): Likewise.
13089 (sincos_test): Likewise.
13090 * sysdeps/i386/fpu/libm-test-ulps: Update.
13091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13093 2012-03-16 David S. Miller <davem@davemloft.net>
13095 * sysdeps/sparc/fpu/math_private.h: New file.
13097 2012-03-15 David S. Miller <davem@davemloft.net>
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13113 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13114 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13116 * sysdeps/sparc/sparc-ifunc.h: New file.
13117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13162 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13164 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13168 2012-03-15 Andreas Jaeger <aj@suse.de>
13171 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13172 ieee754/flt-32 implementation for sin, cos and sincos.
13173 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13174 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13175 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13176 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13177 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13178 ieee754/flt-32 implementation for tan.
13180 * math/libm-test.inc (cos_test): Enable some large input tests for
13182 (sin_test): Likewise.
13183 (sincos_test): Likewise.
13184 (tan_test): Add tests for large input.
13186 * sysdeps/i386/fpu/libm-test-ulps: Update.
13188 2012-03-15 Andreas Jaeger <aj@suse.de>
13191 * math/libm-test.inc (cos_test): Add more test cases.
13192 (sin_test): Likewise.
13193 (sincos_test): Likewise.
13195 2012-03-15 Andreas Jaeger <aj@suse.de>
13198 * math/libm-test.inc (cos_test): Add a test case for large input
13200 (sin_test): Likewise.
13201 (sincos_test): Likewise.
13203 2012-03-15 Andreas Jaeger <aj@suse.de>,
13204 Joseph Myers <joseph@codesourcery.com>
13207 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13208 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13209 * sysdeps/i386/fpu/branred.c: Likewise.
13210 * sysdeps/i386/fpu/dosincos.c: Likewise.
13211 * sysdeps/i386/fpu/mpa.c: Likewise.
13212 * sysdeps/i386/fpu/s_cos.S: Likewise.
13213 * sysdeps/i386/fpu/s_sin.S: Likewise.
13214 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13215 * sysdeps/i386/fpu/sincos32.c: Likewise.
13217 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13219 (libc_feupdateenv_53bit): Define.
13220 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13222 (libc_feupdateenv_53bit): Define.
13224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13225 53 bit (without extend i386 double precision).
13227 * math/libm-test.inc (sincos_test): Add tests for large input.
13231 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13233 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13237 2012-03-15 David S. Miller <davem@davemloft.net>
13239 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13240 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13241 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13242 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13267 fmin/fmax sysdep routines.
13268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13270 2012-03-14 David S. Miller <davem@davemloft.net>
13272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13349 * sysdeps/sparc/configure.in: New file.
13350 * sysdeps/sparc/configure: Generate.
13351 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13352 * configure: Regenerate.
13353 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13354 * config.make.in (have-as-vis3): New.
13355 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13356 available use -Av9d instead of -Av9a.
13357 * sysdeps/sparc/sparc64/Makefile: Likewise.
13358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13373 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13374 fzeros/fnegs to load 0x80000000 into a float register instead of
13376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13378 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13382 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13383 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13384 ($(inst_includedir)/bits/syscall.h): Remove rule.
13385 ($(objpfx)bits/syscall.d): Include instead of
13386 $(objpfx)syscall-list.d.
13387 (generated): Change syscall-list.h and syscall-list.d to
13388 bits/syscall.h and bits/syscall.d.
13390 2012-03-14 Roland McGrath <roland@hack.frob.com>
13393 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13395 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13398 * math/s_csqrt.c: Include <float.h>.
13399 (__csqrt): Scale large or subnormal inputs.
13400 * math/s_csqrtf.c: Likewise.
13401 * math/s_csqrtl.c: Likewise.
13402 * math/libm-test.inc (csqrt_test): Add more tests.
13403 * sysdeps/i386/fpu/libm-test-ulps: Update.
13404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13407 * math/libm-test.inc (hypot_test): Add more tests.
13409 2012-03-13 David S. Miller <davem@davemloft.net>
13412 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13413 double-precision for the calculation instead of scaling.
13415 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13418 manipulate bits before adding and subtracting TWO52[sx].
13419 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13420 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13424 2012-03-13 David S. Miller <davem@davemloft.net>
13426 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13427 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13429 rtld-global-offsets.h
13430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13432 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13435 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13437 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13438 'err' in the ifdef scope in which it is actually used.
13440 * nss/nss_db/db-init.c: Include string.h
13442 2012-03-12 David S. Miller <davem@davemloft.net>
13444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13445 masking out of the most significant byte of random value used.
13446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13447 Fix coding style in previous change.
13449 * sysdeps/unix/sysv/linux/kernel-features.h
13450 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13451 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13453 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13456 2012-03-11 David S. Miller <davem@davemloft.net>
13458 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13459 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13461 for 'resultvar' otherwise things get truncated on 64-bit.
13463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13464 Fix masking out of the most significant byte of random value used.
13466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13468 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13472 2012-03-09 David S. Miller <davem@davemloft.net>
13474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13475 variables with appropriate CPP guards.
13476 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13477 frame pointer, not the stack pointer. Correct layout comments. Fix test
13478 on resulting framesize and the management of the outregs buffer for pltexit.
13479 Preserve floating point return values across _dl_call_pltexit call.
13480 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13481 framesize and the management of the outregs buffer for pltexit.
13482 Preserve floating point return values across _dl_call_pltexit
13484 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13485 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13486 (print_exit): Fix format string for return register value.
13488 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13490 * sunrpc/Makefile (others): Add rpcgen.
13491 ($(objpfx)rpcgen): Remove special build rule and dependency on
13493 * sunrpc/rpcgen.c: New file.
13495 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13498 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13499 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13500 * sysdeps/i386/crti.S: Likewise.
13501 * sysdeps/i386/crtn.S: Likewise.
13502 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13503 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13504 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13505 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13506 * sysdeps/sh/crti.S: Likewise.
13507 * sysdeps/sh/crtn.S: Likewise.
13508 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13511 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13513 * locale/programs/locfile-kw.gperf: Likewise.
13514 * locale/programs/charmap-kw.h: Regenerated.
13515 * locale/programs/locfile-kw.h: Likewise.
13518 * intl/plural.y: Replace FSF snail mail address with URL.
13519 * intl/plural.c: Regenerated.
13521 2012-03-09 Richard Henderson <rth@twiddle.net>
13523 * include/math_private.h: Remove file.
13524 * math/math_private.h: Move file ...
13525 * sysdeps/generic/math_private.h: ... here.
13527 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13528 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13531 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13532 and <math_private.h>.
13533 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13534 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13535 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13536 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13537 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13621 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13624 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13625 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13626 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13627 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13630 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13631 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13633 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13634 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13635 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13638 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13639 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13640 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13641 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13643 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13644 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13647 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13650 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13651 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13652 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13654 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13655 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13656 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13658 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13660 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13661 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13662 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13663 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13664 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13665 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13666 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13667 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13668 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13669 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13670 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13671 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13672 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13674 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13677 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13681 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13682 * sysdeps/ieee754/k_standard.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13815 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13831 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13832 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13833 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13843 * sysdeps/ieee754/s_lib_version.c: Likewise.
13844 * sysdeps/ieee754/s_matherr.c: Likewise.
13845 * sysdeps/ieee754/s_signgam.c: Likewise.
13846 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13849 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13851 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13852 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13853 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13854 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13855 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13856 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13857 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13858 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13859 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13860 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13861 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13862 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13868 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13870 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13871 * sunrpc/rpc_main.c: Likewise.
13872 * sunrpc/rpc_svcout.c: Likewise.
13874 2012-03-09 David S. Miller <davem@davemloft.net>
13876 * include/math_private.h: New file.
13878 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13880 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13881 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13882 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13883 from <bits/socket_type.h>.
13884 (enum __socket_type): Don't define here.
13885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13887 bits/socket_type.h.
13890 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13891 checking __USE_GNU.
13893 * Makerules ($(inst_includedir)/%.h): New rule.
13894 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13895 (install-others): Remove variable setting.
13896 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13898 2012-03-08 Richard Henderson <rth@twiddle.net>
13900 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13901 from macro to inline function; merge with the
13902 !__LIBC_INTERNAL_MATH_INLINES version.
13903 (__ieee754_sqrtf): Likewise.
13905 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13906 to inline function.
13907 (__rintf, __floor, __floorf): Likewise.
13909 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13910 macro to inline function.
13911 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13913 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13914 not <math/math_private.h>.
13916 2012-03-08 David S. Miller <davem@davemloft.net>
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13920 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13922 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13924 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13926 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13927 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13929 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13931 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13932 be defined individually, they must be defined as a block. Define
13933 S for printing a string instead of hidint the different by using a
13934 macro for adding the 'l'.
13935 * stdio-common/tst-fphex-wide.c: Adjust.
13937 2012-03-07 Marek Polacek <polacek@redhat.com>
13939 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13941 2012-03-08 Marek Polacek <polacek@redhat.com>
13944 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13945 * stdio-common/tst-fphex.c: Define a few macros to make the
13946 test reusable. Use them.
13947 * stdio-common/tst-fphex-wide.c: New file.
13949 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13952 * manual/macros.texi (gnusystems): New macro.
13953 (nongnusystems): Likewise.
13954 (gnulinuxhurdsystems): Likewise.
13955 (gnuhurdsystems): Likewise..
13956 (gnulinuxsystems): Likewise.
13957 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13958 variants of the GNU system, not "GNU system".
13959 * manual/conf.texi: Likewise.
13960 * manual/errno.texi: Likewise. Update example of errno macro
13962 * manual/filesys.texi: Likewise.
13963 (getumask): Document as specific to GNU/Hurd.
13964 * manual/install.texi: Likewise. Reword some references to
13966 * manual/intro.texi: Likewise.
13967 * manual/io.texi: Likewise.
13968 (File Name Portability): Detail which constraints are inapplicable
13969 to all GNU systems and which are only inapplicable to GNU/Hurd.
13970 * manual/job.texi: Likewise.
13971 * manual/llio.texi: Likewise.
13972 (O_NOCTTY): Document as present on GNU/Linux.
13973 * manual/maint.texi: Likewise.
13974 * manual/memory.texi: Likewise.
13975 * manual/pattern.texi: Likewise.
13976 * manual/pipe.texi: Likewise.
13977 * manual/process.texi: Likewise.
13978 * manual/resource.texi: Likewise.
13979 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13981 * manual/setjmp.texi: Likewise.
13982 * manual/signal.texi: Likewise.
13983 * manual/startup.texi: Likewise.
13984 * manual/stdio.texi: Likewise.
13985 * manual/terminal.texi: Likewise.
13986 (ONLCR): Document as POSIX.
13987 (OXTABS): Document availability on GNU/Linux as XTABS.
13988 (ONOEOT): Document availability separately from other bits.
13989 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13990 * manual/time.texi: Likewise.
13991 * manual/users.texi: Likewise.
13992 * INSTALL: Regenerated.
13993 * sysdeps/gnu/errlist.c: Regenerated.
13995 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13996 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13997 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13999 * configure: Regenerated.
14001 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14003 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14004 default includes instead of AC_HEADER_CHECK.
14005 * sysdeps/i386/configure: Regenerated.
14008 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14009 * math/s_cacoshf.c (__cacoshf): Likewise.
14010 * math/s_cacoshl.c (__cacoshl): Likewise.
14011 * math/s_casinh.c (__casinh): Set signs of result from argument.
14012 * math/s_casinhf.c (__casinhf): Likewise.
14013 * math/s_casinhl.c (__casinhl): Likewise.
14014 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14015 (casinh_test): Add more tests.
14016 * sysdeps/i386/fpu/libm-test-ulps: Update.
14017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14019 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14021 * po/zh_TW.po: Update from translation team.
14023 * login/Makefile (distribute): Remove variable.
14024 * catgets/Makefile: Likewise.
14025 * mach/Makefile: Likewise.
14026 * malloc/Makefile: Likewise.
14027 * misc/Makefile: Likewise.
14028 * iconv/Makefile: Likewise.
14029 * nscd/Makefile: Likewise.
14030 * hurd/Makefile: Likewise.
14031 * manual/Makefile: Likewise.
14032 * locale/Makefile: Likewise.
14033 * intl/Makefile: Likewise.
14034 * conform/Makefile: Likewise.
14035 * nss/Makefile: Likewise.
14036 * time/Makefile: Likewise.
14037 * soft-fp/Makefile: Likewise.
14038 * dirent/Makefile: Likewise.
14039 * gmon/Makefile: Likewise.
14040 * po/Makefile: Likewise.
14041 * rt/Makefile: Likewise.
14042 * socket/Makefile: Likewise.
14043 * math/Makefile: Likewise.
14044 * signal/Makefile: Likewise.
14045 * debug/Makefile: Likewise.
14046 * elf/Makefile: Likewise.
14047 * timezone/Makefile: Likewise.
14048 * stdlib/Makefile: Likewise.
14049 * iconvdata/Makefile: Likewise.
14050 * sunrpc/Makefile: Likewise.
14051 * io/Makefile: Likewise.
14052 * argp/Makefile: Likewise.
14053 * inet/Makefile: Likewise.
14054 * hesiod/Makefile: Likewise.
14055 * grp/Makefile: Likewise.
14056 * csu/Makefile: Likewise.
14057 * wctype/Makefile: Likewise.
14058 * crypt/Makefile: Likewise.
14059 * libio/Makefile: Likewise.
14060 * string/Makefile: Likewise.
14061 * nis/Makefile: Likewise.
14062 * resolv/Makefile: Likewise.
14063 * stdio-common/Makefile: Likewise.
14064 * wcsmbs/Makefile: Likewise.
14065 * dlfcn/Makefile: Likewise.
14066 * posix/Makefile: Likewise.
14069 * timezone/Makefile: Don't install timezone files, just the programs
14072 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14074 * nss/databases.def: Add missing gshadow entry.
14076 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14078 2012-03-06 Marek Polacek <polacek@redhat.com>
14081 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14082 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14083 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14084 * stdio-common/tst-long-dbl-fphex.c: New file.
14086 2012-03-06 David S. Miller <davem@davemloft.net>
14088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14089 (set_obp_int): New function.
14090 (get_obp_int): New function.
14091 (__get_clockfreq_via_dev_openprom): Likewise.
14092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14093 Avoid unused variable warnings on 'val' and use builtin_expect.
14094 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14096 (INLINE_CLONE_SYSCALL): Likewise.
14098 2012-03-05 David S. Miller <davem@davemloft.net>
14100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14102 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14107 only for |x| >= 40.
14108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14110 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14113 Replace gettimeofday with __vdso_gettimeofday.
14115 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14116 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14117 __vdso_clock_gettime and __vdso_getcpu.
14119 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14120 time with __vdso_time.
14122 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14124 * manual/lang.texi (size_t): Note types to which size_t may be
14125 equivalent with the GNU C Library, but do not describe when
14126 differences between them are significant.
14128 2012-03-05 Andreas Jaeger <aj@suse.de>
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14132 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14135 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14136 (__ieee754_pow): Save and restore rounding mode and use
14137 round-to-nearest for main computations.
14138 * math/libm-test.inc (pow_test_tonearest): New function.
14139 (pow_test_towardzero): Likewise.
14140 (pow_test_downward): Likewise.
14141 (pow_test_upward): Likewise.
14142 (main): Call the new functions.
14143 * sysdeps/i386/fpu/libm-test-ulps: Update.
14144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14147 * math/libm-test.inc (cosh_test_tonearest): New function.
14148 (cosh_test_towardzero): Likewise.
14149 (cosh_test_downward): Likewise.
14150 (cosh_test_upward): Likewise.
14151 (sinh_test_tonearest): Likewise.
14152 (sinh_test_towardzero): Likewise.
14153 (sinh_test_downward): Likewise.
14154 (sinh_test_upward): Likewise.
14155 (main): Call the new functions.
14156 * sysdeps/i386/fpu/libm-test-ulps: Update.
14157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159 2012-03-05 Tom de Vries <tom@codesourcery.com>
14161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14162 default stack guard is set in last bytes.
14163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14165 2012-03-05 Kees Cook <keescook@chromium.org>
14167 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14170 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14171 possibly allocate from heap instead of stack.
14172 * stdio-common/bug-vfprintf-nargs.c: New file.
14173 * stdio-common/Makefile (tests): Add nargs overflow test.
14175 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14179 2012-03-03 Marek Polacek <polacek@redhat.com>
14181 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14182 * math/math_private.h: Likewise.
14183 * stdlib/tst-strtod.c: Likewise.
14184 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14185 * sysdeps/x86_64/bits/atomic.h: Likewise.
14187 2012-03-02 David S. Miller <davem@davemloft.net>
14189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14193 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14194 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14195 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14196 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14198 2012-03-02 Roland McGrath <roland@hack.frob.com>
14201 * manual/examples/README: New file, says the example source files
14202 can be used under GPL>=2.
14203 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14204 line containing just "*/".
14205 * manual/examples/add.c: Add copyright header (GPL>=2).
14206 * manual/examples/argp-ex1.c: Likewise.
14207 * manual/examples/argp-ex2.c: Likewise.
14208 * manual/examples/argp-ex3.c: Likewise.
14209 * manual/examples/argp-ex4.c: Likewise.
14210 * manual/examples/atexit.c: Likewise.
14211 * manual/examples/db.c: Likewise.
14212 * manual/examples/dir.c: Likewise.
14213 * manual/examples/dir2.c: Likewise.
14214 * manual/examples/execinfo.c: Likewise.
14215 * manual/examples/filecli.c: Likewise.
14216 * manual/examples/filesrv.c: Likewise.
14217 * manual/examples/fmtmsgexpl.c: Likewise.
14218 * manual/examples/genpass.c: Likewise.
14219 * manual/examples/inetcli.c: Likewise.
14220 * manual/examples/inetsrv.c: Likewise.
14221 * manual/examples/isockad.c: Likewise.
14222 * manual/examples/longopt.c: Likewise.
14223 * manual/examples/memopen.c: Likewise.
14224 * manual/examples/memstrm.c: Likewise.
14225 * manual/examples/mkfsock.c: Likewise.
14226 * manual/examples/mkisock.c: Likewise.
14227 * manual/examples/mygetpass.c: Likewise.
14228 * manual/examples/pipe.c: Likewise.
14229 * manual/examples/popen.c: Likewise.
14230 * manual/examples/rprintf.c: Likewise.
14231 * manual/examples/search.c: Likewise.
14232 * manual/examples/select.c: Likewise.
14233 * manual/examples/setjmp.c: Likewise.
14234 * manual/examples/sigh1.c: Likewise.
14235 * manual/examples/sigusr.c: Likewise.
14236 * manual/examples/stpcpy.c: Likewise.
14237 * manual/examples/strdupa.c: Likewise.
14238 * manual/examples/strftim.c: Likewise.
14239 * manual/examples/strncat.c: Likewise.
14240 * manual/examples/subopt.c: Likewise.
14241 * manual/examples/swapcontext.c: Likewise.
14242 * manual/examples/termios.c: Likewise.
14243 * manual/examples/testopt.c: Likewise.
14244 * manual/examples/testpass.c: Likewise.
14245 * manual/examples/timeval_subtract.c: Likewise.
14248 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14250 * manual/timeval_subtract.c.texi: ... here, new file.
14252 2012-03-02 David S. Miller <davem@davemloft.net>
14254 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14256 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14259 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14260 (__sin): Save and restore rounding mode and use round-to-nearest
14261 for all computations.
14262 (__cos): Save and restore rounding mode and use round-to-nearest
14263 for all computations.
14264 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14266 (tan): Save and restore rounding mode and use round-to-nearest for
14268 * math/libm-test.inc (cos_test_tonearest): New function.
14269 (cos_test_towardzero): Likewise.
14270 (cos_test_downward): Likewise.
14271 (cos_test_upward): Likewise.
14272 (sin_test_tonearest): Likewise.
14273 (sin_test_towardzero): Likewise.
14274 (sin_test_downward): Likewise.
14275 (sin_test_upward): Likewise.
14276 (tan_test_tonearest): Likewise.
14277 (tan_test_towardzero): Likewise.
14278 (tan_test_downward): Likewise.
14279 (tan_test_upward): Likewise.
14280 (main): Call the new functions.
14281 * sysdeps/i386/fpu/libm-test-ulps: Update.
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14285 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14286 small n, then large n, before computing and testing k+n.
14287 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14292 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14293 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14294 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14295 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14300 * math/libm-test.inc (scalbn_test): Add more tests.
14301 (scalbln_test): Likewise.
14303 * manual/filesys.texi (mode_t): Describe constraints on size and
14304 signedness, not exact equivalence to a particular type.
14306 (ino64_t): Likewise.
14308 (nlink_t): Likewise.
14309 (blkcnt_t): Likewise.
14310 (blkcnt64_t): Likewise.
14311 * manual/llio.texi (off_t): Likewise.
14314 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14315 (__ieee754_exp): Save and restore rounding mode and use
14316 round-to-nearest for all computations.
14317 * math/libm-test.inc (exp_test_tonearest): New function.
14318 (exp_test_towardzero): Likewise.
14319 (exp_test_downward): Likewise.
14320 (exp_test_upward): Likewise.
14321 (main): Call the new functions.
14322 * sysdeps/i386/fpu/libm-test-ulps: Update.
14323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14325 2012-03-01 Chris Demetriou <cgd@google.com>
14327 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14328 have predictable order.
14330 2012-03-01 David S. Miller <davem@davemloft.net>
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14334 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14335 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14336 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14337 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14339 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14340 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14341 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14343 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14344 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14345 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14346 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14347 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14352 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14353 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14355 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14356 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14357 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14362 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14364 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14365 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14368 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14369 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14371 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14372 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14373 * sysdeps/sparc/elf/configure: Regenerated.
14375 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14377 * configure.in (AS, LD): Require binutils 2.20 or later.
14378 * configure: Regenerated.
14379 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14380 as required minimum version.
14381 * INSTALL: Regenerated.
14385 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14386 before squaring exponent.
14387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14388 bottom long double and 27 bits of top long double before squaring
14390 * math/libm-test.inc (erfc_test): Add more tests.
14391 * sysdeps/i386/fpu/libm-test-ulps: Update.
14392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14395 2012-03-01 Kai Tietz <ktietz@redhat.com>
14397 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14398 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14399 containing bit-fields.
14400 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14401 * soft-fp/single.h (_FP_UNION_S): Likewise.
14402 * soft-fp/double.h (_FP_UNION_D): Likewise.
14404 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14407 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14408 not include ../strcmp.S.
14409 [USE_AS_STRNCASECMP_L]: Likewise.
14410 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14411 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14412 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14413 (__strncasecmp_l_ia32): Define as alias to
14414 __strncasecmp_l_nonascii.
14417 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14418 * sysdeps/i386/fpu/libm-test-ulps: Update.
14419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14421 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14424 2012-02-29 Jeff Law <law@redhat.com>
14426 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14427 out of bounds read.
14429 2012-02-29 Marek Polacek <polacek@redhat.com>
14432 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14433 * elf/Makefile: Add rules to run tst-unused-dep.out.
14435 2012-02-28 David S. Miller <davem@davemloft.net>
14437 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14438 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14441 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14442 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14444 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14446 * math/libm-test.inc (llround_test): Move one test from
14447 lround_test. Use TEST_f_L in moved test.
14448 (lround_test): Move misplaced test to llround_test. Add testcase
14451 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14453 * sysdeps/x86_64/fpu/e_expf.S: New file.
14454 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14456 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14459 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14460 of remain_len that may cause incomplete multi-byte character and
14462 * posix/bug-regex33.c: New file.
14463 * posix/Makefile (tests): Add bug-regex33.
14465 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14467 * manual/macros.texi: New file.
14468 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14469 * manual/libc.texinfo: Include macros.texi.
14470 * manual/creatute.texi: Likewise.
14471 * manual/install.texi: Likewise.
14472 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14473 @glibcadj{} in references to the GNU C Library.
14474 * manual/charset.texi: Likewise.
14475 * manual/conf.texi: Likewise.
14476 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14477 when not using those macros.
14478 * manual/creature.texi: Likewise.
14479 * manual/crypt.texi: Likewise.
14480 * manual/errno.texi: Likewise.
14481 * manual/filesys.texi: Likewise.
14482 * manual/header.texi: Likewise.
14483 * manual/install.texi: Likewise.
14484 * manual/intro.texi: Likewise.
14485 * manual/io.texi: Likewise.
14486 * manual/job.texi: Likewise.
14487 * manual/lang.texi: Likewise.
14488 * manual/libc.texiinfo: Likewise.
14489 * manual/llio.texi: Likewise.
14490 * manual/locale.texi: Likewise.
14491 * manual/maint.texi: Likewise.
14492 * manual/math.texi: Likewise.
14493 * manual/memory.texi: Likewise.
14494 * manual/message.texi: Likewise.
14495 * manual/nss.texi: Likewise.
14496 * manual/pattern.texi: Likewise.
14497 * manual/process.texi: Likewise.
14498 * manual/resource.texi: Likewise.
14499 * manual/search.texi: Likewise.
14500 * manual/setjmp.texi: Likewise.
14501 * manual/signal.texi: Likewise.
14502 * manual/socket.texi: Likewise.
14503 * manual/startup.texi: Likewise.
14504 * manual/stdio.texi: Likewise.
14505 * manual/string.texi: Likewise.
14506 * manual/sysinfo.texi: Likewise.
14507 * manual/syslog.texi: Likewise.
14508 * manual/terminal.texi: Likewise.
14509 * manual/time.texi: Likewise.
14510 * manual/users.texi: Likewise.
14511 * INSTALL: Regenerated.
14512 * NOTES: Regenerated.
14513 * sysdeps/gnu/errlist.c: Regenerated.
14515 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14517 * include/dirent.h: Include <dirstream.h> before
14520 2012-02-28 David S. Miller <davem@davemloft.net>
14522 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14523 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14524 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14525 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14527 2012-02-27 David S. Miller <davem@davemloft.net>
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14531 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14532 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14535 frame pointer instead of stack pointer relative arg slot.
14536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14537 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14538 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14540 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14543 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14545 2012-02-27 David S. Miller <davem@davemloft.net>
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14553 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14556 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14558 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14559 later. Allow versions 5-9.
14560 * configure: Regenerated.
14561 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14562 required minimum version and 4.6 as recommended version. Do not
14563 mention bugs in GCC 2.7 and 2.8.
14564 * INSTALL: Regenerated.
14566 2012-02-27 David S. Miller <davem@davemloft.net>
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14574 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14575 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14578 manipulate bits before adding and subtracting TWO112[sx].
14579 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14581 2012-02-27 Roland McGrath <roland@hack.frob.com>
14584 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14585 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14586 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14587 being in POSIX, because they are in 1003.1-2008.
14589 * rt/tst-aio.c: Include <fcntl.h>.
14590 * rt/tst-aio7.c: Likewise.
14591 * rt/tst-aio64.c: Likewise.
14593 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14595 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14597 * manual/install.texi (--with-headers): Describe headers as
14598 interface headers, not private headers.
14599 (Specific advice for GNU/Linux systems): Describe use of headers
14600 from "make headers_install", not private headers from older
14602 * INSTALL: Regenerated.
14603 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14605 * sysdeps/unix/sysv/linux/configure: Regenerated.
14607 * manual/llio.texi (fclean): Remove documentation.
14609 * manual/Makefile (libc-texi-generated): New variable. Include
14611 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14612 $(libc-texi-generated), not duplicated list of files.
14613 (version.texi, stamp-version): New rules.
14614 (realclean): Remove $(libc-texi-generated), not individual files
14615 from that list. Do not remove dir-add.texinfo.
14616 * manual/libc.texinfo: Comment out uses of edition numbers and
14617 references to printed manual. Remove last-updated dates.
14618 (EDITION): Comment out.
14620 (VERSION, UPDATED): Remove.
14621 (version.texi): Include.
14623 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14625 * sysdeps/posix/spawni.c: Include <signal.h>.
14626 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14627 * sysdeps/pthread/aio_fsync.c: Likewise.
14629 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14631 * conform/Makefile (tests): Run only when not cross-compiling and
14632 when fast-check is not defined.
14634 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14635 * conform/data/limits.h-data: Fixes for POSIX2008.
14636 * conform/run-conformtest.sh: Run all tests.
14637 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14639 * include/bits/dlfcn.h: Likewise.
14640 * include/langinfo.h: Likewise.
14641 * include/monetary.h: Likewise.
14642 * include/sys/poll.h: Likewise.
14644 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14646 * posix/spawn.h: Define __need_sigset_t.
14647 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14648 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14649 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14650 to get sigevent_t only.
14651 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14652 only for __USE_GNU.
14653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14654 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14655 process_vm_writev only for __USE_GNU.
14656 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14658 * conform/Makefile: For now ignore errors from run-conformtest.
14659 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14660 POSIX to avoid namespace pollution. Don't prepend headers.
14661 * conform/data/aio.h-data: Fixes for POSIX testing.
14662 * conform/data/fcntl.h-data: Likewise.
14663 * conform/data/glob.h-data: Likewise.
14664 * conform/data/grp.h-data: Likewise.
14665 * conform/data/pthread.h-data: Likewise.
14666 * conform/data/pwd.h-data: Likewise.
14667 * conform/data/signal.h-data: Likewise.
14668 * conform/data/spawn.h-data: Likewise.
14669 * conform/data/stdio.h-data: Likewise.
14670 * conform/data/stdlib.h-data: Likewise.
14671 * conform/data/stropts.h-data: Likewise.
14672 * conform/data/sys/mman.h-data: Likewise.
14673 * conform/data/sys/stat.h-data: Likewise.
14674 * conform/data/sys/types.h-data: Likewise.
14675 * conform/data/sys/wait.h-data: Likewise.
14676 * conform/data/time.h-data: Likewise.
14677 * conform/data/unistd.h-data: Likewise.
14678 * conform/data/utime.h-data: Likewise.
14680 * io/sys/stat.h: fchmod was always in POSIX.
14681 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14682 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14683 * rt/aio.h: Define __need_timespec before including <time.h>.
14684 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14685 struct. Add forward declaration of pthread_attr_t and use it in
14687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14689 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14690 always remove CLK_TCK definition.
14692 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14694 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14696 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14698 * conform/run-conformtest.sh: New file.
14699 * conform/Makefile: Run run-conformtest for tests.
14700 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14703 * conform/data/uchar.h-data: New file.
14704 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14705 * conform/data/arpa/inet.h-data: Likewise.
14706 * conform/data/assert.h-data: Likewise.
14707 * conform/data/complex.h-data: Likewise.
14708 * conform/data/cpio.h-data: Likewise.
14709 * conform/data/ctype.h-data: Likewise.
14710 * conform/data/dirent.h-data: Likewise.
14711 * conform/data/dlfcn.h-data: Likewise.
14712 * conform/data/errno.h-data: Likewise.
14713 * conform/data/fcntl.h-data: Likewise.
14714 * conform/data/float.h-data: Likewise.
14715 * conform/data/fmtmsg.h-data: Likewise.
14716 * conform/data/fnmatch.h-data: Likewise.
14717 * conform/data/ftw.h-data: Likewise.
14718 * conform/data/glob.h-data: Likewise.
14719 * conform/data/grp.h-data: Likewise.
14720 * conform/data/iconv.h-data: Likewise.
14721 * conform/data/inttypes.h-data: Likewise.
14722 * conform/data/langinfo.h-data: Likewise.
14723 * conform/data/libgen.h-data: Likewise.
14724 * conform/data/limits.h-data: Likewise.
14725 * conform/data/locale.h-data: Likewise.
14726 * conform/data/math.h-data: Likewise.
14727 * conform/data/monetary.h-data: Likewise.
14728 * conform/data/mqueue.h-data: Likewise.
14729 * conform/data/ndbm.h-data: Likewise.
14730 * conform/data/net/if.h-data: Likewise.
14731 * conform/data/netdb.h-data: Likewise.
14732 * conform/data/netinet/in.h-data: Likewise.
14733 * conform/data/nl_types.h-data: Likewise.
14734 * conform/data/poll.h-data: Likewise.
14735 * conform/data/pthread.h-data: Likewise.
14736 * conform/data/pwd.h-data: Likewise.
14737 * conform/data/regex.h-data: Likewise.
14738 * conform/data/sched.h-data: Likewise.
14739 * conform/data/search.h-data: Likewise.
14740 * conform/data/semaphore.h-data: Likewise.
14741 * conform/data/setjmp.h-data: Likewise.
14742 * conform/data/signal.h-data: Likewise.
14743 * conform/data/spawn.h-data: Likewise.
14744 * conform/data/stdarg.h-data: Likewise.
14745 * conform/data/stdio.h-data: Likewise.
14746 * conform/data/stdlib.h-data: Likewise.
14747 * conform/data/string.h-data: Likewise.
14748 * conform/data/strings.h-data: Likewise.
14749 * conform/data/stropts.h-data: Likewise.
14750 * conform/data/sys/ipc.h-data: Likewise.
14751 * conform/data/sys/mman.h-data: Likewise.
14752 * conform/data/sys/msg.h-data: Likewise.
14753 * conform/data/sys/resource.h-data: Likewise.
14754 * conform/data/sys/select.h-data: Likewise.
14755 * conform/data/sys/sem.h-data: Likewise.
14756 * conform/data/sys/shm.h-data: Likewise.
14757 * conform/data/sys/socket.h-data: Likewise.
14758 * conform/data/sys/stat.h-data: Likewise.
14759 * conform/data/sys/statvfs.h-data: Likewise.
14760 * conform/data/sys/time.h-data: Likewise.
14761 * conform/data/sys/timeb.h-data: Likewise.
14762 * conform/data/sys/times.h-data: Likewise.
14763 * conform/data/sys/types.h-data: Likewise.
14764 * conform/data/sys/uio.h-data: Likewise.
14765 * conform/data/sys/un.h-data: Likewise.
14766 * conform/data/sys/utsname.h-data: Likewise.
14767 * conform/data/sys/wait.h-data: Likewise.
14768 * conform/data/syslog.h-data: Likewise.
14769 * conform/data/tar.h-data: Likewise.
14770 * conform/data/termios.h-data: Likewise.
14771 * conform/data/utime.h-data: Likewise.
14772 * conform/data/utmpx.h-data: Likewise.
14773 * conform/data/varargs.h-data: Likewise.
14774 * conform/data/wchar.h-data: Likewise.
14775 * conform/data/wctype.h-data: Likewise.
14776 * conform/data/wordexp.h-data: Likewise.
14778 * include/stropts.h: New file.
14779 * include/uchar.h: New file.
14780 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14781 * include/assert.h: Likewise.
14782 * include/ctype.h: Likewise.
14783 * include/dirent.h: Likewise.
14784 * include/dlfcn.h: Likewise.
14785 * include/fcntl.h: Likewise.
14786 * include/fnmatch.h: Likewise.
14787 * include/glob.h: Likewise.
14788 * include/grp.h: Likewise.
14789 * include/libio.h: Likewise.
14790 * include/locale.h: Likewise.
14791 * include/math.h: Likewise.
14792 * include/net/if.h: Likewise.
14793 * include/netdb.h: Likewise.
14794 * include/netinet/in.h: Likewise.
14795 * include/pthread.h: Likewise.
14796 * include/pwd.h: Likewise.
14797 * include/regex.h: Likewise.
14798 * include/sched.h: Likewise.
14799 * include/search.h: Likewise.
14800 * include/setjmp.h: Likewise.
14801 * include/signal.h: Likewise.
14802 * include/stdio.h: Likewise.
14803 * include/stdlib.h: Likewise.
14804 * include/string.h: Likewise.
14805 * include/sys/cdefs.h: Likewise.
14806 * include/sys/mman.h: Likewise.
14807 * include/sys/msg.h: Likewise.
14808 * include/sys/resource.h: Likewise.
14809 * include/sys/select.h: Likewise.
14810 * include/sys/socket.h: Likewise.
14811 * include/sys/stat.h: Likewise.
14812 * include/sys/statvfs.h: Likewise.
14813 * include/sys/time.h: Likewise.
14814 * include/sys/times.h: Likewise.
14815 * include/sys/uio.h: Likewise.
14816 * include/sys/utsname.h: Likewise.
14817 * include/sys/wait.h: Likewise.
14818 * include/termios.h: Likewise.
14819 * include/time.h: Likewise.
14820 * include/ulimit.h: Likewise.
14821 * include/unistd.h: Likewise.
14822 * include/utime.h: Likewise.
14823 * include/wchar.h: Likewise.
14824 * include/wctype.h: Likewise.
14825 * include/wordexp.h: Likewise.
14827 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14829 * time/time.h: TIME_UTC must be a macro.
14830 Make timespec_get available for ISO C11 only as well.
14832 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14834 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14835 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14837 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14839 * configure.in: Use -o not -a in test for unsupported multi-arch.
14841 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14843 * manual/texinfo.tex: Update to version 2012-01-19.16.
14845 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14847 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14849 2012-02-24 Roland McGrath <roland@hack.frob.com>
14852 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14853 * manual/fdl-1.3.texi: New file.
14854 * manual/fdl-1.1.texi: File removed.
14857 * manual/libc.texinfo (FDL_VERSION): New @set.
14858 Use it for mention of FDL in cover text.
14859 (Documentation License): Use it in @include file name.
14861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14862 Roland McGrath <roland@hack.frob.com>
14865 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14866 not LONG_LONG_MAX and LONG_LONG_MIN.
14867 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14868 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14870 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14872 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14876 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14877 manipulate bits before adding and subtracting TWO23[sx].
14878 * math/libm-test.inc (nearbyint_test): Add more tests.
14880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14883 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14884 bits before adding and subtracting TWO23[sx].
14885 * math/libm-test.inc (rint_test): Add more tests.
14886 (rint_test_tonearest): Likewise.
14887 (rint_test_towardzero): Likewise.
14888 (rint_test_downward): Likewise.
14889 (rint_test_upward: Likewise.
14891 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14894 * include/stdc-predef.h: New file. Extracted from features.h.
14895 * include/features.h: Include stdc-predef.h.
14896 * Makefile (headers): Add stdc-predef.h.
14897 * CONFORMANCE (Compiler limitations): Update.
14899 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14901 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14903 2012-02-21 David S. Miller <davem@davemloft.net>
14905 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14906 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14908 2012-02-20 David S. Miller <davem@davemloft.net>
14910 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14911 using a normal save/restore sequence, rather than allocating a
14912 dummy stack frame just to store a frame pointer and restore.
14913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14915 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14917 * manual/install.texi: Fix stray word in line-wrapped comment.
14919 2012-02-20 David S. Miller <davem@davemloft.net>
14921 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14922 both binutils and gcc support GOTDATA.
14924 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14925 "rd %pc" in the PIC register setup sequences.
14927 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14928 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14929 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14930 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14931 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14936 (SYSCALL_ERROR_HANDLER): Likewise.
14937 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14938 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14940 (SYSCALL_ERROR_HANDLER): Likewise.
14942 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14943 (HAVE_GCC_GOTDATA): New.
14944 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14945 relocation support in both binutils and gcc.
14946 * sysdeps/sparc/elf/configure: Regenerate.
14948 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14949 * sysdeps/sparc/sparc32/elf/configure: Delete.
14950 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14951 * sysdeps/sparc/sparc64/elf/configure: Delete.
14952 * sysdeps/sparc/elf/configure.in: New file.
14953 * sysdeps/sparc/elf/configure: Generate.
14955 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14956 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14957 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14958 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14959 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14961 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14963 * manual/install.texi: Do not mention specific glibc version
14965 * manual/libc.texinfo (VERSION, UPDATED): Update.
14966 (@copying): Use @copyright{} and range of years.
14968 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14971 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14972 [crti.S not in sysdirs] (generated): Do not append.
14973 [crti.S not in sysdirs] (omit-deps): Likewise.
14974 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14975 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14976 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14977 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14978 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14980 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14981 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14982 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14983 * csu/defs.awk: Remove file.
14984 * sysdeps/generic/initfini.c: Likewise.
14985 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14987 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14990 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14992 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14993 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14994 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14996 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14997 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14999 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15000 (__EPOLL_PACKED): Define to empty if not defined by
15002 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15006 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15008 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15009 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15011 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15013 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15017 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15019 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15022 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15026 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15029 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15031 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15033 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15034 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15036 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15038 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15041 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15043 * math/w_acos.c: Use non-signaling floating-point comparisons.
15044 * math/w_acosf.c: Likewise.
15045 * math/w_acosh.c: Likewise.
15046 * math/w_acoshf.c: Likewise.
15047 * math/w_acoshl.c: Likewise.
15048 * math/w_acosl.c: Likewise.
15049 * math/w_asin.c: Likewise.
15050 * math/w_asinf.c: Likewise.
15051 * math/w_asinl.c: Likewise.
15052 * math/w_atanh.c: Likewise.
15053 * math/w_atanhf.c: Likewise.
15054 * math/w_atanhl.c: Likewise.
15055 * math/w_exp2.c: Likewise.
15056 * math/w_exp2f.c: Likewise.
15057 * math/w_exp2l.c: Likewise.
15058 * math/w_j0.c: Likewise.
15059 * math/w_j0f.c: Likewise.
15060 * math/w_j0l.c: Likewise.
15061 * math/w_j1.c: Likewise.
15062 * math/w_j1f.c: Likewise.
15063 * math/w_j1l.c: Likewise.
15064 * math/w_jn.c: Likewise.
15065 * math/w_jnf.c: Likewise.
15066 * math/w_log.c: Likewise.
15067 * math/w_log10.c: Likewise.
15068 * math/w_log10f.c: Likewise.
15069 * math/w_log10l.c: Likewise.
15070 * math/w_log2.c: Likewise.
15071 * math/w_log2f.c: Likewise.
15072 * math/w_log2l.c: Likewise.
15073 * math/w_logf.c: Likewise.
15074 * math/w_logl.c: Likewise.
15075 * math/w_sqrt.c: Likewise.
15076 * math/w_sqrtf.c: Likewise.
15077 * math/w_sqrtl.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15080 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15081 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15084 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15087 * manual/string.texi (strnlen): Use correct parameter name in
15088 equivalent expression.
15090 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15093 * manual/users.texi (seteuid): Consistently use neweuid for
15096 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15099 * manual/nss.texi (Services in the NSS configuration): Correct
15100 list of services in example configuration file.
15102 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15105 * manual/arith.texi: Remove statements about negative zero
15106 behaving identically to zero.
15108 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15111 * manual/install.texi: Do not document upgrading from libc5.
15113 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15116 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15118 2012-02-18 David S. Miller <davem@davemloft.net>
15120 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15121 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15122 %o7 across the call.
15123 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15126 SETUP_PIC_REG_LEAF.
15127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15128 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15129 * sysdeps/sparc/crtn.S: Likewise.
15131 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15133 * aout/Makefile: Remove.
15135 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15138 * manual/examples/argp-ex1.c (main): Format definition in GNU
15140 * manual/examples/argp-ex2.c (main): Likewise.
15141 * manual/examples/argp-ex3.c (main): Likewise.
15142 * manual/examples/argp-ex4.c (main): Likewise.
15143 * manual/examples/longopt.c (main): Use new-style prototype
15145 * manual/examples/strncat.c (main): Specify return type and use
15146 (void) for arguments.
15147 * manual/examples/subopt.c (main): Use char **argv argument.
15149 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15152 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15155 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15158 * manual/string.texi (strchr): Change when strchrnul is
15161 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15164 * manual/locale.texi (setlocale): Document LOCPATH.
15166 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15169 * manual/process.texi (execle): Move @dots{} before last argument.
15171 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15174 * manual/charset.texi (Generic Charset Conversion): Fix typo
15175 (LC_TYPE -> LC_CTYPE).
15177 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15180 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15181 (scalbnf): Likewise.
15182 (scalbnl): Likewise.
15183 (scalbln): Likewise.
15184 (scalblnf): Likewise.
15185 (scalblnl): Likewise.
15186 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15187 (vwarnx): Likewise.
15190 * manual/filesys.texi (telldir): Use braces around return type.
15191 * manual/llio.texi (mmap): Add space after comma.
15192 (mmap64): Likewise.
15193 * manual/math.texi (jn): Use @var{} on parameter names.
15199 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15201 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15203 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15204 (sched_get_priority_max): Likewise.
15205 * manual/signal.texi (sigvec): Add space after comma.
15206 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15208 (if_indextoname): Likewise.
15209 (if_freenameindex): Likewise.
15210 (sendto): Use ',' instead of '.' in prototype.
15211 * manual/startup.texi (syscall): Use @dots{} instead of literal
15213 * manual/stdio.texi (__fpending): Separate initial words of
15214 paragraph from @deftypefun line.
15215 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15217 (vsyslog): Use @var{} on parameter names.
15218 * manual/terminal.texi (stty): Use @var{} on parameter names.
15219 * manual/users.texi (getutmp): Use @var{} on parameter names.
15220 (getutmpx): Likewise.
15222 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15225 * manual/stdio.texi (fopen): Fix typos in description of
15228 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15231 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15232 get clock_id definition.
15234 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15237 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15238 (madvise): Cast every argument to void on its own.
15240 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15243 * manual/startup.texi (Exit Status): Fix typo.
15245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15248 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15249 * manual/examples/argp-ex2.c: Likewise.
15250 * manual/examples/argp-ex3.c: Likewise.
15252 2012-02-16 Richard Henderson <rth@redhat.com>
15254 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15255 * sysdeps/s390/s390-32/initfini.c: Remove.
15256 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15257 * sysdeps/s390/s390-64/initfini.c: Remove.
15259 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15261 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15262 compiler output for sysdeps/generic/initfini.c.
15263 * sysdeps/sh/elf/initfini.c: Remove file.
15265 2012-02-16 David S. Miller <davem@davemloft.net>
15268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15270 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15271 * sysdeps/sparc/crti.S: New file.
15272 * sysdeps/sparc/crtn.S: New file.
15273 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15274 * sysdeps/sparc/sparc64/Makefile: Likewise.
15276 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15279 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15281 2012-02-15 Roland McGrath <roland@hack.frob.com>
15284 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15286 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15287 (write, read, close): Likewise.
15288 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15290 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15292 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15293 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15294 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15295 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15297 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15301 2012-02-14 Marek Polacek <polacek@redhat.com>
15303 * sysdeps/x86_64/crti.S: New file.
15304 * sysdeps/x86_64/crtn.S: New file.
15305 * sysdeps/x86_64/elf/initfini.c: Remove file.
15307 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15309 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15310 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15312 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15314 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15318 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15320 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15321 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15322 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15323 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15325 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15329 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15331 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15332 __feraiseexcept instead of feraiseexcept.
15334 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15335 nanosleep invocations.
15336 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15337 strings, and add error checking for a nanosleep invocations.
15339 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15341 Replace FSF snail mail address with URLs, as per GNU coding standards.
15342 Most of the snail mail addresses were wrong anyway, and omitting
15343 them makes the source code easier to maintain. Almost all of the
15344 changes are to license notices and to locale LC_IDENTIFICATION
15345 addresses, except for this one:
15346 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15347 not its snail mail address.
15349 2012-02-09 Richard Henderson <rth@twiddle.net>
15351 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15352 of kernel-features.h.
15354 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15356 2012-02-08 Marek Polacek <polacek@redhat.com>
15358 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15359 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15360 * sysdeps/gnu/_G_config.h: Likewise.
15361 * sysdeps/generic/_G_config.h: Likewise.
15363 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15365 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369 * sysdeps/powerpc/powerpc32/crti.S: New file.
15370 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15371 * sysdeps/powerpc/powerpc64/crti.S: New file.
15372 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15374 * Makeconfig (have-initfini): Don't set.
15375 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15376 * configure.in (nopic_initfini): Don't substitute.
15377 * config.h.in (HAVE_INITFINI): Don't #undef.
15378 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15379 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15381 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15383 Support crti.S and crtn.S provided directly by architectures.
15384 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15385 [crti.S in sysdirs] (omit-deps): Likewise.
15386 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15387 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15388 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15389 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15390 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15391 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15392 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15393 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15394 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15395 compiler output for sysdeps/generic/initfini.c.
15396 * sysdeps/i386/elf/Makefile: Remove file.
15397 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15399 2012-02-07 Marek Polacek <polacek@redhat.com>
15401 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15402 * sysdeps/gnu/_G_config.h: Likewise.
15403 * sysdeps/mach/hurd/_G_config.h: Likewise.
15405 2012-02-07 Marek Polacek <polacek@redhat.com>
15407 * math/Makefile (tests): Add tst-CMPLX2.
15408 * math/tst-CMPLX2.c: New file.
15410 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15412 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15414 * math/libm-test.inc (jn_test): Add missing L suffix.
15416 2012-02-06 Marek Polacek <polacek@redhat.com>
15418 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15419 * sysdeps/i386/fpu/e_powf.S: Likewise.
15420 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15421 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15423 * sysdeps/i386/fpu/e_pow.S: Likewise.
15424 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15426 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15427 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15428 * sysdeps/i386/fpu/e_log2.S: Likewise.
15429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15431 * sysdeps/i386/fpu/e_powl.S: Likewise.
15432 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15434 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15435 * sysdeps/i386/fpu/e_logl.S: Likewise.
15436 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15437 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15438 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15439 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15440 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15441 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15442 * sysdeps/i386/fpu/e_log.S: Likewise.
15443 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15444 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15445 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15446 * sysdeps/i386/fpu/e_logf.S: Likewise.
15447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15449 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15450 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15451 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15452 * sysdeps/i386/fpu/e_log10.S: Likewise.
15453 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15454 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15455 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15456 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15457 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15458 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15459 * sysdeps/i386/asm-syntax.h: Likewise.
15460 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15462 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15463 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15464 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15465 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15466 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15467 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15468 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15469 * sysdeps/powerpc/sysdep.h: Likewise.
15470 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15471 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15473 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15476 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15478 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15480 * sysdeps/i386/sysdep.h: Include <features.h>.
15481 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15484 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15486 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15488 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15491 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15493 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15494 (SETUP_PIC_REG): Use GET_PC_THUNK.
15495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15498 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15500 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15501 for non-PIC compilation.
15502 (SETUP_PIC_REG): Add .p2align directive.
15503 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15504 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15505 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15506 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15507 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15508 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15509 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15511 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15512 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15513 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15515 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15516 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15517 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15518 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15519 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15520 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15521 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15522 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15523 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15525 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15526 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15531 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15532 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15533 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15536 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15537 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15545 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15547 * math/tst-CMPLX.c: Include <stdio.h>.
15549 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15551 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15553 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15554 * sysdeps/sparc/bits/mathdef.h: Likewise.
15556 2012-01-31 Marek Polacek <polacek@redhat.com>
15558 * libio/libio.h: Don't define _PARAMS.
15559 * locale/programs/config.h: Don't define PARAMS.
15560 * stdlib/strtol_l.c: Likewise.
15561 (__strtol_l): Remove PARAMS from the prototype.
15563 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15565 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15566 names. Just use the correct names. Remove unnecessary wrapper
15568 * malloc/arena.c: Likewise.
15569 * malloc/hooks.c: Likewise.
15571 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15572 ARENA_TEST says not to. Simplify test for creation of a new arena.
15573 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15575 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15577 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15579 (update_get_addr): New function.
15580 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15581 GET_ADDR_MODULE parameter.
15583 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15585 * crypt/cert.c: Remove __STDC__ conditionals.
15586 * crypt/crypt-entry.c: Likewise.
15587 * crypt/crypt_util.c: Likewise.
15588 * libio/filedoalloc.c: Likewise.
15589 * libio/fileops.c: Likewise.
15590 * libio/genops.c: Likewise.
15591 * libio/iofclose.c: Likewise.
15592 * libio/iofdopen.c: Likewise.
15593 * libio/iofopen.c: Likewise.
15594 * libio/iofopen64.c: Likewise.
15595 * libio/iogetdelim.c: Likewise.
15596 * libio/iopopen.c: Likewise.
15597 * libio/obprintf.c: Likewise.
15598 * libio/oldfileops.c: Likewise.
15599 * libio/oldiofclose.c: Likewise.
15600 * libio/oldiofdopen.c: Likewise.
15601 * libio/oldiofopen.c: Likewise.
15602 * libio/oldiopopen.c: Likewise.
15603 * libio/wfiledoalloc.c: Likewise.
15604 * libio/wgenops.c: Likewise.
15605 * locale/programs/xmalloc.c: Likewise.
15606 * misc/syslog.c: Likewise.
15607 * stdio-common/xbug.c: Likewise.
15608 * string/memchr.c: Likewise.
15609 * string/memcmp.c: Likewise.
15610 * string/memrchr.c: Likewise.
15611 * string/rawmemchr.c: Likewise.
15612 * sysdeps/posix/getcwd.c: Likewise.
15613 * time/strftime_l.c: Likewise.
15615 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15617 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15618 * config.make.in (config-cflags-sse2avx): Define.
15619 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15622 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15624 * scripts/config.guess: Update from upstream config git repository.
15625 * scripts/config.sub: Likewise.
15627 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15629 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15631 (R_TILEPRO_*, R_TILEGX_*): New macros.
15633 * scripts/firstversions.awk: Fix bug in version range handling.
15635 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15637 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15639 * include/sys/epoll.h: New file.
15640 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15643 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15645 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15646 Avoid unnecessary __WORDSIZE == 64 test.
15647 (fmaxf): Use VEX format if possible.
15652 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15653 * math/math_private.h: Remove libc_fegetround* and
15655 * sysdeps/i386/configure.in: Check for -msse2avx.
15656 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15657 also if SSE2AVX is defined.
15658 Remove libc_fegetround* and libc_fesetround*.
15659 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15660 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15669 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15671 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15675 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15677 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15680 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15682 * Makeconfig (libm): Define.
15683 * elf/Makefile: Add rules to build and run tst-relsort1.
15684 * elf/tst-relsort1.c: New file.
15685 * elf/tst-relsort1mod1.c: New file.
15686 * elf/tst-relsort1mod2.c: New file.
15688 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15690 * math/s_ldexp.c: Remove __STDC__ conditionals.
15691 * math/s_ldexpf.c: Likewise.
15692 * math/s_ldexpl.c: Likewise.
15693 * math/s_nextafter.c: Likewise.
15694 * math/s_nexttowardf.c: Likewise.
15695 * math/s_significand.c: Likewise.
15696 * math/s_significandf.c: Likewise.
15697 * math/s_significandl.c: Likewise.
15698 * math/w_jnl.c: Likewise.
15699 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15700 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15701 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15702 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15703 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15725 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15726 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15727 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15729 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15730 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15731 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15732 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15733 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15734 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15735 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15736 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15737 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15738 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15739 * sysdeps/ieee754/k_standard.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15801 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15806 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15815 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15819 * sysdeps/ieee754/s_matherr.c: Likewise.
15820 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15821 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15825 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15827 * crypt/md5.h: Remove __STDC__ conditionals.
15828 * libio/libioP.h: Likewise.
15829 * locale/programs/config.h: Likewise.
15830 * sysdeps/generic/sysdep.h: Likewise.
15831 * sysdeps/i386/asm-syntax.h: Likewise.
15832 * sysdeps/s390/asm-syntax.h: Likewise.
15833 * sysdeps/unix/sysdep.h: Likewise.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15837 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15839 * libio/libio.h: Remove __STDC__ conditionals.
15840 * malloc/obstack.h: Likewise.
15841 * math/complex.h: Likewise.
15842 * math/math.h: Likewise.
15843 * sysdeps/generic/_G_config.h: Likewise.
15844 * sysdeps/gnu/_G_config.h: Likewise.
15845 * sysdeps/mach/hurd/_G_config.h: Likewise.
15846 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15848 * sysdeps/sparc/bits/mathdef.h: Likewise.
15850 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15853 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15854 Clean up HAS_* macros.
15855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15856 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15860 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15861 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15862 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15864 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15866 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15868 * elf/tst-unique3.cc (gets): Remove declaration.
15869 * elf/tst-unique3lib.cc (gets): Likewise.
15870 * elf/tst-unique3lib2.cc (gets): Likewise.
15871 * elf/tst-unique4.cc (gets): Likewise.
15873 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15875 * include/stdio.h: Add C++ protection. Add gets declarations and
15877 * debug/tst-chk1.c: Don't declare gets here.
15878 * stdio-common/tst-gets.c: Likewise.
15880 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15882 * posix/glob: Remove directory.
15884 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15886 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15888 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15890 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15891 of the non-standard EPFNOSUPPORT.
15893 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15895 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15896 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15897 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15899 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15901 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15903 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15905 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15907 * nscd/grpcache.c (cache_addgr): Likewise.
15908 * nscd/hstcache.c (cache_addhst): Likewise.
15909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15910 * nscd/pwdcache.c (cache_addpw): Likewise.
15911 * nscd/servicescache.c (cache_addserv): Likewise.
15913 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15915 * malloc/malloc.c: Various cleanups.
15916 * malloc/hooks.c: Likewise.
15918 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15919 * stdlib/bug-fmtmsg1.c: New file.
15921 * stdlib/fmtmsg.c (init): Add missing unlock.
15922 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15924 2012-01-12 Marek Polacek <polacek@redhat.com>
15926 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15929 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15931 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15932 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15933 macro to ensure uniqueness of label name.
15934 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15935 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15937 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15939 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15942 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15946 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15948 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15950 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15951 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15954 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15956 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15958 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15961 * math/bits/math-finite.h: Add ldexp support.
15963 2012-01-10 Marek Polacek <polacek@redhat.com>
15965 * locale/programs/localedef.h (show_archive_content): Add noreturn
15968 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15970 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15974 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15976 * io/Makefile (headers): Add bits/poll2.h.
15978 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15981 typo #include statement.
15983 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15985 * include/sys/cdefs.h: Define __attribute_alloc_size.
15986 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15987 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15988 * elf/pldd.c: Likewise.
15989 * iconv/iconv_charmap.c: Likewise.
15990 * iconv/iconvconfig.c: Likewise.
15991 * iconv/strtab.c: Likewise.
15992 * locale/programs/locale.c: Likewise.
15993 * locale/programs/localedef.h: Likewise.
15994 * locale/programs/simple-hash.c: Likewise.
15995 * nscd/nscd.h: Likewise.
15996 * nss/makedb.c: Likewise.
15997 * sysdeps/generic/ldconfig.h: Likewise.
15998 * locale/programs/localedef.c: Remove xmalloc prototype.
15999 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16001 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16003 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16006 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16008 * math/Makefile (tests): Add tst-CMPLX.
16009 * math/tst-CMPLX.c: New file.
16011 * math/complex.h (CMPLXL): Fix typo.
16013 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16014 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16016 * debug/tst-chk1.c: Add poll and ppoll tests.
16017 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16018 * include/sys/poll.h: Add hidden proto for ppoll.
16019 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16020 * sysdeps/mach/hurd/ppoll.c: Likewise.
16021 * io/ppoll.c: Likewise.
16022 * debug/poll_chk.c: New file.
16023 * debug/ppoll_chk.c: New file.
16024 * include/bits/poll2.h: New file.
16025 * io/bits/poll2.h: New file.
16028 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16030 * configure.in: static is always set to yes. Remove.
16031 * config.make.in: Don't set build-static.
16032 * Makeconfig: Remove use of build-static.
16033 * dlfcn/Makefile: Likewise.
16034 * elf/Makefile: Likewise.
16035 * math/Makefile: Likewise.
16036 * misc/Makefile: Likewise.
16037 * nptl/Makefile: Likewise.
16038 * sysdeps/mach/hurd/Makefile: Likewise.
16040 * configure.in: PWD_P is not used anymore.
16041 * config.make.in: Remove PWD_P entry.
16043 * configure.in: Remove last remnants of RANLIB.
16044 No need to check for signed size_t anymore.
16045 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16047 Remove __builtin_expect test because we require at least gcc 3.4.
16048 * aclocal.m4: Likewise.
16050 * wcsmbs/mbrtoc16.c: Implement using towc function.
16051 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16052 * wcsmbs/wcsmbsload.c: Likewise.
16053 * iconv/gconv_simple.c: Likewise.
16054 * iconv/gconv_int.h: Likewise.
16055 * iconv/gconv_builtin.h: Likewise.
16056 * iconv/iconv_prog.c: Remove CHAR16 handling.
16058 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16060 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16062 * configure.in: Remove --with-elf and --enable-bounded options.
16063 Dont set base_machine for ia64. More non-ELF conditions removed.
16064 Remove testing and setting of leading underscore information.
16065 * config.make.in (build-bounded): Set to no.
16066 * config.h.in: Remove NO_UNDERSCORES entry.
16067 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16069 * csu/start.c: Remove !NO_UNDERSCORE code.
16070 * locale/localeinfo.h: Likewise.
16071 * sysdeps/generic/machine-gmon.h: Likewise.
16072 * sysdeps/generic/sysdep.h: Likewise.
16073 * sysdeps/i386/sysdep.h: Likewise.
16074 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16075 * sysdeps/mach/sysdep.h: Likewise.
16076 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16078 * sysdeps/sh/sysdep.h: Likewise.
16079 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16080 * sysdeps/unix/i386/sysdep.S: Likewise.
16081 * sysdeps/unix/sparc/start.c: Likewise.
16082 * sysdeps/unix/sparc/sysdep.S: Likewise.
16083 * sysdeps/unix/sparc/sysdep.h: Likewise.
16084 * sysdeps/unix/start.c: Likewise.
16085 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16086 * sysdeps/x86_64/sysdep.h: Likewise.
16088 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16091 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16093 * argp/argp-fmtstream.h: Use const instead __const.
16094 * argp/argp.h: Likewise.
16095 * assert/assert.h: Likewise.
16096 * bits/fenv.h: Likewise.
16097 * bits/sched.h: Likewise.
16098 * bits/sigset.h: Likewise.
16099 * bits/sigthread.h: Likewise.
16100 * catgets/nl_types.h: Likewise.
16101 * conform/data/pthread.h-data: Likewise.
16102 * crypt/crypt-private.h: Likewise.
16103 * crypt/crypt.h: Likewise.
16104 * crypt/crypt_util.c: Likewise.
16105 * ctype/ctype.h: Likewise.
16106 * debug/execinfo.h: Likewise.
16107 * debug/mbsnrtowcs_chk.c: Likewise.
16108 * debug/mbsrtowcs_chk.c: Likewise.
16109 * debug/wcsnrtombs_chk.c: Likewise.
16110 * debug/wcsrtombs_chk.c: Likewise.
16111 * debug/wcstombs_chk.c: Likewise.
16112 * dirent/dirent.h: Likewise.
16113 * dlfcn/dlfcn.h: Likewise.
16114 * elf/neededtest4.c: Likewise.
16115 * grp/grp.h: Likewise.
16116 * gshadow/gshadow.h: Likewise.
16117 * iconv/gconv.h: Likewise.
16118 * iconv/gconv_int.h: Likewise.
16119 * iconv/gconv_simple.c: Likewise.
16120 * iconv/iconv.h: Likewise.
16121 * iconv/loop.c: Likewise.
16122 * iconv/skeleton.c: Likewise.
16123 * include/aio.h: Likewise.
16124 * include/aliases.h: Likewise.
16125 * include/argz.h: Likewise.
16126 * include/arpa/inet.h: Likewise.
16127 * include/assert.h: Likewise.
16128 * include/dirent.h: Likewise.
16129 * include/dlfcn.h: Likewise.
16130 * include/execinfo.h: Likewise.
16131 * include/fcntl.h: Likewise.
16132 * include/fenv.h: Likewise.
16133 * include/glob.h: Likewise.
16134 * include/grp.h: Likewise.
16135 * include/libintl.h: Likewise.
16136 * include/mntent.h: Likewise.
16137 * include/netdb.h: Likewise.
16138 * include/pwd.h: Likewise.
16139 * include/rpc/netdb.h: Likewise.
16140 * include/sched.h: Likewise.
16141 * include/search.h: Likewise.
16142 * include/shadow.h: Likewise.
16143 * include/signal.h: Likewise.
16144 * include/stdio.h: Likewise.
16145 * include/stdlib.h: Likewise.
16146 * include/string.h: Likewise.
16147 * include/sys/socket.h: Likewise.
16148 * include/sys/stat.h: Likewise.
16149 * include/sys/statfs.h: Likewise.
16150 * include/sys/statvfs.h: Likewise.
16151 * include/sys/syslog.h: Likewise.
16152 * include/sys/time.h: Likewise.
16153 * include/sys/uio.h: Likewise.
16154 * include/time.h: Likewise.
16155 * include/unistd.h: Likewise.
16156 * include/utmp.h: Likewise.
16157 * include/wchar.h: Likewise.
16158 * include/wctype.h: Likewise.
16159 * inet/aliases.h: Likewise.
16160 * inet/arpa/inet.h: Likewise.
16161 * inet/netinet/ether.h: Likewise.
16162 * inet/netinet/in.h: Likewise.
16163 * intl/libintl.h: Likewise.
16164 * io/bits/fcntl2.h: Likewise.
16165 * io/fcntl.h: Likewise.
16166 * io/ftw.h: Likewise.
16167 * io/sys/poll.h: Likewise.
16168 * io/sys/stat.h: Likewise.
16169 * io/sys/statfs.h: Likewise.
16170 * io/sys/statvfs.h: Likewise.
16171 * io/utime.h: Likewise.
16172 * libio/bits/stdio.h: Likewise.
16173 * libio/bits/stdio2.h: Likewise.
16174 * libio/libio.h: Likewise.
16175 * libio/libioP.h: Likewise.
16176 * libio/stdio.h: Likewise.
16177 * locale/lc-ctype.c: Likewise.
16178 * locale/locale.h: Likewise.
16179 * login/utmp.h: Likewise.
16180 * malloc/arena.c: Likewise.
16181 * malloc/malloc.c: Likewise.
16182 * malloc/malloc.h: Likewise.
16183 * malloc/mcheck.c: Likewise.
16184 * malloc/mtrace.c: Likewise.
16185 * math/bits/mathcalls.h: Likewise.
16186 * math/fenv.h: Likewise.
16187 * math/math_private.h: Likewise.
16188 * misc/bits/error.h: Likewise.
16189 * misc/bits/syslog.h: Likewise.
16190 * misc/err.h: Likewise.
16191 * misc/error.h: Likewise.
16192 * misc/fstab.h: Likewise.
16193 * misc/mntent.h: Likewise.
16194 * misc/regexp.h: Likewise.
16195 * misc/search.h: Likewise.
16196 * misc/sgtty.h: Likewise.
16197 * misc/sys/mman.h: Likewise.
16198 * misc/sys/syslog.h: Likewise.
16199 * misc/sys/uio.h: Likewise.
16200 * misc/sys/xattr.h: Likewise.
16201 * misc/ttyent.h: Likewise.
16202 * nis/rpcsvc/ypclnt.h: Likewise.
16203 * nss/nss.h: Likewise.
16204 * posix/bits/unistd.h: Likewise.
16205 * posix/fnmatch.h: Likewise.
16206 * posix/glob.h: Likewise.
16207 * posix/sched.h: Likewise.
16208 * posix/spawn.h: Likewise.
16209 * posix/sys/wait.h: Likewise.
16210 * posix/unistd.h: Likewise.
16211 * posix/wordexp.h: Likewise.
16212 * pwd/pwd.h: Likewise.
16213 * resolv/netdb.h: Likewise.
16214 * resource/sys/resource.h: Likewise.
16215 * rt/aio.h: Likewise.
16216 * rt/bits/mqueue2.h: Likewise.
16217 * rt/mqueue.h: Likewise.
16218 * shadow/shadow.h: Likewise.
16219 * signal/signal.h: Likewise.
16220 * socket/send.c: Likewise.
16221 * socket/sendto.c: Likewise.
16222 * socket/sys/socket.h: Likewise.
16223 * stdio-common/printf.h: Likewise.
16224 * stdlib/bits/stdlib.h: Likewise.
16225 * stdlib/fmtmsg.h: Likewise.
16226 * stdlib/monetary.h: Likewise.
16227 * stdlib/stdlib.h: Likewise.
16228 * stdlib/ucontext.h: Likewise.
16229 * streams/stropts.h: Likewise.
16230 * string/argz.h: Likewise.
16231 * string/bits/string2.h: Likewise.
16232 * string/string.h: Likewise.
16233 * string/strings.h: Likewise.
16234 * sunrpc/rpc/auth.h: Likewise.
16235 * sunrpc/rpc/auth_des.h: Likewise.
16236 * sunrpc/rpc/clnt.h: Likewise.
16237 * sunrpc/rpc/netdb.h: Likewise.
16238 * sunrpc/rpc/pmap_clnt.h: Likewise.
16239 * sunrpc/rpc/xdr.h: Likewise.
16240 * sysdeps/generic/inttypes.h: Likewise.
16241 * sysdeps/generic/net/if.h: Likewise.
16242 * sysdeps/generic/sys/swap.h: Likewise.
16243 * sysdeps/gnu/net/if.h: Likewise.
16244 * sysdeps/gnu/utmpx.h: Likewise.
16245 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16246 * sysdeps/i386/i486/bits/string.h: Likewise.
16247 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16248 * sysdeps/s390/bits/string.h: Likewise.
16249 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16250 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16251 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16252 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16253 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16254 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16255 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16256 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16257 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16258 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16259 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16261 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16262 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16263 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16264 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16265 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16270 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16271 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16272 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16275 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16277 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16278 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16279 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16280 * sysvipc/sys/ipc.h: Likewise.
16281 * sysvipc/sys/msg.h: Likewise.
16282 * sysvipc/sys/sem.h: Likewise.
16283 * sysvipc/sys/shm.h: Likewise.
16284 * termios/termios.h: Likewise.
16285 * time/sys/time.h: Likewise.
16286 * time/time.h: Likewise.
16287 * wcsmbs/bits/wchar2.h: Likewise.
16288 * wcsmbs/uchar.h: Likewise.
16289 * wcsmbs/wchar.h: Likewise.
16290 * wctype/wctype.h: Likewise.
16293 * Makeconfig: Remove all but ELF support including AIX support.
16294 * Makerules: Likewise.
16295 * config.h.in: Likewise.
16296 * config.make.in: Likewise.
16297 * configure: Likewise.
16298 * configure.in: Likewise.
16299 * csu/Makefile: Likewise.
16300 * csu/version.c: Likewise.
16301 * debug/Makefile: Likewise.
16302 * dlfcn/Makefile: Likewise.
16303 * elf/Makefile: Likewise.
16304 * extra-lib.mk: Likewise.
16305 * iconv/Makefile: Likewise.
16306 * include/libc-symbols.h: Likewise.
16307 * include/shlib-compat.h: Likewise.
16308 * resolv/Makefile: Likewise.
16309 * resolv/res_libc.c: Likewise.
16310 * rt/Makefile: Likewise.
16311 * sysdeps/i386/asm-syntax.h: Likewise.
16312 * sysdeps/i386/sysdep.h: Likewise.
16313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16314 * sysdeps/mach/sysdep.h: Likewise.
16315 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16316 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16317 * sysdeps/s390/asm-syntax.h: Likewise.
16318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16320 * sysdeps/sh/sysdep.h: Likewise.
16321 * sysdeps/unix/sparc/sysdep.h: Likewise.
16322 * sysdeps/wordsize-32/divdi3.c: Likewise.
16323 * sysdeps/x86_64/sysdep.h: Likewise.
16325 * argp/Versions: Remove _argp_unlock_xxx.
16328 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16329 * abilist/libBrokenLocale.abilist: Likewise.
16330 * abilist/libanl.abilist: Likewise.
16331 * abilist/libc.abilist: Likewise.
16332 * abilist/libcrypt.abilist: Likewise.
16333 * abilist/libdl.abilist: Likewise.
16334 * abilist/libm.abilist: Likewise.
16335 * abilist/libnsl.abilist: Likewise.
16336 * abilist/libpthread.abilist: Likewise.
16337 * abilist/libresolv.abilist: Likewise.
16338 * abilist/librt.abilist: Likewise.
16339 * abilist/libthread_db.abilist: Likewise.
16340 * abilist/libutil.abilist: Likewise.
16341 * abilist/libnss_db.abilist: New file.
16343 * scripts/abilist.awk: Add support for indirect functions.
16345 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16347 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16349 * shlib-versions: Remove entries for ports architectures.
16351 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16353 * elf/stackguard-macros.h: Remove support for IA-64.
16354 * elf/tst-auditmod1.c: Likewise.
16355 * sysdeps/generic/ldsodefs.h: Likewise.
16357 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16358 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16362 * configure.in: Remove --enable-omitfp support.
16364 * config.make.in: Likewise.
16365 * Makeconfig: Likewise.
16366 * manual/install.texi: Likewise.
16368 In case anyone cares, the IA-64 architecture could move to ports.
16369 * sysdeps/ia64/*: Removed.
16370 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16371 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16374 * configure.in: Remove entries for unsupported architectures.
16377 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16378 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16380 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16381 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16382 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16383 fall back to using wcrtomb.
16384 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16385 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16387 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16388 * wcsmbs/tst-c16c32-1.c: New file.
16390 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16393 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16395 * elf/tst-unique3.cc: Add explicit declaration of gets.
16396 * elf/tst-unique3lib.cc: Likewise.
16397 * elf/tst-unique3lib2.cc: Likewise.
16398 * elf/tst-unique4.cc: Likewise.
16400 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16402 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16405 * assert/assert.h (static_assert): Don't define for C++.
16406 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16407 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16409 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16411 * iconv/loop.c (single loop): Fix assertion in storing of
16414 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16416 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16418 * posix/getconf.c: Update copyright year.
16419 * nss/getent.c: Likewise.
16420 * nss/makedb.c: Likewise.
16421 * iconv/iconvconfig.c: Likewise.
16422 * iconv/iconv_prog.c: Likewise.
16423 * elf/ldconfig.c: Likewise.
16424 * elf/pldd.c: Likewise.
16425 * elf/sotruss.ksh: Likewise.
16426 * catgets/gencat.c: Likewise.
16427 * csu/version.c: Likewise.
16428 * elf/ldd.bash.in: Likewise.
16429 * elf/sprof.c (print_version): Likewise.
16430 * locale/programs/locale.c: Likewise.
16431 * locale/programs/localedef.c: Likewise.
16432 * login/programs/pt_chown.c: Likewise.
16433 * nscd/nscd.c (print_version): Likewise.
16434 * debug/xtrace.sh: Likewise.
16435 * malloc/memusage.sh: Likewise.
16436 * malloc/mtrace.pl: Likewise.
16437 * debug/catchsegv.sh: Likewise.
16439 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16441 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16444 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16447 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16448 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16450 * iconv/gconv_int.h: Likewise.
16451 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16452 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16453 from libc for GLIBC_2.16.
16454 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16455 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16456 * wcsmbs/uchar.h: Really define mbstate_t.
16457 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16458 * wcsmbs/c16rtomb.c: New file.
16459 * wcsmbs/mbrtoc16.c: New file.
16460 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16461 for C/POSIX locale.
16462 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16463 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16465 * wcsmbs/wchar.h: Add missing __restrict.
16467 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16470 * time/Makefile (routines): Add timespec_get.
16471 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16472 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16473 timespec for ISO C11.
16474 * time/timespec_get.c: New file.
16475 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16476 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16479 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16480 * stdlib/stdlib.h: Declare aligned_alloc.
16481 * Versions.def: Add GLIBC_2.16 for libc.
16482 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16485 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16488 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16492 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16495 * assert/assert.h (static_assert): Define.
16497 * version.h: Update for 2.16 development version.
16500 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16503 * version.h (RELEASE): Bump for 2.15 release.
16504 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16506 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16507 Patch by Marek Polacek <mpolacek@redhat.com>.
16509 * bits/byteswap.h: Protect long long constants with __extension__.
16510 * sysdeps/i386/bits/byteswap.h: Likewise.
16511 * sysdeps/ia64/bits/byteswap.h: Likewise.
16512 * sysdeps/s390/bits/byteswap.h: Likewise.
16513 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16515 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16519 destination buffer.
16520 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16522 2011-12-23 Marek Polacek <polacek@redhat.com>
16524 * elf/dl-addr.c (determine_info): Add inline keyword.
16525 * elf/tst-auditmod4b.c (check_avx): Likewise.
16526 * elf/tst-auditmod6b.c (check_avx): Likewise.
16527 * elf/tst-auditmod6c.c (check_avx): Likewise.
16528 * elf/tst-auditmod7b.c (check_avx): Likewise.
16530 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16532 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16535 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16538 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16539 processing for last bytes.
16541 2011-08-06 Bruno Haible <bruno@clisp.org>
16544 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16545 U+0385, not to U+1FEE.
16548 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16549 entry for U+00A5 U+0301.
16551 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16554 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16555 buffer for the output is too small.
16557 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16561 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16562 SSE flags if possible.
16564 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16568 processing for last bytes.
16570 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16572 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16573 (syscall-list-default-options, syscall-list-default-condition)
16574 (syscall-list-includes): Define.
16575 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16576 list of ABIs and options and #if conditions for each ABI. Do not
16577 handle common syscalls between ABIs specially.
16578 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16580 (syscall-list-variants, syscall-list-32bit-options)
16581 (syscall-list-32bit-condition, syscall-list-64bit-options)
16582 (syscall-list-64bit-condition): Define.
16583 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16584 (syscall-list-variants, syscall-list-32bit-options)
16585 (syscall-list-32bit-condition, syscall-list-64bit-options)
16586 (syscall-list-64bit-condition): Define.
16587 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16589 (syscall-list-variants, syscall-list-32bit-options)
16590 (syscall-list-32bit-condition, syscall-list-64bit-options)
16591 (syscall-list-64bit-condition): Define.
16592 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16594 (syscall-list-variants, syscall-list-32bit-options)
16595 (syscall-list-32bit-condition, syscall-list-64bit-options)
16596 (syscall-list-64bit-condition): Define.
16598 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16600 * locale/iso-639.def: Add brx entry.
16603 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16604 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16606 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16607 __feraiseexcept_renamed.
16609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16612 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16613 EPOLLET with unsigned values.
16614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16617 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16618 to large cancellation.
16619 * math/s_cacoshf.c: Likewise.
16620 * math/s_cacoshl.c: Likewise.
16622 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16626 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16627 * math/s_cacoshf.c: Likewise.
16628 * math/s_cacoshl.c: Likewise.
16630 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16633 * iconv/gconv.h: Define __GCONV_SWAP.
16634 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16635 * iconvdata/utf-16.c: Likewise.
16636 * iconvdata/utf-32.c: Likewise.
16638 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16641 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16642 numerator after shifting it by one limb.
16644 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16647 under [__USE_EXTERN_INLINES].
16649 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16652 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16654 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16657 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16659 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16660 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16661 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16662 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16663 for strncasecmp/strncasecmp_l compilation.
16664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16665 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16667 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16670 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16673 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16676 * time/tzfile.c (__tzfile_read): Check values from file header.
16678 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16680 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16681 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16682 * powerpc/powerpc32/dl-start.S: Likewise.
16683 * powerpc/powerpc32/elf/start.S: Likewise.
16684 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16685 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16686 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16687 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16688 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16689 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16690 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16691 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16692 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16693 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16694 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16695 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16696 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16697 * powerpc/powerpc32/memset.S: Likewise.
16698 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16699 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16700 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16701 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16702 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16703 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16704 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16705 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16706 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16707 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16708 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16709 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16710 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16712 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16714 * math/libm-test.inc: Added more nearbyint tests.
16715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16716 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16720 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16722 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16725 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16727 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16728 Add wcscpy-ssse3 wcscpy-c.
16729 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16730 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16731 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16732 * sysdeps/x86_64/wcschr.S: New file.
16733 * sysdeps/x86_64/wcsrchr.S: New file.
16734 * string/test-strcmp.c: Remove checking of wcscmp function for
16736 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16737 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16738 wcsrchr-sse2 wcsrchr-c.
16739 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16740 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16741 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16742 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16743 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16744 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16745 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16746 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16747 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16748 * wcsmbc/wcschr.c (WCSCHR): New macro.
16750 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16752 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16753 * wcsmbs/test-wcsrchr.c: New file.
16754 * string/test-strrchr.c: Add wcsrchr support.
16756 * wcsmbs/test-wcscpy.c: New file.
16757 * string/test-strcpy.c: Add wcscpy support.
16760 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16762 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16765 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16768 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16770 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16773 Minor optimizations.
16775 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16776 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16777 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16779 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16781 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16782 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16783 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16784 for gcc to avoid warnings.
16785 * inet/Makefile (tests): Add tst-checks.
16786 * inet/tst-checks.c: New file.
16788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16791 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16794 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16795 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16797 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16799 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16801 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16804 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16806 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16808 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16809 conditional on GCC version.
16810 (__arch_compare_and_exchange_val_8_acq)
16811 (__arch_compare_and_exchange_val_16_acq)
16812 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16813 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16814 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16816 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16818 * sysdeps/sh/backtrace.c: New file.
16820 2011-12-02 Andreas Schwab <schwab@redhat.com>
16822 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16825 2011-12-01 Andreas Schwab <schwab@redhat.com>
16827 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16828 falling back to utime.
16830 2011-11-30 Andreas Schwab <schwab@redhat.com>
16832 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16833 expectations for float.
16835 2011-11-29 Andreas Schwab <schwab@redhat.com>
16837 * locale/weight.h (findidx): Add parameter len.
16838 * locale/weightwc.h (findidx): Likewise.
16839 * posix/fnmatch_loop.c (FCT): Adjust caller.
16840 * posix/regcomp.c (build_equiv_class): Likewise.
16841 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16842 * posix/regexec.c (check_node_accept_bytes): Likewise.
16843 * string/strcoll_l.c (STRCOLL): Likewise.
16844 * string/strxfrm_l.c (STRXFRM): Likewise.
16846 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16848 * Makefile.in: Remove CVSOPT handling.
16849 * configure.in: Remove use of AC_REVISION.
16850 * iconvdata/Makefile (distribute): No need to filter out CVS.
16851 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16854 2011-11-16 Andreas Schwab <schwab@redhat.com>
16856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16857 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16858 [USE_AS_STRNCASECMP_L]: Likewise.
16859 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16860 NO_TLS_DIRECT_SEG_REFS.
16861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16862 Fix argument offsets for non-PIC.
16863 [USE_AS_STRNCASECMP_L]: Likewise.
16864 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16865 NO_TLS_DIRECT_SEG_REFS.
16867 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16869 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16871 * locale/loadlocale.c (_nl_load_locale): Likewise.
16873 2011-11-15 Andreas Schwab <schwab@redhat.com>
16875 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16876 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16877 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16878 (SYSCALL_GETTIME): Set errno on error.
16880 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16881 count references to noai6ai_cached.
16883 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16885 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16887 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16888 FD_CLOEXEC for /proc/self/maps.
16890 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16891 FD_CLOEXEC for /proc/meminfo.
16893 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16896 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16897 FD_CLOEXEC for given file.
16899 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16901 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16902 FD_CLOEXEC for /etc/hosts.
16903 (_gethtent): Likewise.
16905 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16907 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16908 cancellation and set FD_CLOEXEC for /etc/netgroup.
16910 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16911 reading /etc/publickey.
16913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16914 allow cancellation when reading /etc/group.
16916 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16918 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16920 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16921 when using data file.
16923 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16925 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16926 (write_nis_obj): Use "c" and "e" in fopen.
16928 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16930 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16932 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16934 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16936 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16939 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16941 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16943 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16945 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16946 file parsing and set FD_CLOEXEC.
16948 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16950 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16952 2011-11-14 Andreas Schwab <schwab@redhat.com>
16954 * malloc/arena.c (arena_get2): Don't call reused_arena when
16955 _int_new_arena failed.
16957 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16959 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16960 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16963 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16965 to compile strcasecmp and strncasecmp.
16966 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16967 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16971 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16973 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16974 locale-defines.sym to gen-as-const-headers.
16975 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16976 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16978 to compile strcasecmp and strncasecmp.
16979 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16980 strcasecmp_l and strncasecmp_l.
16981 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16982 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16983 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16984 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16985 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16986 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16987 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16988 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16989 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16990 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16991 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16993 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16995 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16996 result of SYSDEP_GETTIME_CPU to retval.
16997 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16998 parameter list to macro. Remove trailing semicolon. Adjust users.
17000 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17003 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17005 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17007 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17008 from unused variable.
17010 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17012 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17015 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17018 * sunrpc/rpc_prot.c (rejected): Fix case value.
17020 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17021 unsigned long long int to avoid warnings in shift.
17023 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17025 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17028 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17029 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17030 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17032 * nis/nis_table.c (nis_list): Use variable of correct type for
17033 result of __follow_path call.
17035 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17037 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17038 of math functions ceil, trunc, floor, round, and sqrt, when
17039 avaliable on the platform.
17040 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17043 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17044 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17046 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17048 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17051 2011-11-11 Roland McGrath <roland@hack.frob.com>
17053 * include/unistd.h: Fix __readlink return type.
17054 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17056 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17058 * stdlib/ucontext.h: Undo last change for makecontext.
17060 2011-11-11 Andreas Schwab <schwab@redhat.com>
17062 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17064 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17065 * setjmp/setjmp.h: Mark functions as non-leaf.
17066 * setjmp/bits/setjmp2.h: Likewise.
17067 * stdlib/ucontext.h: Likewise.
17069 2011-11-10 Andreas Schwab <schwab@redhat.com>
17071 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17072 (reused_arena): Don't check arena limit.
17073 (arena_get2): Atomically check arena limit.
17075 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17077 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17078 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17083 2011-11-07 Andreas Schwab <schwab@redhat.com>
17085 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17086 handler when locking.
17088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17089 Fix size of allocated buffer.
17091 2011-11-04 Andreas Schwab <schwab@redhat.com>
17094 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17095 declarations for long double functions.
17096 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17098 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17100 2011-11-03 Andreas Schwab <schwab@redhat.com>
17102 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17105 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17108 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17110 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17112 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17114 * include/alloca.h (stackinfo_alloca_round): Define.
17115 (extend_alloca): Use it.
17116 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17117 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17120 * scripts/check-local-headers.sh: Ignore libaudit.h.
17122 * nscd/Makefile (extra-objs): Make recursively expanded.
17124 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17126 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17127 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17129 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17130 * posix/tst-rfc3484-2.c: Likewise.
17131 * posix/tst-rfc3484-3.c: Likewise.
17133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17135 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17137 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17138 process_vm_writev from libc using GLIBC_2.15 version.
17140 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17142 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17144 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17147 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17150 * nss/getent.c (initgroups_keys): Show error message in case no group
17153 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17154 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17155 __bump_nl_timestamp.
17156 * nscd/connections (nscd_init): When host database is served open
17157 netlink socket and request notification about configuration changes.
17158 (main_loop_poll): Track netlink file descriptor and bump timestamp
17159 in case data becomes available.
17160 (main_loop_epoll): Likewise.
17161 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17162 (database_pers_head): Add extra_data fileds.
17163 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17165 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17168 in6ai data, call __free_in6ai.
17169 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17170 Add -DHAVE_NETLINK.
17171 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17172 interface information. Reuse previous data if netlink timestamp
17174 (__bump_nl_timestamp): New function.
17175 (__free_in6ai): New function.
17177 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17179 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17180 close_not_cancel_no_status here.
17181 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17183 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17186 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17189 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17190 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17191 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17193 2011-07-03 Andreas Jaeger <aj@suse.de>
17196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17197 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17198 * math/libm-test.inc (sin_test): Add test case.
17200 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17203 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17204 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17206 * elf/chroot_canon.c (chroot_canon): Cleanups.
17208 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17211 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17214 * string/test-strchr.c: Make usable for strchrnul testing.
17215 * string/test-strchrnul.c: New file.
17216 * string/Makefile (strop-tests): Add strchrnul.
17218 * po/it.po: Update from translation team.
17219 * po/es.po: Likewise.
17221 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17223 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17224 the three constants needed as parameters. Drop the others.
17225 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17226 __m128i_strloadu_tolower.
17227 Create and initialize variable zero and use it in all the places
17228 where _mm_setzero_si128 was used.
17230 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17231 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17232 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17235 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17237 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17238 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17239 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17240 __mpranred, __mptan.
17241 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17242 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17243 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17244 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17245 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17246 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17248 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17249 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17251 2011-10-28 Andreas Schwab <schwab@redhat.com>
17253 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17254 redefine if SHARED.
17255 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17258 wide char related routines to wcsmbs subdir.
17260 2011-10-27 Andreas Schwab <schwab@redhat.com>
17263 * misc/sys/cdefs.h (__THROWNL): Define.
17264 * posix/unistd.h: Use __THREADNL instead of __THREAD
17265 for memory synchronization functions.
17267 2011-10-26 Roland McGrath <roland@hack.frob.com>
17270 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17272 * manual/stdio.texi (Obstack Streams): Node removed.
17274 2011-10-26 Andreas Schwab <schwab@redhat.com>
17276 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17278 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17280 * math/math_private.h (math_force_eval): Allow non-addressable
17282 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17284 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17286 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17287 file is not needed.
17289 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17291 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17292 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17296 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17298 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17299 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17300 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17301 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17302 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17303 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17304 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17305 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17306 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17307 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17308 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17309 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17311 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17312 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17313 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17314 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17316 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17318 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17319 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17322 place. Use VEX encoding when compiling for AVX.
17324 2011-10-25 Andreas Schwab <schwab@redhat.com>
17326 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17327 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17329 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17331 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17333 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17334 useless if() expression.
17335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17344 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17347 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17348 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17349 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17350 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17355 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17357 2011-10-25 Andreas Schwab <schwab@redhat.com>
17359 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17363 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17365 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17366 .text section. Avoid duplicate constants.
17367 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17377 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17379 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17390 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17391 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17392 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17393 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17394 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17396 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17397 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17398 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17400 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17401 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17402 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17403 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17404 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17405 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17406 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17407 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17408 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17410 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17411 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17413 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17415 * sysdeps/x86_64/dla.h: Move to ...
17416 * sysdeps/x86_64/fpu/dla.h: ...here.
17417 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17418 situations. Use __builtin_fma only for gcc 4.6 and up.
17420 * config.make.in: Add have-mfma4 entry.
17421 * configure.in: Substitute libc_cv_cc_fma4.
17422 * math/Makefile (dbl-only-routines): Add sincostab.
17423 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17424 Use __sincostab not sincos.
17425 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17432 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17433 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17434 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17435 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17438 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17440 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17441 define aliases when function name is a macro.
17442 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17443 sysdeps/ieee754/dbl-64/sincos.tbl.
17444 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17445 fma4-enabled routines.
17446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17447 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17448 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17449 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17451 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17452 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17454 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17455 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17456 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17458 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17459 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17460 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17461 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17462 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17463 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17464 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17466 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17467 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17473 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17474 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17475 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17477 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17488 2011-10-24 Andreas Schwab <schwab@redhat.com>
17490 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17492 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17496 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17498 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17500 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17501 Remove unused variable magic_bits.
17502 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17504 * string/strnlen.c: Define and use STRNLEN macro.
17505 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17506 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17508 * wcsmbs/wcslen.c: Define and use WCSLEN.
17509 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17510 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17511 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17512 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17513 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17514 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17515 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17517 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17520 strnlen-sse2-no-bsf.
17521 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17523 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17524 Add strnlen support.
17525 (USE_AS_STRNLEN): New macro.
17526 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17527 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17528 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17529 * sysdeps/x86_64/wcslen.S: New file.
17531 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17533 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17534 XMM-moves are used for copying on small sizes.
17536 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17538 * wcsmbs/Makefile (strop-tests): Add wcschr.
17539 * wcsmbs/test-wcschr.c: New file.
17540 * string/test-strchr.c: Update.
17541 Add wcschr support.
17544 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17546 * wcsmbs/Makefile (strop-tests): Add wcslen.
17547 * wcsmbs/test-wcslen.c: New file.
17548 * string/test-strlen.c: Update.
17549 Add wcslen support.
17552 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17554 * po/it.po: Update from translation team.
17556 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17558 * sysdeps/x86_64/wcscmp.S: Update.
17559 Fix wrong comparison semantics.
17560 wcscmp shall use signed comparison not unsigned.
17561 Don't use substraction to avoid overflow bug.
17562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17563 * wcsmbc/wcscmp.c: Likewise.
17564 * string/test-strcmp.c: Likewise.
17565 Add new tests to check cases with negative values.
17567 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17569 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17570 * sysdeps/x86_64/dla.h: ...here. New file.
17571 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17581 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17584 __ynl_finite aliases.
17586 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17590 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17592 [DLA_FMA] (EMULV): Use DLA_FMA.
17593 [DLA_FMA] (MUL12): Use EMULV.
17594 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17595 that are not needed.
17596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17604 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17606 * math/s_nan.c: Undef __nan.
17607 * math/s_nanf.c: Undef __nanf.
17608 * math/s_nanl.c: Undef __nanl.
17609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17612 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17614 * math/s_catan.c: Add branch predictions.
17615 * math/s_catanf.c: Likewise.
17616 * math/s_catanh.c: Likewise.
17617 * math/s_catanhf.c: Likewise.
17618 * math/s_catanhl.c: Likewise.
17619 * math/s_catanl.c: Likewise.
17620 * math/s_cexp.c: Likewise.
17621 * math/s_cexpf.c: Likewise.
17622 * math/s_cexpl.c: Likewise.
17623 * math/s_clog.c: Likewise.
17624 * math/s_clog10.c: Likewise.
17625 * math/s_clog10f.c: Likewise.
17626 * math/s_clog10l.c: Likewise.
17627 * math/s_clogf.c: Likewise.
17628 * math/s_clogl.c: Likewise.
17629 * math/s_csqrt.c: Likewise.
17630 * math/s_csqrtf.c: Likewise.
17631 * math/s_csqrtl.c: Likewise.
17632 * math/s_ctanf.c: Likewise.
17633 * math/s_ctanh.c: Likewise.
17634 * math/s_ctanhf.c: Likewise.
17635 * math/s_ctanhl.c: Likewise.
17636 * math/s_ctanl.c: Likewise.
17638 * math/math_private.h: Define __nan, __nanf, __nanl.
17639 * math/s_cacosh.c: Include <math_private.h>.
17640 * math/s_cacoshl.c: Likewise.
17641 * math/s_casinh.c: Likewise.
17642 * math/s_casinhf.c: Likewise.
17643 * math/s_casinhl.c: Likewise.
17644 * math/s_ccos.c: Rely entire on ccosh.
17645 * math/s_ccosf.c: Rely entire on ccoshf.
17646 * math/s_ccosl.c: Rely entirely on ccoshl.
17647 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17648 Remove tests for FE_INVALID.
17649 * math/s_ccoshf.c: Likewise.
17650 * math/s_ccoshl.c: Likewise.
17651 * math/s_csin.c: Likewise.
17652 * math/s_csinf.c: Likewise.
17653 * math/s_csinh.c Likewise.
17654 * math/s_csinhf.c: Likewise.
17655 * math/s_csinhl.c: Likewise.
17656 * math/s_csinl.c: Likewise.
17657 * math/s_ctan.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17659 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17662 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17665 compilation problems.
17667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17670 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17672 * sysdeps/i386/configure.in: Test for -mfma4 option.
17673 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17674 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17675 COMMON_CPUID_INDEX_80000001.
17676 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17677 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17678 use it if FMA3 is not supported.
17679 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17681 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17684 2011-10-20 Andreas Schwab <schwab@redhat.com>
17687 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17688 it would create a cycle with a link time dependency.
17690 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17692 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17694 * string/Makefile (strop-tests): Add rawmemchr.
17695 * string/test-rawmemchr.c: New file.
17697 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17699 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17700 when compiling str{,n}casecmp and when AVX is available. Hook up
17701 new optimized code in initializers.
17703 2011-10-19 Andreas Schwab <schwab@redhat.com>
17705 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17706 __feraiseexcept instead of feraiseexcept.
17708 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17710 * math/math_private.h: Define defaults for libc_fetestexcept and
17712 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17713 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17715 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17717 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17718 libc_fetestexcept and libc_feupdateenv.
17720 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17721 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17722 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17723 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17724 libc_feholdexcept_setround.
17726 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17727 Add s_nearbyint-c and s_nearbyintf-c.
17728 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17729 nearbyintf inlines.
17730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17731 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17733 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17735 * math/math_private.h: Define defaults for libc_fegetround,
17736 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17737 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17738 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17739 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17740 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17741 standard functions.
17742 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17743 Remove comments and hacks for old compiler versions.
17744 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17745 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17746 libc_feholdexceptl.
17748 2011-10-18 Andreas Schwab <schwab@redhat.com>
17750 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17751 (__feraiseexcept_renamed): Add __NTH.
17752 (feraiseexcept): Add __NTH. Rename local variables to fix
17753 namespace violations.
17755 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17761 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17762 recently added interfaces.
17763 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17765 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17766 about macro parameter expansion.
17768 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17769 __NO_MATH_INLINES is defined. Cleanups.
17771 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17772 and __floorf is target has SSE4.1.
17773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17774 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17775 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17778 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17780 (floorf): Likewise.
17782 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17784 2011-10-17 Andreas Schwab <schwab@redhat.com>
17786 * misc/sys/cdefs.h: Fix last change.
17788 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17791 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17793 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17795 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17797 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17801 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17802 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17803 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17804 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17805 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17806 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17807 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17808 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17809 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17810 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17811 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17812 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17813 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17814 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17815 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17816 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17818 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17819 ceil, ceilf, floor, floorf.
17821 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17822 Perform IRELATIVE relocations last.
17824 * elf/do-rel.h: Add another parameter nrelative, replacing the
17825 local variable with the same name. Change name of the function
17826 to end in Rel or Rela (uppercase).
17827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17828 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17829 elf_dynamic_do_##reloc function.
17831 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17833 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17834 is sufficient, at least on modern CPUs.
17836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17838 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17841 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17843 * math/bits/math-finite.h: Add entries for exp.
17844 * math/e_expl.c: Add __*_finite alias.
17845 * sysdeps/i386/fpu/e_exp.S: Likewise.
17846 * sysdeps/i386/fpu/e_expf.S: Likewise.
17847 * sysdeps/i386/fpu/e_expl.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17849 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17853 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17854 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17856 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17857 is sufficient, at least on modern CPUs.
17859 * ctype/ctype-info.c (__ctype_init): Define.
17860 * include/ctype.h (__ctype_init): Declare.
17861 (__ctype_b_loc): The variable is always initialized.
17862 (__ctype_toupper_loc): Likewise.
17863 (__ctype_tolower_loc): Likewise.
17864 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17865 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17867 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17869 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17871 * configure.in: Also look in $cxxmachine/include for C++ system
17874 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17876 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17877 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17878 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17879 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17880 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17881 (USE_AS_WMEMCMP): New macro.
17883 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17884 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17885 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17886 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17888 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17889 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17890 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17891 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17892 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17893 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17894 (USE_AS_WMEMCMP): New macro.
17895 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17896 * sysdeps/string/test-memcmp.c: Update.
17897 Fix simple_wmemcmp.
17899 * wcsmbs/wmemcmp.c: Update.
17900 (WMEMCMP): New macro.
17903 2011-10-12 Andreas Jaeger <aj@suse.de>
17906 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17908 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17910 * libio/iofwide.c (do_length): Avoid warning.
17912 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17914 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17916 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17918 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17919 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17920 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17921 * sysdeps/i386/i686/fpu/e_log.S: New file.
17922 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17923 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17925 * ctype/ctype.h: Add support for inlined isXXX functions when
17926 compiling C++ code.
17928 2011-10-14 Andreas Schwab <schwab@redhat.com>
17930 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17934 2011-10-13 Roland McGrath <roland@hack.frob.com>
17937 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17939 2011-10-13 Andreas Schwab <schwab@redhat.com>
17941 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17942 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17945 * sysdeps/x86_64/memrchr.S: Check for zero size.
17947 * string/stratcliff.c: Add memrchr tests.
17949 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17952 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17953 rawmemchr-sse2 rawmemchr-sse2-bsf.
17954 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17955 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17956 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17957 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17958 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17959 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17960 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17961 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17963 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17964 * string/memrchr.c (MEMRCHR): New macro.
17966 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17968 Add integration with gcc's -ffinite-math-only and optimize wrapper
17970 * Versions.def: Define GLIBC_2.15 version for libm.
17971 * math/Makefile (headers): Add bits/math-finite.h.
17972 * math/bits/math-finite.h: New file.
17973 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17974 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17975 * math/e_acoshl.c: Add __*_finite alias.
17976 * math/e_acosl.c: Likewise.
17977 * math/e_asinl.c: Likewise.
17978 * math/e_atan2l.c: Likewise.
17979 * math/e_atanhl.c: Likewise.
17980 * math/e_coshl.c: Likewise.
17981 * math/e_exp10.c: Likewise.
17982 * math/e_exp10f.c: Likewise.
17983 * math/e_exp10l.c: Likewise.
17984 * math/e_exp2l.c: Likewise.
17985 * math/e_fmodl.c: Likewise.
17986 * math/e_gammal_r.c: Likewise.
17987 * math/e_hypotl.c: Likewise.
17988 * math/e_j0l.c: Likewise.
17989 * math/e_j1l.c: Likewise.
17990 * math/e_jnl.c: Likewise.
17991 * math/e_lgammal_r.c: Likewise.
17992 * math/e_log10l.c: Likewise.
17993 * math/e_log2l.c: Likewise.
17994 * math/e_logl.c: Likewise.
17995 * math/e_powl.c: Likewise.
17996 * math/e_sinhl.c: Likewise.
17997 * math/e_sqrtl.c: Likewise.
17998 * math/e_scalb.c: Completely rewritten and optimized.
17999 * math/e_scalbf.c: Likewise.
18000 * math/e_scalbl.c: Likewise.
18001 * math/w_acos.c: Likewise.
18002 * math/w_acosf.c: Likewise.
18003 * math/w_acosl.c: Likewise.
18004 * math/w_acosh.c: Likewise.
18005 * math/w_acoshf.c: Likewise.
18006 * math/w_acoshl.c: Likewise.
18007 * math/w_asin.c: Likewise.
18008 * math/w_asinf.c: Likewise.
18009 * math/w_asinl.c: Likewise.
18010 * math/w_atan2.c: Likewise.
18011 * math/w_atan2f.c: Likewise.
18012 * math/w_atan2l.c: Likewise.
18013 * math/w_atanh.c: Likewise.
18014 * math/w_atanhf.c: Likewise.
18015 * math/w_atanhl.c: Likewise.
18016 * math/w_exp10.c: Likewise.
18017 * math/w_exp10f.c: Likewise.
18018 * math/w_exp10l.c: Likewise.
18019 * math/w_fmod.c: Likewise.
18020 * math/w_fmodf.c: Likewise.
18021 * math/w_fmodl.c: Likewise.
18022 * math/w_j0.c: Likewise.
18023 * math/w_j0f.c: Likewise.
18024 * math/w_j0l.c: Likewise.
18025 * math/w_j1.c: Likewise.
18026 * math/w_j1f.c: Likewise.
18027 * math/w_j1l.c: Likewise.
18028 * math/w_jn.c: Likewise.
18029 * math/w_jnf.c: Likewise.
18030 * math/w_log.c: Likewise.
18031 * math/w_logf.c: Likewise.
18032 * math/w_logl.c: Likewise.
18033 * math/w_log10.c: Likewise.
18034 * math/w_log10f.c: Likewise.
18035 * math/w_log10l.c: Likewise.
18036 * math/w_log2.c: Likewise.
18037 * math/w_log2f.c: Likewise.
18038 * math/w_log2l.c: Likewise.
18039 * math/w_pow.c: Likewise.
18040 * math/w_powf.c: Likewise.
18041 * math/w_powl.c: Likewise.
18042 * math/w_remainder.c: Likewise.
18043 * math/w_remainderf.c: Likewise.
18044 * math/w_remainderl.c: Likewise.
18045 * math/w_scalb.c: Likewise.
18046 * math/w_scalbf.c: Likewise.
18047 * math/w_scalbl.c: Likewise.
18048 * math/w_sqrt.c: Likewise.
18049 * math/w_sqrtf.c: Likewise.
18050 * math/w_sqrtl.c: Likewise.
18051 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18052 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18054 * math/math_private.h: Declare __kernel_standard_f.
18055 * math/w_cosh.c: Remove cruft and optimize a bit.
18056 * math/w_coshf.c: Likewise.
18057 * math/w_coshl.c: Likewise.
18058 * math/w_exp2.c: Likewise.
18059 * math/w_exp2f.c: Likewise.
18060 * math/w_exp2l.c: Likewise.
18061 * math/w_hypot.c: Likewise.
18062 * math/w_hypotf.c: Likewise.
18063 * math/w_hypotl.c: Likewise.
18064 * math/w_lgamma.c: Likewise.
18065 * math/w_lgamma_r.c: Likewise.
18066 * math/w_lgammaf.c: Likewise.
18067 * math/w_lgammaf_r.c: Likewise.
18068 * math/w_lgammal.c: Likewise.
18069 * math/w_lgammal_r.c: Likewise.
18070 * math/w_sinh.c: Likewise.
18071 * math/w_sinhf.c: Likewise.
18072 * math/w_sinhl.c: Likewise.
18073 * math/w_tgamma.c: Likewise.
18074 * math/w_tgammaf.c: Likewise.
18075 * math/w_tgammal.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18078 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18079 Minor optimizations. Pretty printing. Remove cruft.
18080 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18081 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18082 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18083 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18084 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18085 * sysdeps/i386/fpu/e_asin.S: Likewise.
18086 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18087 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18088 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18089 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18090 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18091 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18092 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18093 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18094 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18095 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18096 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18097 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18098 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18099 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18100 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18101 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18102 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18103 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18104 * sysdeps/i386/fpu/e_log.S: Likewise.
18105 * sysdeps/i386/fpu/e_log10.S: Likewise.
18106 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18107 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18108 * sysdeps/i386/fpu/e_log2.S: Likewise.
18109 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18110 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18111 * sysdeps/i386/fpu/e_logf.S: Likewise.
18112 * sysdeps/i386/fpu/e_logl.S: Likewise.
18113 * sysdeps/i386/fpu/e_pow.S: Likewise.
18114 * sysdeps/i386/fpu/e_powf.S: Likewise.
18115 * sysdeps/i386/fpu/e_powl.S: Likewise.
18116 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18117 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18118 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18119 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18120 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18121 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18122 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18123 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18124 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18146 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18147 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18150 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18152 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18153 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18154 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18156 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18159 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18160 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18161 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18208 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18210 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18216 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18217 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18218 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18222 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18223 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18224 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18225 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18226 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18227 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18228 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18229 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18230 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18231 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18233 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18234 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18235 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18236 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18237 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18238 (__isnanf): Likewise.
18239 (__isinf_ns): Likewise.
18240 (__isinf_nsf): Likewise.
18241 (__finite): Likewise.
18242 (__finitef): Likewise.
18243 (__ieee754_sqrt): Define as macro.
18244 (__ieee754_sqrtf): Define as macro.
18245 (__ieee754_sqrtl): Define as macro.
18246 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18248 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18249 __FINITE_MATH_ONLY__ consistent.
18250 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18252 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18254 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18259 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18261 * po/ja.po: Update from translation team.
18263 2011-10-08 Roland McGrath <roland@hack.frob.com>
18265 * locale/programs/locarchive.c (prepare_address_space): New function.
18266 (create_archive, enlarge_archive, open_archive): Use it.
18268 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18269 inside [SHARED], where it is used.
18271 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18273 * nss/getent.c (netgroup_keys): Remove unused variable.
18274 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18276 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18278 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18279 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18281 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18282 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18283 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18284 * math/Makefile (libm-calls): Add s_isinf_ns.
18285 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18286 * math/multc3.c: Likewise.
18287 * math/s_casin.c: Likewise.
18288 * math/s_casinf.c: Likewise.
18289 * math/s_casinl.c: Likewise.
18290 * math/s_ccos.c: Likewise.
18291 * math/s_ccosf.c: Likewise.
18292 * math/s_ccosl.c: Likewise.
18293 * math/s_ctan.c: Likewise.
18294 * math/s_ctanf.c: Likewise.
18295 * math/s_ctanh.c: Likewise.
18296 * math/s_ctanhf.c: Likewise.
18297 * math/s_ctanhl.c: Likewise.
18298 * math/s_ctanl.c: Likewise.
18299 * math/w_fmod.c: Likewise.
18300 * math/w_fmodf.c: Likewise.
18301 * math/w_fmodl.c: Likewise.
18302 * math/w_remainder.c: Likewise.
18303 * math/w_remainderf.c: Likewise.
18304 * math/w_remainderl.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18306 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18307 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18309 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18310 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18311 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18312 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18314 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18316 * stdio-common/printf_fphex.c: Likewise.
18317 * stdio-common/printf_size.c: Likewise.
18319 * math/e_exp10.c: Include math_private.h using <...> not "...".
18320 * math/e_exp10f.c: Likewise.
18321 * math/e_exp10l.c: Likewise.
18322 * math/e_exp2l.c: Likewise.
18323 * math/e_j0l.c: Likewise.
18324 * math/e_j1l.c: Likewise.
18325 * math/e_jnl.c: Likewise.
18326 * math/e_lgammal_r.c: Likewise.
18327 * math/e_rem_pio2l.c: Likewise.
18328 * math/e_scalb.c: Likewise.
18329 * math/e_scalbf.c: Likewise.
18330 * math/e_scalbl.c: Likewise.
18331 * math/k_cosl.c: Likewise.
18332 * math/k_sinl.c: Likewise.
18333 * math/k_tanl.c: Likewise.
18334 * math/s_cacoshf.c: Likewise.
18335 * math/s_catan.c: Likewise.
18336 * math/s_catanf.c: Likewise.
18337 * math/s_catanh.c: Likewise.
18338 * math/s_catanhf.c: Likewise.
18339 * math/s_catanhl.c: Likewise.
18340 * math/s_catanl.c: Likewise.
18341 * math/s_ccosh.c: Likewise.
18342 * math/s_ccoshf.c: Likewise.
18343 * math/s_ccoshl.c: Likewise.
18344 * math/s_cexp.c: Likewise.
18345 * math/s_cexpf.c: Likewise.
18346 * math/s_cexpl.c: Likewise.
18347 * math/s_clog.c: Likewise.
18348 * math/s_clog10.c: Likewise.
18349 * math/s_clog10f.c: Likewise.
18350 * math/s_clog10l.c: Likewise.
18351 * math/s_clogf.c: Likewise.
18352 * math/s_clogl.c: Likewise.
18353 * math/s_csin.c: Likewise.
18354 * math/s_csinf.c: Likewise.
18355 * math/s_csinh.c: Likewise.
18356 * math/s_csinhf.c: Likewise.
18357 * math/s_csinhl.c: Likewise.
18358 * math/s_csinl.c: Likewise.
18359 * math/s_csqrt.c: Likewise.
18360 * math/s_csqrtf.c: Likewise.
18361 * math/s_csqrtl.c: Likewise.
18362 * math/s_ctan.c: Likewise.
18363 * math/s_ctanf.c: Likewise.
18364 * math/s_ctanh.c: Likewise.
18365 * math/s_ctanhf.c: Likewise.
18366 * math/s_ctanhl.c: Likewise.
18367 * math/s_ctanl.c: Likewise.
18368 * math/s_ldexp.c: Likewise.
18369 * math/s_ldexpf.c: Likewise.
18370 * math/s_ldexpl.c: Likewise.
18371 * math/s_significand.c: Likewise.
18372 * math/s_significandf.c: Likewise.
18373 * math/s_significandl.c: Likewise.
18374 * math/w_acos.c: Likewise.
18375 * math/w_acosf.c: Likewise.
18376 * math/w_acosh.c: Likewise.
18377 * math/w_acoshf.c: Likewise.
18378 * math/w_acoshl.c: Likewise.
18379 * math/w_acosl.c: Likewise.
18380 * math/w_asin.c: Likewise.
18381 * math/w_asinf.c: Likewise.
18382 * math/w_asinl.c: Likewise.
18383 * math/w_atan2.c: Likewise.
18384 * math/w_atan2f.c: Likewise.
18385 * math/w_atan2l.c: Likewise.
18386 * math/w_atanh.c: Likewise.
18387 * math/w_atanhf.c: Likewise.
18388 * math/w_atanhl.c: Likewise.
18389 * math/w_cosh.c: Likewise.
18390 * math/w_coshf.c: Likewise.
18391 * math/w_coshl.c: Likewise.
18392 * math/w_dremf.c: Likewise.
18393 * math/w_exp10.c: Likewise.
18394 * math/w_exp10f.c: Likewise.
18395 * math/w_exp10l.c: Likewise.
18396 * math/w_exp2.c: Likewise.
18397 * math/w_exp2f.c: Likewise.
18398 * math/w_fmod.c: Likewise.
18399 * math/w_fmodf.c: Likewise.
18400 * math/w_fmodl.c: Likewise.
18401 * math/w_hypot.c: Likewise.
18402 * math/w_hypotf.c: Likewise.
18403 * math/w_hypotl.c: Likewise.
18404 * math/w_j0.c: Likewise.
18405 * math/w_j0f.c: Likewise.
18406 * math/w_j0l.c: Likewise.
18407 * math/w_j1.c: Likewise.
18408 * math/w_j1f.c: Likewise.
18409 * math/w_j1l.c: Likewise.
18410 * math/w_jn.c: Likewise.
18411 * math/w_jnf.c: Likewise.
18412 * math/w_jnl.c: Likewise.
18413 * math/w_lgamma.c: Likewise.
18414 * math/w_lgamma_r.c: Likewise.
18415 * math/w_lgammaf.c: Likewise.
18416 * math/w_lgammaf_r.c: Likewise.
18417 * math/w_lgammal.c: Likewise.
18418 * math/w_lgammal_r.c: Likewise.
18419 * math/w_log.c: Likewise.
18420 * math/w_log10.c: Likewise.
18421 * math/w_log10f.c: Likewise.
18422 * math/w_log10l.c: Likewise.
18423 * math/w_log2.c: Likewise.
18424 * math/w_log2f.c: Likewise.
18425 * math/w_log2l.c: Likewise.
18426 * math/w_logf.c: Likewise.
18427 * math/w_logl.c: Likewise.
18428 * math/w_pow.c: Likewise.
18429 * math/w_powf.c: Likewise.
18430 * math/w_powl.c: Likewise.
18431 * math/w_remainder.c: Likewise.
18432 * math/w_remainderf.c: Likewise.
18433 * math/w_remainderl.c: Likewise.
18434 * math/w_scalb.c: Likewise.
18435 * math/w_scalbf.c: Likewise.
18436 * math/w_scalbl.c: Likewise.
18437 * math/w_sinh.c: Likewise.
18438 * math/w_sinhf.c: Likewise.
18439 * math/w_sinhl.c: Likewise.
18440 * math/w_sqrt.c: Likewise.
18441 * math/w_sqrtf.c: Likewise.
18442 * math/w_sqrtl.c: Likewise.
18443 * math/w_tgamma.c: Likewise.
18444 * math/w_tgammaf.c: Likewise.
18445 * math/w_tgammal.c: Likewise.
18447 * po/ja.po: Update from translation team.
18449 2011-09-29 Andreas Jaeger <aj@suse.de>
18452 * sunrpc/netname.c (netname2host): Fix logic.
18456 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18458 * math/w_remainder.c (__remainder): Likewise.
18459 * math/w_remainderf.c (__remainderf): Likewise.
18460 * math/libm-test.inc (remainder_test): Add test cases.
18462 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18464 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18469 * string/test-memcmp.c: Avoid unncessary #defines.
18470 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18472 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18474 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18475 Use new sse2 version for core i3 - i7 as it's faster
18476 than sse42 version.
18477 (bit_Prefer_PMINUB_for_stringop): New.
18478 * sysdeps/x86_64/rawmemchr.S: Update.
18479 Replace with faster SSE2 version.
18480 * sysdeps/x86_64/memrchr.S: New file.
18481 * sysdeps/x86_64/memchr.S: Update.
18482 Replace with faster SSE2 version.
18484 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18486 * elf/dl-load.c (lose): Add cast to avoid warning.
18488 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18490 * po/ca.po: Update from translation team.
18492 * inet/getnetgrent_r.c: Hook up nscd.
18493 * nscd/Makefile (routines): Add nscd_netgroup.
18494 (nscd-modules): Add netgroupcache.
18495 (CFLAGS-netgroupcache.c): Define.
18496 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18497 (cache_search): Add const to second parameter.
18498 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18500 (dbs): Add netgrdb entry.
18501 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18502 (verify_persistent_db): Handle netgrdb.
18503 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18504 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18506 (netgroup_response_header): Define.
18507 (innetgroup_response_header): Define.
18508 (datahead): Add netgroup_response_header and innetgroup_response_header
18510 * nscd/nscd.conf: Add entries for netgroup cache.
18511 * nscd/nscd.h (dbtype): Add netgrdb.
18512 (_PATH_NSCD_NETGROUP_DB): Define.
18513 (netgroup_iov_disabled): Declare.
18514 (xmalloc, xcalloc, xrealloc): Move declarations here.
18515 (cache_search): Adjust prototype.
18516 Add netgroup-related prototypes.
18517 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18518 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18519 (__nscd_innetgr): Declare.
18520 * nscd/selinux.c (perms): Use access_vector_t as element type and
18521 add netgroup-related initializers.
18522 * nscd/netgroupcache.c: New file.
18523 * nscd/nscd_netgroup.c: New file.
18524 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18525 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18526 For four parameters use innetgr.
18527 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18528 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18529 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18530 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18532 * nscd/connections.c (register_traced_file): Don't register file
18533 for disabled databases.
18535 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18537 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18539 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18540 from tree and freeing node.
18542 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18544 * nss/nsswitch.c (__nss_database_lookup): Handle
18545 nss_parse_service_list out of memory case.
18547 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18549 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18550 out of memory case.
18552 2011-10-04 Andreas Schwab <schwab@redhat.com>
18554 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18555 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18557 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18558 elf_machine_rela, elf_machine_lazy_rel.
18559 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18560 (ELF_DYNAMIC_DO_REL): Likewise.
18561 (ELF_DYNAMIC_DO_RELA): Likewise.
18562 (ELF_DYNAMIC_RELOCATE): Likewise.
18563 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18564 to ELF_DYNAMIC_DO_REL.
18565 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18566 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18567 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18569 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18570 skip_ifunc, don't call ifunc function if non-zero.
18571 (elf_machine_rela): Likewise.
18572 (elf_machine_lazy_rel): Likewise.
18573 (elf_machine_lazy_rela): Likewise.
18574 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18575 (elf_machine_lazy_rel): Likewise.
18576 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18578 (elf_machine_lazy_rel): Likewise.
18579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18581 (elf_machine_lazy_rel): Likewise.
18582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18583 (elf_machine_lazy_rel): Likewise.
18584 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18585 (elf_machine_lazy_rel): Likewise.
18586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18587 (elf_machine_lazy_rel): Likewise.
18588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18589 (elf_machine_lazy_rel): Likewise.
18590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18591 (elf_machine_lazy_rel): Likewise.
18592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18593 (elf_machine_lazy_rel): Likewise.
18595 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18597 * nss/nss_files/files-init.c (_nss_files_init): Use static
18598 initialization for all the *_traced_file variables.
18600 2011-09-28 Andreas Schwab <schwab@redhat.com>
18602 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18604 2011-09-27 Roland McGrath <roland@hack.frob.com>
18607 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18609 2011-09-27 Andreas Schwab <schwab@redhat.com>
18611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18612 Reread the line before reparsing it.
18614 2011-09-26 Andreas Schwab <schwab@redhat.com>
18616 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18618 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18619 Maxim Kuvyrkov <maxim@codesourcery.com>
18620 Joseph Myers <joseph@codesourcery.com>
18622 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18623 if needed for __stack_chk_guard.
18625 2011-09-19 Roland McGrath <roland@hack.frob.com>
18627 * sysdeps/posix/spawni.c (script_execute): Always define it.
18628 It will be optimized away if unused.
18629 (maybe_script_execute): New function.
18630 (__spawni): Call it.
18632 * Makerules: Don't include tls.make.
18633 (config-tls): Always set to thread.
18634 * tls.make.c: File removed.
18636 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18638 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18639 * config.make.in (CPPFLAGS-config): New substituted variable.
18641 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18643 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18646 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18647 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18649 2011-09-15 Roland McGrath <roland@hack.frob.com>
18651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18652 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18653 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18654 (CALL_FAIL): Likewise.
18655 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18656 (CALL_FAIL): Macro removed.
18657 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18659 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18661 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18662 for __FINITE_MATH_ONLY__ == 1.
18664 2011-09-15 Andreas Schwab <schwab@redhat.com>
18666 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18667 __ieee754_sqrt instead of sqrt.
18668 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18669 __ieee754_sqrtf instead of sqrtf.
18670 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18671 __floorf instead of floorf.
18672 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18673 __floorf, __truncf instead of floorf, truncf.
18675 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18677 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18679 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18680 __extern_always_inline.
18681 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18684 2011-09-14 Andreas Schwab <schwab@redhat.com>
18686 * elf/rtld.c (dl_main): Also relocate in dependency order when
18687 doing symbol dependency testing.
18689 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18692 Always define `refsym'.
18694 2011-09-13 Andreas Schwab <schwab@redhat.com>
18696 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18697 (__FD_ELT): Renamed from __FDELT.
18698 * misc/bits/select2.h (__FD_ELT): Likewise.
18699 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18700 __FD_MASK instead of __FDELT, __FDMASK.
18701 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18703 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18706 * elf/Makefile (gen-ldd): Fix pattern.
18708 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18709 (init_tls): Likewise.
18711 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18715 2011-09-12 Andreas Schwab <schwab@redhat.com>
18717 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18718 `struct cmsghdr *' instead of `void *'.
18719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18722 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18724 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18726 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18727 ldd_rewrite_script.
18729 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18731 * configure.in: Remove --with-tls option.
18732 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18733 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18734 out in case it is missing.
18735 * sysdeps/ia64/elf/configure.in: Likewise.
18736 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18737 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18738 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18739 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18740 * sysdeps/sh/elf/configure.in: Likewise.
18741 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18742 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18743 * sysdeps/x86_64/elf/configure.in: Likewise.
18744 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18745 * sysdeps/mach/hurd/tls.h: Likewise.
18748 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18751 * configure.in: Fix use of AC_INIT.
18753 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18755 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18757 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18759 * malloc/hooks.c: Likewise.
18762 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18763 variables statically.
18764 (narenas): Initialize.
18765 (list_lock): Initialize.
18766 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18767 initializtion of main_arena and list_lock. Small cleanups.
18768 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18769 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18770 Add initializers to main_arena and mp_.
18771 (malloc_state): Remove pagesize member. Change all users to use
18774 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18775 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18776 is always initialized.
18778 * malloc/malloc.c: Removed unused configurations and dead code.
18779 * malloc/arena.c: Likewise.
18780 * malloc/hooks.c: Likewise.
18781 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18783 * include/tls.h: Removed. USE___THREAD must always be defined.
18784 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18785 * elf/dl-libc.c: Likewise.
18786 * elf/dl-tsd.c: Likewise.
18787 * include/errno.h: Likewise.
18788 * include/netdb.h: Likewise.
18789 * include/resolv.h: Likewise.
18790 * inet/herrno-loc.c: Likewise.
18791 * inet/herrno.c: Likewise.
18792 * malloc/arena.c: Likewise.
18793 * malloc/hooks.c: Likewise.
18794 * malloc/malloc.c: Likewise.
18795 * resolv/res-state.c: Likewise.
18796 * resolv/res_libc.c: Likewise.
18797 * sysdeps/i386/dl-machine.h: Likewise.
18798 * sysdeps/ia64/dl-machine.h: Likewise.
18799 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18800 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18801 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18802 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18803 * sysdeps/sh/dl-machine.h: Likewise.
18804 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18806 * sysdeps/unix/i386/sysdep.S: Likewise.
18807 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18808 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18810 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18813 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18817 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18818 * sysdeps/x86_64/dl-machine.h: Likewise.
18819 * tls.make.c: Likewise.
18821 * configure.in: Remove --with-__thread option. Make tests for
18822 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18823 tls_model attribute fail if no support is available. Remove
18825 * Makeconfig: Adjust for dropped configure option. All features are
18827 * Makerules: Likewise.
18828 * Versions.def: Likewise.
18829 * argp/argp-fmtstream.c: Likewise.
18830 * argp/argp-fmtstream.h: Likewise.
18831 * argp/argp-help.c: Likewise.
18832 * assert/assert.c: Likewise.
18833 * config.h.in: Likewise.
18834 * config.make.in: Likewise.
18835 * configure: Likewise.
18836 * configure.in: Likewise.
18837 * csu/Versions: Likewise.
18838 * csu/init.c: Likewise.
18839 * elf/tst-audit2.c: Likewise.
18840 * elf/tst-tls10.c: Likewise.
18841 * elf/tst-tls10.h: Likewise.
18842 * elf/tst-tls11.c: Likewise.
18843 * elf/tst-tls12.c: Likewise.
18844 * elf/tst-tls14.c: Likewise.
18845 * elf/tst-tlsmod11.c: Likewise.
18846 * elf/tst-tlsmod12.c: Likewise.
18847 * elf/tst-tlsmod13.c: Likewise.
18848 * elf/tst-tlsmod13a.c: Likewise.
18849 * elf/tst-tlsmod14a.c: Likewise.
18850 * elf/tst-tlsmod15b.c: Likewise.
18851 * elf/tst-tlsmod16a.c: Likewise.
18852 * elf/tst-tlsmod16b.c: Likewise.
18853 * elf/tst-tlsmod7.c: Likewise.
18854 * elf/tst-tlsmod8.c: Likewise.
18855 * elf/tst-tlsmod9.c: Likewise.
18856 * gmon/gmon.c: Likewise.
18857 * grp/fgetgrent_r.c: Likewise.
18858 * grp/putgrent.c: Likewise.
18859 * hurd/fopenport.c: Likewise.
18860 * include/libc-symbols.h: Likewise.
18861 * include/tls.h: Likewise.
18862 * intl/gettextP.h: Likewise.
18863 * intl/loadinfo.h: Likewise.
18864 * locale/global-locale.c: Likewise.
18865 * locale/localeinfo.h: Likewise.
18866 * mach/devstream.c: Likewise.
18867 * malloc/arena.c: Likewise.
18868 * malloc/set-freeres.c: Likewise.
18869 * misc/err.c: Likewise.
18870 * misc/getttyent.c: Likewise.
18871 * misc/mntent_r.c: Likewise.
18872 * posix/getopt.c: Likewise.
18873 * posix/wordexp.c: Likewise.
18874 * pwd/fgetpwent_r.c: Likewise.
18875 * resolv/Versions: Likewise.
18876 * resolv/res_hconf.c: Likewise.
18877 * shadow/fgetspent_r.c: Likewise.
18878 * shadow/putspent.c: Likewise.
18879 * stdio-common/printf_fphex.c: Likewise.
18880 * stdio-common/tmpfile.c: Likewise.
18881 * stdlib/abort.c: Likewise.
18882 * stdlib/fmtmsg.c: Likewise.
18883 * sunrpc/auth_unix.c: Likewise.
18884 * sunrpc/clnt_perr.c: Likewise.
18885 * sunrpc/clnt_tcp.c: Likewise.
18886 * sunrpc/clnt_udp.c: Likewise.
18887 * sunrpc/clnt_unix.c: Likewise.
18888 * sunrpc/openchild.c: Likewise.
18889 * sunrpc/svc_simple.c: Likewise.
18890 * sunrpc/svc_tcp.c: Likewise.
18891 * sunrpc/svc_udp.c: Likewise.
18892 * sunrpc/svc_unix.c: Likewise.
18893 * sunrpc/xdr.c: Likewise.
18894 * sunrpc/xdr_array.c: Likewise.
18895 * sunrpc/xdr_rec.c: Likewise.
18896 * sunrpc/xdr_ref.c: Likewise.
18897 * sunrpc/xdr_stdio.c: Likewise.
18899 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18901 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18903 2011-07-03 Andreas Jaeger <aj@suse.de>
18905 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18906 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18907 regenerate with gen-libm-tests.pl.
18909 2010-05-12 Petr Baudis <pasky@suse.cz>
18912 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18913 around j0() zero points by switching to j1().
18914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18919 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18923 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18926 Patch in part by Pavel Roskin <proski@gnu.org>.
18929 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18931 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18932 Free memory block if necessary.
18935 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18936 be NULL. Don't lock in this case.
18938 2011-09-09 Roland McGrath <roland@hack.frob.com>
18940 * elf/elf.h (ELFOSABI_GNU): New macro.
18941 (ELFOSABI_LINUX): Define to that.
18943 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18945 * string/strncat.c (strncat): Undef the symbol in case it has been
18946 defined in bits/string.h.
18948 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18950 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18952 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18955 2011-08-17 Andreas Jaeger <aj@suse.de>
18957 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18959 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18960 Ian Lance Taylor <iant@google.com>
18962 * math/libm-test.inc (lround_test): New testcase.
18963 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18965 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18967 * Makefile: Remove support for automatic cvs check-ins.
18968 * Makerules: Likewise.
18969 * config.make.in: Likewise.
18970 * configure.in: Likewise.
18971 * intl/Makefile: Likewise.
18972 * locale/Makefile: Likewise.
18973 * po/Makefile: Likewise.
18974 * posix/Makefile: Likewise.
18975 * sysdeps/gnu/Makefile: Likewise.
18976 * sysdeps/mach/hurd/Makefile: Likewise.
18977 * sysdeps/sparc/sparc32/Makefile: Likewise.
18980 * posix/Makefile (bug-regex32-ENV): Define.
18981 Patch by John Stanley <jpsinthemix@verizon.net>.
18983 * misc/Makefile (headers): Add bits/select2.h.
18984 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18985 * misc/bits/select2.h: New file.
18986 * include/bits/select2.h: New file.
18987 * debug/Makefile (routines): Add fdelt_chk.
18988 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18989 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18991 * debug/fdelt_chk.c: New file.
18993 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18994 * wcsmbs/test-wmemcmp.c: Likewise.
18995 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18996 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18998 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19000 * string/Makefile (strop-tests): Add memcmp.
19001 * string/test-wmemcmp.c: New file.
19002 * string/test-memcmp.c: Add wmemcmp support.
19004 2011-09-08 Roland McGrath <roland@hack.frob.com>
19007 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19010 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19011 garbage value in a __mach_port_mod_refs call in the cases of the
19012 task-self and thread-self ports.
19014 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19016 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19018 2011-09-08 Andreas Schwab <schwab@redhat.com>
19020 * elf/dl-load.c (lose): Check for non-null L.
19022 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19024 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19026 * elf/dl-libc.c (dlerror_run): Pass back error code from
19030 * elf/dl-load.c (lose): Free l_origin if it is valid.
19032 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19034 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19039 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19041 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19043 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19044 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19045 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19046 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19047 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19048 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19049 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19050 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19051 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19052 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19054 2011-08-15 Alan Modra <amodra@gmail.com>
19057 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19058 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19059 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19060 ppc_mcount to static-only-routines.
19061 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19063 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19064 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19066 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19068 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19069 for finite and infinity parameters.
19071 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19074 and add nop instructions for throughput optimization.
19075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19077 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19079 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19080 aligned copy for power7 with vector-scalar instructions.
19081 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19083 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19088 2011-09-07 Andreas Schwab <schwab@redhat.com>
19091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19094 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19096 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19097 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19098 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19099 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19102 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19105 Forgot to demangle the pointer.
19107 * sysdeps/i386/sysdep.h: Define atom_text_section.
19108 * sysdeps/x86_64/sysdep.h: Likewise.
19109 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19110 section with atom_text_section.
19111 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19113 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19117 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19118 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19119 already be defined. Change to take two parameters and don't assign
19120 result to variable. Adjust all users.
19121 Define INTERNAL_GETTIME if not already defined.
19122 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19125 HAVE_CLOCK_GETTIME_VSYSCALL.
19126 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19129 gettimeofday vsyscall, just use time.
19131 2011-09-06 Andreas Schwab <schwab@redhat.com>
19133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19136 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19138 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19142 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19143 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19144 syscall if possible.
19146 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19148 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19149 e_ident. Don't pass to find_mapsXX.
19150 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19152 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19155 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19156 * sysdeps/x86_64/multiarch/strchr.S: Update.
19157 Check bit_slow_BSF bit.
19158 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19159 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19160 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19162 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19165 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19167 (tryshell): Define.
19168 (__spawni): Change last parameter to be flag. Test
19169 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19170 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19171 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19172 * posix/spawni.c: Likewise.
19173 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19174 * posix/spawnp.c: Likewise. Change normal version to use
19175 SPAWN_XFLAGS_USE_PATH.
19176 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19177 SPAWN_XFLAGS_TRY_SHELL.
19180 * posix/glob.h: Remove gcc 1.x support.
19183 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19185 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19188 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19190 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19191 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19194 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19195 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19197 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19199 * sysdeps/x86_64/wcscmp.S: New file.
19201 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19202 wcscmp-c wcscmp-sse2
19203 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19204 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19205 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19206 * wcsmbs/wcscmp.c: Allow renaming.
19208 2011-09-05 David S. Miller <davem@davemloft.net>
19210 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19211 stack slot, rather than the struct return pointer slot.
19212 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19213 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19215 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19217 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19219 * po/ja.po: Update from translation team.
19222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19223 kernel in 64-bit binaries.
19225 2011-09-01 David S. Miller <davem@davemloft.net>
19227 * elf/elf.h (HWCAP_SPARC_*): Move to..
19228 * sysdeps/sparc/sysdep.h: this new file and add new values.
19229 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19230 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19231 _DL_HWCAP_COUNT to 24.
19232 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19234 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19235 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19236 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19238 instead of magic constants.
19239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19241 2011-08-31 David S. Miller <davem@davemloft.net>
19243 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19245 Reimplement to do errno handling inline.
19246 (SYSCALL_ERROR_HANDLER): New macro.
19247 (__SYSCALL_STRING): Do not do errno handling in asm.
19248 (__CLONE_SYSCALL_STRING): Delete.
19249 (__INTERNAL_SYSCALL_STRING): Delete.
19250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19251 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19252 (PSEUDO): Reimplement to do errno handling inline.
19253 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19254 (SYSCALL_ERROR_HANDLER): New macro.
19255 (__SYSCALL_STRING): Do not do errno handling in asm.
19256 (__CLONE_SYSCALL_STRING): Delete.
19257 (__INTERNAL_SYSCALL_STRING): Delete.
19258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19259 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19261 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19262 (inline_syscall*): Add 'err' argument.
19263 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19264 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19265 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19266 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19268 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19269 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19271 2011-08-30 Andreas Schwab <schwab@redhat.com>
19273 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19275 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19277 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19280 2011-08-24 David S. Miller <davem@davemloft.net>
19282 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19284 2011-08-24 Andreas Schwab <schwab@redhat.com>
19286 * elf/Makefile: Add rules to build and run unload8 test.
19287 * elf/unload8.c: New file.
19288 * elf/unload8mod1.c: New file.
19289 * elf/unload8mod1x.c: New file.
19290 * elf/unload8mod2.c: New file.
19291 * elf/unload8mod3.c: New file.
19293 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19296 2011-08-23 David S. Miller <davem@davemloft.net>
19298 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19299 subtract stack bias.
19300 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19301 %sp not %fp in calculations.
19302 (_JMPBUF_UNWINDS_ADJ): Likewise.
19304 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19305 (aio_suspend): Call it to force an exception region around the
19306 AIO_MISC_WAIT() invocation.
19308 2011-08-23 Andreas Schwab <schwab@redhat.com>
19310 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19313 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19315 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19317 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19318 and <dl-machine.h>.
19319 (Elf64_FuncDesc): Remove.
19321 2011-08-22 David S. Miller <davem@davemloft.net>
19323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19324 sigaltstack check, add missing cfi directives.
19325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19326 missing cfi directives, and sigaltstack handling.
19328 2011-08-16 Andreas Schwab <schwab@redhat.com>
19331 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19332 object is seen twice.
19333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19335 * elf/Makefile (distribute): Add tst-initorder2.c.
19336 (tests): Add tst-initorder2.
19337 (modules-names): Add tst-initorder2a tst-initorder2b
19338 tst-initorder2c tst-initorder2d. Add rules to build them.
19339 ($(objpfx)tst-initorder2.out): New rule.
19340 * elf/tst-initorder2.c: New file.
19341 * elf/tst-initorder2.exp: New file.
19343 2011-08-22 Andreas Schwab <schwab@redhat.com>
19345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19347 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19348 dependencies back to end of function.
19350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19351 $(elfobjdir)/ld.so.
19353 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19356 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19358 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19359 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19360 of __vdso_gettimeofday.
19361 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19362 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19364 (_libc_vdso_platform_setup): Remove initialization of
19365 __vdso_gettimeofday and __vdso_time.
19367 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19369 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19370 and fgetc_unlocked.
19371 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19374 * elf/dl-open.c (add_to_global): Report additions to the global scope
19375 for LD_DEBUG=scopes.
19376 (dl_open_worker): Also print scope of newly loaded dependencies.
19377 (_dl_show_scope): Indicate if there is no scope.
19380 * stdio-common/Makefile (tests): Add bug24.
19381 * stdio-common/bug24.c: New file.
19383 2011-08-19 Andreas Jaeger <aj@suse.de>
19386 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19387 non-existant file when using close-on-exec mode.
19389 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19392 the very first instruction.
19394 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19395 the CFI state in the end.
19396 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19397 inclusion of dl-trampoline.h.
19398 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19400 2011-08-19 Andreas Schwab <schwab@redhat.com>
19402 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19403 expectations for long double.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19406 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19408 2011-08-14 David S. Miller <davem@davemloft.net>
19410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19411 artificual limit depends upon the system page size.
19413 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19415 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19416 * resolv/Makefile: Define CFLAGS-libresolv.
19418 2011-08-17 Andreas Schwab <schwab@redhat.com>
19420 * nss/makedb.c (compute_tables): Make variables used in nested
19423 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19425 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19426 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19427 if buffer was too small.
19429 * elf/pldd.c (main): Attach to all threads in the process.
19430 Rewrite /proc handling to use *at functions.
19432 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19434 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19435 specifies first scope to show.
19436 (dl_open_worker): Update callers. Move printing scope of new
19437 object to before the relocation.
19438 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19439 * sysdeps/generic/ldsodefs.h: Update declaration.
19441 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19442 string for the scope number.
19444 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19446 * nscd/servicescache.c (cache_addserv): Make sure written is always
19449 2011-08-14 Roland McGrath <roland@hack.frob.com>
19451 * sysdeps/i386/i486/bits/atomic.h
19452 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19453 statement expression, so as to suppress "set but not used" warning.
19454 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19456 * string/strncat.c (STRNCAT): Use prototype definition.
19458 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19459 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19461 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19462 (localedef-modules): Add localedef.
19463 (locale-modules): Add locale.
19465 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19466 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19467 to avoid a warning.
19469 2011-08-14 David S. Miller <davem@davemloft.net>
19471 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19472 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19474 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19476 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19477 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19478 * elf/rtld.c (dl_main): Set l_name of vDSO.
19479 Call _dl_show_scope when DL_DEBUG_SCOPES.
19480 (process_dl_debug): Recognize scopes flag and also set it for all.
19481 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19482 Declare _dl_show_scope.
19484 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19485 (do_dlopen): Pass caller_dlopen to dl_open.
19486 (__libc_dlopen_mode): Initialize caller_dlopen.
19488 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19489 of libc. Make tolower call locale-independent. Optimize a bit by
19490 using isdigit instead of isalnum.
19491 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19493 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19495 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19496 was a dependency or dynamically loaded.
19498 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19500 * intl/l10nflist.c: Allow architecture-specific pop function.
19501 * sysdeps/x86_64/l10nflist.c: New file.
19503 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19506 2011-08-10 Andreas Schwab <schwab@redhat.com>
19508 * include/dirent.h: Add libc_hidden_proto for scandirat and
19509 scandirat64. Don't declare __scandirat64.
19510 * dirent/scandirat.c: Add libc_hidden_def.
19511 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19512 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19514 2011-08-10 David S. Miller <davem@davemloft.net>
19516 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19522 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19524 * Versions.def [libc]: Add GLIBC_2.15.
19525 * dirent/Makefile (routines): Add scandirat and scandirat64.
19526 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19528 * dirent/dirent.h: Declare scandirat and scandirat64.
19529 * dirent/scandirat.c: New file.
19530 * dirent/scandirat64.c: New file.
19531 * sysdeps/wordsize-64/scandirat.c: New file.
19532 * sysdeps/wordsize-64/scandirat64.c: New file.
19533 * dirent/opendir.c: Define opendirat.
19534 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19536 * dirent/scandir64.c: Adjust for scandir.c change.
19537 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19538 __scandirat64, and __scandir_cancel_handler.
19539 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19540 additional parameter and use openat instead of open (outside of ld.so).
19541 Add new __opendir as wrapper around __opendirat.
19542 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19543 here without requiring old scandirat implementation.
19545 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19547 * dirent/scandir.c (cancel_handler): Renamed to
19548 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19549 defined. Adjust users.
19550 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19551 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19553 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19555 * string/test-string.h (IMPL): Use __STRING to expand name and then
19558 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19561 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19563 * string/Makefile: Update.
19564 (strop-tests): Append strncat.
19565 * string/test-wcscmp.c: New file.
19566 New comprehensive test for wcscmp.
19567 * string/test-strcmp.c: Update.
19568 (WIDE): New define.
19570 2011-07-22 Andreas Schwab <schwab@redhat.com>
19572 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19575 2011-07-26 Andreas Schwab <schwab@redhat.com>
19577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19578 encoding to ACE if AI_IDN.
19580 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19583 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19585 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19588 Fix overflow bug in strncat.
19589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19591 * string/test-strncat.c: Update.
19592 Add new tests for checking overflow bugs.
19594 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19597 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19598 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19599 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19601 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19602 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19603 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19604 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19607 (USE_AS_STRCAT): Define.
19608 Add strcat and strncat support.
19609 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19611 2011-07-25 Andreas Schwab <schwab@redhat.com>
19613 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19614 __n bigger than INT_MAX+1.
19615 (__strncmp_g): Likewise.
19617 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19619 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19620 * libio/stido.h: Likewise.
19622 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19627 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19634 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19639 (_dl_x86_64_save_sse): Likewise.
19641 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19645 (_dl_x86_64_save_sse): Likewise.
19647 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19649 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19651 2011-07-21 Andreas Schwab <schwab@redhat.com>
19653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19655 (_dl_x86_64_save_sse): Use correct AVX check.
19657 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19659 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19660 bug in strncpy/strncat.
19661 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19663 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19665 * string/tester.c (test_strcat): Add tests for different alignments
19666 of source and destination.
19667 (test_strncat): Likewise.
19669 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19672 * posix/glob.c (glob): Check passed in values before using them in
19673 expressions to avoid some overflows.
19674 (glob_in_dir): Likewise.
19677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19678 check for AVX enablement so that we don't crash with old kernels and
19680 * elf/tst-audit4.c: Add same checks here.
19681 * elf/tst-audit6.c: Likewise.
19683 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19685 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19687 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19689 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19691 * po/cs.po: Update from translation team.
19692 * po/bg.po: Likewise.
19694 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19696 * misc/sys/cdefs.h: Add support for const attribute.
19697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19698 to gnu_dev_{major,minor,makedev} functions.
19700 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19702 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19704 2011-07-20 Andreas Schwab <schwab@redhat.com>
19706 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19709 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19712 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19713 register in order to avoid conflicts with the soft frame pointer
19714 being held in r11 when necessary.
19715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19716 (INTERNAL_VSYSCALL_NCS): Likewise.
19718 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19720 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19721 * elf/dl-fini.c (_dl_fini): Adjust caller.
19722 * elf/dl-close.c (_dl_close_worker): Likewise.
19723 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19725 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19727 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19728 "aux_cache->nlibs < 0".
19730 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19731 in the reload-count case.
19733 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19736 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19737 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19738 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19739 * sysdeps/x86_64/multiarch/strcat.S: New file.
19740 * sysdeps/x86_64/multiarch/strncat.S: New file.
19741 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19742 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19743 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19744 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19746 (USE_AS_STRCAT): Define.
19747 Add strcat and strncat support.
19748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19750 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19751 * string/strncat.c: Update.
19752 (USE_AS_STRNCAT): Define.
19753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19754 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19756 * sysdeps/x86_64/multiarch/init-arch.h
19757 (bit_Prefer_PMINUB_for_stringop): New.
19758 (index_Prefer_PMINUB_for_stringop): Likewise.
19759 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19760 bit_Prefer_PMINUB_for_stringop.
19762 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19764 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19766 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19767 of casting of buffer.
19768 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19769 buffer32 and buffer64.
19770 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19771 writes instead of casting of buffer.
19772 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19774 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19777 2011-07-19 Andreas Schwab <schwab@redhat.com>
19779 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19781 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19783 * nscd/nscd.c (termination_handler): Don't do anything for a database
19784 if it has not yet been initialized.
19786 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19788 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19790 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19792 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19794 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19796 * po/nl.po: Update from translation team.
19797 * po/sv.po: Likewise.
19799 2011-07-16 Roland McGrath <roland@hack.frob.com>
19801 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19802 now disallowed by GCC.
19804 * configure.in (use-default-link): Default to yes if a test -shared
19805 link meets our qualifications.
19806 * configure: Regenerated.
19808 * config.make.in (output-format): New variable.
19809 * configure.in: Check for ld --print-output-format support.
19810 * configure: Regenerated.
19811 * Makerules ($(common-objpfx)format.lds)
19812 [$(output-format) != unknown]: Just use $(output-format),
19813 instead of the linker-script munging.
19815 2011-07-14 Roland McGrath <roland@hack.frob.com>
19817 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19818 of $(common-objpfx)shlib.lds.
19819 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19821 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19822 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19824 * configure.in (-z relro check): Adjust test code to add a large
19825 writable data section after it.
19826 * configure: Regenerated.
19828 2011-07-11 Roland McGrath <roland@hack.frob.com>
19830 * configure.in (-z relro check): Fix test code to make the variable
19832 * configure: Regenerated.
19834 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19836 * nscd/nscd.h (struct traced_file): Define.
19837 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19838 elements. Add traced_files.
19839 (inotify_fd): Declare.
19840 (register_traced_file): Declare.
19841 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19842 (inotify_fd): Export.
19843 (resolv_conf_descr): Remove.
19844 (nscd_init): Move inotify descriptor creation to main.
19845 Don't register files for notification here.
19846 (register_traced_file): New function.
19847 (invalidate_cache): Don't use reset_res to determine whether to call
19848 res_init, go through the list of registered files.
19849 (main_loop_poll): The inotify descriptors are now stored in the
19850 structures for the traced files.
19851 (main_loop_epoll): Likewise
19852 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19853 to __nss_disable_nscd.
19854 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19855 for a database anymore. Check the records for all the registered
19857 * nss/Makefile (libnss_files-routines): Add files-init.
19858 (libnss_db-routines): Add db-init.
19859 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19860 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19861 * nss/nss_db/db-init.c: New file.
19862 * nss/nss_files/files-init.c: New file.
19863 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19864 __nss_lookup_function.
19865 (__nss_lookup_function): Call nss_load_library.
19866 (nss_load_all_libraries): New function.
19867 (__nss_disable_nscd): Take parameter with callback function for files
19868 to register. Set is_nscd. Load all the DSOs for the NSS modules
19869 used for the cached services.
19870 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19871 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19872 options for features to all the files in nscd.
19874 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19876 2011-07-10 Roland McGrath <roland@hack.frob.com>
19878 * csu/elf-init.c (__libc_csu_init): Comment typo.
19880 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19882 * po/pl.po: Update from translation team.
19883 * po/ja.po: Likewise.
19884 * po/ru.po: Likewise.
19885 * po/ko.po: Likewise.
19886 * po/fr.po: Likewise.
19888 2011-07-09 Roland McGrath <roland@hack.frob.com>
19890 * configure.in (.ctors/.dtors header and trailer check):
19891 Use an empirical test on a built program.
19892 * configure: Regenerated.
19894 * configure.in (-z relro check): Use an empirical test on a built DSO.
19895 Detect, but do not require, on ia64.
19896 * configure: Regenerated.
19898 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19899 Update tests that use readelf to use $READELF instead.
19900 * configure: Regenerated.
19902 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19904 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19905 if the result is not used.
19907 2011-07-05 Andreas Jaeger <aj@suse.de>
19910 * stdlib/tst-strtod.c: Add testcase.
19912 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19914 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19915 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19916 The latter has a higher limit. Take additional parameter to pass to
19918 (__pathconf): Pass file to __statfs_link_max.
19919 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19921 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19925 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19928 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19929 (__statfs_filesize_max): Likewise.
19930 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19932 2011-07-05 Andreas Jaeger <aj@suse.de>
19934 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19936 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19938 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19940 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19943 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19945 * Makefile (strop-tests): Add strncat.
19946 * string/test-strncat.c: New file.
19948 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19950 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19952 2011-06-21 Andreas Jaeger <aj@suse.de>
19954 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19955 Copy rule from iconvdata/Makefile.
19957 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19960 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19961 but no long options are defined, just return 'W'.
19963 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19966 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19968 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19970 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19972 (innetgr): Likewise.
19974 2011-07-05 Roland McGrath <roland@hack.frob.com>
19976 * config.make.in (install_root): Default to $(DESTDIR).
19978 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19982 2011-07-02 Roland McGrath <roland@hack.frob.com>
19984 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19986 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19987 containing directory rather than embedding absolute directory names.
19989 * scripts/check-local-headers.sh: Rewritten using awk.
19990 Match by word, not by line. Print error messages for matches.
19991 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19993 * Makerules [shlib-lds-flags empty]:
19994 ($(common-objpfx)libc_pic.opts): New target.
19995 ($(common-objpfx)libc_pic.os.clean): New target.
19996 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19998 * config.make.in (OBJCOPY): New variable.
19999 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20000 * configure: Regenerated.
20002 * config.make.in (use-default-link): New variable.
20003 * configure.in (use_default_link): Grok --with-default-link to set it.
20004 * configure: Regenerated.
20005 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20006 (shlib-lds, shlib-lds-flags): Define to empty.
20008 * Makerules (shlib-lds): New variable.
20009 (shlib-lds-flags): New variable.
20010 (build-shlib, build-moduile, build-module-asneeded): Use it.
20011 ($(common-objpfx)libc.so): Use $(shlib-lds).
20012 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20013 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20015 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20016 DT_FLAGS/DT_FLAGS_1 with zero flags.
20018 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20019 linker script munging.
20021 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20023 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20025 * crypt/sha512.c (sha512_process_block): Perform total addition using
20026 128-bit if possible.
20027 (__sha512_finish_ctx): Likewise.
20028 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20030 * crypt/sha256.c (SWAP64): Define.
20031 (sha256_process_block): Perform total addition using 64-bit if
20033 (__sha256_finish_ctx): Likewise.
20035 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20037 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20039 * nscd/hstcache.c (cache_addhst): Likewise.
20040 * nscd/grpcache.c (cache_addgr): Likewise.
20041 * nscd/aicache.c (addhstaiX): Likewise
20042 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20044 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20046 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20048 * nscd/hstcache.c (cache_addhst): Likewise.
20049 * nscd/grpcache.c (cache_addgr): Likewise.
20050 * nscd/aicache.c (addhstaiX): Likewise
20052 2011-07-01 Andreas Schwab <schwab@redhat.com>
20054 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20055 domain only when needed.
20057 2011-06-30 Andreas Schwab <schwab@redhat.com>
20059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20060 is always restored.
20062 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20064 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20065 are re-adding the entry.
20066 * nscd/servicescache.c (cache_addserv): Likewise.
20068 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20070 * sysdeps/generic/dl-irel.h: fix protection against multiple
20072 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20074 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20077 * malloc/memusage.sh: Fix quoting in message.
20078 * debug/xtrace.sh: Likewise.
20080 * configure.in: Remove support for --experimental-malloc option, make
20082 * config.make.in: Likewise.
20083 * malloc/Makefile: Likewise.
20085 2011-06-27 Andreas Schwab <schwab@redhat.com>
20087 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20088 two-byte characters.
20090 2011-06-27 Roland McGrath <roland@hack.frob.com>
20092 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20093 AC_CACHE_CHECK invocation.
20094 * configure: Regenerated.
20096 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20098 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20101 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20102 bit from old_res_options.
20104 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20106 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20107 value type for setfct.
20109 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20112 __gettimeofday instead of gettimeofday.
20114 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20116 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20118 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20125 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20128 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20129 strcpy-sse2-unaligned strncpy-sse2-unaligned
20130 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20131 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20132 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20133 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20134 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20137 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20138 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20139 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20140 (STRCPY): Support SSE2 and SSSE3 versions.
20142 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20145 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20146 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20147 kernels which artificially limit size of requests.
20149 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20152 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20153 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20154 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20155 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20156 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20157 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20158 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20161 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20162 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20163 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20164 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20165 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20167 Enable unaligned load optimization for Intel Core i3, i5 and i7
20169 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20171 (index_Fast_Unaligned_Load): Define.
20172 (HAS_FAST_UNALIGNED_LOAD): Define.
20174 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20176 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20178 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20182 until it is clear that the information is realy needed.
20183 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20185 2011-06-22 Andreas Schwab <schwab@redhat.com>
20187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20189 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20192 /sys/devices/system/cpu/online if it is usable.
20194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20195 reading the information from the /proc filesystem to once a second.
20197 2011-06-21 Andreas Jaeger <aj@suse.de>
20199 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20200 NULL after inclusion of kernel headers.
20202 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20204 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20205 calls to internal_setent.
20208 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20209 addresses using gethostbyname4_r ignore IPv4 addresses.
20211 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20212 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20214 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20216 2011-06-20 David S. Miller <davem@davemloft.net>
20218 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20220 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20222 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20223 (elf_irel): Use it.
20224 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20225 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20226 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20227 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20228 * sysdeps/x86_64/dl-irel.h: Likewise.
20230 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20231 * elf/dl-sym.c: Likewise.
20233 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20235 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20236 need to dereference resplen2.
20238 2011-06-14 Andreas Schwab <schwab@redhat.com>
20240 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20242 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20244 * Makeconfig: Define vardbdir and inst_vardbdir.
20245 * nss/Makefile: Add rules to install db-Makefile.
20247 * nss/nss_db/db-XXX.c: Cleanup.
20249 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20250 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20252 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20253 * nss/makedb.c: Implement -g option to specify that value strings
20254 are generated and should not be added to table iterated over for
20256 * nss/nss_db/db-initgroups.c: New file.
20258 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20261 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20262 (internal_getgrouplist): Adjust to name change.
20263 Update use_initgroups_entry if this is not the first call.
20264 * nss/databases.def: Add initgroups entry.
20266 * nss/makedb.c (compute_tables): Check result of multiple hash table
20267 sizes to minimize maximum chain length.
20269 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20271 * Versions.def: Add entry for libnss_db.
20272 * shlib-versions: Likewise.
20273 * nss/Makefile: Add rules to build libnss_db.
20274 * nss/Versions: Add libnss_db information. Organize libnss_files
20276 * nss/db-Makefile: Add gshadow support. Change rules for the new
20277 makedb progra. Some minor improvements to generate smaller files.
20278 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20280 * nss/makedb.c: ...here.
20281 Improve database format to be smaller and require less memory at
20283 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20285 * nss/nss_db/db-netgrp.c: Likewise.
20286 * nss/nss_db/db-open.c: Likewise.
20287 * nss/nss_files/flies-XXX.x: Adjust comments.
20288 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20289 * nss/nss_files/files-grp.c: Likewise.
20290 * nss/nss_files/files-hosts.c: Likewise.
20291 * nss/nss_files/files-network.c: Likewise.
20292 * nss/nss_files/files-proto.c: Likewise.
20293 * nss/nss_files/files-pwd.c: Likewise.
20294 * nss/nss_files/files-rpc.c: Likewise.
20295 * nss/nss_files/files-service.c: Likewise.
20296 * nss/nss_files/files-sgrp.c: Likewise.
20297 * nss/nss_files/files-spwd.c: Likewise.
20298 * nss/nss_db/db-alias.c: Removed.
20299 * nss/nss_db/dummy-db.h: Removed.
20301 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20303 * nss/makedb.c: Rewritten to not use database library.
20304 * nss/Makefile: Update to build new makedb program.
20306 2011-06-14 Andreas Jaeger <aj@suse.de>
20308 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20309 memset declaration.
20311 2011-06-10 Andreas Schwab <schwab@redhat.com>
20313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20316 2011-06-10 Roland McGrath <roland@hack.frob.com>
20318 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20319 * elf/Makefile ($(objpfx)ld.so): Likewise.
20321 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20322 Don't list ld.so twice in dependencies.
20324 * posix/bug-regex31.c: Include <stdlib.h>.
20326 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20328 * nis/nss_compat/compat-spwd.c
20329 (getspent_next_nss_netgr): Remove unused variable.
20330 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20332 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20333 nonmembers" output to use the right array.
20335 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20337 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20339 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20340 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20341 * catgets/gencat.c (read_input_file): Likewise.
20342 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20344 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20345 variable definition inside #if's controlling its use.
20347 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20349 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20351 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20353 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20356 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20358 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20359 * configure: Regenerated.
20361 * Makerules: Revert last change.
20362 * elf/Makefile: Likewise.
20364 2011-06-09 Roland McGrath <roland@hack.frob.com>
20366 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20367 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20368 (reloc-link): Likewise.
20370 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20372 * elf/Makefile: Add rules to build pldd.
20373 * elf/pldd.c: New file.
20374 * elf/pldd-xx.c: New file.
20376 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20378 * version.h: Update for 2.15 development version.
20380 2011-06-07 David S. Miller <davem@davemloft.net>
20382 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20385 elf_machine_lazy_rel): Likewise.
20386 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20388 elf_machine_lazy_rel): Likewise.
20389 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20390 dl_hwcap via passed in argument.
20391 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20394 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20396 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20398 2011-06-06 Roland McGrath <roland@hack.frob.com>
20401 * manual/fdl-1.1.texi: New file, verbatim from:
20402 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20403 * manual/lgpl-2.1.texi: New file, verbatim from:
20404 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20405 * manual/Makefile (licenses): New variable, list those new file names.
20407 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20409 * manual/fdl.texi: File removed.
20410 * manual/lesser.texi: File removed.
20411 * manual/libc.texinfo (Copying, Documentation License):
20412 Use new @include file names, put @appendix directive before @include.
20414 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20417 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20418 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20419 (mq_open): Add __NTH.
20421 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20424 Assume Intel Core i3/i5/i7 processor if AVX is available.
20426 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20431 2011-05-31 Andreas Schwab <schwab@redhat.com>
20433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20434 memory. Use alloca_account. Fix memory leak when retrying.
20436 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20438 * version.h (RELEASE): Bump for 2.14 release.
20439 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20441 * config.make.in (RANLIB): Remove entry.
20443 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20445 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20446 (libc.pot): Work around missing support for .ksh extension in xgettext.
20449 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20450 if both request failed.
20451 (send_dg): In case of server errors clear resplen or *resplen2.
20454 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20455 when there are multiple maps.
20456 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20457 (_dl_fini): Remove test here.
20459 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20461 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20464 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20465 bit from old_res_options.
20466 (gaih_inet): Likewise.
20469 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20472 * resolv/res_init.c (res_setoptions): Make the code more compact.
20475 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20479 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20481 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20484 * malloc/malloc.h: Declare malloc hook variables as volatile.
20486 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20490 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20491 raise in the comment.
20492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20493 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20494 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20496 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20499 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20500 grow the buffers more if it already has to be sufficient.
20501 (build_wcs_upper_buffer): Likewise.
20502 * posix/regexec.c (check_matching): Likewise.
20503 (clean_state_log_if_needed): Likewise.
20504 (extend_buffers): Don't enlarge buffers beyond size of the input
20506 Patches mostly by Emil Wojak <emil@wojak.eu>.
20507 * posix/bug-regex32.c: New file.
20508 * posix/Makefile (tests): Add bug-regex32.
20510 * locale/findlocale.c (_nl_find_locale): Return right away if
20511 _nl_explode_name failed.
20512 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20514 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20516 * debug/xtrace.sh: Unify messages.
20517 * malloc/memusage.sh: Likewise.
20520 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20521 time symbol from vDSO. Substitute with vsyscall if not available.
20522 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20525 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20526 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20527 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20528 Add sendmmsg and internal_sendmmsg.
20529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20530 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20533 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20534 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20537 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20541 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20547 * iconvdata/Makefile (tests): Add bug-iconv9.
20548 * iconvdata/bug-iconv9.c: New file.
20550 2011-05-27 Andreas Schwab <schwab@redhat.com>
20553 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20555 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20558 (struct user_regs_struct): Change intcs field back to cs.
20560 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20562 * po/ja.po: Update from translation team.
20564 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20567 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20570 2011-05-20 Andreas Schwab <schwab@redhat.com>
20572 * stdlib/longlong.h: Update from GCC.
20574 2011-05-23 Andreas Schwab <schwab@redhat.com>
20576 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20578 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20579 Add parameter name.
20580 (__sysconf): Pass it down.
20582 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20585 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20587 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20588 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20589 add in in __libc_use_alloca calls. Adjust callers.
20590 (glob): Use malloc in some situations.
20592 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20593 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20596 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20598 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20599 and CLOCK_BOOTTIME_ALARM.
20602 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20605 * string/_strerror.c (__strerror_r): Print negative errors as signed
20609 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20610 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20611 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20613 * configure.in: Fix typo in redirection and correct removal of test
20614 files in two cases.
20617 * locale/setlocale.c (new_composite_name): Fix test to check for
20618 identical name of all categories.
20621 * libio/filedoalloc.c (local_isatty): New function.
20622 (_IO_file_doallocate): Use local_isatty.
20623 * stdio-common/perror.c (perror): In case a new stream is used
20624 forward the stream error.
20625 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20628 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20633 * include/alloca.h (extend_alloca_account): Define.
20636 * posix/regex.h: Fix comments with documentation of user-accessible
20637 fields after compilation and describe correct free'ing of pattern
20638 after re_compile_pattern.
20639 Patch by Reuben Thomas <rrt@sc3d.org>.
20641 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20643 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20644 and -mno-altivec to prevent the compiler from using Altivec and/or
20645 VSX instructions when the corresponding registers are not available.
20647 2011-05-19 Andreas Schwab <schwab@redhat.com>
20649 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20651 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20653 * libio/freopen.c (freopen): Use __dup2, not dup2.
20654 * libio/freopen64.c (freopen64): Likewise.
20656 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20659 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20660 * math/Makefile (tests): Add test-powl.
20661 (CFLAGS-test-powl.c): Define.
20662 * math/test-powl.c: New file.
20664 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20666 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20668 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20671 * iconvdata/gb18030.c: Update to GB18020-2005.
20673 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20675 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20676 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20677 Patch by Aharon Robbins <arnold@skeeve.com>.
20680 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20684 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20685 through underflows.
20688 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20689 point to strings before performing equality test for error_one_per_line
20693 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20697 (struct user_fpregs_struct): Avoid __uint*_t types.
20700 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20701 symbol info. Use it instead of calling _dl_addr locally.
20702 (lock_and_info): New function.
20703 (tr_freehook): Call lock_and_info and pass symbol info as additional
20704 parameter to tr_where.
20705 (tr_mallochook): Likewise.
20706 (tr_reallochook): Likewise.
20707 (tr_memalignhook): Likewise.
20709 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20710 used and couldn't be at all thread-safe.
20712 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20714 * libio/freopen.c (freopen): Don't close old file descriptor
20715 before the new one is opened. Instead dup the new file descriptor
20716 to the old one after the new stream is created.
20717 * libio/freopen64.c (freopen64): Likewise.
20718 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20719 * libio/fileops.c (_IO_new_file_close_it): Handle new
20720 _IO_FLAGS2_NOCLOSE flag.
20721 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20722 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20723 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20724 _IO_FLAGS2_NOCLOSE flag.
20725 * include/unistd.h: Add hidden_proto for dup3.
20726 Define __have_dup3.
20727 * io/dup3.c: Define hidden symbol.
20728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20731 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20732 when an incomplete long option is used.
20733 * posix/tst-getopt_long1.c: New file.
20734 * posix/Makefile (tests): Add tst-getopt_long1.
20737 * scripts/config.guess: Update from autoconf-2.68.
20738 * scripts/config.sub: Likewise.
20741 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20743 (has_cpuclock): ...this. New function.
20744 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20745 macro here based on has_cpuclock code.
20748 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20749 First byte (not low byte) is now always NUL.
20750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20753 Use non-cancelable interfaces.
20756 * locale/iso-639.def: Add entry for Sorani.
20759 * include/stdlib.h: Move include protection to the right place.
20760 Define abort_msg_s. Declare __abort_msg with it.
20761 * stdlib/abort.c (__abort_msg): Adjust type.
20762 * assert/assert.c (__assert_fail_base): New function. Majority
20763 of code from __assert_fail. Allocate memory for __abort_msg with
20765 (__assert_fail): Now call __assert_fail_base.
20766 * assert/assert-perr.c: Remove bulk of implementation. Use
20767 __assert_fail_base.
20768 * include/assert.hL Declare __assert_fail_base.
20769 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20771 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20773 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20777 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20778 until all modules are registered in the DTV.
20779 * elf/Makefile: Add rules to build and run tst-tls19.
20780 * elf/tst-tls19.c: New file.
20781 * elf/tst-tls19mod1.c: New file.
20782 * elf/tst-tls19mod2.c: New file.
20783 * elf/tst-tls19mod3.c: New file.
20784 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20787 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20791 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20792 two-byte sequence errors.
20793 * iconvdata/Makefile (tests): Add bug-iconv8.
20794 * iconvdata/bug-iconv8.c: New file.
20797 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20800 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20803 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20804 (dummy_getcfa): New function.
20805 (init): Get _Unwind_GetCFA address, use dummy if not found.
20806 (backtrace_helper): In recursion check, also check whether CFA changes.
20807 (__backtrace): Completely initialize arg.
20809 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20810 storing incomplete byte sequence in state object. Avoid testing for
20811 guaranteed too small input if we know there is enough data available.
20813 2011-05-11 Andreas Schwab <schwab@redhat.com>
20815 * Makeconfig (+link-pie): Indent.
20816 * Rules (binaries-pie): Define if $(have-fpie) and
20818 (binaries-shared): Also filter out $(binaries-pie).
20819 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20820 * nscd/Makefile (others-pie): Add nscd.
20821 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20822 ($(objpfx)nscd): Remove command override.
20823 * login/Makefile (others-pie): Add pt_chown.
20824 ($(objpfx)pt_chown): Remove command override.
20825 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20826 remove command overrides.
20828 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20830 * libio/tst_putwc.c: Fix error messages.
20833 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20834 currently writing and seek to current position when not.
20835 * libio/Makefile (tests): Add bug-fclose1.
20836 * libio/bug-fclose1.c: New file.
20838 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20841 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20842 don't set DF_1_NODELETE here.
20843 (do_lookup_x): When entering new entry test for copy relocation
20844 and if necessary set DF_1_NODELETE flag.
20845 * elf/tst-unique4.cc: New file.
20846 * elf/tst-unique4.h: New file.
20847 * elf/tst-unique4lib.cc: New file.
20848 * elf/Makefile: Add rules to build and run tst-unique4.
20849 Patch by Piotr Bury <pbury@goahead.com>.
20851 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20854 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20857 * misc/mntent_r.c (addmntent): Flush the stream after the output
20860 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20861 (is_trusted_path_normalize): Skip initial colon. Append slash
20862 to empty buffer. Duplicate is_trusted_path code but allow
20863 constructed patch to be prefix.
20864 (is_dst): Allow $ORIGIN followed by /.
20865 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20866 Correct testing of result of is_trusted_path_normalize
20867 (decompose_rpath): Fix warning.
20869 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20872 * grp/initgroups.c (internal_getgrouplist): When we found the service
20873 list through the initgroups entry in nsswitch.conf do not always
20874 continue on a successful lookup. Don't always use the
20875 __nss_group_database value if it is set.
20876 * nss/nsswitch.conf (initgroups): Change action for successful db
20877 lookup to continue for compatibility.
20879 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20882 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20884 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20886 * iconvdata/tst-tables.sh: Likewise.
20887 * iconvdata/cp770.c: New file.
20888 * iconvdata/cp771.c: New file.
20889 * iconvdata/cp772.c: New file.
20890 * iconvdata/cp773.c: New file.
20891 * iconvdata/cp774.c: New file.
20892 * iconvdata/testdata/CP770: New file.
20893 * iconvdata/testdata/CP770..UTF8: New file.
20894 * iconvdata/testdata/CP771: New file.
20895 * iconvdata/testdata/CP771..UTF8: New file.
20896 * iconvdata/testdata/CP772: New file.
20897 * iconvdata/testdata/CP772..UTF8: New file.
20898 * iconvdata/testdata/CP773: New file.
20899 * iconvdata/testdata/CP773..UTF8: New file.
20900 * iconvdata/testdata/CP774: New file.
20901 * iconvdata/testdata/CP774..UTF8: New file.
20903 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20905 * iconvdata/gen-8bit-gap.sh: Likewise.
20906 * iconvdata/gen-8bit.sh: Likewise.
20908 * locale/iso-639.def: Add ary entry.
20911 * locale/C-translit.h.in: Add U20A1 transliteration.
20914 * locale/iso-639.def: Add wae entry.
20915 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20918 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20922 * locale/C-translit.h.in: Add entry for U20B9.
20923 Patch by pravin.d.s@gmail.com.
20925 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20928 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20929 ENAMETOOLONG use generic getcwd.
20930 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20931 in rtld. Use *stat64.
20932 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20933 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20934 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20935 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20936 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20937 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20938 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20939 __fstatat64 macros.
20940 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20941 * dirent/rewinddir.c: Add libc_hidden_def.
20942 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20943 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20945 * include/dirent.h (__alloc_dir): Add flags parameter.
20946 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20947 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20949 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20950 from fdopendir if O_CLOEXEC is already set.
20952 2011-03-15 Alan Modra <amodra@gmail.com>
20954 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20955 l_tls_firstbyte_offset non-zero. Save padding offset in
20956 l_tls_firstbyte_offset for later use.
20957 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20958 freeing static tls block.
20960 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20962 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20963 where #ifdef was intended. The intent is to prevent ARG_MAX from
20964 being defined by the kernel headers.
20966 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20969 * resolv/resolv.h: Define RES_NOTLDQUERY.
20970 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20971 no-tld-query and set RES_NOTLDQUERY.
20972 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20973 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20974 modern BIND to search name as TLD unless forbidden.
20976 2011-05-07 Petr Baudis <pasky@suse.cz>
20977 Ulrich Drepper <drepper@gmail.com>
20980 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20981 (is_trusted_path): ...to here.
20982 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20983 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20984 using is_trusted_path_normalize() in setuid scripts.
20986 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20988 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20989 __BEGIN/__END_DECLS.
20991 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20994 NSS_STATUS_NOTFOUND if no record was found.
20996 2011-05-05 Andreas Schwab <schwab@redhat.com>
20998 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20999 (headers-not-in-tirpc): Remove rpc/netdb.h
21000 * resolv/netdb.h: Revert last change.
21002 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21004 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21005 circular dependency between libgcc.a and libc.a.
21007 2011-05-05 Andreas Schwab <schwab@redhat.com>
21009 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21010 * nis/Makefile: Don't install rpcsvc/*.
21011 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21012 instead of <rpc/types.h>.
21013 (MAXHOSTNAMELEN): Define.
21015 2011-05-03 Andreas Schwab <schwab@redhat.com>
21017 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21019 2011-04-28 Maciej Babinski <mbabinski@google.com>
21022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21023 gethostbyname4_r when IPv6 results are possible.
21025 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21028 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21029 _PC_PIPE_BUF handling.
21031 2011-04-30 Bruno Haible <bruno@clisp.org>
21034 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21035 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21037 * inet/getnameinfo.c (getnameinfo): Likewise.
21039 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21041 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21042 to groups setting in database lookup.
21043 * nss/nsswitch.conf: Add initgroups entry.
21045 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21048 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21050 Patch by Eric Blake <eblake@redhat.com>.
21052 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21054 * sunrpc/Makefile (need-export-routines): Add svc_run.
21055 (routines): Remove svc_run.
21056 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21057 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21058 * sunrpc/svc_run.c (svc_run): Likewise.
21059 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21061 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21063 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21064 problem in reallocation in last patch.
21066 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21068 * sunrpc/Makefile: Move inclusion of Rules.
21070 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21072 * nss/nss_files/files-initgroups.c: New file.
21073 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21074 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21075 _nss_files_initgroups_dyn.
21077 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21079 * elf/elf.h (R_ARM_IRELATIVE): Define.
21081 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21083 * po/ru.po: Update from translation team.
21085 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21087 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21090 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21093 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21094 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21095 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21096 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21099 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21101 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21103 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21107 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21110 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21112 * stdlib/bug-getcontext.c: New file.
21113 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21115 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21117 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21118 instructions into .machine "z9-109".
21119 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21120 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21122 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21124 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21125 between environment variables and auxiliary vector.
21127 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21129 * Makefile: Add rules to build linkobj/libc.so.
21130 * include/libc-symbols.h: Define libc_hidden_nolink.
21131 * include/rpc/auth.h: Mark functions which are to be hidden.
21132 * include/rpc/auth_des.h: Likewise.
21133 * include/rpc/auth_unix.h: Likewise.
21134 * include/rpc/clnt.h: Likewise.
21135 * include/rpc/des_crypt.h: Likewise.
21136 * include/rpc/key_prot.h: Likewise.
21137 * include/rpc/pmap_clnt.h: Likewise.
21138 * include/rpc/pmap_prot.h: Likewise.
21139 * include/rpc/pmap_rmt.h: Likewise.
21140 * include/rpc/rpc_msg.h: Likewise.
21141 * include/rpc/svc.h: Likewise.
21142 * include/rpc/svc_auth.h: Likewise.
21143 * include/rpc/xdr.h: Likewise.
21144 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21145 * nss/Makefile: Likewise.
21146 * sunrpc/Makefile: Don't install headers. Build library with normal
21147 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21148 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21149 for the compat linking library. Remove use of INTDEF/INTUSE.
21150 * sunrpc/auth_none.c: Likewise.
21151 * sunrpc/auth_unix.c: Likewise.
21152 * sunrpc/authdes_prot.c: Likewise.
21153 * sunrpc/authuxprot.c: Likewise.
21154 * sunrpc/clnt_gen.c: Likewise.
21155 * sunrpc/clnt_perr.c: Likewise.
21156 * sunrpc/clnt_raw.c: Likewise.
21157 * sunrpc/clnt_simp.c: Likewise.
21158 * sunrpc/clnt_tcp.c: Likewise.
21159 * sunrpc/clnt_udp.c: Likewise.
21160 * sunrpc/clnt_unix.c: Likewise.
21161 * sunrpc/des_crypt.c: Likewise.
21162 * sunrpc/des_soft.c: Likewise.
21163 * sunrpc/get_myaddr.c: Likewise.
21164 * sunrpc/key_call.c: Likewise.
21165 * sunrpc/key_prot.c: Likewise.
21166 * sunrpc/netname.c: Likewise.
21167 * sunrpc/pm_getmaps.c: Likewise.
21168 * sunrpc/pm_getport.c: Likewise.
21169 * sunrpc/pmap_clnt.c: Likewise.
21170 * sunrpc/pmap_prot.c: Likewise.
21171 * sunrpc/pmap_prot2.c: Likewise.
21172 * sunrpc/pmap_rmt.c: Likewise.
21173 * sunrpc/publickey.c: Likewise.
21174 * sunrpc/rpc_cmsg.c: Likewise.
21175 * sunrpc/rpc_common.c: Likewise.
21176 * sunrpc/rpc_dtable.c: Likewise.
21177 * sunrpc/rpc_prot.c: Likewise.
21178 * sunrpc/rpc_thread.c: Likewise.
21179 * sunrpc/rtime.c: Likewise.
21180 * sunrpc/svc.c: Likewise.
21181 * sunrpc/svc_auth.c: Likewise.
21182 * sunrpc/svc_authux.c: Likewise.
21183 * sunrpc/svc_raw.c: Likewise.
21184 * sunrpc/svc_run.c: Likewise.
21185 * sunrpc/svc_simple.c: Likewise.
21186 * sunrpc/svc_tcp.c: Likewise.
21187 * sunrpc/svc_udp.c: Likewise.
21188 * sunrpc/svc_unix.c: Likewise.
21189 * sunrpc/svcauth_des.c: Likewise.
21190 * sunrpc/xcrypt.c: Likewise.
21191 * sunrpc/xdr.c: Likewise.
21192 * sunrpc/xdr_array.c: Likewise.
21193 * sunrpc/xdr_float.c: Likewise.
21194 * sunrpc/xdr_intXX_t.c: Likewise.
21195 * sunrpc/xdr_mem.c: Likewise.
21196 * sunrpc/xdr_rec.c: Likewise.
21197 * sunrpc/xdr_ref.c: Likewise.
21198 * sunrpc/xdr_sizeof.c: Likewise.
21199 * sunrpc/xdr_stdio.c: Likewise.
21201 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21204 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21205 * sysdeps/ia64/dl-tls.h: Likewise.
21206 * sysdeps/powerpc/dl-tls.h: Likewise.
21207 * sysdeps/s390/dl-tls.h: Likewise.
21208 * sysdeps/sh/dl-tls.h: Likewise.
21209 * sysdeps/sparc/dl-tls.h: Likewise.
21210 * sysdeps/x86_64/dl-tls.h: Likewise.
21211 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21213 2011-03-14 Andreas Schwab <schwab@redhat.com>
21215 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21216 rpath element also skip the following colon.
21217 (expand_dynamic_string_token): Add is_path parameter and pass
21218 down to DL_DST_REQUIRED and _dl_dst_substitute.
21219 (decompose_rpath): Call expand_dynamic_string_token with
21220 non-zero is_path. Ignore empty rpaths.
21221 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21224 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21229 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21232 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21233 Patch by Filipe David Manana <fdmanana@apache.org>.
21235 2011-04-07 Andreas Schwab <schwab@redhat.com>
21237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21238 Maintain aligned stack.
21239 (CHECK_RSP): Remove unused macro.
21241 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21243 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21246 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21248 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21250 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21252 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21255 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21256 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21257 * sysdeps/x86_64/memmove.c: New file.
21258 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21259 (memcpy): Renamed to ...
21260 (__new_memcpy): This.
21261 (memcpy): Provide GLIBC_2_14 memcpy.
21262 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21263 (memcpy): Provide GLIBC_2_2_5 memcpy.
21265 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21268 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21270 2011-03-30 Andreas Schwab <schwab@redhat.com>
21272 * misc/syncfs.c: New file.
21273 * misc/Makefile (routines): Add syncfs.
21274 * posix/unistd.h: Declare syncfs.
21275 * sysdeps/unix/syscalls.list: Add syncfs.
21277 2011-04-01 Andreas Schwab <schwab@redhat.com>
21279 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21282 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21286 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21289 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21293 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21299 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21300 sync_file_range.c with -fexceptions.
21301 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21302 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21303 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21304 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21305 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21306 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21308 sync_file_range as cancellation point
21309 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21310 now a wrapper around __call_sync_file_range with cancellation handling.
21311 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21312 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21313 function name to __call_sync_file_range.
21314 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21315 Add call_sync_file_range.
21317 2011-04-01 Andreas Schwab <schwab@redhat.com>
21319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21322 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21324 * iconv/iconv.h: Fix typo in comment.
21325 * io/fcntl.h: Likewise.
21326 * libio/stdio.h: Likewise.
21327 * posix/spawn.h: Likewise.
21328 * posix/unistd.h: Likewise.
21329 * stdlib/stdlib.h: Likewise.
21330 * time/time.h: Likewise.
21331 * wcsmbs/wchar.h: Likewise.
21333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21334 open_by_handle): Add.
21335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21336 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21337 Augment a few comments.
21338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21343 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21346 * io/fcntl.h (AT_EMPTY_PATH): Define.
21348 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21350 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21351 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21352 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21354 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21355 * Versions.def: Add GLIBC_2.14.
21356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21359 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21363 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21365 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21368 * string/test-strncmp.c (do_page_test): New function.
21369 (check2): Likewise.
21370 (test_main): Call check2.
21371 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21373 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21377 Handle cache information in CPU leaf 4.
21378 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21380 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21383 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21384 character representation.
21385 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21387 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21389 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21390 END(__isnan) to END(__isnanf) to match function entry point/label
21391 EALIGN(__isnanf,...).
21393 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21395 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21397 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21400 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21401 copy from the symbol referenced in the relocation to initialize the
21403 Patch by Piotr Bury <pbury@goahead.com>.
21404 * elf/Makefile: Add rules to build and tst-unique3.
21405 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21406 * elf/tst-unique3.cc: New file.
21407 * elf/tst-unique3.h: New file.
21408 * elf/tst-unique3lib.cc: New file.
21409 * elf/tst-unique3lib2.cc: New file.
21411 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21413 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21415 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21416 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21419 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21421 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21422 to-be-loaded object along a path to loader is ld.so.
21424 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21425 Ulrich Drepper <drepper@gmail.com>
21427 * sysdeps/x86_64/memset.S: After aligning destination, code
21428 branches to different locations depending on the value of
21429 misalignment, when multiarch is enabled. Fix this.
21431 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21433 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21434 Set _x86_64_preferred_memory_instruction for AMD processsors.
21435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21436 Set bit_Prefer_SSE_for_memop for AMD processors.
21438 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21440 * libio/fmemopen.c (fmemopen): Optimize a bit.
21442 2011-03-03 Andreas Schwab <schwab@redhat.com>
21444 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21446 2011-03-03 Roland McGrath <roland@redhat.com>
21448 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21450 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21452 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21453 __bzero_ultra1 instead of __memset_ultra1.
21455 2011-02-23 Andreas Schwab <schwab@redhat.com>
21456 Ulrich Drepper <drepper@gmail.com>
21459 * include/link.h (struct link_map): Add l_orig_initfini.
21460 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21461 returning unsuccessfully.
21462 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21463 close of a file loaded at startup, restore the original l_initfini
21465 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21466 list, store the pointer.
21467 * elf/Makefile ($(objpfx)noload-mem): New rule.
21468 (noload-ENV): Define.
21469 (tests): Add $(objpfx)noload-mem.
21470 * elf/noload.c: Include <memcheck.h>.
21471 (main): Call mtrace. Close all opened handles.
21473 2011-02-17 Andreas Schwab <schwab@redhat.com>
21476 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21477 dependencies are missing.
21479 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21481 Fix __if_freereq crash: Unlike the generic version which uses free,
21483 * sysdeps/mach/hurd/ifreq.h: New file.
21485 2011-01-27 Petr Baudis <pasky@suse.cz>
21486 Ulrich Drepper <drepper@gmail.com>
21489 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21490 to extend_alloca().
21491 * stdio-common/bug23.c: New file.
21492 * stdio-common/Makefile (tests): Add bug23.
21494 2010-09-28 Andreas Schwab <schwab@redhat.com>
21495 Ulrich Drepper <drepper@gmail.com>
21498 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21499 before performing relro protection. At old place add assertion
21500 to make sure nothing changed.
21502 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21503 Glauber de Oliveira Costa <glommer@gmail.com>
21505 * elf/elf.h: Add new ARM TLS relocs.
21507 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21510 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21512 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21514 * sysdeps/wordsize-64/tst-writev.c: New file.
21516 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21518 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21519 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21520 insns in _dl_start to prevent a TOC reference before relocs are
21523 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21526 * Makeconfig: Remove RANLIB definition.
21527 * Makerules: Don't use RANLIB.
21528 * aclocal.m4: Remove ranlib test.
21529 * configure.in: No need to check for ranlib.
21530 * elf/rtld-Rules: Don't use RANLIB.
21532 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21534 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21536 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21537 inclusion protection macro.
21539 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21540 SIGRTMIN and SIGRTMAX and print information in that case only when
21541 SIGRTMIN is defined.
21543 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21545 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21546 arginfo fn returning -1.
21548 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21549 and thousands string is zero terminated.
21551 2011-02-03 Andreas Schwab <schwab@redhat.com>
21553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21554 sysdeps/unix/sysv/linux/bits/socket.h.
21556 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21558 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21559 (__CPU_COUNT): Remove old macros.
21560 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21561 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21562 (__CPU_ALLOC, __CPU_FREE): Add macros.
21563 (__sched_cpualloc, __sched_cpufree): Add declarations.
21565 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21567 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21568 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21569 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21570 (readdhstai): Return value of addhstaiX call.
21571 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21572 (addgrbyX): Return value returned by cache_addgr.
21573 (readdgrbyname): Return value returned by addgrbyX.
21574 (readdgrbygid): Likewise.
21575 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21576 (addpwbyX): Return value returned by cache_addpw.
21577 (readdpwbyname): Return value returned by addhstbyX.
21578 (readdpwbyuid): Likewise.
21579 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21580 (addservbyX): Return value returned by cache_addserv.
21581 (readdservbyname): Return value returned by addservbyX:
21582 (readdservbyport): Likewise.
21583 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21584 (addhstbyX): Return value returned by cache_addhst.
21585 (readdhstbyname): Return value returned by addhstbyX.
21586 (readdhstbyaddr): Likewise.
21587 (readdhstbynamev6): Likewise.
21588 (readdhstbyaddrv6): Likewise.
21589 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21590 (readdinitgroups): Return value returned by addinitgroupsX.
21591 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21592 (prune_cache): Keep track of timeout value of re-added entries.
21593 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21594 * nscd/nscd.h: Adjust prototypes of readd* functions.
21596 2011-02-04 Roland McGrath <roland@redhat.com>
21598 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21599 (nis_stats): Likewise.
21600 * nis/nis_modify.c (nis_modify): Likewise.
21601 * nis/nis_remove.c (nis_remove): Likewise.
21602 * nis/nis_add.c (nis_add): Likewise.
21604 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21606 * posix/fnmatch_loop.c: Add some consts.
21608 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21610 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21613 * config.make.in (config-cflags-novzeroupper): Define.
21614 * configure.in: Substitute libc_cv_cc_novzeroupper.
21615 * elf/Makefile (AVX-CFLAGS): Define.
21616 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21617 (CFLAGS-tst-auditmod4a.c): Likewise.
21618 (CFLAGS-tst-auditmod4b.c): Likewise.
21619 (CFLAGS-tst-auditmod6b.c): Likewise.
21620 (CFLAGS-tst-auditmod6c.c): Likewise.
21621 (CFLAGS-tst-auditmod7b.c): Likewise.
21622 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21624 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21626 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21627 function to the callback.
21628 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21630 2011-02-02 Andreas Schwab <schwab@redhat.com>
21632 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21635 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21638 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21640 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21642 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21645 * elf/Makefile: Add rules to build and run new test.
21646 * elf/tst-initorder.c: New file.
21647 * elf/tst-initorder.exp: New file.
21648 * elf/tst-initordera1.c: New file.
21649 * elf/tst-initordera2.c: New file.
21650 * elf/tst-initordera3.c: New file.
21651 * elf/tst-initordera4.c: New file.
21652 * elf/tst-initorderb1.c: New file.
21653 * elf/tst-initorderb2.c: New file.
21654 * elf/tst-order-a1.c: New file.
21655 * elf/tst-order-a2.c: New file.
21656 * elf/tst-order-a3.c: New file.
21657 * elf/tst-order-a4.c: New file.
21658 * elf/tst-order-b1.c: New file.
21659 * elf/tst-order-b2.c: New file.
21660 * elf/tst-order-main.c: New file.
21661 New test case by George Gensure <werkt0@gmail.com>.
21663 2010-10-01 Andreas Schwab <schwab@redhat.com>
21665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21666 decoding ACE if AI_CANONIDN.
21668 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21670 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21672 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21674 * version.h (RELEASE): Bump for 2.13 release.
21675 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21677 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21679 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21681 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21682 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21683 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21685 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21686 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21688 * posix/getconf.c: Update copyright year.
21689 * catgets/gencat.c: Likewise.
21690 * csu/version.c: Likewise.
21691 * debug/catchsegv.sh: Likewise.
21692 * debug/xtrace.sh: Likewise.
21693 * elf/ldconfig.c: Likewise.
21694 * elf/ldd.bash.in: Likewise.
21695 * elf/sprof.c (print_version): Likewise.
21696 * iconv/iconv_prog.c: Likewise.
21697 * iconv/iconvconfig.c: Likewise.
21698 * locale/programs/locale.c: Likewise.
21699 * locale/programs/localedef.c: Likewise.
21700 * malloc/memusage.sh: Likewise.
21701 * malloc/mtrace.pl: Likewise.
21702 * nscd/nscd.c (print_version): Likewise.
21703 * nss/getent.c: Likewise.
21705 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21706 PF_CAIF, and PF_ALG.
21707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21709 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21711 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21712 (modules-names): Use them.
21713 (ifunc-test-modules, ifunc-pie-tests): Define.
21714 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21715 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21716 (test-extras): Likewise.
21717 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21718 $(compile-command.c).
21719 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21720 (all-built-dso): Define.
21721 (check-textrel.out, check-execstack.out): Depend on it.
21723 * configure.in: Don't override --enable-multi-arch.
21725 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21728 * nscd/hstcache.c (tryagain): Define.
21729 (cache_addhst): Return tryagain not notfound for temporary errors.
21730 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21733 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21736 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21737 to make the syscall.
21738 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21741 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21742 and fall back to matching as normal character if the string ends before
21743 the matching ']' is found. This is what POSIX requires.
21744 * posix/testfnm.c: Adjust test result.
21745 * posix/globtest.sh: Adjust test result. Add new test.
21746 * posix/tst-fnmatch.input: Likewise.
21747 * posix/tst-fnmatch2.c: Add new test.
21749 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21751 * elf/Makefile (check-execstack): Revert last change. Depend on
21753 (check-execstack.h): New target.
21754 (generated): Add check-execstack.h.
21755 * elf/check-execstack.c: Include "check-execstack.h".
21756 (main): Revert last change.
21757 (handle_file): Return zero if GNU_STACK is absent and
21758 DEFAULT_STACK_PERMS doesn't include PF_X.
21760 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21762 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21763 in child fails because the descriptor is already closed.
21764 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21765 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21766 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21769 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21773 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21774 temporary buffer used to handle multi lookups locally.
21775 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21777 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21779 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21782 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21784 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21785 alignment for SSE2.
21787 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21790 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21791 characters. When rounding increased number of integer digits recompute
21793 * stdio-common/tst-grouping.c: New file.
21794 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21796 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21798 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21799 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21801 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21803 * bits/select.h: Likewise.
21805 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21807 * po/ja.po: Update from translation team.
21809 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21812 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21813 implementation just like for lxstat, fxstatat, et al.
21815 2010-12-27 Jim Meyering <meyering@redhat.com>
21818 * posix/regexec.c (build_trtable): Return failure indication upon
21819 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21821 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21824 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21825 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21826 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21827 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21830 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21833 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21834 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21836 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21838 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21839 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21840 script has SORT_BY_INIT_PRIORITY.
21841 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21842 NO_CTORS_DTORS_SECTIONS is defined.
21843 * elf/soinit.c: Likewise.
21844 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21845 NO_CTORS_DTORS_SECTIONS is defined.
21846 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21847 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21848 * sysdeps/sh/init-first.c: Likewise.
21849 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21851 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21853 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21854 always use the slow path.
21856 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21858 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21859 similar rule which adds the sysdep directories to the header search in
21860 order to pick up the correct platform stackinfo.h.
21861 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21862 perform test if it is, otherwise return successfully without testing.
21863 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21864 DEFAULT_STACK_PERMS define in stackinfo.h.
21865 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21866 defined in stackinfo.h.
21867 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21868 DEFAULT_STACK_PERMS defined in stackinfo.h.
21869 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21870 * sysdeps/ia64/stackinfo.h: Likewise.
21871 * sysdeps/s390/stackinfo.h: Likewise.
21872 * sysdeps/sh/stackinfo.h: Likewise.
21873 * sysdeps/sparc/stackinfo.h: Likewise.
21874 * sysdeps/x86_64/stackinfo.h: Likewise.
21875 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21876 PF_X for powerpc64. Retain PF_X for powerpc32.
21878 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21880 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21882 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21883 GETDENTS_64BIT_ALIGNED.
21885 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21887 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21889 2010-12-10 Andreas Schwab <schwab@redhat.com>
21891 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21894 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21895 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21897 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21898 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21900 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21903 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21906 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21908 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21910 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21912 * po/it.po: Update from translation team.
21914 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21919 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21921 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21923 2010-11-24 Andreas Schwab <schwab@redhat.com>
21925 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21927 (gaih_getanswer_slice): Likewise.
21929 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21933 2010-05-31 Petr Baudis <pasky@suse.cz>
21936 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21937 silently even in the chroot mode.
21939 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21941 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21942 last patch a bit. Pretty printing
21944 2010-05-31 Petr Baudis <pasky@suse.cz>
21947 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21948 initialization of skip_initgroups_dyn.
21950 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21953 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21955 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21957 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21959 2010-11-11 Andreas Schwab <schwab@redhat.com>
21961 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21962 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21963 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21964 ($(objpfx)tst-fnmatch-mem): New rule.
21965 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21966 * posix/tst-fnmatch.c (main): Call mtrace.
21968 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21971 Support Intel processor model 6 and model 0x2c.
21973 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21978 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21981 * string/test-strncasecmp.c (check_result): New function.
21982 (do_one_test): Use it.
21983 (check1): New function.
21984 (test_main): Use it.
21985 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21986 Support strcasecmp and strncasecmp.
21988 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21991 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21994 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21996 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22000 * sysdeps/x86_64/multiarch/bzero.S: New file.
22001 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22002 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22003 * sysdeps/x86_64/multiarch/memset.S: New file.
22004 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22006 Set bit_Prefer_SSE_for_memop for Intel processors.
22007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22009 (index_Prefer_SSE_for_memop): Define.
22010 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22012 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22014 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22015 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22017 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22020 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22021 (__x86_64_raw_data_cache_size_half): Likewise.
22022 (__x86_64_raw_shared_cache_size): Likewise.
22023 (__x86_64_raw_shared_cache_size_half): Likewise.
22025 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22026 (__x86_64_raw_data_cache_size_half): Likewise.
22027 (__x86_64_raw_shared_cache_size): Likewise.
22028 (__x86_64_raw_shared_cache_size_half): Likewise.
22029 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22030 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22031 and __x86_64_raw_shared_cache_size_half. Round
22032 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22033 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22034 to multiple of 256 bytes.
22036 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22039 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22040 of inacessible symlinks. Verify result of symlink before returning it.
22041 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22042 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22044 2010-10-28 Erich Ritz <erichritz@gmail.com>
22046 * math/math.h (isinf): Fix typo in comment.
22048 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22050 * po/da.po: Update from translation team.
22052 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22054 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22055 is added to the list.
22057 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22058 Ulrich Drepper <drepper@gmail.com>
22060 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22061 the global list here. Move code to...
22062 (_dl_add_to_namespace_list): ...here. New function.
22063 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22064 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22065 * elf/dl-load.c (lose): Don't remove the element from the list.
22066 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22067 (_dl_map_object): Likewise.
22069 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22072 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22073 into all bytes of SSE register.
22074 Patch by Richard Li <richardpku@gmail.com>.
22076 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22079 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22082 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22084 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22085 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22086 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22087 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22092 2010-10-22 Andreas Schwab <schwab@redhat.com>
22094 * include/dlfcn.h (__RTLD_SECURE): Define.
22095 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22096 mode & __RTLD_SECURE instead.
22097 (open_path): Rename preloaded parameter to secure.
22098 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22099 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22100 * elf/dl-deps.c (openaux): Likewise.
22101 * elf/rtld.c (struct map_args): Remove is_preloaded.
22102 (map_doit): Don't use it.
22103 (dl_main): Likewise.
22104 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22105 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22107 2010-09-09 Andreas Schwab <schwab@redhat.com>
22109 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22110 (sysd-rules-targets): Remove duplicates.
22111 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22112 rtld-%.$o dependency.
22114 2010-10-18 Andreas Schwab <schwab@redhat.com>
22116 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22117 _dl_map_object do it.
22119 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22121 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22122 fast fma builtins, define the macros in the C99 standard.
22123 (FP_FAST_FMAF): Likewise.
22124 (FP_FAST_FMAL): Likewise.
22125 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22127 * bits/mathdef.h: Update copyright year.
22128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22130 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22132 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22133 builtins, define the macros in the C99 standard.
22134 (FP_FAST_FMAF): Likewise.
22135 (FP_FAST_FMAL): Likewise.
22136 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22138 (FP_FAST_FMAF): Likewise.
22140 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22143 * math/libm-test.inc (fma_test): Some new testcases.
22144 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22145 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22146 y and infinite z. Do multiplication by C already in long double.
22147 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22149 y and infinite z. Do bitwise or of inexact bit into u.d.
22150 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22151 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22152 * sysdeps/i386/fpu/s_fma.S: Removed.
22153 * sysdeps/i386/fpu/s_fmal.S: Removed.
22155 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22158 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22160 computation is not scheduled after fetestexcept. Fix value
22161 of minimum denormal long double.
22163 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22166 * math/libm-test.inc (fma_test): Add some more tests.
22167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22170 2010-10-15 Andreas Schwab <schwab@redhat.com>
22172 * scripts/data/localplt-s390-linux-gnu.data: New file.
22173 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22175 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22178 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22179 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22181 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22183 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22185 if one of x and y is very large and the other is subnormal.
22186 * sysdeps/s390/fpu/s_fmaf.c: New file.
22187 * sysdeps/s390/fpu/s_fma.c: New file.
22188 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22189 * sysdeps/powerpc/fpu/s_fma.S: New file.
22190 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22191 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22192 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22194 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22197 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22200 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22201 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22202 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22203 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22204 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22207 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22210 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22211 * posix/bug-regex31.input: Add test case.
22213 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22215 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22216 * posix/bug-regex31.input: New file.
22219 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22220 (parse_sub_exp): Fix last change, use postorder.
22222 * posix/bug-regex31.c: New file.
22223 * posix/Makefile: Add rules to build and run bug-regex31.
22225 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22228 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22231 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22232 to have entries in sys_siglist.
22235 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22238 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22241 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22242 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22243 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22244 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22246 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22247 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22248 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22249 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22250 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22251 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22252 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22253 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22254 * math/ftestexcept.c (fetestexcept): Likewise.
22255 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22256 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22257 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22258 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22259 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22260 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22261 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22263 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22266 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22269 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22271 * string/bug-strstr1.c: New file.
22272 * string/Makefile: Add rules to build and run bug-strstr1.
22274 2010-10-05 Eric Blake <eblake@redhat.com>
22277 * string/str-two-way.h (two_way_long_needle): Always clear memory
22278 when skipping input due to the shift table.
22280 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22283 * malloc/mcheck.c: Handle large requests.
22286 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22287 for strncmp and strncasecmp.
22288 * string/stratcliff.c: Add tests for strcmp and strncmp.
22289 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22291 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22293 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22296 2010-09-30 Andreas Jaeger <aj@suse.de>
22298 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22299 (CGROUP_SUPER_MAGIC): Define.
22300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22301 Handle btrfs and cgroup file systems.
22302 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22305 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22307 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22308 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22310 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22313 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22314 trying to locate the ELF header.
22316 2010-09-27 Andreas Schwab <schwab@redhat.com>
22319 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22320 Mask out sign-bit copies when constructing f_fsid.
22322 2010-09-24 Petr Baudis <pasky@suse.cz>
22324 * debug/stack_chk_fail_local.c: Add missing licence exception.
22325 * debug/warning-nop.c: Likewise.
22327 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22329 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22330 implementing getdents64 using getdents syscall, set d_type if
22331 __ASSUME_GETDENTS32_D_TYPE.
22333 2010-09-16 Andreas Schwab <schwab@redhat.com>
22335 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22336 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22338 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22341 * posix/unistd.h: Undo change of feature selection for ftruncate from
22344 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22346 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22349 2010-09-20 Andreas Schwab <schwab@redhat.com>
22351 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22353 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22355 2010-09-14 Andreas Schwab <schwab@redhat.com>
22357 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22358 variables after CHECK_SP call.
22359 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22361 2010-09-13 Andreas Schwab <schwab@redhat.com>
22362 Ulrich Drepper <drepper@redhat.com>
22364 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22365 re-relocationg ld.so.
22366 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22367 _dl_init_paths call.
22368 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22371 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22373 * resolv/res_init.c (__res_vinit): Count the default server we added.
22375 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22376 Ulrich Drepper <drepper@redhat.com>
22379 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22380 (____longjmp_chk): Use %ebx for saving value across system call.
22383 2010-09-06 Andreas Schwab <schwab@redhat.com>
22385 * manual/Makefile: Don't mix pattern rules with normal rules.
22387 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22389 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22391 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22392 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22393 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22394 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22398 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22401 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22402 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22404 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22406 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22407 * sysdeps/x86_64/addmul_1.S: Likewise.
22408 * sysdeps/x86_64/lshift.S: Likewise.
22409 * sysdeps/x86_64/mul_1.S: Likewise.
22410 * sysdeps/x86_64/rshift.S: Likewise.
22411 * sysdeps/x86_64/sub_n.S: Likewise.
22412 * sysdeps/x86_64/submul_1.S: Likewise.
22414 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22416 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22417 Define __sched_param instead of SCHED_* and sched_param when
22418 <bits/sched.h> is included with __need_schedparam defined.
22419 * bits/sched.h [__need_schedparam]
22420 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22421 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22422 (__defined_schedparam): Define to 1.
22423 (__sched_param): New structure, identical to sched_param.
22424 (__need_schedparam): Undefine.
22426 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22429 (epoll_create1): Declare.
22431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22433 2010-08-31 Andreas Schwab <schwab@redhat.com>
22436 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22437 shifting retval into place.
22439 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22441 * nis/rpcsvc/nis.h: Update copyright notice.
22442 * nis/rpcsvc/nis.x: Likewise.
22443 * nis/rpcsvc/nis_callback.h: Likewise.
22444 * nis/rpcsvc/nis_callback.x: Likewise.
22445 * nis/rpcsvc/nis_object.x: Likewise.
22446 * nis/rpcsvc/nis_tags.h: Likewise.
22447 * nis/rpcsvc/yp.h: Likewise.
22448 * nis/rpcsvc/yp.x: Likewise.
22449 * nis/rpcsvc/ypupd.h: Likewise.
22450 * nis/yp_xdr.c: Likewise.
22451 * nis/ypupdate_xdr.c: Likewise.
22453 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22454 mainly the body of pmap_getport. Add parameters to specify timeouts.
22455 (pmap_getport): Use __libc_rpc_getport.
22456 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22457 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22458 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22460 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22465 2010-08-27 Roland McGrath <roland@redhat.com>
22467 * sysdeps/i386/i686/multiarch/Makefile
22468 (CFLAGS-varshift.c): New variable.
22470 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22472 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22473 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22477 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22479 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22481 * sysdeps/x86_64/strlen.S: Unroll the loop.
22482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22483 strlen-sse2 strlen-sse2-bsf.
22484 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22485 __strlen_no_bsf if bit_Slow_BSF is set.
22486 (__strlen_sse42): Removed.
22487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22488 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22490 2010-08-25 Roland McGrath <roland@redhat.com>
22492 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22493 * sysdeps/x86_64/multiarch/varshift.c: New file.
22494 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22495 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22496 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22497 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22499 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22502 strlen-sse2 strlen-sse2-bsf.
22503 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22504 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22505 (__strlen_sse2): Removed.
22506 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22509 bit_Slow_BSF for Atom.
22510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22511 (index_Slow_BSF): Define.
22512 (HAS_SLOW_BSF): Define.
22514 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22517 * resolv/res_init.c (__res_vinit): When no server address at all
22518 is given default to loopback.
22520 2010-08-24 Roland McGrath <roland@redhat.com>
22522 * configure.in: Remove config-name.h generation.
22523 * configure: Regenerated.
22524 * config-name.in: File removed.
22525 * scripts/config-uname.sh: New file.
22526 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22527 ($(objdir)config-name.h): New target.
22529 * sunrpc/rpc_parse.h: Avoid nested comment.
22531 2010-08-24 Richard Henderson <rth@redhat.com>
22532 Ulrich Drepper <drepper@redhat.com>
22533 H.J. Lu <hongjiu.lu@intel.com>
22535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22537 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22538 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22539 _mm_alignr_epi8 with _mm_loadu_si128.
22540 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22541 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22542 (__m128i_shift_right): Removed.
22543 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22544 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22545 * sysdeps/x86_64/multiarch/varshift.h: New file.
22546 * sysdeps/x86_64/multiarch/varshift.S: New file.
22548 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22550 * configure.in: Move assembler checks to before sysdep dir checking.
22552 2010-08-20 Petr Baudis <pasky@suse.cz>
22554 * LICENSES: Sync the sunrpc license.
22556 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22558 * sunrpc/auth_des.c: Update copyright notice once again.
22559 * sunrpc/auth_none.c: Likewise.
22560 * sunrpc/auth_unix.c: Likewise.
22561 * sunrpc/authdes_prot.c: Likewise.
22562 * sunrpc/authuxprot.c: Likewise.
22563 * sunrpc/bindrsvprt.c: Likewise.
22564 * sunrpc/clnt_gen.c: Likewise.
22565 * sunrpc/clnt_perr.c: Likewise.
22566 * sunrpc/clnt_raw.c: Likewise.
22567 * sunrpc/clnt_simp.c: Likewise.
22568 * sunrpc/clnt_tcp.c: Likewise.
22569 * sunrpc/clnt_udp.c: Likewise.
22570 * sunrpc/clnt_unix.c: Likewise.
22571 * sunrpc/des_crypt.c: Likewise.
22572 * sunrpc/des_soft.c: Likewise.
22573 * sunrpc/get_myaddr.c: Likewise.
22574 * sunrpc/getrpcport.c: Likewise.
22575 * sunrpc/key_call.c: Likewise.
22576 * sunrpc/key_prot.c: Likewise.
22577 * sunrpc/openchild.c: Likewise.
22578 * sunrpc/pm_getmaps.c: Likewise.
22579 * sunrpc/pm_getport.c: Likewise.
22580 * sunrpc/pmap_clnt.c: Likewise.
22581 * sunrpc/pmap_prot.c: Likewise.
22582 * sunrpc/pmap_prot2.c: Likewise.
22583 * sunrpc/pmap_rmt.c: Likewise.
22584 * sunrpc/rpc/auth.h: Likewise.
22585 * sunrpc/rpc/auth_unix.h: Likewise.
22586 * sunrpc/rpc/clnt.h: Likewise.
22587 * sunrpc/rpc/des_crypt.h: Likewise.
22588 * sunrpc/rpc/key_prot.h: Likewise.
22589 * sunrpc/rpc/netdb.h: Likewise.
22590 * sunrpc/rpc/pmap_clnt.h: Likewise.
22591 * sunrpc/rpc/pmap_prot.h: Likewise.
22592 * sunrpc/rpc/pmap_rmt.h: Likewise.
22593 * sunrpc/rpc/rpc.h: Likewise.
22594 * sunrpc/rpc/rpc_des.h: Likewise.
22595 * sunrpc/rpc/rpc_msg.h: Likewise.
22596 * sunrpc/rpc/svc.h: Likewise.
22597 * sunrpc/rpc/svc_auth.h: Likewise.
22598 * sunrpc/rpc/types.h: Likewise.
22599 * sunrpc/rpc/xdr.h: Likewise.
22600 * sunrpc/rpc_clntout.c: Likewise.
22601 * sunrpc/rpc_cmsg.c: Likewise.
22602 * sunrpc/rpc_common.c: Likewise.
22603 * sunrpc/rpc_cout.c: Likewise.
22604 * sunrpc/rpc_dtable.c: Likewise.
22605 * sunrpc/rpc_hout.c: Likewise.
22606 * sunrpc/rpc_main.c: Likewise.
22607 * sunrpc/rpc_parse.c: Likewise.
22608 * sunrpc/rpc_parse.h: Likewise.
22609 * sunrpc/rpc_prot.c: Likewise.
22610 * sunrpc/rpc_sample.c: Likewise.
22611 * sunrpc/rpc_scan.c: Likewise.
22612 * sunrpc/rpc_scan.h: Likewise.
22613 * sunrpc/rpc_svcout.c: Likewise.
22614 * sunrpc/rpc_tblout.c: Likewise.
22615 * sunrpc/rpc_util.c: Likewise.
22616 * sunrpc/rpc_util.h: Likewise.
22617 * sunrpc/rpcinfo.c: Likewise.
22618 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22619 * sunrpc/rpcsvc/key_prot.x: Likewise.
22620 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22621 * sunrpc/rpcsvc/mount.x: Likewise.
22622 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22623 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22624 * sunrpc/rpcsvc/rex.x: Likewise.
22625 * sunrpc/rpcsvc/rstat.x: Likewise.
22626 * sunrpc/rpcsvc/rusers.x: Likewise.
22627 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22628 * sunrpc/rpcsvc/spray.x: Likewise.
22629 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22630 * sunrpc/rtime.c: Likewise.
22631 * sunrpc/svc.c: Likewise.
22632 * sunrpc/svc_auth.c: Likewise.
22633 * sunrpc/svc_authux.c: Likewise.
22634 * sunrpc/svc_raw.c: Likewise.
22635 * sunrpc/svc_run.c: Likewise.
22636 * sunrpc/svc_simple.c: Likewise.
22637 * sunrpc/svc_tcp.c: Likewise.
22638 * sunrpc/svc_udp.c: Likewise.
22639 * sunrpc/svc_unix.c: Likewise.
22640 * sunrpc/svcauth_des.c: Likewise.
22641 * sunrpc/xcrypt.c: Likewise.
22642 * sunrpc/xdr.c: Likewise.
22643 * sunrpc/xdr_array.c: Likewise.
22644 * sunrpc/xdr_float.c: Likewise.
22645 * sunrpc/xdr_mem.c: Likewise.
22646 * sunrpc/xdr_rec.c: Likewise.
22647 * sunrpc/xdr_ref.c: Likewise.
22648 * sunrpc/xdr_sizeof.c: Likewise.
22649 * sunrpc/xdr_stdio.c: Likewise.
22651 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22654 2010-08-19 Andreas Schwab <schwab@redhat.com>
22656 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22658 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22660 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22661 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22662 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22663 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22664 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22665 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22666 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22667 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22668 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22669 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22670 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22672 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22673 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22675 2010-07-26 Anton Blanchard <anton@samba.org>
22677 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22678 * malloc/arena.c (heap_trim): Likewise.
22680 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22682 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22684 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22685 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22687 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22689 * sysdeps/i386/elf/Makefile: New file.
22691 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22693 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22694 from fanotify_init.
22695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22698 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22700 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22702 * sysdeps/multiarch/strcmp.S: Likewise.
22704 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22707 strncase_l-nonascii.
22708 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22709 Add strncase_l-ssse3.
22710 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22711 * sysdeps/x86_64/strcmp.S: Likewise.
22712 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22713 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22714 * sysdeps/x86_64/strncase.S: New file.
22715 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22716 * sysdeps/x86_64/strncase_l.S: New file.
22717 * string/Makefile (strop-tests): Add strncasecmp.
22718 * string/test-strncasecmp.c: New file.
22720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22723 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22724 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22726 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22728 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22730 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22732 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22733 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22736 2010-05-01 Alan Modra <amodra@gmail.com>
22738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22739 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22740 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22741 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22742 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22743 tidying. Don't tail-call __sigjmp_save for static lib.
22744 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22746 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22747 (CALL_MCOUNT): Add eh info, and nop after bl.
22748 (TAIL_CALL_SYSCALL_ERROR): New macro.
22749 (PSEUDO_RET): Use it.
22750 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22751 Correct save location of integer regs and cr.
22752 (_dl_profile_resolve): Correct cr save location. Delete nops
22753 after bl when SHARED. Reduce cfi size a little by better
22754 placement of cfi directives.
22755 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22756 make a stack frame. Instead use parm save area as a temp.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22758 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22760 Don't make a stack frame for parent, use parm save area.
22761 Increase child stack frame to 112 bytes. Don't save unused reg,
22762 and adjust reg usage. Set up cfi on error recovery and
22763 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22765 (__makecontext): Add dummy nop after jump to exit.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22767 Use correct parm save area and cr save, reduce stack frame.
22768 Correct cfi for possible PSEUDO_RET frame setup.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22770 Branch to local label emitted by PSEUDO_RET rather than
22773 2010-08-12 Andreas Schwab <schwab@redhat.com>
22776 * locale/programs/locale.c (print_assignment): New function.
22777 (show_locale_vars): Use it.
22779 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22781 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22783 (struct statfs64): Likewise.
22784 (_STATFS_F_FLAGS): Define.
22785 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22787 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22788 (ST_VALID): Define locally.
22789 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22790 __statvfs_getflags, use the provided value.
22791 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22792 __ASSUME_STATFS_F_FLAGS.
22794 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22796 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22797 Add sys/fanotify.h.
22798 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22799 fanotify_mask for GLIBC_2.13.
22800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22801 fanotify_init and fanotify_mark.
22802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22803 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22805 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22807 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22808 prlimit64 for GLIBC_2.13.
22809 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22815 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22816 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22819 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22822 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22823 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22825 * nss/Makefile: Add rules to build and run tst-nss-test1.
22826 * shlib-versions: Add entry for libnss_test1.
22827 * nss/nss_test1.c: New file.
22828 * nss/tst-nss-test1.c: New file.
22830 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22831 (__nss_configure_lookup): Set appropriate entry in
22832 __nss_configure_lookup to true.
22833 * nss/nsswitch.h: Define enum with indeces of databases in
22834 databases and __nss_database_custom arrays. Declare
22835 __nss_database_custom.
22836 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22837 to avoid using nscd when custom rules are installed.
22838 * nss/getXXbyYY_r.c: Likewise.
22839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22841 * nss/nss_files/files-parse.c: Whitespace fixes.
22843 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22846 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22847 * posix/fnmatch_loop.c: Likewise.
22849 2010-07-17 Andi Kleen <ak@linux.intel.com>
22851 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22852 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22853 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22854 * Versions.def [GLIBC_2.13]: Add.
22856 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22859 Also fail if tpwd after pwuid call is NULL.
22861 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22863 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22864 when converting to ms.
22866 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22868 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22869 EOPNOTSUPP errors with ENOTTY.
22870 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22871 EOPNOTSUPP errors with ENOTTY.
22873 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22875 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22876 Add strcasecmp_l-ssse3.
22877 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22879 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22881 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22883 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22885 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22887 * string/Makefile (strop-tests): Add strcasecmp.
22888 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22889 strcasecmp_l-nonascii.
22890 (gen-as-const-headers): Add locale-defines.sym.
22891 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22892 * sysdeps/x86_64/strcasecmp.S: New file.
22893 * sysdeps/x86_64/strcasecmp_l.S: New file.
22894 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22895 * sysdeps/x86_64/locale-defines.sym: New file.
22896 * string/test-strcasecmp.c: New file.
22898 * string/test-strcasestr.c: Test both ends of the range of characters.
22899 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22901 2010-07-29 Roland McGrath <roland@redhat.com>
22904 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22906 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22908 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22911 2010-07-27 Andreas Schwab <schwab@redhat.com>
22913 * manual/memory.texi (Malloc Tunable Parameters): Document
22916 2010-07-26 Roland McGrath <roland@redhat.com>
22919 * configure.in (-fgnu89-inline check): Set and substitute
22920 gnu89_inline, not libc_cv_gnu89_inline.
22921 * configure: Regenerated.
22922 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22924 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22926 * string/test-strnlen.c: New file.
22927 * string/Makefile (strop-tests): Add strnlen.
22928 * string/tester.c (test_strnlen): Add a few more test cases.
22929 * string/tst-strlen.c: Better error reporting.
22931 * sysdeps/x86_64/strnlen.S: New file.
22933 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22935 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22936 lower-latency instructions.
22938 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22940 * string/test-strcasestr.c: New file.
22941 * string/test-strstr.c: New file.
22942 * string/Makefile (strop-tests): Add strstr and strcasestr.
22943 * string/str-two-way.h: Don't undefine MAX.
22944 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22946 2010-07-21 Andreas Schwab <schwab@redhat.com>
22948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22949 strcasestr-nonascii.
22950 (CFLAGS-strcasestr-nonascii.c): Define.
22951 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22952 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22953 Remove unused attribute.
22955 2010-07-20 Roland McGrath <roland@redhat.com>
22957 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22958 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22959 ld.so.cache was broken. With it, there is no way to disable dsocaps
22960 like LD_HWCAP_MASK can disable hwcaps.
22962 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22964 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22966 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22968 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22969 call in strcasestr.
22970 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22971 __strcasestr_sse42_nonascii.
22972 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22973 strcasestr-nonascii.c.
22974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22976 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22979 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22981 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22983 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22988 2010-07-06 Andreas Schwab <schwab@redhat.com>
22991 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22994 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22997 _PC_PIPE_BUF using F_GETPIPE_SZ.
22999 2010-07-05 Roland McGrath <roland@redhat.com>
23001 * manual/arith.texi (Rounding Functions): Fix rint description
23002 implicit in round description.
23004 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23006 * elf/Makefile: Fix linking for a few tests to make recent linker
23009 2010-06-30 Andreas Schwab <schwab@redhat.com>
23011 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23012 $(common-objpfx)libc_nonshared.a.
23014 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23016 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23017 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23018 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23019 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23020 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23021 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23022 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23023 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23038 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23039 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23040 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23041 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23042 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23043 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23044 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23045 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23046 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23047 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23048 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23049 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23065 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23067 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23068 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23069 * string/memmove.c (memmove): Renamed to ...
23070 (MEMMOVE): ...this. Default to memmove.
23071 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23072 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23075 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23076 mempcpy-ssse3-back memmove-ssse3-back.
23077 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23078 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23079 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23080 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23081 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23082 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23083 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23084 * sysdeps/x86_64/multiarch/memmove.c: New file.
23085 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23086 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23087 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23088 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23089 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23092 (index_Fast_Copy_Backward): Define.
23093 (HAS_ARCH_FEATURE): Define.
23094 (HAS_FAST_REP_STRING): Define.
23095 (HAS_FAST_COPY_BACKWARD): Define.
23097 2010-06-21 Andreas Schwab <schwab@redhat.com>
23099 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23100 Restore proper fallback handling.
23102 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23105 * posix/group_member.c (__group_member): Correct checking loop.
23107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23108 OOM in getpwuid_r correctly. Return error number when the caller
23109 should return, otherwise -1.
23110 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23111 call returning > 0 value.
23112 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23114 2010-06-07 Andreas Schwab <schwab@redhat.com>
23116 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23117 libc_nonshared.a from targets in modules-names.
23119 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23121 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23124 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23126 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23127 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23131 2010-06-02 Andreas Schwab <schwab@redhat.com>
23133 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23135 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23146 2010-06-14 Roland McGrath <roland@redhat.com>
23148 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23150 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23152 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23153 __REDIRECT followed by __THROW.
23154 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23155 * posix/getopt.h (getopt): Likewise.
23157 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23159 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23160 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23161 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23163 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23164 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23166 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23170 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23174 Properly check family and model.
23176 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23178 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23180 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23182 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23184 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23186 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23189 2010-05-19 Andreas Schwab <schwab@redhat.com>
23191 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23194 2010-05-21 Andreas Schwab <schwab@redhat.com>
23196 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23197 and internal_recvmmsg.
23198 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23199 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23200 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23201 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23203 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23204 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23205 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23207 2010-05-20 Andreas Schwab <schwab@redhat.com>
23209 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23211 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23213 POWER7 optimizations.
23214 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23215 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23217 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23219 * version.h: Update for 2.13 development version.
23221 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23223 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23224 exceptions. Return 0.
23226 2010-05-07 Roland McGrath <roland@redhat.com>
23228 * elf/ldconfig.c (main): Add a const.
23230 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23232 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23233 (args_options): Add no-idn option.
23234 (ahosts_keys_int): Add idn_flags to ai_flags.
23235 (parse_option): Handle 'i' option to clear idn_flags.
23237 * malloc/malloc.c (_int_free): Possible race in the most recently
23238 added check. Only act on the data if no current modification
23241 See ChangeLog.17 for earlier changes.