1 2012-12-11 David S. Miller <davem@davemloft.net>
3 * po/de.po: Update from translation team.
7 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * manual/argp.texi (Argp Helper Functions): Move node to follow
14 * manual/conf.texi (Limits on File System Capacity): Mention if
15 terminating null is included in the max size.
17 2012-12-10 Andreas Jaeger <aj@suse.de>
19 * po/cs.po: Update from translation team.
21 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24 void pointer and cast to uintptr_t.
25 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28 * sysdeps/s390/s390-64/memset.S: Likewise.
30 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33 * menual/message.texi (Message Translation): Fix typos.
34 (Helper programs for gettext): Likewise.
36 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42 2012-12-07 David S. Miller <davem@davemloft.net>
44 * po/libc.pot: Update.
46 2012-12-07 Richard Henderson <rth@redhat.com>
49 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50 normal/normal case to before the switch.
53 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
54 Mike Frysinger <vapier@gentoo.org>
56 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57 check for __NR_fadvise64_64.
59 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
61 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62 0, not just to plain "0" as a statement.
63 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66 2012-12-06 Joseph Myers <joseph@codesourcery.com>
68 * NEWS: Use sourceware.org in Bugzilla URL.
70 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
72 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
75 * stdio-common/tst-put-error.c (do_test): Add newline to the
76 padded test to ensure flush.
78 2012-12-05 Jeff Law <law@redhat.com>
80 * sunrpc/etc.rpc (fedfs_admin): Add entry.
82 2012-12-05 Joseph Myers <joseph@codesourcery.com>
84 * README: Don't refer to ports add-on as distributed separately.
85 Mention AArch64 in list of systems supported in the ports add-on.
87 * LICENSES: Add more non-FSF copyright and license notices.
89 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
92 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
94 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
95 10000 as width of padded output.
97 2012-12-04 Joseph Myers <joseph@codesourcery.com>
99 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
101 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
102 variable LX with __attribute__ ((unused)).
103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
105 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
108 with __attribute__ ((unused)).
110 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
112 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
114 2012-12-04 Joseph Myers <joseph@codesourcery.com>
116 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
117 (CFLAGS-nldbl-acos.c): New variable.
118 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
146 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
147 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
148 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
149 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
150 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
194 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
195 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
196 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
197 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
198 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
199 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
200 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
201 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
202 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
203 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
217 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
221 whole low double instead of just low 47 bits when splitting values
224 2012-12-03 Allan McRae <allan@archlinux.org>
226 * manual/stdio.texi (Predefined Printf Handlers): Remove
227 @hsep and @vsep usage.
229 2012-12-03 Mike Frysinger <vapier@gentoo.org>
231 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
232 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
234 2012-12-03 Jeff Law <law@redhat.com>
236 * time/sys/time.h (settimeofday): Do not mark TV argument
239 2012-12-01 Mike Frysinger <vapier@gentoo.org>
241 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
242 when currently writing and seek to current position when not.
243 * libio/Makefile (tests): Remove bug-fclose1.
244 * libio/bug-fclose1.c: Delete.
246 2012-12-01 Joseph Myers <joseph@codesourcery.com>
248 * manual/arith.texi (feenableexcept): Fix typo.
249 (fedisableexcept): Likewise.
251 2012-11-30 Roland McGrath <roland@hack.frob.com>
253 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
254 second, differently-typed declaration, rather than a cast.
256 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
258 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
259 * include/rpc/svc.h: ... here.
261 2012-11-30 Aurelien Jarno <aurel32@debian.org>
264 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
265 depending n and resplen2 to catch cases where answer
268 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
270 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
271 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
273 2012-11-29 Mike Frysinger <vapier@gentoo.org>
275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
277 2012-11-29 Roland McGrath <roland@hack.frob.com>
279 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
281 2012-11-28 Jeff Law <law@redhat.com>
284 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
285 dataset_temporary. Track alloca usage into alloca_used.
286 If dataset is large allocate and release it via malloc/free.
288 2012-06-04 Florian Weimer <fweimer@redhat.com>
291 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
293 2012-11-28 David S. Miller <davem@davemloft.net>
295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
297 2012-11-28 Joseph Myers <joseph@codesourcery.com>
300 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
301 of pi/2 rounded to nearest to 64 bits.
302 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
304 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
307 2012-11-28 Jeff Law <law@redhat.com>
308 Martin Osvald <mosvald@redhat.com>
311 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
312 * sunrpc/svc.c: Include time.h.
313 (__svc_accept_failed): New function.
314 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
315 any reason other than EINTR, call __svc_accept_failed.
316 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
317 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
319 2012-11-28 Andreas Schwab <schwab@suse.de>
321 * scripts/abilist.awk: Also handle indirect functions in .opd
324 2012-11-28 Joseph Myers <joseph@codesourcery.com>
327 * sysdeps/x86/fpu/powl_helper.c: New file.
328 * sysdeps/x86/fpu/Makefile: Likewise.
329 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
331 (__ieee754_powl): Use __powl_helper for finite arguments except
332 integer exponents below 8.
333 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
335 (__ieee754_powl): Use __powl_helper for finite arguments except
336 integer exponents below 8.
337 * math/libm-test.inc (pow_test): Add more tests and enable some
338 previously disabled tests.
339 * sysdeps/i386/fpu/libm-test-ulps: Update.
340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
343 Carlos O'Donell <carlos_odonell@mentor.com>
345 * nss/makedb.c (is_prime): Assert that input is odd and greater
346 than 4. Note that fact in a comment too.
347 (next_prime): Add 4 to input.
349 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
352 * libio/Makefile (tests): Add test case tst-fwrite-error.
353 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
354 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
355 * libio/tst-fwrite-error.c: New test case.
357 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
359 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
360 before casting to void *.
361 * include/libc-internal.h (__pointer_type): New macro.
362 (__integer_if_pointer_type_sub): Likewise.
363 (__integer_if_pointer_type): Likewise.
364 (cast_to_integer): Likewise.
365 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
366 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
367 before casting to atomic64_t.
368 (atomic_exchange_acq): Likewise.
369 (__arch_exchange_and_add_body): Likewise.
370 (__arch_add_body): Likewise.
371 (atomic_add_negative): Likewise.
372 (atomic_add_zero): Likewise.
374 2012-11-26 Joseph Myers <joseph@codesourcery.com>
376 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
377 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
378 (add_fdes): Likewise.
379 (linear_search_fdes): Likewise.
380 (binary_search_unencoded_fdes): Likewise.
382 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
384 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
386 2012-11-24 Adam Conrad <adconrad@0c3.net>
388 * configure.in: Autodetect C++ header directories.
389 * configure: Regenerated.
391 2012-11-23 Mike Frysinger <vapier@gentoo.org>
393 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
395 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
399 2012-11-22 Joseph Myers <joseph@codesourcery.com>
401 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
402 LDBL_MANT_DIG == 106]: Disable some tests.
403 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
405 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
410 input for small inputs. Return +/- pi/2 for large inputs.
411 * math/libm-test.inc (atan_test): Add more tests.
413 * sysdeps/generic/unwind-dw2-fde-glibc.c
414 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
415 __attribute__ ((unused)).
418 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
419 x * y if x and y are nonzero and z is zero.
422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
423 nonzero exponents with absolute value below 0x1p-117 to +/-
427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
428 up arguments below 2**-450, not just those below 2**-500.
429 * math/libm-test.inc (hypot_test): Add another test.
432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
433 Return a+b for ratio over 2**120, not 2**60.
434 * math/libm-test.inc (hypot_test): Add another test.
436 * math/libm-test.inc (clog_test): Use
437 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
438 (clog10_test): Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
443 2012-11-22 Andreas Schwab <schwab@suse.de>
445 * sysdeps/i386/fpu/libm-test-ulps: Update.
447 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
449 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
450 printf output with newline.
452 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
455 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
456 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
457 -z nodlopen, -z initfirst and -z execstack support.
458 * configure: Regenerated.
460 * elf/elf.h (DF_1_NODIRECT): New macro.
461 (DF_1_IGNMULDEF): Likewise.
462 (DF_1_NOKSYMS): Likewise.
463 (DF_1_NOHDR): Likewise.
464 (DF_1_EDITED): Likewise.
465 (DF_1_NORELOC): Likewise.
466 (DF_1_SYMINTPOSE): Likewise.
467 (DF_1_GLOBAUDIT): Likewise.
468 (DF_1_SINGLETON): Likewise.
469 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
470 DT_1_SUPPORTED_MASK bits.
471 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
473 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
475 * sysdeps/unix/make-syscalls.sh: Document prefixes.
477 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
479 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
482 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
483 (sendmmsg): Move declarations...
484 * socket/sys/socket.h: ... here.
485 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
486 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
488 * socket/recvmmsg.c: ... this new file.
489 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
490 (sendmmsg): Rename to __sendmmsg, create weak alias and make
491 definition of __sendmmsg hidden.
492 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
493 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
494 Move ENOSYS stub into and include it from...
495 * socket/sendmmsg.c: ... this new file.
496 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
497 (sysdep_routines): Move recvmmsg and sendmmsg...
498 * socket/Makefile (routines): ... here.
499 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
500 (GLIBC_PRIVATE): Add __sendmmsg.
501 * include/sys/socket.h (__sendmmsg): Add declarations.
502 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
505 2012-11-20 Joseph Myers <joseph@codesourcery.com>
507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
508 variable I1 with __attribute__ ((unused)).
509 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
511 2012-11-19 Joseph Myers <joseph@codesourcery.com>
513 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
514 DUMMY variables with __attribute__ ((unused)).
516 * bits/byteswap.h: Include <bits/types.h>.
517 (__bswap_64): Use __uint64_t instead of unsigned long long int.
519 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
521 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
522 string_t. Do not manually set errno.
523 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
524 length with __strnlen. Make sure to both set errno and return it on
527 2012-11-19 David S. Miller <davem@davemloft.net>
529 With help from Joseph Myers.
530 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
531 very large arguments properly.
532 * math/libm-test.inc (atan_test): New tests.
533 (atan2_test): New tests.
534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
537 2012-11-19 Joseph Myers <joseph@codesourcery.com>
540 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
543 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
544 [POSIX] (EADDRNOTAVAIL): Likewise.
545 [POSIX] (EAFNOSUPPORT): Likewise.
546 [POSIX] (EALREADY): Likewise.
547 [POSIX] (ECONNABORTED): Likewise.
548 [POSIX] (ECONNREFUSED): Likewise.
549 [POSIX] (ECONNRESET): Likewise.
550 [POSIX] (EDESTADDRREQ): Likewise.
551 [POSIX] (EDQUOT): Likewise.
552 [POSIX] (EHOSTUNREACH): Likewise.
553 [POSIX] (EIDRM): Likewise.
554 [POSIX] (EISCONN): Likewise.
555 [POSIX] (ELOOP): Likewise.
556 [POSIX] (EMULTIHOP): Likewise.
557 [POSIX] (ENETDOWN): Likewise.
558 [POSIX] (ENETUNREACH): Likewise.
559 [POSIX] (ENOBUFS): Likewise.
560 [POSIX] (ENODATA): Likewise.
561 [POSIX] (ENOLINK): Likewise.
562 [POSIX] (ENOMSG): Likewise.
563 [POSIX] (ENOPROTOOPT): Likewise.
564 [POSIX] (ENOSR): Likewise.
565 [POSIX] (ENOSTR): Likewise.
566 [POSIX] (ENOTCONN): Likewise.
567 [POSIX] (ENOTSOCK): Likewise.
568 [POSIX] (EOPNOTSUPP): Likewise.
569 [POSIX] (EOVERFLOW): Likewise.
570 [POSIX] (EPROTO): Likewise.
571 [POSIX] (EPROTONOSUPPORT): Likewise.
572 [POSIX] (EPROTOTYPE): Likewise.
573 [POSIX] (ESTALE): Likewise.
574 [POSIX] (ETIME): Likewise.
575 [POSIX] (ETXTBSY): Likewise.
576 [POSIX] (EWOULDBLOCK): Likewise.
577 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
578 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
579 [POSIX] (SEEK_CUR): Likewise.
580 [POSIX] (SEEK_END): Likewise.
581 [POSIX || UNIX98] (mode_t): Do not require.
582 [POSIX] (off_t): Likewise.
583 [POSIX] (pid_t): Likewise.
584 [POSIX] (sys/stat.h): Do not allow header.
585 [POSIX] (unistd.h): Likewise.
586 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
587 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
588 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
589 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
591 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
592 sigevent): Specify elements.
593 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
595 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
596 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
598 * conform/data/cpio.h-data [POSIX]: Disable whole file.
599 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
600 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
601 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
602 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
603 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
604 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
605 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
606 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
608 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
609 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
610 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
617 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
619 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
621 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
622 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
623 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
624 Specify lower bound on value.
625 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
626 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
627 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
628 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
629 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
630 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
631 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
632 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
634 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
636 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
637 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
638 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
639 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
640 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
641 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
642 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
643 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
644 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
645 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
646 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
647 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
648 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
649 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
650 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
651 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
653 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
655 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
656 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
657 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
658 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
659 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
660 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
662 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
663 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
664 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
665 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
666 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
667 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
671 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
673 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
674 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
675 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
677 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
678 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
679 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
680 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
681 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
682 [XPG3] (NL_LANGMAX): Likewise.
683 [POSIX || XPG3] (NL_MSGMAX): Likewise.
684 [POSIX || XPG3] (NL_NMAX): Likewise.
685 [POSIX || XPG3] (NL_SETMAX): Likewise.
686 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
687 [XPG3] (NZERO): Likewise.
688 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
689 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
690 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
691 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
692 (REG_ERANGE): Expect.
693 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
695 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
696 Use (void) in prototype.
697 [POSIX] (*_t): Allow.
698 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
699 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
700 (WRDE_BADVAL): Expect.
702 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
704 [XPG3 || XPG4] (O_RSYNC): Likewise.
705 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
707 [XPG3 || XPG4] (pthread_sigmask): Likewise.
708 [XPG3 || XPG4] (sigqueue): Likewise.
709 [XPG3 || XPG4] (sigtimedwait): Likewise.
710 [XPG3 || XPG4] (sigwaitinfo): Likewise.
711 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
712 [XPG3 || XPG4] (vsnprintf): Likewise.
713 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
715 [XPG3 || XPG4] (blksize_t): Likewise.
716 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
718 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
719 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
720 [XPG3 || XPG4] (struct itimerspec): Likewise.
721 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
722 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
723 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
724 [XPG3 || XPG4] (clockid_t): Likewise.
725 [XPG3 || XPG4] (timer_t): Likewise.
726 [XPG3 || XPG4] (clock_getres): Likewise.
727 [XPG3 || XPG4] (clock_gettime): Likewise.
728 [XPG3 || XPG4] (clock_settime): Likewise.
729 [XPG3 || XPG4] (nanosleep): Likewise.
730 [XPG3 || XPG4] (timer_create): Likewise.
731 [XPG3 || XPG4] (timer_delete): Likewise.
732 [XPG3 || XPG4] (timer_gettime): Likewise.
733 [XPG3 || XPG4] (timer_getoverrun): Likewise.
734 [XPG3 || XPG4] (timer_settime): Likewise.
735 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
736 [XPG3 || XPG4] (getlogin_r): Likewise.
737 [XPG3 || XPG4] (pread): Likewise.
738 [XPG3 || XPG4] (pthread_atfork): Likewise.
739 [XPG3 || XPG4] (pwrite): Likewise.
742 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
745 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
747 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
748 finalizing MALLSTREAM.
750 * sysdeps/mach/hurd/syncfs.c: New file.
752 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
755 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
756 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
757 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
758 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
759 (_nss_dns_gethostbyname4_r): Likewise.
760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
761 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
763 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
766 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
768 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
770 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
771 * elf/cache.c (print_entry): Print ",AArch64" for
774 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
775 * elf/cache.c (print_entry): Print ",hard-float" for
778 2012-11-18 David S. Miller <davem@davemloft.net>
780 With help from Joseph Myers.
781 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
783 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
785 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
786 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
788 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
789 * math/libm-test.inc (y0_test): New tests.
790 (y1_test): New tests.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
795 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
797 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
799 * configure: Regenerated.
801 2012-11-17 David S. Miller <davem@davemloft.net>
804 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
805 nonzero exponents with absolute value below 0x1p-128 to +/-
808 2012-11-17 Joseph Myers <joseph@codesourcery.com>
810 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
812 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
814 * posix/getconf-speclist.c: New file.
815 * posix/posix-envs.def: Likewise.
816 * posix/confstr.c (START_ENV_GROUP): New macro.
817 (END_ENV_GROUP): Likewise.
818 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
819 (KNOWN_PRESENT_ENV_STRING): Likewise.
820 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
821 (UNKNOWN_ENVIRONMENT): Likewise.
822 (confstr): Include posix-envs.def instead of handling
823 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
824 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
825 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
826 (END_ENV_GROUP): Likewise.
827 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
828 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
829 (UNKNOWN_ENVIRONMENT): Likewise.
830 (__sysconf): Include posix-envs.def instead of handling associated
832 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
833 preprocessing getconf-speclist.c rather than running getconf or
834 generating empty file.
836 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
838 * scripts/check-local-headers.sh: Ignore 'mach' headers.
840 2012-11-16 Andrej Lajovic <natrij@gmail.com>
843 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
845 2012-11-16 David S. Miller <davem@davemloft.net>
847 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
848 smaller than LDBL_EPSILON/2.0L, just return xm1.
850 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
852 * elf/tst-array1.c (init): Set constructor priority to 1000.
853 (fini): Set destructor priority to 1000.
854 * elf/tst-array2dep.c: Likewise.
856 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
859 * libio/fileops.c (_IO_new_file_write): Correctly return error.
860 (_IO_new_file_xsputn): Also return EOF if none of the input
861 data was written when overflow failed.
862 * libio/iopadn.c (_IO_padn): Likewise.
863 * libio/iowpadn.c (_IO_wpadn): Likewise.
864 * stdio-common/tst-put-error.c: Add copyright notice.
865 (do_test): Add case for printing padded string.
866 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
867 _IO_padn returned error.
868 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
869 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
872 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
874 * libio/libioP.h: Add comment note that the references to C++
875 bits are now obsolete.
877 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
879 * math/libm-test.inc (check_complex): Use asprintf.
881 2012-11-14 Joseph Myers <joseph@codesourcery.com>
883 * debug/pcprofiledump.c (print_version): Update copyright year.
884 * malloc/memusagestat.c (print_version): Likewise.
886 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
889 * elf/Makefile (tests): Add tst-audit8.
890 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
891 ($(objpfx)tst-audit8.out): New target.
892 (tst-audit8-ENV): New variable.
893 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
894 audit if l_reloc_result is NULL.
895 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
896 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
897 * elf/tst-audit8.c: New file.
899 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
901 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
902 * misc/Makefile (CFLAGS-select.c): Define.
903 * posix/Makefile (CFLAGS-pause.c): Define.
905 2012-11-13 David S. Miller <davem@davemloft.net>
907 * crypt/Makefile: Move test targets after toplevel Rules
908 inclusion. Grab any necessary sysdep routines when linking.
909 * crypt/md5.c (md5_process_block): Remove define, we will always
910 name it __md5_process_block.
911 (md5_finish_ctx): Update md5_process_block call.
912 (md5_stream): Likewise.
913 (md5_process_bytes): Likewise.
914 (md5_process_block): Rename to __md5_process_block and move to ...
915 * crypt/md5-block.c: ... here.
916 * crypt/sha256.c (sha256_process_block): Move to ...
917 * crypt/sha256-block.c: ... here.
918 * crypt/sha512.c (sha512_process_block): Move to ...
919 * crypt/sha512-block.c: ... here.
920 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
922 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
923 * sysdeps/sparc/sparc64/multiarch/Makefile
924 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
926 (localedef-aux): Add md5 crypto assembler when in locale subdir.
927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
929 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
930 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
931 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
932 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
933 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
934 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
935 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
936 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
939 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
942 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
944 2012-11-13 Joseph Myers <joseph@codesourcery.com>
946 * timezone/tzselect.ksh: Update from tzcode git revision
947 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
948 * timezone/zdump.c: Likewise.
949 * timezone/zic.c: Likewise.
950 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
951 in TZVERSION setting, not $(PKGVERSION).
952 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
953 REPORT_BUGS_TO settings.
956 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
959 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
961 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
962 detection to immediately after _FP_ROUND().
963 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
966 2012-11-11 David S. Miller <davem@davemloft.net>
968 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
970 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
971 __close rather than their public counterparts.
973 2012-11-10 Joseph Myers <joseph@codesourcery.com>
975 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
977 [UNIX98] (sem_timedwait): Do not expect.
978 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
979 [XPG4 || UNIX98] (sockatmark): Do not expect.
980 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
981 (clock_getcpuclockid): Do not expect.
982 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
983 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
985 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
986 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
987 [UNIX98] (vwscanf): Likewise.
988 [UNIX98] (vswscanf): Likewise.
990 2012-11-09 Joseph Myers <joseph@codesourcery.com>
992 * timezone/version.h: Remove file.
993 * timezone/README: Do not refer to version.h.
994 * timezone/Makefile ($(objpfx)zic.o): New dependency on
996 ($(objpfx)zdump.o): Likewise.
997 ($(objpfx)version.h): New target.
999 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1001 * timezone/README: Don't mention modification to tzselect.ksh.
1002 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1003 work on unmodified tzselect.ksh. Substitute version numbers in
1006 * Makefile (format-me): Remove.
1007 (INSTALL): Adjust indentation. Use commands directly instead of
1010 * aclocal.m4 (ACX_PKGVERSION): New macro.
1011 (ACX_BUGURL): Likewise.
1012 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1013 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1014 (REPORT_BUGS_TO): Likewise.
1015 * configure: Regenerated.
1016 * config.h.in (PKGVERSION): New macro.
1017 (REPORT_BUGS_TO): Likewise.
1018 * config.make.in (PKGVERSION): New variable.
1019 (PKGVERSION_TEXI): Likewise.
1020 (REPORT_BUGS_TO): Likewise.
1021 (REPORT_BUGS_TEXI): Likewise.
1022 * Makefile (format-me): Use -I$(common-objpfx)manual.
1023 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1024 ($(common-objpfx)manual/%): New target.
1025 (manual/%): Remove target.
1026 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1027 (print_version): Use PKGVERSION.
1028 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1029 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1031 ($(objpfx)xtrace): Likewise.
1032 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1033 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1034 (print_version): Use PKGVERSION.
1035 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1036 (do_version): Use PKGVERSION.
1037 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1039 (common-ldd-rewrite): Likewise.
1040 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1041 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1042 (print_version): Use PKGVERSION.
1043 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1044 * elf/pldd.c (argp_program_bug_address): Remove variable.
1045 (more_help): New function.
1046 (argp): Use more_help.
1047 (print_version): Use PKGVERSION.
1048 * elf/sln.c (main): Use PKGVERSION.
1049 (usage): Use REPORT_BUGS_TO.
1050 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1051 (top level): Use PKGVERSION.
1052 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1053 (print_version): Use PKGVERSION.
1054 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1055 (print_version): Use PKGVERSION.
1056 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1057 (print_version): Use PKGVERSION.
1058 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1059 (print_version): Use PKGVERSION.
1060 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1061 (print_version): Use PKGVERSION.
1062 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1063 (print_version): Use PKGVERSION.
1064 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1066 ($(objpfx)memusage): Likewise.
1067 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1068 (do_version): Use PKGVERSION.
1069 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1070 (print_version): Use PKGVERSION.
1071 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1072 ($PKGVERSION): New variable.
1073 ($REPORT_BUGS_TO): Likewise.
1074 (usage): Use $REPORT_BUGS_TO.
1075 (top level): Use $PKGVERSION.
1076 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1077 ($(objpfx)pkgvers.texi): New rule.
1078 ($(objpfx)stamp-pkgvers): Likewise.
1079 * manual/install.texi: Include pkgvers.texi.
1080 (--with-pkgversion): Document new configure option.
1081 (--with-bugurl): Likewise.
1082 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1083 than necessarily for this particular distribution. Use
1084 REPORT_BUGS_TO for where to report bugs.
1085 * INSTALL: Regenerated.
1086 * manual/libc.texinfo: Include pkgvers.texi.
1087 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1088 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1089 (print_version): Use PKGVERSION.
1090 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1091 (print_version): Use PKGVERSION.
1092 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1093 (print_version): Use PKGVERSION.
1094 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1095 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1097 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1098 (print_version): Use PKGVERSION.
1099 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1100 (print_version): Use PKGVERSION.
1101 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1104 * timezone/checktab.awk: Update from tzcode 2012i.
1105 * timezone/ialloc.c: Likewise.
1106 * timezone/private.h: Likewise.
1107 * timezone/scheck.c: Likewise.
1108 * timezone/tzfile.h: Likewise.
1109 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1110 (TZVERSION): Hardcode tzcode version number.
1111 * timezone/zdump.c: Update from tzcode 2012i.
1112 * timezone/zic.c: Likewise.
1113 * timezone/version.h: New file.
1114 * timezone/README: Describe version.h. Update upstream location.
1117 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1118 (mktemp): Enable declaration.
1119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1136 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1137 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1138 for copies of such integer values.
1139 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1140 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1142 2012-11-09 Andreas Jaeger <aj@suse.de>
1144 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1145 definitions and declarations that are provided by
1146 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1148 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1150 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1151 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1152 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1155 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1157 * elf/elf.h: Update comment before AArch64 relocations.
1159 2012-11-07 David S. Miller <davem@davemloft.net>
1161 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1162 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1163 (__start_context): Declare.
1164 (__makecontext_ret): Delete.
1165 (__makecontext): Hook up __start_context instead of
1167 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1168 (sysdep_routines): Add __start_context when in stdlib.
1170 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1172 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1173 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1174 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1176 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1177 (READELF): New variable. Use it instead of hardcoded "readelf".
1179 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1181 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1182 * sysdeps/x86/Makefile: Here.
1183 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1184 * sysdeps/x86/tst-xmmymm.sh: This.
1186 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1188 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1190 [UNIX98] (pthread_barrier_t): Do not expect.
1191 [UNIX98] (pthread_barrierattr_t): Likewise.
1192 [UNIX98] (pthread_spinlock_t): Likewise.
1193 [UNIX98] (pthread_barrier_destroy): Likewise.
1194 [UNIX98] (pthread_barrier_init): Likewise.
1195 [UNIX98] (pthread_barrier_wait): Likewise.
1196 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1197 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1198 [UNIX98] (pthread_barrierattr_init): Likewise.
1199 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1200 [UNIX98] (pthread_getcpuclockid): Likewise.
1201 [UNIX98] (pthread_mutex_timedlock): Likewise.
1202 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1203 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1204 [UNIX98] (pthread_sigmask): Likewise.
1205 [UNIX98] (pthread_spin_destroy): Likewise.
1206 [UNIX98] (pthread_spin_init): Likewise.
1207 [UNIX98] (pthread_spin_lock): Likewise.
1208 [UNIX98] (pthread_spin_trylock): Likewise.
1209 [UNIX98] (pthread_spin_unlock): Likewise.
1210 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1212 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1214 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1215 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1216 [XPG3 || XPG4] (pthread_key_t): Likewise.
1217 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1218 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1219 [XPG3 || XPG4] (pthread_once_t): Likewise.
1220 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1221 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1223 [XPG3 || XPG4] (pthread_t): Likewise.
1225 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1227 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1229 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1230 Change function return type to int.
1232 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1233 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1234 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1235 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1236 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1237 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1238 [!POSIX] (posix_madvise): Likewise.
1239 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1241 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1242 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1244 (posix_mem_offset): Likewise.
1245 (posix_typed_mem_get_info): Likewise.
1246 (posix_typed_mem_open): Likewise.
1248 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1249 Change condition to [XOPEN2K8].
1251 * conform/conformtest.pl: Preprocess allow-header data with -x c
1252 instead of from stdin.
1253 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1254 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1255 [C99-based standards] (cerfc): Likewise.
1256 [C99-based standards] (cexp2): Likewise.
1257 [C99-based standards] (cexpm1): Likewise.
1258 [C99-based standards] (clog10): Likewise.
1259 [C99-based standards] (clog1p): Likewise.
1260 [C99-based standards] (clog2): Likewise.
1261 [C99-based standards] (clgamma): Likewise.
1262 [C99-based standards] (ctgamma): Likewise.
1263 [C99-based standards] (cerff): Likewise.
1264 [C99-based standards] (cerfcf): Likewise.
1265 [C99-based standards] (cexp2f): Likewise.
1266 [C99-based standards] (cexpm1f): Likewise.
1267 [C99-based standards] (clog10f): Likewise.
1268 [C99-based standards] (clog1pf): Likewise.
1269 [C99-based standards] (clog2f): Likewise.
1270 [C99-based standards] (clgammaf): Likewise.
1271 [C99-based standards] (ctgammaf): Likewise.
1272 [C99-based standards] (cerfl): Likewise.
1273 [C99-based standards] (cerfcl): Likewise.
1274 [C99-based standards] (cexp2l): Likewise.
1275 [C99-based standards] (cexpm1l): Likewise.
1276 [C99-based standards] (clog10l): Likewise.
1277 [C99-based standards] (clog1pl): Likewise.
1278 [C99-based standards] (clog2l): Likewise.
1279 [C99-based standards] (clgammal): Likewise.
1280 [C99-based standards] (ctgammal): Likewise.
1281 * conform/data/inttypes.h-data [C99-based standards]: Include
1282 stdint.h-data. Remove all expectations for stdint.h contents.
1283 [C99-based standards] (PRI*): Do not allow.
1284 [C99-based standards] (SCN*): Likewise.
1285 [C99-based standards] (*_t): Likewise.
1286 [C99-based-standards] (PRId8): Expect macro.
1287 [C99-based-standards] (PRIi8): Likewise.
1288 [C99-based-standards] (PRIo8): Likewise.
1289 [C99-based-standards] (PRIu8): Likewise.
1290 [C99-based-standards] (PRIx8): Likewise.
1291 [C99-based-standards] (PRIX8): Likewise.
1292 [C99-based-standards] (SCNd8): Likewise.
1293 [C99-based-standards] (SCNi8): Likewise.
1294 [C99-based-standards] (SCNo8): Likewise.
1295 [C99-based-standards] (SCNu8): Likewise.
1296 [C99-based-standards] (SCNx8): Likewise.
1297 [C99-based-standards] (PRIdLEAST8): Likewise.
1298 [C99-based-standards] (PRIiLEAST8): Likewise.
1299 [C99-based-standards] (PRIoLEAST8): Likewise.
1300 [C99-based-standards] (PRIuLEAST8): Likewise.
1301 [C99-based-standards] (PRIxLEAST8): Likewise.
1302 [C99-based-standards] (PRIXLEAST8): Likewise.
1303 [C99-based-standards] (SCNdLEAST8): Likewise.
1304 [C99-based-standards] (SCNiLEAST8): Likewise.
1305 [C99-based-standards] (SCNoLEAST8): Likewise.
1306 [C99-based-standards] (SCNuLEAST8): Likewise.
1307 [C99-based-standards] (SCNxLEAST8): Likewise.
1308 [C99-based-standards] (PRIdFAST8): Likewise.
1309 [C99-based-standards] (PRIiFAST8): Likewise.
1310 [C99-based-standards] (PRIoFAST8): Likewise.
1311 [C99-based-standards] (PRIuFAST8): Likewise.
1312 [C99-based-standards] (PRIxFAST8): Likewise.
1313 [C99-based-standards] (PRIXFAST8): Likewise.
1314 [C99-based-standards] (SCNdFAST8): Likewise.
1315 [C99-based-standards] (SCNiFAST8): Likewise.
1316 [C99-based-standards] (SCNoFAST8): Likewise.
1317 [C99-based-standards] (SCNuFAST8): Likewise.
1318 [C99-based-standards] (SCNxFAST8): Likewise.
1319 [C99-based-standards] (PRId16): Likewise.
1320 [C99-based-standards] (PRIi16): Likewise.
1321 [C99-based-standards] (PRIo16): Likewise.
1322 [C99-based-standards] (PRIu16): Likewise.
1323 [C99-based-standards] (PRIx16): Likewise.
1324 [C99-based-standards] (PRIX16): Likewise.
1325 [C99-based-standards] (SCNd16): Likewise.
1326 [C99-based-standards] (SCNi16): Likewise.
1327 [C99-based-standards] (SCNo16): Likewise.
1328 [C99-based-standards] (SCNu16): Likewise.
1329 [C99-based-standards] (SCNx16): Likewise.
1330 [C99-based-standards] (PRIdLEAST16): Likewise.
1331 [C99-based-standards] (PRIiLEAST16): Likewise.
1332 [C99-based-standards] (PRIoLEAST16): Likewise.
1333 [C99-based-standards] (PRIuLEAST16): Likewise.
1334 [C99-based-standards] (PRIxLEAST16): Likewise.
1335 [C99-based-standards] (PRIXLEAST16): Likewise.
1336 [C99-based-standards] (SCNdLEAST16): Likewise.
1337 [C99-based-standards] (SCNiLEAST16): Likewise.
1338 [C99-based-standards] (SCNoLEAST16): Likewise.
1339 [C99-based-standards] (SCNuLEAST16): Likewise.
1340 [C99-based-standards] (SCNxLEAST16): Likewise.
1341 [C99-based-standards] (PRIdFAST16): Likewise.
1342 [C99-based-standards] (PRIiFAST16): Likewise.
1343 [C99-based-standards] (PRIoFAST16): Likewise.
1344 [C99-based-standards] (PRIuFAST16): Likewise.
1345 [C99-based-standards] (PRIxFAST16): Likewise.
1346 [C99-based-standards] (PRIXFAST16): Likewise.
1347 [C99-based-standards] (SCNdFAST16): Likewise.
1348 [C99-based-standards] (SCNiFAST16): Likewise.
1349 [C99-based-standards] (SCNoFAST16): Likewise.
1350 [C99-based-standards] (SCNuFAST16): Likewise.
1351 [C99-based-standards] (SCNxFAST16): Likewise.
1352 [C99-based-standards] (PRId32): Likewise.
1353 [C99-based-standards] (PRIi32): Likewise.
1354 [C99-based-standards] (PRIo32): Likewise.
1355 [C99-based-standards] (PRIu32): Likewise.
1356 [C99-based-standards] (PRIx32): Likewise.
1357 [C99-based-standards] (PRIX32): Likewise.
1358 [C99-based-standards] (SCNd32): Likewise.
1359 [C99-based-standards] (SCNi32): Likewise.
1360 [C99-based-standards] (SCNo32): Likewise.
1361 [C99-based-standards] (SCNu32): Likewise.
1362 [C99-based-standards] (SCNx32): Likewise.
1363 [C99-based-standards] (PRIdLEAST32): Likewise.
1364 [C99-based-standards] (PRIiLEAST32): Likewise.
1365 [C99-based-standards] (PRIoLEAST32): Likewise.
1366 [C99-based-standards] (PRIuLEAST32): Likewise.
1367 [C99-based-standards] (PRIxLEAST32): Likewise.
1368 [C99-based-standards] (PRIXLEAST32): Likewise.
1369 [C99-based-standards] (SCNdLEAST32): Likewise.
1370 [C99-based-standards] (SCNiLEAST32): Likewise.
1371 [C99-based-standards] (SCNoLEAST32): Likewise.
1372 [C99-based-standards] (SCNuLEAST32): Likewise.
1373 [C99-based-standards] (SCNxLEAST32): Likewise.
1374 [C99-based-standards] (PRIdFAST32): Likewise.
1375 [C99-based-standards] (PRIiFAST32): Likewise.
1376 [C99-based-standards] (PRIoFAST32): Likewise.
1377 [C99-based-standards] (PRIuFAST32): Likewise.
1378 [C99-based-standards] (PRIxFAST32): Likewise.
1379 [C99-based-standards] (PRIXFAST32): Likewise.
1380 [C99-based-standards] (SCNdFAST32): Likewise.
1381 [C99-based-standards] (SCNiFAST32): Likewise.
1382 [C99-based-standards] (SCNoFAST32): Likewise.
1383 [C99-based-standards] (SCNuFAST32): Likewise.
1384 [C99-based-standards] (SCNxFAST32): Likewise.
1385 [C99-based-standards] (PRId64): Likewise.
1386 [C99-based-standards] (PRIi64): Likewise.
1387 [C99-based-standards] (PRIo64): Likewise.
1388 [C99-based-standards] (PRIu64): Likewise.
1389 [C99-based-standards] (PRIx64): Likewise.
1390 [C99-based-standards] (PRIX64): Likewise.
1391 [C99-based-standards] (SCNd64): Likewise.
1392 [C99-based-standards] (SCNi64): Likewise.
1393 [C99-based-standards] (SCNo64): Likewise.
1394 [C99-based-standards] (SCNu64): Likewise.
1395 [C99-based-standards] (SCNx64): Likewise.
1396 [C99-based-standards] (PRIdLEAST64): Likewise.
1397 [C99-based-standards] (PRIiLEAST64): Likewise.
1398 [C99-based-standards] (PRIoLEAST64): Likewise.
1399 [C99-based-standards] (PRIuLEAST64): Likewise.
1400 [C99-based-standards] (PRIxLEAST64): Likewise.
1401 [C99-based-standards] (PRIXLEAST64): Likewise.
1402 [C99-based-standards] (SCNdLEAST64): Likewise.
1403 [C99-based-standards] (SCNiLEAST64): Likewise.
1404 [C99-based-standards] (SCNoLEAST64): Likewise.
1405 [C99-based-standards] (SCNuLEAST64): Likewise.
1406 [C99-based-standards] (SCNxLEAST64): Likewise.
1407 [C99-based-standards] (PRIdFAST64): Likewise.
1408 [C99-based-standards] (PRIiFAST64): Likewise.
1409 [C99-based-standards] (PRIoFAST64): Likewise.
1410 [C99-based-standards] (PRIuFAST64): Likewise.
1411 [C99-based-standards] (PRIxFAST64): Likewise.
1412 [C99-based-standards] (PRIXFAST64): Likewise.
1413 [C99-based-standards] (SCNdFAST64): Likewise.
1414 [C99-based-standards] (SCNiFAST64): Likewise.
1415 [C99-based-standards] (SCNoFAST64): Likewise.
1416 [C99-based-standards] (SCNuFAST64): Likewise.
1417 [C99-based-standards] (SCNxFAST64): Likewise.
1418 [C99-based-standards] (PRIdMAX): Likewise.
1419 [C99-based-standards] (PRIiMAX): Likewise.
1420 [C99-based-standards] (PRIoMAX): Likewise.
1421 [C99-based-standards] (PRIuMAX): Likewise.
1422 [C99-based-standards] (PRIxMAX): Likewise.
1423 [C99-based-standards] (PRIXMAX): Likewise.
1424 [C99-based-standards] (SCNdMAX): Likewise.
1425 [C99-based-standards] (SCNiMAX): Likewise.
1426 [C99-based-standards] (SCNoMAX): Likewise.
1427 [C99-based-standards] (SCNuMAX): Likewise.
1428 [C99-based-standards] (SCNxMAX): Likewise.
1429 [C99-based-standards] (PRIdPTR): Likewise.
1430 [C99-based-standards] (PRIiPTR): Likewise.
1431 [C99-based-standards] (PRIoPTR): Likewise.
1432 [C99-based-standards] (PRIuPTR): Likewise.
1433 [C99-based-standards] (PRIxPTR): Likewise.
1434 [C99-based-standards] (PRIXPTR): Likewise.
1435 [C99-based-standards] (SCNdPTR): Likewise.
1436 [C99-based-standards] (SCNiPTR): Likewise.
1437 [C99-based-standards] (SCNoPTR): Likewise.
1438 [C99-based-standards] (SCNuPTR): Likewise.
1439 [C99-based-standards] (SCNxPTR): Likewise.
1440 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1442 * conform/data/stdint.h-data: Update comments to clarify
1444 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1446 [C99-based standards] (INT8_MAX): Likewise.
1447 [C99-based standards] (INT16_MIN): Likewise.
1448 [C99-based standards] (INT16_MAX): Likewise.
1449 [C99-based standards] (INT32_MIN): Likewise.
1450 [C99-based standards] (INT32_MAX): Likewise.
1451 [C99-based standards] (INT64_MIN): Likewise.
1452 [C99-based standards] (INT64_MAX): Likewise.
1453 [C99-based standards] (UINT8_MAX): Likewise.
1454 [C99-based standards] (UINT16_MAX): Likewise.
1455 [C99-based standards] (UINT32_MAX): Likewise.
1456 [C99-based standards] (UINT64_MAX): Likewise.
1457 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1458 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1459 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1460 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1461 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1462 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1463 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1464 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1465 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1466 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1467 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1468 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1469 [C99-based standards] (INT_FAST8_MIN): Likewise.
1470 [C99-based standards] (INT_FAST8_MAX): Likewise.
1471 [C99-based standards] (INT_FAST16_MIN): Likewise.
1472 [C99-based standards] (INT_FAST16_MAX): Likewise.
1473 [C99-based standards] (INT_FAST32_MIN): Likewise.
1474 [C99-based standards] (INT_FAST32_MAX): Likewise.
1475 [C99-based standards] (INT_FAST64_MIN): Likewise.
1476 [C99-based standards] (INT_FAST64_MAX): Likewise.
1477 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1478 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1479 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1480 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1481 [C99-based standards] (INTPTR_MIN): Likewise.
1482 [C99-based standards] (INTPTR_MAX): Likewise.
1483 [C99-based standards] (UINTPTR_MAX): Likewise.
1484 [C99-based standards] (INTMAX_MIN): Likewise.
1485 [C99-based standards] (INTMAX_MAX): Likewise.
1486 [C99-based standards] (UINTMAX_MAX): Likewise.
1487 [C99-based standards] (PTRDIFF_MIN): Likewise.
1488 [C99-based standards] (PTRDIFF_MAX): Likewise.
1489 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1490 [C99-based standards] (SIZE_MAX): Likewise.
1491 [C99-based standards] (WCHAR_MAX): Likewise.
1492 [C99-based standards] (WINT_MAX): Likewise.
1493 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1494 constraint on value.
1495 [C99-based standards] (WCHAR_MIN): Likewise.
1496 [C99-based standards] (WINT_MIN): Likewise.
1497 [C99-based standards] (*_t): Allow.
1498 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1499 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1500 Include math.h-data and complex.h-data. Remove all expectations
1501 of math.h and complex.h contents.
1502 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1504 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1505 (struct tm): Expect tag.
1506 [C99-based-standards] (wcstof): Expect function.
1507 [C99-based-standards] (wcstold): Likewise.
1508 [C99-based-standards] (wcstoll): Likewise.
1509 [C99-based-standards] (wcstoull): Likewise.
1510 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1511 macro-int-constant. Specify type.
1512 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1513 constraint on value.
1514 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1516 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1518 [ISO C standards]: Do not allow headers.
1519 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1520 wcs[abcdefghijklmnopqrstuvwxyz]*.
1521 [ISO C standards] (*_t): Do not allow.
1522 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1524 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1525 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1527 [ISO C standards]: Do not allow headers.
1528 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1529 is[abcdefghijklmnopqrstuvwxyz]*.
1530 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1531 to[abcdefghijklmnopqrstuvwxyz]*.
1532 [ISO C standards] (*_t): Do not allow.
1533 * conform/data/stdalign.h-data: New file.
1534 * conform/data/stdbool.h-data: Likewise.
1535 * conform/data/stdnoreturn.h-data: Likewise.
1537 2012-11-07 Roland McGrath <roland@hack.frob.com>
1540 * manual/filesys.texi (Directory Entries): Typo fix.
1541 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1543 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1545 * elf/elf.h (EM_AARCH64): New macro.
1546 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1547 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1548 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1549 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1550 (R_AARCH64_TLSDESC): Likewise.
1551 (NT_ARM_TLS): Likewise.
1552 (NT_ARM_HW_BREAK): Likewise.
1553 (NT_ARM_HW_WATCH): Likewise.
1555 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1558 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1559 (__ieee754_powl): Saturate nonzero exponents with absolute value
1560 below 0x1p-79 to +/- 0x1p-79.
1561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1562 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1563 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1564 nonzero exponents with absolute value below 0x1p-32 to +/-
1566 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1567 (__ieee754_powl): Saturate nonzero exponents with absolute value
1568 below 0x1p-79 to +/- 0x1p-79.
1569 * math/libm-test.inc (pow_test): Add more tests.
1571 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1573 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1574 _dl_s390_cap_flags with kernel. Increase string length.
1575 (_dl_s390_platforms): Add z196 and zEC12.
1577 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1579 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1580 Change XOPEN21K to XOPEN2K.
1582 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1584 * string/memmove.c: Use memcpy when possible.
1586 2012-11-06 Andreas Jaeger <aj@suse.de>
1588 * po/eo.po: Update from translation team.
1590 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1594 exponent and small x and y exponents, scale x or y up. Increase
1595 by 2 the exponent used in scaling up.
1596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1598 * math/libm-test.inc (fma_test): Add more tests.
1599 (fma_test_towardzero): Likewise.
1600 (fma_test_downward): Likewise.
1601 (fma_test_upward): Likewise.
1603 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1606 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1610 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1611 namespace for names of struct fields.
1612 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1614 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1615 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1617 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1620 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1622 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1624 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1628 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1631 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1635 definitely overflow as x * y not x * y + z.
1636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1638 * math/libm-test.inc (fma_test): Add more tests.
1639 (fma_test_towardzero): Likewise.
1640 (fma_test_downward): Likewise.
1641 (fma_test_upward): Likewise.
1643 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1647 * include/stub-tag.h: Remove file.
1648 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1650 * manual/maint.texi (Porting): Don't reference it.
1651 * Makerules ($(objpfx)stubs): Likewise.
1652 * dirent/closedir.c: Don't include <stub-tag.h>.
1653 * dirent/dirfd.c: Likewise.
1654 * dirent/fdopendir.c: Likewise.
1655 * dirent/getdents.c: Likewise.
1656 * dirent/getdents64.c: Likewise.
1657 * dirent/opendir.c: Likewise.
1658 * dirent/readdir.c: Likewise.
1659 * dirent/readdir64.c: Likewise.
1660 * dirent/readdir64_r.c: Likewise.
1661 * dirent/readdir_r.c: Likewise.
1662 * dirent/rewinddir.c: Likewise.
1663 * dirent/seekdir.c: Likewise.
1664 * dirent/telldir.c: Likewise.
1665 * gmon/profil.c: Likewise.
1666 * grp/setgroups.c: Likewise.
1667 * inet/if_index.c: Likewise.
1668 * io/access.c: Likewise.
1669 * io/chdir.c: Likewise.
1670 * io/chmod.c: Likewise.
1671 * io/chown.c: Likewise.
1672 * io/close.c: Likewise.
1673 * io/dup.c: Likewise.
1674 * io/dup2.c: Likewise.
1675 * io/dup3.c: Likewise.
1676 * io/euidaccess.c: Likewise.
1677 * io/faccessat.c: Likewise.
1678 * io/fchdir.c: Likewise.
1679 * io/fchmod.c: Likewise.
1680 * io/fchmodat.c: Likewise.
1681 * io/fchown.c: Likewise.
1682 * io/fchownat.c: Likewise.
1683 * io/fcntl.c: Likewise.
1684 * io/flock.c: Likewise.
1685 * io/fstatfs.c: Likewise.
1686 * io/fstatfs64.c: Likewise.
1687 * io/fstatvfs.c: Likewise.
1688 * io/fstatvfs64.c: Likewise.
1689 * io/futimens.c: Likewise.
1690 * io/fxstat.c: Likewise.
1691 * io/fxstat64.c: Likewise.
1692 * io/fxstatat.c: Likewise.
1693 * io/fxstatat64.c: Likewise.
1694 * io/getcwd.c: Likewise.
1695 * io/isatty.c: Likewise.
1696 * io/lchmod.c: Likewise.
1697 * io/lchown.c: Likewise.
1698 * io/link.c: Likewise.
1699 * io/linkat.c: Likewise.
1700 * io/lseek.c: Likewise.
1701 * io/lseek64.c: Likewise.
1702 * io/lxstat64.c: Likewise.
1703 * io/mkdir.c: Likewise.
1704 * io/mkdirat.c: Likewise.
1705 * io/mkfifo.c: Likewise.
1706 * io/mkfifoat.c: Likewise.
1707 * io/open.c: Likewise.
1708 * io/open64.c: Likewise.
1709 * io/openat.c: Likewise.
1710 * io/openat64.c: Likewise.
1711 * io/pipe.c: Likewise.
1712 * io/pipe2.c: Likewise.
1713 * io/poll.c: Likewise.
1714 * io/posix_fadvise.c: Likewise.
1715 * io/posix_fadvise64.c: Likewise.
1716 * io/posix_fallocate.c: Likewise.
1717 * io/posix_fallocate64.c: Likewise.
1718 * io/read.c: Likewise.
1719 * io/readlink.c: Likewise.
1720 * io/readlinkat.c: Likewise.
1721 * io/rmdir.c: Likewise.
1722 * io/sendfile.c: Likewise.
1723 * io/sendfile64.c: Likewise.
1724 * io/statfs.c: Likewise.
1725 * io/statfs64.c: Likewise.
1726 * io/statvfs.c: Likewise.
1727 * io/statvfs64.c: Likewise.
1728 * io/symlink.c: Likewise.
1729 * io/symlinkat.c: Likewise.
1730 * io/ttyname.c: Likewise.
1731 * io/ttyname_r.c: Likewise.
1732 * io/umask.c: Likewise.
1733 * io/unlink.c: Likewise.
1734 * io/unlinkat.c: Likewise.
1735 * io/utime.c: Likewise.
1736 * io/utimensat.c: Likewise.
1737 * io/write.c: Likewise.
1738 * io/xmknod.c: Likewise.
1739 * io/xmknodat.c: Likewise.
1740 * io/xstat.c: Likewise.
1741 * io/xstat64.c: Likewise.
1742 * login/getpt.c: Likewise.
1743 * login/grantpt.c: Likewise.
1744 * login/unlockpt.c: Likewise.
1745 * math/e_acoshl.c: Likewise.
1746 * math/e_acosl.c: Likewise.
1747 * math/e_asinl.c: Likewise.
1748 * math/e_atan2l.c: Likewise.
1749 * math/e_atanhl.c: Likewise.
1750 * math/e_coshl.c: Likewise.
1751 * math/e_expl.c: Likewise.
1752 * math/e_fmodl.c: Likewise.
1753 * math/e_gammal_r.c: Likewise.
1754 * math/e_hypotl.c: Likewise.
1755 * math/e_j0l.c: Likewise.
1756 * math/e_j1l.c: Likewise.
1757 * math/e_jnl.c: Likewise.
1758 * math/e_lgammal_r.c: Likewise.
1759 * math/e_log10l.c: Likewise.
1760 * math/e_log2l.c: Likewise.
1761 * math/e_logl.c: Likewise.
1762 * math/e_powl.c: Likewise.
1763 * math/e_rem_pio2l.c: Likewise.
1764 * math/e_sinhl.c: Likewise.
1765 * math/e_sqrtl.c: Likewise.
1766 * math/fclrexcpt.c: Likewise.
1767 * math/fedisblxcpt.c: Likewise.
1768 * math/feenablxcpt.c: Likewise.
1769 * math/fegetenv.c: Likewise.
1770 * math/fegetexcept.c: Likewise.
1771 * math/fegetround.c: Likewise.
1772 * math/feholdexcpt.c: Likewise.
1773 * math/fesetenv.c: Likewise.
1774 * math/fesetround.c: Likewise.
1775 * math/feupdateenv.c: Likewise.
1776 * math/fgetexcptflg.c: Likewise.
1777 * math/fraiseexcpt.c: Likewise.
1778 * math/fsetexcptflg.c: Likewise.
1779 * math/ftestexcept.c: Likewise.
1780 * math/k_cosl.c: Likewise.
1781 * math/k_rem_pio2l.c: Likewise.
1782 * math/k_sinl.c: Likewise.
1783 * math/k_tanl.c: Likewise.
1784 * math/s_asinhl.c: Likewise.
1785 * math/s_atanl.c: Likewise.
1786 * math/s_cbrtl.c: Likewise.
1787 * math/s_erfl.c: Likewise.
1788 * math/s_expm1l.c: Likewise.
1789 * math/s_log1pl.c: Likewise.
1790 * math/s_tanhl.c: Likewise.
1791 * misc/acct.c: Likewise.
1792 * misc/brk.c: Likewise.
1793 * misc/chflags.c: Likewise.
1794 * misc/chroot.c: Likewise.
1795 * misc/fchflags.c: Likewise.
1796 * misc/fgetxattr.c: Likewise.
1797 * misc/flistxattr.c: Likewise.
1798 * misc/fremovexattr.c: Likewise.
1799 * misc/fsetxattr.c: Likewise.
1800 * misc/fsync.c: Likewise.
1801 * misc/ftruncate.c: Likewise.
1802 * misc/futimes.c: Likewise.
1803 * misc/futimesat.c: Likewise.
1804 * misc/getdomain.c: Likewise.
1805 * misc/getdtsz.c: Likewise.
1806 * misc/gethostid.c: Likewise.
1807 * misc/gethostname.c: Likewise.
1808 * misc/getloadavg.c: Likewise.
1809 * misc/getpagesize.c: Likewise.
1810 * misc/getsysstats.c: Likewise.
1811 * misc/getxattr.c: Likewise.
1812 * misc/gtty.c: Likewise.
1813 * misc/ioctl.c: Likewise.
1814 * misc/lgetxattr.c: Likewise.
1815 * misc/listxattr.c: Likewise.
1816 * misc/llistxattr.c: Likewise.
1817 * misc/lremovexattr.c: Likewise.
1818 * misc/lsetxattr.c: Likewise.
1819 * misc/lutimes.c: Likewise.
1820 * misc/madvise.c: Likewise.
1821 * misc/mincore.c: Likewise.
1822 * misc/mlock.c: Likewise.
1823 * misc/mlockall.c: Likewise.
1824 * misc/mmap.c: Likewise.
1825 * misc/mprotect.c: Likewise.
1826 * misc/msync.c: Likewise.
1827 * misc/munlock.c: Likewise.
1828 * misc/munlockall.c: Likewise.
1829 * misc/munmap.c: Likewise.
1830 * misc/preadv.c: Likewise.
1831 * misc/preadv64.c: Likewise.
1832 * misc/ptrace.c: Likewise.
1833 * misc/pwritev.c: Likewise.
1834 * misc/pwritev64.c: Likewise.
1835 * misc/readv.c: Likewise.
1836 * misc/reboot.c: Likewise.
1837 * misc/remap_file_pages.c: Likewise.
1838 * misc/removexattr.c: Likewise.
1839 * misc/revoke.c: Likewise.
1840 * misc/select.c: Likewise.
1841 * misc/setdomain.c: Likewise.
1842 * misc/setegid.c: Likewise.
1843 * misc/seteuid.c: Likewise.
1844 * misc/sethostid.c: Likewise.
1845 * misc/sethostname.c: Likewise.
1846 * misc/setregid.c: Likewise.
1847 * misc/setreuid.c: Likewise.
1848 * misc/setxattr.c: Likewise.
1849 * misc/sstk.c: Likewise.
1850 * misc/stty.c: Likewise.
1851 * misc/swapoff.c: Likewise.
1852 * misc/swapon.c: Likewise.
1853 * misc/sync.c: Likewise.
1854 * misc/syncfs.c: Likewise.
1855 * misc/syscall.c: Likewise.
1856 * misc/truncate.c: Likewise.
1857 * misc/ualarm.c: Likewise.
1858 * misc/usleep.c: Likewise.
1859 * misc/ustat.c: Likewise.
1860 * misc/utimes.c: Likewise.
1861 * misc/vhangup.c: Likewise.
1862 * misc/writev.c: Likewise.
1863 * posix/_exit.c: Likewise.
1864 * posix/alarm.c: Likewise.
1865 * posix/execve.c: Likewise.
1866 * posix/fexecve.c: Likewise.
1867 * posix/fork.c: Likewise.
1868 * posix/fpathconf.c: Likewise.
1869 * posix/getaddrinfo.c: Likewise.
1870 * posix/getegid.c: Likewise.
1871 * posix/geteuid.c: Likewise.
1872 * posix/getgid.c: Likewise.
1873 * posix/getgroups.c: Likewise.
1874 * posix/getlogin.c: Likewise.
1875 * posix/getlogin_r.c: Likewise.
1876 * posix/getpgid.c: Likewise.
1877 * posix/getpid.c: Likewise.
1878 * posix/getppid.c: Likewise.
1879 * posix/getresgid.c: Likewise.
1880 * posix/getresuid.c: Likewise.
1881 * posix/getsid.c: Likewise.
1882 * posix/getuid.c: Likewise.
1883 * posix/glob64.c: Likewise.
1884 * posix/nanosleep.c: Likewise.
1885 * posix/pathconf.c: Likewise.
1886 * posix/pause.c: Likewise.
1887 * posix/posix_madvise.c: Likewise.
1888 * posix/pread.c: Likewise.
1889 * posix/pread64.c: Likewise.
1890 * posix/pwrite.c: Likewise.
1891 * posix/pwrite64.c: Likewise.
1892 * posix/sched_getaffinity.c: Likewise.
1893 * posix/sched_getp.c: Likewise.
1894 * posix/sched_gets.c: Likewise.
1895 * posix/sched_primax.c: Likewise.
1896 * posix/sched_primin.c: Likewise.
1897 * posix/sched_rr_gi.c: Likewise.
1898 * posix/sched_setaffinity.c: Likewise.
1899 * posix/sched_setp.c: Likewise.
1900 * posix/sched_sets.c: Likewise.
1901 * posix/sched_yield.c: Likewise.
1902 * posix/setgid.c: Likewise.
1903 * posix/setlogin.c: Likewise.
1904 * posix/setpgid.c: Likewise.
1905 * posix/setresgid.c: Likewise.
1906 * posix/setresuid.c: Likewise.
1907 * posix/setsid.c: Likewise.
1908 * posix/setuid.c: Likewise.
1909 * posix/sleep.c: Likewise.
1910 * posix/spawni.c: Likewise.
1911 * posix/sysconf.c: Likewise.
1912 * posix/times.c: Likewise.
1913 * posix/wait.c: Likewise.
1914 * posix/wait3.c: Likewise.
1915 * posix/wait4.c: Likewise.
1916 * posix/waitpid.c: Likewise.
1917 * resolv/gai_sigqueue.c: Likewise.
1918 * resource/getpriority.c: Likewise.
1919 * resource/getrlimit.c: Likewise.
1920 * resource/getrusage.c: Likewise.
1921 * resource/nice.c: Likewise.
1922 * resource/setpriority.c: Likewise.
1923 * resource/setrlimit.c: Likewise.
1924 * resource/ulimit.c: Likewise.
1925 * rt/aio_cancel.c: Likewise.
1926 * rt/aio_fsync.c: Likewise.
1927 * rt/aio_read.c: Likewise.
1928 * rt/aio_sigqueue.c: Likewise.
1929 * rt/aio_suspend.c: Likewise.
1930 * rt/aio_write.c: Likewise.
1931 * rt/clock_getres.c: Likewise.
1932 * rt/clock_gettime.c: Likewise.
1933 * rt/clock_nanosleep.c: Likewise.
1934 * rt/clock_settime.c: Likewise.
1935 * rt/lio_listio.c: Likewise.
1936 * rt/mq_close.c: Likewise.
1937 * rt/mq_getattr.c: Likewise.
1938 * rt/mq_notify.c: Likewise.
1939 * rt/mq_open.c: Likewise.
1940 * rt/mq_receive.c: Likewise.
1941 * rt/mq_send.c: Likewise.
1942 * rt/mq_setattr.c: Likewise.
1943 * rt/mq_timedreceive.c: Likewise.
1944 * rt/mq_timedsend.c: Likewise.
1945 * rt/mq_unlink.c: Likewise.
1946 * rt/shm_open.c: Likewise.
1947 * rt/shm_unlink.c: Likewise.
1948 * rt/timer_create.c: Likewise.
1949 * rt/timer_delete.c: Likewise.
1950 * rt/timer_getoverr.c: Likewise.
1951 * rt/timer_gettime.c: Likewise.
1952 * rt/timer_settime.c: Likewise.
1953 * setjmp/__longjmp.c: Likewise.
1954 * setjmp/setjmp.c: Likewise.
1955 * signal/kill.c: Likewise.
1956 * signal/killpg.c: Likewise.
1957 * signal/raise.c: Likewise.
1958 * signal/sigaction.c: Likewise.
1959 * signal/sigaltstack.c: Likewise.
1960 * signal/sigblock.c: Likewise.
1961 * signal/sigignore.c: Likewise.
1962 * signal/sigintr.c: Likewise.
1963 * signal/signal.c: Likewise.
1964 * signal/sigpause.c: Likewise.
1965 * signal/sigpending.c: Likewise.
1966 * signal/sigqueue.c: Likewise.
1967 * signal/sigreturn.c: Likewise.
1968 * signal/sigset.c: Likewise.
1969 * signal/sigsetmask.c: Likewise.
1970 * signal/sigstack.c: Likewise.
1971 * signal/sigsuspend.c: Likewise.
1972 * signal/sigtimedwait.c: Likewise.
1973 * signal/sigvec.c: Likewise.
1974 * signal/sigwait.c: Likewise.
1975 * signal/sigwaitinfo.c: Likewise.
1976 * signal/sysv_signal.c: Likewise.
1977 * socket/accept.c: Likewise.
1978 * socket/accept4.c: Likewise.
1979 * socket/bind.c: Likewise.
1980 * socket/connect.c: Likewise.
1981 * socket/getpeername.c: Likewise.
1982 * socket/getsockname.c: Likewise.
1983 * socket/getsockopt.c: Likewise.
1984 * socket/isfdtype.c: Likewise.
1985 * socket/listen.c: Likewise.
1986 * socket/recv.c: Likewise.
1987 * socket/recvfrom.c: Likewise.
1988 * socket/recvmsg.c: Likewise.
1989 * socket/send.c: Likewise.
1990 * socket/sendmsg.c: Likewise.
1991 * socket/sendto.c: Likewise.
1992 * socket/setsockopt.c: Likewise.
1993 * socket/shutdown.c: Likewise.
1994 * socket/sockatmark.c: Likewise.
1995 * socket/socket.c: Likewise.
1996 * socket/socketpair.c: Likewise.
1997 * stdio-common/ctermid.c: Likewise.
1998 * stdio-common/cuserid.c: Likewise.
1999 * stdio-common/remove.c: Likewise.
2000 * stdio-common/rename.c: Likewise.
2001 * stdio-common/renameat.c: Likewise.
2002 * stdio-common/tempname.c: Likewise.
2003 * stdlib/getcontext.c: Likewise.
2004 * stdlib/makecontext.c: Likewise.
2005 * stdlib/setcontext.c: Likewise.
2006 * stdlib/swapcontext.c: Likewise.
2007 * stdlib/system.c: Likewise.
2008 * streams/fattach.c: Likewise.
2009 * streams/fdetach.c: Likewise.
2010 * streams/getmsg.c: Likewise.
2011 * streams/getpmsg.c: Likewise.
2012 * streams/putmsg.c: Likewise.
2013 * streams/putpmsg.c: Likewise.
2014 * sysdeps/unix/bsd/getpt.c: Likewise.
2015 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2016 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2017 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2020 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2021 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2022 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2023 * sysvipc/msgctl.c: Likewise.
2024 * sysvipc/msgget.c: Likewise.
2025 * sysvipc/msgrcv.c: Likewise.
2026 * sysvipc/msgsnd.c: Likewise.
2027 * sysvipc/semctl.c: Likewise.
2028 * sysvipc/semget.c: Likewise.
2029 * sysvipc/semop.c: Likewise.
2030 * sysvipc/semtimedop.c: Likewise.
2031 * sysvipc/shmat.c: Likewise.
2032 * sysvipc/shmctl.c: Likewise.
2033 * sysvipc/shmdt.c: Likewise.
2034 * sysvipc/shmget.c: Likewise.
2035 * termios/tcdrain.c: Likewise.
2036 * termios/tcflow.c: Likewise.
2037 * termios/tcflush.c: Likewise.
2038 * termios/tcgetattr.c: Likewise.
2039 * termios/tcgetpgrp.c: Likewise.
2040 * termios/tcsendbrk.c: Likewise.
2041 * termios/tcsetattr.c: Likewise.
2042 * termios/tcsetpgrp.c: Likewise.
2043 * time/adjtime.c: Likewise.
2044 * time/clock.c: Likewise.
2045 * time/getitimer.c: Likewise.
2046 * time/gettimeofday.c: Likewise.
2047 * time/setitimer.c: Likewise.
2048 * time/settimeofday.c: Likewise.
2049 * time/stime.c: Likewise.
2050 * time/time.c: Likewise.
2052 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2054 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2057 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2059 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2061 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2065 FE_TONEAREST before applying Dekker multiplication and Knuth
2066 addition. Clear inexact exceptions and check for exact zero
2068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2071 * math/libm-test.inc (fma_test): Add more tests.
2072 (fma_test_towardzero): Likewise.
2073 (fma_test_downward): Likewise.
2074 (fma_test_upward): Likewise.
2075 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2077 (libc_fesetround): New macro.
2078 (libc_fesetroundf): Likewise.
2079 (libc_fesetroundl): Likewise.
2080 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2082 (libc_fesetround_387): Likewise.
2083 (libc_fesetroundf): New macro.
2084 (libc_fesetround): Likewise.
2085 (libc_fesetroundl): Likewise.
2086 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2088 (libc_fesetroundf): New macro.
2089 (libc_fesetround): Likewise.
2090 (libc_fesetroundl): Likewise.
2091 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2092 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2093 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2095 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2096 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2098 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2099 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2101 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2105 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2106 integer constant usable in #if and use that to give value to enum
2108 (FE_DIVBYZERO): Likewise.
2109 (FE_UNDERFLOW): Likewise.
2110 (FE_OVERFLOW): Likewise.
2111 (FE_INVALID): Likewise.
2112 (FE_INVALID_SNAN): Likewise.
2113 (FE_INVALID_ISI): Likewise.
2114 (FE_INVALID_IDI): Likewise.
2115 (FE_INVALID_ZDZ): Likewise.
2116 (FE_INVALID_IMZ): Likewise.
2117 (FE_INVALID_COMPARE): Likewise.
2118 (FE_INVALID_SOFTWARE): Likewise.
2119 (FE_INVALID_SQRT): Likewise.
2120 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2121 (FE_TONEAREST): Likewise.
2122 (FE_TOWARDZERO): Likewise.
2123 (FE_UPWARD): Likewise.
2124 (FE_DOWNWARD): Likewise.
2125 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2126 (FE_DIVBYZERO): Likewise.
2127 (FE_OVERFLOW): Likewise.
2128 (FE_UNDERFLOW): Likewise.
2129 (FE_INEXACT): Likewise.
2130 (FE_TONEAREST): Likewise.
2131 (FE_DOWNWARD): Likewise.
2132 (FE_UPWARD): Likewise.
2133 (FE_TOWARDZERO): Likewise.
2134 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2135 (FE_UNDERFLOW): Likewise.
2136 (FE_OVERFLOW): Likewise.
2137 (FE_DIVBYZERO): Likewise.
2138 (FE_INVALID): Likewise.
2139 (FE_TONEAREST): Likewise.
2140 (FE_TOWARDZERO): Likewise.
2141 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2142 (FE_OVERFLOW): Likewise.
2143 (FE_UNDERFLOW): Likewise.
2144 (FE_DIVBYZERO): Likewise.
2145 (FE_INEXACT): Likewise.
2146 (FE_TONEAREST): Likewise.
2147 (FE_TOWARDZERO): Likewise.
2148 (FE_UPWARD): Likewise.
2149 (FE_DOWNWARD): Likewise.
2150 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2151 (FE_DIVBYZERO): Likewise.
2152 (FE_OVERFLOW): Likewise.
2153 (FE_UNDERFLOW): Likewise.
2154 (FE_INEXACT): Likewise.
2155 (FE_TONEAREST): Likewise.
2156 (FE_DOWNWARD): Likewise.
2157 (FE_UPWARD): Likewise.
2158 (FE_TOWARDZERO): Likewise.
2160 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2162 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2164 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2166 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2167 commands. Quote $PWD.
2168 (blacklist_exports): Don't use remove_newlines. Replace "declare
2170 (remove_newlines): Remove.
2172 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2174 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2175 * stdlib/stdlib.h (atof): Moved to ...
2176 * include/bits/stdlib-float.h: Here. New file.
2177 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2178 * stdlib/bits/stdlib-float.h: New file.
2179 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2181 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2184 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2186 * conform/conformtest.pl (@headers): Add fenv.h.
2187 * conform/data/fenv.h-data: New file.
2188 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2189 include of <math/fenv.h>.
2191 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2192 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2193 && !UNIX98]. Enables tests for XOPEN2K8.
2194 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2195 POSIX2008]: Likewise.
2197 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2198 (struct rusage): Do not expect type or its members.
2201 * math/math.h (FP_NAN): Define macro to integer constant usable in
2202 #if and use that to give value to enum constant.
2203 (FP_INFINITE): Likewise.
2204 (FP_ZERO): Likewise.
2205 (FP_SUBNORMAL): Likewise.
2206 (FP_NORMAL): Likewise.
2208 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2210 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2211 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2214 2012-11-02 Roland McGrath <roland@hack.frob.com>
2216 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2217 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2218 autoconf-time if not.
2219 * configure.in: Remove AC_PREREQ.
2221 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2223 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2224 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2225 of the internal implementation.
2227 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2229 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2230 except include of <misc/sys/syslog.h>.
2232 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2235 function returns with a NULL context exit with zero.
2237 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2239 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2241 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2243 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2244 (run_program_cmd): This.
2245 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2246 (tst_langinfo): New variable. Use it.
2248 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2250 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2251 floating point opcodes.
2253 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2255 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2258 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2260 * sysdeps/mach/hurd/powerpc: Remove directory.
2261 * sysdeps/mach/powerpc: Likewise.
2263 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2265 * scripts/check-local-headers.sh: Ignore c++ headers.
2267 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2269 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2270 __libc_cleanup_region_start argument.
2272 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2277 x * y using scaling, not as x * y + z.
2278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2280 * math/libm-test.inc (fma_test): Add more tests.
2281 (fma_test_towardzero): Likewise.
2282 (fma_test_downward): Likewise.
2283 (fma_test_upward): Likewise.
2285 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2287 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2289 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2291 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2294 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2296 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2298 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2305 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2308 Fix the order of the list for glibc 2.17.
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2312 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2316 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2319 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2320 for low part of x being zero before using __atanl (y).
2321 * math/libm-test.inc (atan2_test): Add another test.
2323 * manual/install.texi (Configuring and compiling): Document
2324 general use of test-wrapper and test-wrapper-env.
2325 * INSTALL: Regenerated.
2327 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2328 (__fma): Do not extract and scale down low bits on after-rounding
2329 systems when result rounded to normal precision would have normal
2331 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2332 (__fmal): Do not extract and scale down low bits on after-rounding
2333 systems when result rounded to normal precision would have normal
2335 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2336 (__fmal): Do not extract and scale down low bits on after-rounding
2337 systems when result rounded to normal precision would have normal
2339 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2341 (fma_test): Add more tests.
2342 (fma_test_towardzero): Likewise.
2343 (fma_test_downward): Likewise.
2344 (fma_test_upward): Likewise.
2346 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2348 * sysdeps/i386/tininess.h: Renamed to ...
2349 * sysdeps/x86/tininess.h: This.
2350 * sysdeps/x86_64/tininess.h: Removed.
2352 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2354 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2355 input. Use $(build-program-cmd).
2356 ($(objpfx)tst-array1-static.out): Likewise.
2357 ($(objpfx)tst-array2.out): Likewise.
2358 ($(objpfx)tst-array3.out): Likewise.
2359 ($(objpfx)tst-array4.out): Likewise.
2360 ($(objpfx)tst-array5.out): Likewise.
2361 ($(objpfx)tst-array5-static.out): Likewise.
2363 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2365 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2368 * nss/nsswitch.h (nss_interface_function): Provide new
2369 macro for use with NSS functions.
2370 * grp/initgroups.c: Use new macro.
2371 * nss/getXXbyYY.c: Likewise.
2372 * nss/getXXbyYY_r.c: Likewise.
2373 * nss/getXXent.c: Likewise.
2374 * nss/getXXent_r.c: Likewise.
2375 * sysdeps/posix/getaddrinfo.c: Likewise.
2377 2012-10-30 Andreas Jaeger <aj@suse.de>
2379 * po/ru.po: Update Russion translation from translation project.
2381 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2386 result and shift together with sticky bit instead of replicating
2387 round-to-nearest rounding.
2388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2390 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2391 missing underflow exceptions.
2392 (fma_test_towardzero): Add more tests.
2393 (fma_test_downward): Likewise.
2394 (fma_test_upward): Likewise.
2397 * sysdeps/generic/tininess.h: New file.
2398 * sysdeps/i386/tininess.h: Likewise.
2399 * sysdeps/sh/tininess.h: Likewise.
2400 * sysdeps/x86_64/tininess.h: Likewise.
2401 * stdlib/tst-strtod-underflow.c: Likewise.
2402 * stdlib/tst-tininess.c: Likewise.
2403 * stdlib/strtod_l.c: Include <tininess.h>.
2404 (round_and_return): Do not set errno for exact underflow cases.
2405 Force an underflow exception when setting errno for underflow.
2406 Determine underflow based on rounding to normal precision if
2407 TININESS_AFTER_ROUNDING.
2408 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2409 ERANGE for exact underflow cases.
2410 * stdlib/Makefile (tests): Add tst-tininess and
2411 tst-strtod-underflow.
2412 ($(objpfx)tst-tininess): Use $(link-libm).
2413 ($(objpfx)tst-strtod-underflow): Likewise.
2415 2012-10-30 Andreas Jaeger <aj@suse.de>
2418 * elf/Makefile (tests): Remove conditional for have-initfini-array
2419 since this is now always required and the variable does not exist
2421 (tests-static): Likewise.
2422 (modules-names): Likewise.
2424 * po/eo.po: Add Esperanto translation from translation project.
2426 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2427 merged with constructor/destructor.
2428 (init_array): Likewise.
2429 * elf/tst-array2dep.c (fini_array): Likewise.
2430 (init_array): Likewise.
2432 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2434 * manual/message.texi: Delete @cartouche tags.
2436 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2438 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2440 * sysdeps/mach/hurd/fsync.c: Likewise.
2442 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2443 [_POSIX_REALTIME_SIGNALS]: Change condition to
2444 [_POSIX_REALTIME_SIGNALS > 0].
2446 2012-10-27 Andreas Jaeger <aj@suse.de>
2448 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2449 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2451 [__WORDSIZE != 64]: Likewise.
2453 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2455 * iconvdata/tst-table.sh: Remove ${SHELL}.
2456 * iconvdata/tst-tables.sh: Likewise.
2458 2012-10-25 David S. Miller <davem@davemloft.net>
2460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2461 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2467 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2468 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2471 2012-10-25 Roland McGrath <roland@hack.frob.com>
2473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2474 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2477 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2478 Jim Blandy <jimb@codesourcery.com>
2480 * scripts/cross-test-ssh.sh: New file.
2481 * manual/install.texi (Configuring and compiling): Document use of
2483 * INSTALL: Regenerated.
2485 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2487 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2490 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2492 * Makeconfig (run-program-prefix): Fix comment.
2494 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2495 Jim Blandy <jimb@codesourcery.com>
2497 * Makeconfig (test-wrapper): New variable,
2498 (test-wrapper-env): Likewise.
2499 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2500 (run-built-tests): Define to yes.
2501 (run-program-prefix): Use $(test-wrapper).
2502 (built-program-cmd): Likewise.
2503 * Rules (make-test-out): Use $(test-wrapper-env) and
2504 $(host-built-program-cmd).
2505 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2506 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2508 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2509 $(test-wrapper-env) to tst-rtld-load-self.sh.
2510 ($(objpfx)order2.out): Use $(test-wrapper).
2511 ($(objpfx)tst-initorder.out): Likewise.
2512 ($(objpfx)tst-initorder2.out): Likewise.
2513 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2514 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2515 (test_wrapper_env): New variable. Use it to run ld.so.
2516 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2517 Use it to run ld.so.
2518 (test_wrapper_env): Likewise.
2519 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2520 $(test-wrapper) to run-iconv-test.sh.
2521 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2522 (ICONV): Use $test_wrapper.
2523 * posix/Makefile ($(objpfx)globtest.out): Pass
2524 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2525 globtest.sh, not $(run-program-prefix).
2526 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2527 (test_wrapper): Likewise.
2528 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2529 set together with run_via_rtld_prefix.
2530 (run_program_prefix): Define in terms of test_wrapper and
2531 run_via_rtld_prefix.
2533 2012-10-24 Roland McGrath <roland@hack.frob.com>
2535 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2536 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2540 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2541 Declare __clock_getres, __clock_gettime, __clock_settime,
2542 __clock_nanosleep, and __clock_getcpuclockid.
2543 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2544 Remove librt_hidden_def (clock_gettime).
2545 * sysdeps/unix/clock_gettime.c: Likewise.
2546 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2547 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2548 * rt/clock_getres.c: Define __clock_getres as an alias.
2549 * sysdeps/posix/clock_getres.c: Likewise.
2550 * rt/clock_settime.c: Define __clock_settime as an alias.
2551 * sysdeps/unix/clock_settime.c: Likewise.
2552 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2553 * sysdeps/unix/clock_nanosleep.c: Likewise.
2554 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2555 * rt/clock-compat.c: New file.
2556 * rt/Makefile (librt-routines): Add clock-compat and move
2557 $(clock-routines) to ...
2558 (routines): ... here, new variable.
2559 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2560 Don't add get_clockfreq here.
2561 * rt/Versions (libc: GLIBC_2.17): New version set.
2562 Add clock_* symbols here.
2563 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2565 (GLIBC_2.17): Add clock_* symbols.
2566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2577 * NEWS: Mention the move.
2579 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2580 Use __open, __read, __close rather than their public counterparts.
2581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2582 (__get_clockfreq_via_cpuinfo): Likewise.
2583 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2584 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2586 * config.h.in (HAVE_IFUNC): New #undef.
2587 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2589 * configure: Regenerated.
2591 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2593 * configure.in: Move READELF check to start of file.
2594 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2595 libc_cv_asm_gnu_indirect_function in the process.
2596 * configure: Regenerated.
2598 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2600 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2601 send the output to /dev/null.
2602 (libc_cv_cc_with_libunwind): Likewise.
2603 (libc_cv_as_noexecstack): Likewise.
2604 * configure: Regenerate.
2606 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2608 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2610 * posix/globtest.sh (TMPDIR): Do not set.
2611 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2612 (testout): Likewise.
2614 2012-10-24 Andreas Jaeger <aj@suse.de>
2616 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2617 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2618 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2619 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2620 posix_fadvise64, posix_fallocate64.
2622 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2623 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2624 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2626 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2628 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2631 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2632 <bits/fcntl-linux.h>.
2633 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2636 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2637 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2638 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2639 [__WORDSIZE != 64]: Likewise.
2641 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2643 * Makeconfig (run-built-tests): New variable.
2644 * Rules [$(cross-compiling) = yes]: Change condition to
2645 [$(run-built-tests) = no].
2646 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2647 to [$(run-built-tests) = yes].
2648 * elf/Makefile [$(cross-compiling) = no]: Likewise
2649 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2650 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2651 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2652 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2653 * io/Makefile [$(cross-compiling) = no]: Likewise.
2654 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2655 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2656 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2657 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2658 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2659 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2660 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2661 * string/Makefile [$(cross-compiling) = no]: Likewise.
2663 * posix/Makefile ($(objpfx)globtest.out): Pass
2664 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2665 $(rtld-installed-name).
2666 * posix/globtest.sh (elf_objpfx): Remove variable.
2667 (rtld_installed_name): Likewise.
2668 (library_path): Likewise.
2669 (run_program_prefix): New variable. Use for running globtest
2672 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2673 Joseph Myers <joseph@codesourcery.com>
2675 * Makeconfig (host-built-program-cmd): New variable.
2676 * elf/Makefile (tst-stackguard1-ARGS): Use
2677 $(host-built-program-cmd).
2678 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2679 (tst-spawn-ARGS): Likewise.
2680 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2682 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2683 Jim Blandy <jimb@codesourcery.com>
2685 * Makeconfig (run-via-rtld-prefix): New variable.
2686 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2687 (built-program-cmd): Likewise.
2689 2012-10-22 Andreas Jaeger <aj@suse.de>
2691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2692 __O_RSYNC if it exists, otherwise to O_SYNC.
2694 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2695 Joseph Myers <joseph@codesourcery.com>
2697 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2699 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2701 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2704 2012-10-22 Andreas Jaeger <aj@suse.de>
2706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2714 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2721 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2722 Joseph Myers <joseph@codesourcery.com>
2724 * config.make.in (NM): New variable.
2726 2012-10-21 Andreas Jaeger <aj@suse.de>
2728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2729 definitions and declarations that are provided by
2730 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2732 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2735 * elf/Makefile (tests-static): Add tst-leaks1-static.
2736 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2737 ($(objpfx)tst-leaks1-static): New rule.
2738 ($(objpfx)tst-leaks1-static-mem): Likewise.
2739 (tst-leaks1-static-ENV): New macro.
2740 * elf/dl-open.c (dl_open_worker): Check the main application
2741 only if SHARED is defined.
2742 * elf/tst-leaks1-static.c: New file.
2744 2012-10-20 Andreas Jaeger <aj@suse.de>
2746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2747 generic values for Linux.
2748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2749 and declarations that are provided by <bits/fcntl-linux.h> and
2750 include <bits/fcntl-linux.h>.
2751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2754 2012-10-20 Roland McGrath <roland@hack.frob.com>
2756 * io/fcntl.h: Move include of <bits/types.h> to the top and
2757 include it unconditionally.
2759 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2761 * wcsmbs/Makefile (tests-ifunc): New variable.
2762 (tests): Add $(tests-ifunc).
2763 * wcsmbs/test-wcschr-ifunc.c: New file.
2764 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2765 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2766 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2767 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2768 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2770 * string/Makefile (tests-ifunc): New variable.
2771 (tests): Add $(tests-ifunc).
2772 * string/test-memccpy.c (TEST_NAME): New macro.
2773 * string/test-memchr.c (TEST_NAME): Likewise.
2774 * string/test-memcmp.c (TEST_NAME): Likewise.
2775 * string/test-memcpy.c (TEST_NAME): Likewise.
2776 * string/test-memmem.c (TEST_NAME): Likewise.
2777 * string/test-memmove.c (TEST_NAME): Likewise.
2778 * string/test-memset.c (TEST_NAME): Likewise.
2779 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2780 * string/test-stpcpy.c (TEST_NAME): Likewise.
2781 * string/test-stpncpy.c (TEST_NAME): Likewise.
2782 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2783 * string/test-strcasestr.c (TEST_NAME): Likewise.
2784 * string/test-strcat.c (TEST_NAME): Likewise.
2785 * string/test-strchr.c (TEST_NAME): Likewise.
2786 * string/test-strcmp.c(TEST_NAME): Likewise.
2787 * string/test-strcpy.c (TEST_NAME): Likewise.
2788 * string/test-strcspn.c (TEST_NAME): Likewise.
2789 * string/test-strlen.c (TEST_NAME): Likewise.
2790 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2791 * string/test-strncmp.c (TEST_NAME): Likewise.
2792 * string/test-strncpy.c (TEST_NAME): Likewise.
2793 * string/test-strnlen.c (TEST_NAME): Likewise.
2794 * string/test-strpbrk.c (TEST_NAME): Likewise.
2795 * string/test-strrchr.c (TEST_NAME): Likewise.
2796 * string/test-strspn.c (TEST_NAME): Likewise.
2797 * string/test-strstr.c (TEST_NAME): Likewise.
2798 * string/test-bcopy-ifunc.c: New file.
2799 * string/test-bzero-ifunc.c: Likewise.
2800 * string/test-memccpy-ifunc.c: Likewise.
2801 * string/test-memchr-ifunc.c: Likewise.
2802 * string/test-memcmp-ifunc.c: Likewise.
2803 * string/test-memcpy-ifunc.c: Likewise.
2804 * string/test-memmem-ifunc.c: Likewise.
2805 * string/test-memmove-ifunc.c: Likewise.
2806 * string/test-mempcpy-ifunc.c: Likewise.
2807 * string/test-memset-ifunc.c: Likewise.
2808 * string/test-rawmemchr-ifunc.c: Likewise.
2809 * string/test-stpcpy-ifunc.c: Likewise.
2810 * string/test-stpncpy-ifunc.c: Likewise.
2811 * string/test-strcasecmp-ifunc.c: Likewise.
2812 * string/test-strcasestr-ifunc.c: Likewise.
2813 * string/test-strcat-ifunc.c: Likewise.
2814 * string/test-strchr-ifunc.c: Likewise.
2815 * string/test-strchrnul-ifunc.c: Likewise.
2816 * string/test-strcmp-ifunc.c: Likewise.
2817 * string/test-strcpy-ifunc.c: Likewise.
2818 * string/test-strcspn-ifunc.c: Likewise.
2819 * string/test-strlen-ifunc.c: Likewise.
2820 * string/test-strncasecmp-ifunc.c: Likewise.
2821 * string/test-strncat-ifunc.c: Likewise.
2822 * string/test-strncmp-ifunc.c: Likewise.
2823 * string/test-strncpy-ifunc.c: Likewise.
2824 * string/test-strnlen-ifunc.c: Likewise.
2825 * string/test-strpbrk-ifunc.c: Likewise.
2826 * string/test-strrchr-ifunc.c: Likewise.
2827 * string/test-strspn-ifunc.c: Likewise.
2828 * string/test-strstr-ifunc.c: Likewise.
2830 * debug/Makefile (tests-ifunc): New variable.
2831 (tests): Add $(tests-ifunc).
2832 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2833 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2834 * debug/test-stpcpy_chk-ifunc.c: New file.
2835 * debug/test-strcpy_chk-ifunc.c: Likewise.
2837 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2840 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2841 header is not read in.
2843 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2845 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2846 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2847 directly. Pass built executable to script as
2848 $(built-program-cmd).
2849 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2850 $testprogram without using LD_LIBRARY_PATH and $ldso.
2852 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2853 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2854 $(rtld-installed-name).
2855 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2856 (rtld_installed_name): Likewise.
2857 (library_path): Likewise.
2858 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2859 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2860 $(run-program-prefix) to tst-tables.sh.
2861 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2862 it to run tst-table-from and tst-table-to.
2863 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2864 Pass it to tst-table.sh.
2865 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2866 $(run-program-prefix) to tst-gettext.sh.
2867 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2869 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2871 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2873 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2874 to run tst-gettext2.
2875 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2876 to run tst-translit.
2877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2878 $(run-program-prefix) to tst-mtrace.sh.
2879 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2881 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2882 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2883 $(rtld-installed-name).
2884 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2885 (rtld_installed_name): Likewise.
2886 (run_program_prefix): New variable. Use it to run wordexp-test.
2888 * Makeconfig (ARCH): Remove all definitions.
2889 (machine): Likewise.
2890 [ARCH]: Remove conditional code.
2891 [!objdir]: Give error.
2892 [!objdir] (objpfx): Remove.
2893 [!objdir] (common-objpfx): Likewise.
2894 [!objdir] (common-objdir): Likewise.
2895 * configure.in (config_makefile): Remove. Hardcode Makefile in
2896 AC_CONFIG_FILES call.
2897 * configure: Regenerated.
2900 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2902 (testout): Likewise.
2904 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2905 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2906 $(rtld-installed-name).
2907 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2908 (rtld_installed_name): Likwise.
2909 (runit): Remove function.
2910 (run_getconf): New variable, Use it for running getconf binary.
2912 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2915 * string/test-memmem.c (check_result): New function.
2916 (do_one_test): Use it.
2917 (check1): New function.
2918 (test_main): Use it.
2920 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2922 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2924 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2926 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2927 (_G_LSEEK64): Likewise.
2928 (_G_MMAP64): Likewise.
2929 (_G_FSTAT64): Likewise.
2930 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2931 (_G_LSEEK64): Likewise.
2932 (_G_MMAP64): Likewise.
2933 (_G_FSTAT64): Likewise.
2934 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2935 unconditional. Call __mmap64 directly.
2936 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2937 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2939 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2940 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2942 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2943 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2945 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2946 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2948 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2949 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2951 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2952 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2953 __fxstat64 directly.
2954 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2955 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2957 (freopen64) [!_G_OPEN64]: Remove conditional code.
2958 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2960 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2961 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2963 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2964 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2966 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2967 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2969 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2970 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2972 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2973 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2975 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2976 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2978 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2980 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2983 * manual/memory.texi (Malloc Tunable Parameters): Add note
2984 about free list pointers overwriting some perturb bytes.
2985 Wording suggested by Roland McGrath.
2987 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2989 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2990 (lgamma_test): Likewise.
2991 (tgamma_test): Likewise.
2993 2012-10-16 Florian Weimer <fweimer@redhat.com>
2996 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2997 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2999 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3001 * NEWS: Mention BZ #14716.
3002 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3003 when removing AVAILABLE1_USES_J macro.
3005 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3007 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3008 (__bswap_64): __uint64_t for unsigned 64-bit int.
3010 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3012 * include/string.h (memmem): Declare libc hidden alias.
3013 * string/memmem.c (memmem): Define libc hidden alias.
3014 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3015 __read, __close instead of open, read, close.
3017 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3020 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3022 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3023 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3024 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3026 (__rawmemchr_sse2): Likewise.
3027 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3028 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3029 (__strchr_sse2): Likewise.
3030 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3031 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3032 (__strcasecmp_sse2): Likewise.
3033 (__strncasecmp_sse2): Likewise.
3034 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3035 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3036 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3037 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3038 (__strrchr_sse2): Likewise.
3039 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3041 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3042 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3043 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3044 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3045 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3046 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3047 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3048 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3049 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3050 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3051 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3052 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3053 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3054 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3055 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3056 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3057 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3058 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3059 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3060 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3061 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3062 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3063 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3064 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3065 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3066 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3067 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3068 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3069 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3070 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3074 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3075 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3076 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3077 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3079 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3081 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3082 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3083 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3084 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3086 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3090 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3097 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3098 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3099 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3104 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3116 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3117 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3118 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3128 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3129 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3130 * include/ifunc-impl-list.h: New file.
3131 * misc/ifunc-impl-list.c: Likewise.
3132 * misc/Makefile (routines): Add ifunc-impl-list.
3133 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3134 * string/test-string.h: Include <ifunc-impl-list.h>.
3135 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3136 impl_array): New variables.
3137 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3139 (test_init): Call __libc_ifunc_impl_list to initialize
3140 func_list if TEST_IFUNC and TEST_NAME are defined.
3142 * string/Makefile (strop-tests): Add bcopy and bzero.
3143 * string/test-bcopy.c: New file.
3144 * string/test-bzero.c: Likewise.
3145 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3147 * string/test-memset.c: Support bzero test if TEST_BZERO is
3149 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3151 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3153 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3156 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3158 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3159 * configure: Regenerated.
3161 * Makeconfig (+link-static-before-libc): Don't include
3162 $(link-static-libc).
3164 * libio/libio.h (_IO_pos_t): Remove.
3166 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3168 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3171 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3173 * crypt/crypt-entry.c: Include fips-private.h.
3174 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3175 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3176 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3177 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3179 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3181 * crypt/crypt-private.h: Include stdbool.h.
3182 (_ufc_setup_salt_r): Return bool.
3183 * crypt/crypt-entry.c: Include errno.h.
3184 (__crypt_r): Return NULL with EINVAL for bad salt.
3185 * crypt/crypt_util.c (bad_for_salt): New.
3186 (_ufc_setup_salt_r): Check that salt is long enough and within
3187 the specified alphabet.
3188 * crypt/badsalttest.c: New file.
3189 * crypt/Makefile (tests): Add it.
3190 ($(objpfx)badsalttest): New.
3192 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3194 * NEWS: Add entry for BZ #14602.
3196 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3198 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3200 * math/libm-test.inc: Update comment listing what functions and
3202 (isgreater_test): New function.
3203 (isgreaterequal_test): Likewise.
3204 (isless_test): Likewise.
3205 (islessequal_test): Likewise.
3206 (islessgreater_test): Likewise.
3207 (isunordered_test): Likewise.
3208 (main): Call the new functions.
3210 2012-10-09 Roland McGrath <roland@hack.frob.com>
3212 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3213 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3214 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3215 * sysdeps/i386/configure: Regenerated.
3216 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3217 * sysdeps/mach/configure: Regenerated.
3218 * sysdeps/mach/hurd/configure: Regenerated.
3219 * sysdeps/powerpc/configure: Regenerated.
3220 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3221 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3222 * sysdeps/s390/s390-32/configure: Regenerated.
3223 * sysdeps/s390/s390-64/configure: Regenerated.
3224 * sysdeps/sh/configure: Regenerated.
3225 * sysdeps/sparc/configure: Regenerated.
3226 * sysdeps/unix/sysv/linux/configure: Regenerated.
3227 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3228 * sysdeps/x86_64/configure: Regenerated.
3230 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3231 defined. Don't check if MAP is NULL.
3233 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3235 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3236 (_G_stat64): Likewise.
3237 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3238 (_G_stat64): Likewise.
3239 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3240 instead of struct _G_stat64.
3241 * libio/fileops.c (mmap_remap_check): Likewise.
3242 (decide_maybe_mmap): Likewise.
3243 (_IO_new_file_seekoff): Likewise.
3244 (_IO_file_stat): Likewise.
3245 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3247 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3248 instead of struct _G_stat64.
3249 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3251 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3254 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3256 (CHECK_EOL): New macro.
3257 (two_way_short_needle): Check beginning of haystack for EOL. Use
3259 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3260 Replace with CHECK_EOL.
3261 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3262 Replace with CHECK_EOL.
3264 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3266 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3268 * math/libm-test.inc: Update comment listing what functions and
3270 (finite_test): New function.
3271 (isinf_test): Likewise.
3272 (isnan_test): Likewise.
3273 (fpclassify_test): Test subnormal input.
3274 (isfinite_test): Likewise.
3275 (isnormal_test): Likewise.
3276 (main): Call the new functions.
3278 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3281 * Makerules (%.dynsym): Force C locale when running
3282 $(OBJDUMP) --dynamic-syms.
3284 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3286 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3289 2012-10-06 David S. Miller <davem@davemloft.net>
3291 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3292 upper 32-bits of the length value in %o2 since we use branch-on-register
3293 tests which consider the entire 64-bit register.
3295 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3297 * string/test-strstr.c (check2): Add a test for page boundary.
3299 2012-10-05 David S. Miller <davem@davemloft.net>
3301 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3302 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3304 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3306 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3307 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3308 and bzero when HWCAP_SPARC_CRYPTO is present.
3310 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3313 * string/test-strstr.c (check2): New function.
3314 (test_main): Call check2.
3316 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3318 * string/bug-strcasestr1.c (do_test): Moved to ...
3319 * string/test-strcasestr.c (check1): Here. New function.
3320 (do_one_test): Break out result checking code into ...
3321 (check_result): This. New function.
3322 (do_one_test): Call check_result.
3323 (test_main): Call check1.
3324 * string/bug-strchr1.c (do_test): Moved to ...
3325 * string/test-strchr.c (check1): Here. New function.
3326 (do_one_test): Break out result checking code into ...
3327 (check_result): This. New function.
3328 (do_one_test): Call check_result.
3329 (test_main): Call check1.
3330 * string/bug-strstr1.c (main): Moved to ...
3331 * string/test-strchr.c (check1): Here. New function.
3332 (do_one_test): Break out result checking code into ...
3333 (check_result): This. New function.
3334 (do_one_test): Call check_result.
3335 (test_main): Call check1.
3336 * string/bug-strcasestr1.c: Removed.
3337 * string/bug-strchr1.c: Likewise.
3338 * string/bug-strstr1.c: Likewise.
3340 * elf/Makefile (dl-routines): Add hwcaps.
3341 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3342 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3343 (_dl_important_hwcaps): Moved to ...
3344 * elf/dl-hwcaps.c: Here. New file.
3345 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3348 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3349 if IS_IN_rtld isn't defined.
3351 * elf/dl-support.c (_dl_sysinfo_map): New.
3352 Include "get-dynamic-info.h" and "setup-vdso.h".
3353 (_dl_non_dynamic_init): Call setup_vdso.
3354 * elf/dynamic-link.h: Don't include <assert.h>.
3355 (elf_get_dynamic_info): Moved to ...
3356 * elf/get-dynamic-info.h: Here. New file.
3357 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3358 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3359 * elf/setup-vdso.h: Here. New file.
3360 * elf/rtld.c: Include "setup-vdso.h".
3361 (dl_main): Call setup_vdso.
3363 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3365 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3366 creal in comment listing functions tested. List finite, isinf,
3367 isnan, isless, islessequal, isgreater, isgreaterequal,
3368 islessgreater, isunordered, lgamma_r and pow10 as functions and
3369 macros not tested. Mention which functions not tested are aliases
3370 for other functions. Fix typo. Note that signs of NaNs are not
3373 * scripts/config.guess: Update from config.git.
3374 * scripts/config.sub: Likewise.
3376 2012-10-04 Roland McGrath <roland@hack.frob.com>
3378 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3379 * misc/madvise.c (madvise): Renamed to __madvise.
3380 Make madvise a weak alias.
3381 * include/sys/mman.h: Declare __madvise.
3382 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3383 * sysdeps/unix/syscalls.list
3384 (madvise): Make __madvise the strong name, and madvise a weak alias.
3385 * sysdeps/unix/sysv/linux/syscalls.list
3386 (madvise, mmap): Remove redundant entries.
3387 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3388 * malloc/malloc.c (mtrim): Likewise.
3389 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3391 2012-10-03 Roland McGrath <roland@hack.frob.com>
3393 * sysdeps/mach/hurd/dl-cache.c: File removed.
3394 * config.h.in (USE_LDCONFIG): New #undef.
3395 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3396 * configure: Regenerated.
3397 * elf/Makefile (dl-routines): Add dl-cache only under
3398 [$(use-ldconfig) = yes].
3399 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3400 cache on [USE_LDCONFIG].
3401 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3403 * elf/rtld.c (dl_main): Likewise.
3405 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3407 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3408 _SC_LEVEL4_CACHE_LINESIZE.
3410 2012-10-03 Roland McGrath <roland@hack.frob.com>
3412 * sysdeps/unix/bsd/confstr.h: File removed.
3414 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3416 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3419 2012-10-02 Roland McGrath <roland@hack.frob.com>
3421 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3422 Make 'mapoff' field ElfW(Off) rather than off_t.
3424 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3426 * nscd/Makefile: Remove nscd-cflags and all its users.
3427 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3428 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3431 * malloc.c (malloc_printerr): Clarify error message.
3433 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3437 Set bit_FMA_Usable if FMA is supported.
3438 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3440 (bit_FMA4_Usable): Updated.
3441 (index_FMA_Usable): New macro.
3442 (CPUID_FMA): Likewise
3443 (HAS_FMA): Defined with bit_FMA_Usable.
3445 2012-10-01 Roland McGrath <roland@hack.frob.com>
3447 * bits/types.h (__swblk_t): Type removed.
3448 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3449 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3451 (__SWBLK_T_TYPE): Likewise.
3452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3453 (__SWBLK_T_TYPE): Likewise.
3454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3455 (__SWBLK_T_TYPE): Likewise.
3456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3457 (__SWBLK_T_TYPE): Likewise.
3459 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3460 Honza Horak <hhorak@redhat.com>
3462 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3463 (xdr_mapname): Use YPMAXMAP as maxsize.
3464 (xdr_peername): Use YPMAXPEER as maxsize.
3465 (xdr_keydat): Use YPAXRECORD as maxsize.
3466 (xdr_valdat): Use YPMAXRECORD as maxsize.
3468 2012-10-01 Roland McGrath <roland@hack.frob.com>
3470 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3472 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3473 * csu/init-first.c: ... here.
3474 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3475 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3477 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3478 * sysdeps/i386/init-first.c: File removed.
3479 * sysdeps/sh/init-first.c: File removed.
3481 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3485 if x * y might underflow to zero and z is zero.
3486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3488 * math/libm-test.inc (min_subnorm_value): New variable.
3489 (fma_test): Add more tests.
3490 (fma_test_towardzero): Likewise.
3491 (fma_test_downward): Likewise
3492 (fma_test_upward): Likewise.
3493 (initialize): Set min_subnorm_value.
3495 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3500 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3501 mode for addition resulting in exact zero.
3502 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3505 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3506 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3507 * math/libm-test.inc (fma_test): Add more tests.
3508 (fma_test_towardzero): New function.
3509 (fma_test_downward): Likewise.
3510 (fma_test_upward): Likewise.
3511 (main): Call the new functions.
3513 2012-09-28 David S. Miller <davem@davemloft.net>
3515 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3517 2012-09-28 Roland McGrath <roland@hack.frob.com>
3519 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3522 * sysdeps/gnu/_G_config.h: Moved to ...
3523 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3524 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3525 * sysdeps/generic/_G_config.h: ... here.
3527 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3529 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3531 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3532 Conditionalize target on [libnss_test1.so-version].
3534 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3536 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3537 (elfobjdir): Move out of conditionals.
3539 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3540 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3541 (__nss_lookup_function): Conditionalize label remove_from_tree on
3542 [!DO_STATIC_NSS || SHARED], matching its only use.
3544 2012-09-28 David S. Miller <davem@davemloft.net>
3546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3549 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3553 when HWCAP_SPARC_CRYPTO is present.
3555 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3557 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3559 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3562 * stdio-common/vfprintf.c (process_string_arg): Revert
3565 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3567 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3569 * stdio-common/tst-sprintf.c: Include <locale.h>
3570 (main): Test sprintf's handling of incomplete multibyte
3573 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3575 * elf/dl-runtime.c (VERSYMIDX): Removed.
3576 * elf/dl-version.c (VERSYMIDX): Likewise.
3577 * elf/do-rel.h (VERSYMIDX): Likewise.
3579 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3580 * elf/rtld.c (VALIDX): Likewise.
3581 (ADDRIDX): Likewise.
3582 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3583 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3584 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3585 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3587 (ADDRIDX): Likewise.
3589 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3591 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3593 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3596 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3598 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3599 addresses are in the same scope as 192.0.2/24.
3600 * posix/gai.conf: Document new scope table defaults.
3602 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3605 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3606 for ftell. Compute offsets from write pointers instead.
3607 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3609 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3612 * libio/Makefile (tests): New test case tst-fseek.
3613 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3614 combination works in wide mode.
3615 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3616 state when the external buffer state changes.
3618 2012-09-27 David S. Miller <davem@davemloft.net>
3621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3622 pass reloc->r_addend in as the 'high' argument to
3623 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3627 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3629 * rt/tst-aio2.c: Include <pthread.h>.
3630 * rt/tst-aio3.c: Likewise.
3632 2012-09-27 Steve Ellcey <sellcey@mips.com>
3634 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3636 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3638 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3639 contents on [SHARED].
3641 2012-09-26 Marek Polacek <polacek@redhat.com>
3645 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3646 for C++ and GCC <4.3 as well as for non GCC compilers.
3648 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3652 2012-09-25 Roland McGrath <roland@hack.frob.com>
3654 * Makefile.in (all, install): Declare with .PHONY.
3655 Reported by Michael Hope <michael.hope@linaro.org>.
3657 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3659 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3660 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3662 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3664 (sydep_routines): Add the new and the internal functions.
3665 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3666 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3668 (GLIBC_2.17): Add the new function.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3670 (GLIBC_2.17): Likewise.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3672 (GLIBC_2.17): Likewise.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3674 (GLIBC_2.17): Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3677 2012-09-25 Alan Modra <amodra@gmail.com>
3679 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3680 Add release barrier before setting once_control to say
3681 initialisation is done. Add hints on lwarx. Use macro in
3683 (clear_once_control): Add release barrier.
3685 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3688 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3690 * math/s_clog10.c (__clog10): Likewise.
3691 * math/s_clog10f.c (__clog10f): Likewise.
3692 * math/s_clog10l.c (__clog10l): Likewise.
3693 * math/s_clogf.c (__clogf): Likewise.
3694 * math/s_clogl.c (__clogl): Likewise.
3695 * math/Makefile (libm-calls): Add x2y2m1.
3696 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3697 (__x2y2m1): Likewise.
3698 (__x2y2m1l): Likewise.
3699 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3700 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3703 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3704 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3705 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3706 * sysdeps/i386/fpu/libm-test-ulps: Update.
3707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3710 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3711 int as type of variable DEPTH.
3712 (glob): Use size_t instead of int as type of variables NEWCOUNT
3715 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3717 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3719 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3720 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3721 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3722 macros for using routine as __sincosf_ia32.
3723 Use macro for function declaration and weak_alias.
3724 * sysdeps/i386/fpu/libm-test-ulps: Update.
3726 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3729 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3731 * math/s_cexpf.c (__cexpf): Likewise.
3732 * math/s_csinf.c (__csinf): Likewise.
3733 * math/s_csinhf.c (__csinhf): Likewise.
3734 * math/s_ctanf.c (__ctanf): Likewise.
3735 * math/s_ctanhf.c (__ctanhf): Likewise.
3736 * math/s_ccosh.c (__ccoshf): Likewise.
3737 * math/s_cexp.c (__cexpl): Likewise.
3738 * math/s_csin.c (__csin): Likewise.
3739 * math/s_csinh.c (__csinh): Likewise.
3740 * math/s_ctan.c (__ctan): Likewise.
3741 * math/s_ctanh.c (ctanh): Likewise.
3742 * math/s_ccoshl.c (__ccoshl): Likewise.
3743 * math/s_cexpl.c (__cexpl): Likewise.
3744 * math/s_csinl.c (__csinl): Likewise.
3745 * math/s_csinhl.c (__csinhl): Likewise.
3746 * math/s_ctanl.c (__ctanl): Likewise.
3747 * math/s_ctanhl.c (__ctanhl): Likewise.
3749 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3751 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3752 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3753 (_IO_off_t): Define to __off_t, not _G_off_t.
3754 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3755 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3756 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3757 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3758 type of __dummy and __dummy2 fields.
3759 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3760 (_G_ssize_t): Likewise.
3761 (_G_off_t): Likewise.
3762 (_G_pid_t): Likewise.
3763 (_G_uid_t): Likewise.
3764 (_G_wchar_t): Likewise.
3765 (_G_wint_t): Likewise.
3766 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3767 (_G_ssize_t): Likewise.
3768 (_G_off_t): Likewise.
3769 (_G_pid_t): Likewise.
3770 (_G_uid_t): Likewise.
3771 (_G_wchar_t): Likewise.
3772 (_G_wint_t): Likewise.
3773 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3774 (_G_ssize_t): Likewise.
3775 (_G_off_t): Likewise.
3776 (_G_pid_t): Likewise.
3777 (_G_uid_t): Likewise.
3778 (_G_wchar_t): Likewise.
3779 (_G_wint_t): Likewise.
3781 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3783 * malloc/arena.c: Include malloc-sysdep.h.
3784 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3785 is sufficient to shrink the heap or an unmap is needed.
3786 * sysdeps/generic/malloc-sysdep.h: New file. Define
3787 new function check_may_shrink_heap.
3788 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3789 new function check_may_shrink_heap.
3791 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3793 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3796 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3798 * catgets/test-gencat.sh: Add "set -e".
3799 * elf/tst-pathopt.sh: Likewise.
3800 * grp/tst_fgetgrent.sh: Likewise.
3801 * iconvdata/run-iconv-test.sh: Likewise.
3802 * intl/tst-gettext.sh: Likewise.
3803 * intl/tst-gettext2.sh: Likewise.
3804 * intl/tst-gettext4.sh: Likewise.
3805 * intl/tst-gettext6.sh: Likewise.
3806 * intl/tst-translit.sh: Likewise.
3807 * io/ftwtest-sh: Likewise.
3808 * libio/test-freopen.sh: Likewise.
3809 * malloc/tst-mtrace.sh: Likewise.
3810 * posix/globtest.sh: Likewise.
3811 * posix/tst-getconf.sh: Likewise.
3812 * posix/wordexp-tst.sh: Likewise.
3813 * stdio-common/tst-printf.sh: Likewise.
3814 * stdio-common/tst-unbputc.sh: Likewise.
3815 * stdlib/tst-fmtmsg.sh: Likewise.
3816 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3817 * catgets/Makefile: Do not specify -e option when running
3818 testsuite shell scripts.
3819 * elf/Makefile: Likewise.
3820 * grp/Makefile: Likewise.
3821 * iconvdata/Makefile: Likewise.
3822 * intl/Makefile: Likewise.
3823 * io/Makefile: Likewise.
3824 * libio/Makefile: Likewise.
3825 * malloc/Makefile: Likewise.
3826 * posix/Makefile: Likewise.
3827 * stdio-common/Makefile: Likewise.
3828 * stdlib/Makefile: Likewise.
3829 * sysdeps/x86_64/Makefile: Likewise.
3831 * io/ftwtest-sh: Add copyright header.
3832 * posix/globtest.sh: Likewise.
3833 * posix/tst-getconf.sh: Likewise.
3834 * posix/wordexp-tst.sh: Likewise.
3835 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3837 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3840 * Makeconfig (+link): Defined as $(+link-static) if
3841 $(build-shared) isn't yes.
3842 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3844 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3846 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3849 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3850 new chunk size with MALLOC_ALIGN_MASK.
3852 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3855 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3857 (__printf_fphex): Determine rounding using get_rounding_mode and
3859 * stdio-common/tst-printf-round.c (struct hex_test): New
3861 (hex_tests): New variable.
3862 (test_hex_in_one_mode): New function.
3863 (do_test): Also run tests for hex float output.
3865 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3867 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3868 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3869 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3870 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3871 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3872 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3873 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3874 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3876 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3878 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3879 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3880 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3881 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3883 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3886 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3888 * elf/tst-rtld-load-self.sh: New test.
3889 * elf/Makefile: Run it.
3891 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3893 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3894 (tst-writev-ENV): Remove.
3895 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3897 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3899 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3901 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3903 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3905 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3907 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3908 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3909 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3912 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3915 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3916 * config.make.in (have-cpp-asm-debuginfo): Removed.
3917 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3918 * configure: Regenerated.
3920 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3923 * stdio-common/printf_fp.c: Include <stdbool.h> and
3925 (___printf_fp): Determine rounding using get_rounding_mode and
3927 * stdio-common/tst-printf-round.c: New file.
3928 * stdio-common/Makefile (tests): Add tst-printf-round.
3929 (link-libm): New variable.
3930 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3932 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3935 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3936 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3938 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3941 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3943 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3944 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3945 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3946 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3948 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3951 * include/rounding-mode.h: New file.
3952 * sysdeps/generic/get-rounding-mode.h: Likewise.
3953 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3954 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3955 (MAX_VALUE): New macro.
3956 (MIN_VALUE): Likewise.
3957 (overflow_value): New function.
3958 (underflow_value): Likewise.
3959 (round_and_return): Use overflow_value and underflow_value to
3960 determine return values in overflow and underflow cases. Use
3961 round_away to determine rounding depending on rounding mode.
3962 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3963 determine return values in overflow and underflow cases.
3964 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3965 (struct test_results): New structure.
3966 (struct test): Use struct test_results to store expected results
3967 for all rounding modes.
3968 (TEST): Include expected results for all rounding modes.
3969 (test_in_one_mode): New function.
3970 (do_test): Use test_in_one_mode to compute and check results.
3971 Check results for all rounding modes.
3972 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3975 2012-12-09 Allan McRae <allan@archlinux.org>
3977 * sysdeps/i386/fpu/libm-test-ulps: Update
3979 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3981 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3982 (_G_int32_t): Likewise.
3983 (_G_uint16_t): Likewise.
3984 (_G_uint32_t): Likewise.
3985 (_G_HAVE_BOOL): Likewise.
3986 (_G_HAVE_ATEXIT): Likewise.
3987 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3988 (_G_HAVE_IO_FILE_OPEN): Likewise.
3989 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3990 (_G_int32_t): Likewise.
3991 (_G_uint16_t): Likewise.
3992 (_G_uint32_t): Likewise.
3993 (_G_HAVE_BOOL): Likewise.
3994 (_G_HAVE_ATEXIT): Likewise.
3995 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3996 (_G_HAVE_IO_FILE_OPEN): Likewise.
3997 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3998 (_G_int32_t): Likewise.
3999 (_G_uint16_t): Likewise.
4000 (_G_uint32_t): Likewise.
4001 (_G_HAVE_BOOL): Likewise.
4002 (_G_HAVE_ATEXIT): Likewise.
4003 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4004 (_G_HAVE_IO_FILE_OPEN): Likewise.
4006 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4008 * csu/libc-tls.c: Update copyright years.
4010 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4012 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4013 [!_G_USING_THUNKS]: Remove conditional code.
4014 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4015 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4017 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4018 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4019 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4020 (_G_VTABLE_LABEL_PREFIX): Likewise.
4021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4022 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4023 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4024 (_G_VTABLE_LABEL_PREFIX): Likewise.
4025 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4026 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4027 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4028 (_G_VTABLE_LABEL_PREFIX): Likewise.
4029 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4031 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4033 * libio/Makefile: Include ../Makeconfig before tests.
4034 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4035 only if $(build-shared) is yes.
4037 * iconv/gconv_db.c: Update copyright years.
4039 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4041 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4042 unwind info if defined PIC. Fix special cases description.
4043 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4045 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4047 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4049 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4051 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4053 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4056 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4057 (LDLIBS-tst-chk4): This.
4058 (LDFLAGS-tst-chk5): Renamed to ...
4059 (LDLIBS-tst-chk5): This.
4060 (LDFLAGS-tst-chk6): Renamed to ...
4061 (LDLIBS-tst-chk6): This.
4062 (LDFLAGS-tst-lfschk4): Renamed to ...
4063 (LDLIBS-tst-lfschk4): This.
4064 (LDFLAGS-tst-lfschk5): Renamed to ...
4065 (LDLIBS-tst-lfschk5): This.
4066 (LDFLAGS-tst-lfschk6): Renamed to ...
4067 (LDLIBS-tst-lfschk6): This.
4069 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4070 on $(common-objpfx)soversions.mk.
4072 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4075 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4078 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4080 * malloc/arena.c (arena_get_retry): New function that gets
4081 another arena for the caller to try its request on.
4082 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4083 current arena cannot fulfill the request.
4084 (__libc_memalign): Likewise.
4085 (__libc_memalign): Likewise.
4086 (__libc_pvalloc): Likewise.
4087 (__libc_calloc): Likewise.
4089 2012-09-05 John Tobey <john.tobey@gmail.com>
4092 * manual/arith.texi (Operations on Complex): Fix description
4095 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4098 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4102 * manual/memory.texi (Memory): Make order of menu items match
4105 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4107 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4108 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4109 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4111 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4113 * csu/libc-tls.c (static_dtv): Renamed to ...
4114 (_dl_static_dtv): This. Make it global.
4115 (_dl_initial_dtv): Removed.
4116 (__libc_setup_tls): Updated.
4117 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4118 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4121 2012-09-06 Petr Machata <pmachata@redhat.com>
4123 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4124 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4125 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4126 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4128 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4131 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4132 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4135 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4138 * Makeconfig (link-static-before-libc): Replace $(+prector)
4140 (link-static-after-libc): Replace $(+postctor) with
4142 (link-bounded): Replace $(+prector)/$(+postctor) with
4143 $(+prectorT)/$(+postctorT).
4144 (+prectorT): New macro.
4145 (+postctorT): Likewise.
4147 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4149 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4150 (round_str): Handle values above the maximum for IBM long double
4152 * stdlib/tst-strtod-round.c (tests): Regenerated.
4154 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4156 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4158 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4159 zarch_nohighgprs around the zarch optimized routines.
4160 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4161 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4165 2012-09-05 David S. Miller <davem@davemloft.net>
4167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4169 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4170 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4171 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4172 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4175 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4177 * malloc/arena.c: Fold copyright years.
4178 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4180 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4182 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4184 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4186 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4188 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4190 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4191 change internal state upon failure.
4193 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4195 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4196 * malloc/memusage.c (mmap): Likewise.
4197 (mmap64, mremap): Likewise. Adjust name in comment.
4199 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4201 * libio/fileops.c: Fix typos in comments.
4202 * libio/oldfileops.c: Likewise.
4203 * libio/wfileops.c: Likewise.
4205 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4208 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4209 (tst-malloc-usable-ENV): Set environment for test case.
4210 * malloc/hooks.c (malloc_check_get_size): New function to get
4212 * malloc/malloc.c (musable): Use malloc_check_get_size.
4213 * malloc/tst-malloc-usable.c: New test case.
4215 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4217 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4219 2012-09-05 Allan McRae <allan@archlinux.org>
4222 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4223 determine header location.
4224 * configure: Regenerated.
4226 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4228 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4230 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4231 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4235 2012-09-04 David S. Miller <davem@davemloft.net>
4237 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4238 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4239 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4241 2012-09-04 Florian Weimer <fweimer@redhat.com>
4243 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4246 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4248 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4251 * libio/iogetdelim.c: Include <limits.h>.
4252 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4253 + len + 1 would overflow.
4255 2012-09-03 Andreas Jaeger <aj@suse.de>
4257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4258 * sysdeps/i386/fpu/libm-test-ulps: Update.
4260 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4262 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4263 Add s_sinf-sse2, s_conf-sse2.
4265 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4266 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4267 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4268 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4270 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4271 for using routine as __sinf_ia32.
4272 Use macro for function declaration and weak_alias.
4273 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4274 for using routine as __cosf_ia32.
4275 Use macro for function declaration and weak_alias.
4277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4278 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4280 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4281 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4284 * math/libm-test.inc (cos_test): Add more test cases.
4285 (sin_test): Likewise.
4286 (sincos_test): Likewise.
4288 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4290 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4291 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4295 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4298 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4299 first element of the GOT.
4300 (elf_machine_load_address): Return the difference between
4301 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4303 2012-09-01 Allan McRae <allan@archlinux.org>
4306 * configure.in (AWK): Require gawk version 3.0 or later.
4307 * configure: Regenerated.
4309 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/unix/sysv/linux/kernel-features.h
4312 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4314 [__NR_clock_getres]: Make code unconditional.
4315 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4316 (clock_getcpuclockid): Remove code left unreachable by removal of
4318 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4320 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4322 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4323 Make code unconditional.
4324 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4326 * sysdeps/unix/sysv/linux/clock_settime.c
4327 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4329 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4332 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4335 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4336 scripts/test-installation.pl.
4338 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4339 and $ld_so_version if it is set.
4341 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4344 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4345 failure if reading from procfs failed.
4346 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4348 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4350 * sysdeps/unix/sysv/linux/kernel-features.h
4351 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4352 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4353 Remove conditional code.
4354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4355 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4356 Remove conditional code.
4357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4358 * sysdeps/unix/sysv/linux/i386/fxstat.c
4359 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4361 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4362 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4364 * sysdeps/unix/sysv/linux/i386/lxstat.c
4365 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4367 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4368 Remove conditional code.
4369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4370 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4371 Remove conditional code.
4372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4374 <kernel-features.h>.
4375 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4377 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4378 Remove conditional code.
4379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4380 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4383 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4386 * NEWS: Add fixed bug number.
4388 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4391 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4392 underflowing exponent in case of negative sign.
4393 * stdlib/tst-strtod-round-data: Add more tests.
4394 * stdlib/tst-strtod-round.c (tests): Regenerated.
4397 * stdlib/strtod_l.c (NDIG): Remove.
4398 (HEXNDIG): Likewise.
4399 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4400 smallest representable value.
4401 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4402 lie within an exact representation of 1/2 ulp of the result.
4403 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4405 (TENS_P9_IDX): Define unconditionally.
4406 (TENS_P9_SIZE): Likewise.
4407 (TENS_P10_IDX): Likewise.
4408 (TENS_P10_SIZE): Likewise.
4409 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4410 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4411 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4412 entries for 10^2^13 and 10^2^14.
4413 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4414 (TENS_P13_IDX): Define.
4415 (TENS_P13_SIZE): Likewise.
4416 (TENS_P14_IDX): Likewise.
4417 (TENS_P14_SIZE): Likewise.
4418 (_fpioconst_pow10): Change array size to
4419 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4421 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4422 1024]: Add entries for 10^2^13 and 10^2^14.
4423 [LAST_POW10 > _LAST_POW10]: Remove #error.
4424 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4425 (_fpioconst_pow10): Change array size to
4426 FPIOCONST_POW10_ARRAY_SIZE.
4427 * stdlib/gen-fpioconst.c: New file.
4428 * stdlib/gen-tst-strtod-round.c: Likewise.
4429 * stdlib/tst-strtod-round-data: Likewise.
4430 * stdlib/tst-strtod-round.c: Likewise.
4431 * stdlib/Makefile (tests): Add tst-strtod-round.
4434 * stdlib/strtod_l.c: Include <stdint.h>.
4435 (NDEBUG): Do not define.
4436 (round_and_return): Change EXPONENT parameter to type intmax_t.
4437 Rearrange calculations to avoid internal overflow possibilities.
4438 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4439 Rearrange calculations to avoid internal overflow possibilities.
4440 Assert that number fits inside MPNSIZE limbs.
4441 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4442 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4443 calculations and add assertions to avoid internal overflow
4444 possibilities. Add casts to avoid signed/unsigned operations.
4445 * stdlib/tst-strtod-overflow.c: New file.
4446 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4448 2012-08-25 Marek Polacek <polacek@redhat.com>
4450 * time/time.h: Fix some typos in comments.
4452 2012-08-23 Roland McGrath <roland@hack.frob.com>
4454 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4455 * posix/tst-rfc3484-2.c: Likewise.
4456 * posix/tst-rfc3484-3.c: Likewise.
4458 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4460 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4461 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4463 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4465 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4466 #include of fxstatat64.c.
4468 2012-08-22 Roland McGrath <roland@hack.frob.com>
4470 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4471 * shadow/getspent_r.c: Likewise.
4472 * shadow/getspnam.c: Likewise.
4473 * shadow/getspnam_r.c: Likewise.
4474 * gshadow/getsgent.c: Likewise.
4475 * gshadow/getsgent_r.c: Likewise.
4476 * gshadow/getsgnam.c: Likewise.
4477 * gshadow/getsgnam_r.c: Likewise.
4478 * inet/getnetbyad.c: Likewise.
4479 * inet/getnetbyad_r.c: Likewise.
4480 * inet/getnetbynm.c: Likewise.
4481 * inet/getnetbynm_r.c: Likewise.
4482 * inet/getnetent.c: Likewise.
4483 * inet/getnetent_r.c: Likewise.
4484 * inet/getproto.c: Likewise.
4485 * inet/getproto_r.c: Likewise.
4486 * inet/getprtent.c: Likewise.
4487 * inet/getprtent_r.c: Likewise.
4488 * inet/getprtname.c: Likewise.
4489 * inet/getprtname_r.c: Likewise.
4490 * inet/getrpcbyname.c: Likewise.
4491 * inet/getrpcbyname_r.c: Likewise.
4492 * inet/getrpcbynumber.c: Likewise.
4493 * inet/getrpcbynumber_r.c: Likewise.
4494 * inet/getrpcent.c: Likewise.
4495 * inet/getrpcent_r.c: Likewise.
4496 * inet/getaliasent.c: Likewise.
4497 * inet/getaliasent_r.c: Likewise.
4498 * inet/getaliasname.c: Likewise.
4499 * inet/getaliasname_r.c: Likewise.
4500 * nscd/getgrgid_r.c: Likewise.
4501 * nscd/getgrnam_r.c: Likewise.
4502 * nscd/gethstbyad_r.c: Likewise.
4503 * nscd/gethstbynm3_r.c: Likewise.
4504 * nscd/getpwnam_r.c: Likewise.
4505 * nscd/getpwuid_r.c: Likewise.
4506 * nscd/getsrvbynm_r.c: Likewise.
4507 * nscd/getsrvbypt_r.c: Likewise.
4508 * nscd/gai.c: Likewise.
4510 * configure.in (build_nscd): New substituted variable, set
4511 by --disable-build-nscd and defaults to $use_nscd.
4512 * configure: Regenerated.
4513 * config.make.in (build-nscd): New substituted variable.
4514 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4515 Change conditional to require [$(build-nscd) = yes] as well.
4516 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4519 * configure.in (use_nscd): New substituted variable, set by
4520 --disable-nscd. If enabled, define USE_NSCD.
4521 * configure: Regenerated.
4522 * config.h.in: Add USE_NSCD.
4523 * config.make.in (use-nscd): New substituted variable.
4524 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4525 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4526 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4527 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4528 (CFLAGS-getgrnam_r.c): Likewise.
4529 (CFLAGS-initgroups.c): Likewise.
4530 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4531 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4533 * inet/getnetgrent_r.c
4534 (nscd_setnetgrent): New function, broken out of ...
4535 (setnetgrent): ... here. Call it.
4536 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4537 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4538 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4539 * nscd/Makefile (routines, aux): Move definitions after include of
4540 Makeconfig. Conditionalize on [$(use-nscd) != no].
4541 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4542 Conditionalize on [USE_NSCD].
4543 (is_nscd, nscd_init_cb): Likewise.
4544 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4545 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4546 * nss/nss_db/db-init.c: Likewise.
4547 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4549 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4550 (make_request): Use it.
4551 (cache_valid_p): New function.
4552 (__check_pf): Use it.
4553 * NEWS: Add item for --disable-nscd.
4555 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4557 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4558 to support sed >= 4.2.1-20-ga9bf076.
4559 * configure: Regenerated.
4561 2012-08-22 Roland McGrath <roland@hack.frob.com>
4563 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4564 Conditionalize whole body on [IREL].
4566 2012-08-22 Jeff Law <law@redhat.com>
4569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4570 if the family is PF_UNSPEC.
4572 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4574 * Makerules (lib-version): Rename from V.
4575 (install-lib-nosubdir): Change V to lib-version.
4577 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4580 * powerpc32/power6/wcschr.c: New file.
4581 * powerpc32/power6/wcscpy.c: New file.
4582 * powerpc32/power6/wcsrchr.c: New file.
4583 * powerpc64/power6/wcschr.c: New file.
4584 * powerpc64/power6/wcscpy.c: New file.
4585 * powerpc64/power6/wcsrchr.c: New file.
4587 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4589 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4590 (two_way_short_needle): Use it.
4591 * string/strstr.c (AVAILABLE1_USES_J): Define.
4592 * string/strcasestr.c: Likewise.
4594 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4596 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4599 * NEWS: Add an entry.
4600 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4601 define their defaults.
4602 (two_way_short_needle): Detect end-of-string on-the-fly.
4603 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4604 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4605 * string/bug-strcasestr1.c: New test.
4606 * string/Makefile: Run it.
4608 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4611 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4612 the first character.
4614 2012-08-21 Roland McGrath <roland@hack.frob.com>
4616 * csu/elf-init.c (__libc_csu_irel): Function removed.
4617 * csu/libc-start.c (apply_irel): New function.
4618 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4620 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4622 * sysdeps/unix/sysv/linux/kernel-features.h
4623 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4624 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4625 <kernel-features.h>.
4626 [__NR_fadvise64_64]: Make code unconditional.
4627 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4628 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4629 !__NR_fadvise64_64)]: Likewise.
4630 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4631 !__NR_fadvise64_64))]: Likewise.
4632 [__NR_fadvise64]: Make code unconditional.
4633 [!__NR_fadvise64]: Remove conditional code.
4634 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4635 <kernel-features.h>.
4636 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4638 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4641 not include <kernel-features.h>.
4642 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4644 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4646 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4647 include <kernel-features.h>.
4648 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4650 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4653 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4656 slight instruction rearrangements per scrollpipe analysis.
4657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4659 2012-08-20 Roland McGrath <roland@hack.frob.com>
4661 * manual/syslog.texi (syslog; vsyslog, closelog):
4662 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4663 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4665 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4666 DSOCAPS to match condition on defining it.
4668 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4670 * sysdeps/unix/sysv/linux/kernel-features.h
4671 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4673 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4674 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4676 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4677 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4679 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4680 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4682 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4683 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4685 * sysdeps/unix/sysv/linux/kernel-features.h
4686 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4687 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4689 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4690 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4691 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4692 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4693 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4694 Make code unconditional.
4695 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4696 (__mmap64) [!__NR_mmap2]: Likewise.
4697 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4698 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4699 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4700 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4701 [__NR_mmap2]: Make code unconditional.
4702 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4703 (__mmap64) [!__NR_mmap2]: Likewise.
4705 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4707 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4709 2012-08-18 Andreas Jaeger <aj@suse.de>
4711 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4713 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4715 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4716 * include/unistd.h (__have_sock_cloexec): Likewise.
4717 (__have_pipe2): Likewise.
4718 (__have_dup3): Likewise.
4720 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4723 * include/unistd.h (__have_pipe2): Change define into an extern int.
4724 (__have_dup3): Likewise.
4725 * socket/have_sock_cloexec.c: Include fcntl.h.
4726 (__have_pipe2): New variable.
4727 (__have_dup3): Likewise.
4729 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4731 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4733 2012-08-17 Marek Polacek <polacek@redhat.com>
4735 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4736 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4738 2012-08-17 Roland McGrath <roland@hack.frob.com>
4740 * configure.in: Add AC_SUBST for sysheaders.
4741 * configure: Regenerated.
4742 * config.make.in (sysheaders): New substituted variable.
4744 * sysdeps/unix/mkfifo.c: Moved ...
4745 * sysdeps/posix/mkfifo.c: ... here.
4746 * sysdeps/unix/mkfifoat.c: Moved ...
4747 * sysdeps/posix/mkfifoat.c: ... here.
4749 * sysdeps/unix/utime.c: Moved ...
4750 * sysdeps/posix/utime.c: ... here.
4752 * sysdeps/unix/time.c: Moved ...
4753 * sysdeps/posix/time.c: ... here.
4754 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4755 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4757 * sysdeps/unix/nice.c: Moved ...
4758 * sysdeps/posix/nice.c: ... here.
4760 * sysdeps/unix/alarm.c: Moved ...
4761 * sysdeps/posix/alarm.c: ... here.
4763 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4765 2012-08-17 Jeff Law <law@redhat.com>
4767 * intl/Makefile (codeset_mo): New variable.
4768 ($(codeset_mo)): New target.
4769 (tst-codeset.out): Depend on that. Remove explicit rule.
4770 (tst-gettext3.out, tst-gettext5.out): Likewise.
4771 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4772 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4773 * intl/tst-codeset.sh: Remove.
4774 * intl/tst-gettext3.sh: Likewise.
4775 * intl/tst-gettext5.sh: Likewise.
4777 2012-08-17 Roland McGrath <roland@hack.frob.com>
4779 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4780 * sysdeps/unix/syscalls.list: ... here.
4782 * sysdeps/posix/getaddrinfo.c
4783 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4784 (gaiconf_init, gaiconf_reload): Use them.
4786 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4787 Define using time_t rather than struct timespec.
4789 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4790 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4792 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4794 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4795 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4798 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4799 __libc_cleanup_push argument.
4801 * bits/param.h: New file.
4802 * misc/sys/param.h: New file.
4803 * include/sys/param.h: New file.
4804 * misc/Makefile (headers): Add bits/param.h.
4805 * sysdeps/generic/sys/param.h: File removed.
4806 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4807 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4808 * sysdeps/mach/hurd/bits/param.h: New file.
4809 * sysdeps/mach/hurd/sys/param.h: File removed.
4811 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4814 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4816 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4817 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4820 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4821 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4822 rather than -D_IO_MTSAFE_IO conditionally.
4823 * stdio-common/Makefile (CPPFLAGS): Likewise.
4824 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4825 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4826 Use $(libio-mtsafe).
4827 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4829 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4830 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4831 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4832 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4833 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4834 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4835 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4836 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4837 (CFLAGS-fread_u_chk.c): Likewise.
4838 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4839 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4840 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4841 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4842 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4843 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4844 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4845 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4846 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4848 * libio/Makefile: Test [$(libc-reentrant) = yes]
4849 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4852 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4853 * sysdeps/pthread/configure: File removed.
4854 * sysdeps/pthread/Makeconfig: New file.
4855 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4856 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4858 2012-08-16 Gary Benson <gbenson@redhat.com>
4860 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4861 unmapping the first object in a namespace.
4863 2012-08-16 Roland McGrath <roland@hack.frob.com>
4865 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4866 (__internal_setnetgrent): ... this. Add internal_function to
4867 definition. Add libc_hidden_def.
4868 (setnetgrent): Update caller.
4869 (internal_endnetgrent): Renamed to ...
4870 (__internal_endnetgrent): ... this. Add internal_function to
4871 definition. Add libc_hidden_def.
4872 (endnetgrent): Update caller.
4873 (internal_getnetgrent_r): Renamed to ...
4874 (__internal_getnetgrent_r): ... this. Add internal_function to
4875 definition. Add libc_hidden_def.
4876 (__getnetgrent_r): Update caller.
4877 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4879 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4881 * stdlib/longlong.h: Update from GCC.
4883 2012-08-16 Roland McGrath <roland@hack.frob.com>
4885 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4886 on _QL, which is set by umul_ppmm but never used.
4887 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4888 variables, which are set by GMP macros but never used.
4889 * stdio-common/_itowa.c (_itowa): Likewise.
4890 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4891 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4893 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4895 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4896 struct La_sh_regs is not constant.
4897 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4898 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4899 and struct La_sparc64_regs are not constant.
4901 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4903 * sysdeps/unix/sysv/linux/kernel-features.h
4904 (__ASSUME_POSIX_TIMERS): Remove.
4905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4907 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4908 Make code unconditional.
4909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4910 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4911 Make code unconditional.
4912 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4913 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4914 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4916 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4917 Make code unconditional.
4918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4919 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4920 (__libc_missing_posix_timers): Remove.
4922 2012-08-15 Roland McGrath <roland@hack.frob.com>
4924 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4925 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4927 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4929 * elf/dl-sym.c: Include <stdlib.h>.
4931 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4932 constants, which avoids warnings in 32-bit builds.
4934 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4935 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4937 * misc/lseek.c: File moved to ...
4938 * io/lseek.c: ... here.
4940 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4942 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4943 shifting LEN more than 31 bits at once.
4945 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4948 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4949 segmentation fault for a case of two empty input strings.
4950 * string/test-strncasecmp.c (check1): Renamed to...
4952 (bz14195): Add new testcase for two empty input strings and N > 0.
4953 (test_main): Call new testcase, adapt for renamed function.
4955 2012-08-15 Andreas Jaeger <aj@suse.de>
4958 * crypt/md5test2.c: New test, based on test supplied by Serge
4959 Belyshev <belyshev@depni.sinp.msu.ru>.
4960 * crypt/Makefile (xtests): Add md5test-giant..
4961 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4963 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4966 * crypt/md5.c (md5_process_block): Don't assume the buffer
4967 length is less than 2**32.
4968 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4969 length is less than 2**64.
4971 2012-08-15 Roland McGrath <roland@hack.frob.com>
4973 * string/str-two-way.h: Include <sys/param.h>.
4974 (MAX): Macro removed.
4976 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4977 Move #define and #undef of memmove to just before and after
4978 including <string.h>.
4980 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4981 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4982 and after including <string.h>. Move declarations of
4983 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4984 to before #include "string/memmove.c".
4986 * include/dirent.h: Declare __getdirentries.
4988 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4989 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4991 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4993 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4994 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4995 * sysdeps/i386/configure: Regenerated.
4996 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4997 STABS_CURRENT_FILE, and STABS_FUN.
4998 (END): Remove call to STABS_FUN_END.
4999 (STABS_CURRENT_FILE1): Delete.
5000 (STABS_CURRENT_FILE): Likewise.
5001 (STABS_FUN): Likewise.
5002 (STABS_FUN_END): Likewise.
5003 (STABS_FUN2): Likewise.
5004 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5005 * sysdeps/x86_64/configure: Regenerated.
5007 2012-08-14 Roland McGrath <roland@hack.frob.com>
5009 * elf/dl-open.c: Include <atomic.h>.
5010 * elf/dl-lookup.c: Likewise.
5012 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5014 * sysdeps/unix/sysv/linux/kernel-features.h
5015 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5016 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5018 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5020 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5021 condition on __ASSUME_CLONE_THREAD_FLAGS.
5023 2012-08-14 Andreas Jaeger <aj@suse.de>
5025 * sysdeps/i386/fpu/libm-test-ulps: Update.
5027 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5029 * include/atomic.h (atomic_exchange_and_add): Split into ...
5030 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5033 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5037 2012-08-13 Jeff Law <law@redhat.com>
5039 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5040 null byte in the output string.
5042 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/unix/sysv/linux/kernel-features.h
5045 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5046 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5047 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5048 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5049 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5050 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5051 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5053 2012-08-09 Jeff Law <law@redhat.com>
5056 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5057 When avoid_arena is set, don't retry in the that arena. Pick the
5058 next one, whatever it might be.
5059 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5060 (arena_lock): Pass in new parameter to arena_get2.
5061 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5063 (__libc_malloc): Unify retrying after main arena failure with
5064 __libc_memalign version.
5065 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5067 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5070 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5071 to __redirect_strstr.
5072 (__strstr_sse42): Use typeof __redirect_strstr.
5073 (__strstr_ia32): Likewise.
5074 (__libc_strstr): New prototype.
5075 (strstr): Renamed to ...
5076 (__libc_strstr): This.
5077 (strstr): New strong alias of __libc_strstr.
5078 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5082 (__libc_time): New prototype.
5083 (time_ifunc): Replace time with __libc_time.
5084 (time): New strong alias and hidden definition of __libc_time.
5085 (__GI_time): Remove strong alias.
5086 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5088 (memmove): Redefined to __redirect_memmove.
5089 (__memmove_sse2): Use typeof __redirect_memmove.
5090 (__memmove_ssse3): Likewise.
5091 (__memmove_ssse3_back): Likewise.
5092 (__libc_memmove): New prototype.
5093 (memmove): Renamed to ...
5094 (__libc_memmove): This.
5095 (memmove): New strong alias of __libc_memmove.
5097 2012-08-08 Mark Salter <msalter@redhat.com>
5100 (R_MN10300_TLS_GD): Define.
5101 (R_MN10300_TLS_LD): Likewise.
5102 (R_MN10300_TLS_LDO): Likewise.
5103 (R_MN10300_TLS_GOTIE): Likewise.
5104 (R_MN10300_TLS_IE): Likewise.
5105 (R_MN10300_TLS_LE): Likewise.
5106 (R_MN10300_TLS_DTPMOD): Likewise.
5107 (R_MN10300_TLS_DTPOFF): Likewise.
5108 (R_MN10300_TLS_TPOFF): Likewise.
5109 (R_MN10300_SYM_DIFF): Likewise.
5110 (R_MN10300_ALIGN): Likewise.
5111 (R_MN10300_NUM): Update.
5113 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5115 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5118 2012-08-08 Roland McGrath <roland@hack.frob.com>
5120 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5122 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5123 sysdeps/unix -> sysdeps/posix move.
5124 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5126 2012-08-07 Allan McRae <allan@archlinux.org>
5129 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5130 (SUNOS_CPP): Likewise.
5131 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5133 (open_input): Call CPP using execvp.
5135 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5137 * sysdeps/unix/sysv/linux/kernel-features.h
5138 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5139 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5140 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5141 (__ASSUME_WAITID_SYSCALL): Likewise.
5142 * sysdeps/unix/sysv/linux/dl-execstack.c
5143 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5145 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5148 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5149 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5151 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5153 [__ASSUME_WAITID_SYSCALL]: Likewise.
5154 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5156 2012-08-07 Roland McGrath <roland@hack.frob.com>
5158 * sysdeps/unix/closedir.c: Renamed to ...
5159 * sysdeps/posix/closedir.c: ... here.
5160 * sysdeps/unix/dirfd.c: Renamed to ...
5161 * sysdeps/posix/dirfd.c: ... here.
5162 * sysdeps/unix/dirstream.h: Renamed to ...
5163 * sysdeps/posix/dirstream.h: ... here.
5164 * sysdeps/unix/fdopendir.c: Renamed to ...
5165 * sysdeps/posix/fdopendir.c: ... here.
5166 * sysdeps/unix/opendir.c: Renamed to ...
5167 * sysdeps/posix/opendir.c: ... here.
5168 * sysdeps/unix/readdir.c: Renamed to ...
5169 * sysdeps/posix/readdir.c: ... here.
5170 * sysdeps/unix/readdir_r.c: Renamed to ...
5171 * sysdeps/posix/readdir_r.c: ... here.
5172 * sysdeps/unix/rewinddir.c: Renamed to ...
5173 * sysdeps/posix/rewinddir.c: ... here.
5174 * sysdeps/unix/seekdir.c: Renamed to ...
5175 * sysdeps/posix/seekdir.c: ... here.
5176 * sysdeps/unix/telldir.c: Renamed to ...
5177 * sysdeps/posix/telldir.c: ... here.
5178 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5179 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5180 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5181 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5183 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5184 * bits/fcntl.h: ... here.
5186 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5188 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5189 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5190 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5191 (struct flock): Move l_start, l_len to the beginning.
5192 Use __pid_t for l_pid.
5193 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5194 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5195 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5196 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5197 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5198 [__USE_LARGEFILE64] (struct flock64): New type.
5199 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5201 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5202 * bits/dirent.h: ... here.
5204 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5205 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5207 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5210 Change from 2.6.0 to 2.6.16.
5211 * sysdeps/unix/sysv/linux/configure: Regenerated.
5212 * sysdeps/unix/sysv/linux/kernel-features.h
5213 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5214 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5216 (__ASSUME_UTIMES): Likewise.
5217 (__ASSUME_CLONE_STOPPED): Remove.
5218 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5219 architectures, not kernel version.
5220 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5221 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5222 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5223 (__ASSUME_WAITID_SYSCALL): Likewise.
5224 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5225 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5226 * README: State 2.6.16 as minimum Linux kernel version. Do not
5227 refer to older versions.
5229 2012-08-06 Roland McGrath <roland@hack.frob.com>
5231 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5232 Define alphasort64 as an alias.
5233 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5234 Define versionsort64 as an alias.
5235 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5236 Define scandir64 as an alias.
5237 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5238 Define scandirat64 as an alias.
5239 * dirent/alphasort64.c (alphasort64):
5240 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5241 * dirent/versionsort64.c: Likewise.
5242 * dirent/scandir64.c: Likewise.
5243 * dirent/scandirat64.c: Likewise.
5244 * sysdeps/wordsize-64/alphasort.c: File removed.
5245 * sysdeps/wordsize-64/alphasort64.c: File removed.
5246 * sysdeps/wordsize-64/scandir.c: File removed.
5247 * sysdeps/wordsize-64/scandir64.c: File removed.
5248 * sysdeps/wordsize-64/scandirat.c: File removed.
5249 * sysdeps/wordsize-64/scandirat64.c: File removed.
5250 * sysdeps/wordsize-64/versionsort.c: File removed.
5251 * sysdeps/wordsize-64/versionsort64.c: File removed.
5252 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5254 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5255 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5256 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5257 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5261 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5263 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5265 [defined __arch64__ || defined __sparcv9]
5266 (__INO_T_MATCHES_INO64_T): New macro.
5267 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5268 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5269 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5270 * sysdeps/unix/sysv/linux/bits/dirent.h
5271 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5272 (_DIRENT_MATCHES_DIRENT64): New macro.
5274 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5275 Define lockf64 as an alias.
5276 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5277 Define fseeko64 as an alias.
5278 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5279 Define ftello64 as an alias.
5280 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5281 Define _IO_fgetpos64 and fgetpos64 as aliases.
5282 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5283 Define _IO_fsetpos64 and fsetpos64 as aliases.
5284 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5285 Conditionalize body on this.
5286 * libio/fseeko64.c: Likewise.
5287 * libio/ftello64.c: Likewise.
5288 * libio/iofgetpos64.c: Likewise.
5289 * libio/iofsetpos64.c: Likewise.
5290 * sysdeps/wordsize-64/lockf.c: File removed.
5291 * sysdeps/wordsize-64/lockf64.c: File removed.
5292 * sysdeps/wordsize-64/fseeko.c: File removed.
5293 * sysdeps/wordsize-64/fseeko64.c: File removed.
5294 * sysdeps/wordsize-64/ftello.c: File removed.
5295 * sysdeps/wordsize-64/ftello64.c: File removed.
5296 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5297 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5298 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5299 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5300 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5304 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5307 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5311 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5313 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5315 [defined __arch64__ || defined __sparcv9]
5316 (__OFF_T_MATCHES_OFF64_T): New macro.
5317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5318 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5320 (__OFF_T_MATCHES_OFF64_T): New macro.
5322 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5324 * stdlib/secure-getenv.c (__secure_getenv): Replace
5325 GLIBC_2_16 with GLIBC_2_17.
5327 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5329 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5330 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5332 2012-08-03 David S. Miller <davem@davemloft.net>
5334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5336 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5338 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5340 (__ASSUME_CORRECT_SI_PID): Likewise.
5341 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5342 (__ASSUME_TMPFS_NAME): Likewise.
5343 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5344 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5345 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5346 (HAVE_AUX_SECURE): Make definition unconditional.
5347 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5348 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5350 2012-08-03 Roland McGrath <roland@hack.frob.com>
5352 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5353 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5354 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5355 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5356 __eloop_threshold instead of SYMLOOP_MAX.
5358 * sysdeps/generic/eloop-threshold.h: New file.
5359 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5361 * elf/chroot_canon.c (chroot_canon): Likewise.
5363 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5367 Change to 2.6.0 everywhere.
5368 * sysdeps/unix/sysv/linux/configure: Regenerated.
5369 * sysdeps/unix/sysv/linux/kernel-features.h
5370 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5371 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5373 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5374 (__ASSUME_FUTEX_REQUEUE): Remove.
5375 (__ASSUME_STATFS64): Define unconditionally.
5376 (__ASSUME_AT_SECURE): Likewise.
5377 (__ASSUME_CORRECT_SI_PID): Likewise.
5378 (__ASSUME_TGKILL): Define without depending on kernel version for
5380 (__ASSUME_UTIMES): Likewise.
5381 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5383 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5384 (__ASSUME_TMPFS_NAME): Likewise.
5385 * README: Update reference to Linux kernel versions.
5387 2012-08-02 Marek Polacek <polacek@redhat.com>
5390 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5391 libc_cv_asm_type_prefix with %.
5392 * configure: Regenerated.
5393 * include/libc-symbols.h: Remove comment about
5394 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5395 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5396 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5397 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5398 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5399 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5400 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5401 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5402 * elf/tst-unique2mod1.c: Likewise.
5403 * elf/tst-unique1mod2.c: Likewise.
5404 * elf/tst-unique1mod1.c: Likewise.
5405 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5406 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5407 Replace ASM_TYPE_DIRECTIVE with .type.
5408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5409 * sysdeps/i386/sysdep.h: Likewise.
5410 * sysdeps/x86_64/sysdep.h: Likewise.
5411 * sysdeps/sh/sysdep.h: Likewise.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5413 Do not define ASM_TYPE_DIRECTIVE.
5414 * sysdeps/powerpc/sysdep.h: Likewise.
5415 * sysdeps/powerpc/powerpc32/sysdep.h:
5416 Replace ASM_TYPE_DIRECTIVE with .type.
5417 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5418 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5419 * sysdeps/i386/fpu/e_powf.S: Likewise.
5420 * sysdeps/i386/fpu/e_expl.S: Likewise.
5421 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5423 * sysdeps/i386/fpu/e_pow.S: Likewise.
5424 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5426 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5427 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5428 * sysdeps/i386/fpu/e_log2.S: Likewise.
5429 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5431 * sysdeps/i386/fpu/e_powl.S: Likewise.
5432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5433 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5434 * sysdeps/i386/fpu/e_logl.S: Likewise.
5435 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5436 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5437 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5438 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5439 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5440 * sysdeps/i386/fpu/e_log.S: Likewise.
5441 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5442 * sysdeps/i386/fpu/e_logf.S: Likewise.
5443 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5444 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5445 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5446 * sysdeps/i386/fpu/e_log10.S: Likewise.
5447 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5448 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5449 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5450 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5451 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5452 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5453 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5454 * sysdeps/i386/i686/strtok.S: Likewise.
5455 * sysdeps/i386/i386-mcount.S: Likewise.
5456 * sysdeps/i386/strtok.S: Likewise.
5457 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5458 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5459 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5460 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5461 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5462 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5463 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5464 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5465 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5466 * sysdeps/x86_64/_mcount.S: Likewise.
5467 * sysdeps/x86_64/strtok.S: Likewise.
5468 * sysdeps/sh/_mcount.S: Likewise.
5470 2012-08-01 Roland McGrath <roland@hack.frob.com>
5472 * libio/iofopen.c: Include <fcntl.h>.
5473 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5474 (_IO_fopen64, fopen64): Define as aliases.
5475 * libio/iofopen64.c: Include <fcntl.h>.
5476 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5477 Conditionalize body on this.
5478 * sysdeps/wordsize-64/iofopen.c: File removed.
5479 * sysdeps/wordsize-64/iofopen64.c: File removed.
5481 2012-08-01 Marek Polacek <polacek@redhat.com>
5483 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5484 Use dlfcn directly instead of a variable.
5485 (binfmt-subdir): Do not define.
5488 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5490 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5491 Remove all definitions.
5492 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5493 <kernel-features.h>.
5494 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5495 (miss_F_GETOWN_EX): Remove all definitions.
5496 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5498 [!__ASSUME_FCNTL64]: Remove conditional code.
5499 [__ASSUME_FCNTL64]: Make code unconditional.
5500 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5501 <kernel-features.h>.
5502 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5503 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5504 (lockf64) [__NR_fcntl64]: Make code unconditional.
5505 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5507 * sysdeps/unix/sysv/linux/kernel-features.h
5508 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5509 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5510 Make code unconditional.
5511 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5512 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5514 [__NR_vfork]: Make code unconditional.
5515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5518 [__NR_vfork]: Make code unconditional.
5519 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5520 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5522 2012-08-01 Roland McGrath <roland@hack.frob.com>
5524 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5525 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5527 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5528 Define mkstemp64 as an alias.
5529 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5530 Define mkstemps64 as an alias.
5531 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5532 Define mkostemp64 as an alias.
5533 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5534 Define mkostemps64 as an alias.
5535 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5536 Conditionalize body on this.
5537 * misc/mkostemp64.c: Likewise.
5538 * misc/mkostemps64.c: Likewise.
5539 * misc/mkstemps64.c: Likewise.
5540 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5541 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5542 * sysdeps/wordsize-64/mkostemp.c: File removed.
5543 * sysdeps/wordsize-64/mkstemp.c: File removed.
5544 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5545 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5546 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5547 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5550 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5551 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5552 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5553 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5555 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5556 compat_symbol macros from <shlib-compat.h> rather than the underlying
5557 default_symbol_version and symbol_version macros, so that DEFAULT
5558 lines in shlib-versions are respected.
5559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5561 2012-08-01 Florian Weimer <fweimer@redhat.com>
5563 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5564 Declare with warn_unused_result.
5565 (setgid, setregid, setegid, setresgid): Likewise.
5566 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5568 * WUR-REPORT: Remove set*id functions.
5570 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5572 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5574 2012-07-31 Roland McGrath <roland@hack.frob.com>
5576 * include/sys/socket.h (__libc_accept, __libc_accept4):
5577 Add attribute_hidden.
5578 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5580 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5582 * inet/getnetgrent_r.c (setup): Likewise.
5584 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5586 2012-07-31 David S. Miller <davem@davemloft.net>
5588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5590 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5593 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5594 value between 1.0 and 2.0 and smaller part has absolute value less
5596 * math/s_clog10.c (__clog10): Likewise.
5597 * math/s_clog10f.c (__clog10f): Likewise.
5598 * math/s_clog10l.c (__clog10l): Likewise.
5599 * math/s_clogf.c (__clogf): Likewise.
5600 * math/s_clogl.c (__clogl): Likewise.
5601 * math/libm-test.inc (clog_test): Add more tests.
5602 (clog10_test): Likewise.
5603 * sysdeps/i386/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606 2012-07-31 Florian Weimer <fweimer@redhat.com>
5608 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5609 Exit with zero in case no suitable GID is found, and write a
5610 message to standard error.
5612 2012-07-30 Roland McGrath <roland@hack.frob.com>
5614 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5616 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5617 (MAXPATHLEN): Removed.
5618 (NOGROUP, NODEV): New macros.
5619 (setbit, clrbit, isset, isclr): New macros.
5620 (howmany, roundup, powerof2): New macros.
5621 (DEV_BSIZE): New macro.
5623 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5624 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5626 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5627 definition on [!__NO_LONG_DOUBLE_MATH].
5629 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5630 PTR_MANGLE and PTR_DEMANGLE.
5632 * socket/accept4.c (accept4): Rename to __libc_accept4.
5633 Define accept4 as a weak alias.
5635 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5636 on [_DIRENT_HAVE_D_TYPE].
5637 * io/ftw.c (ftw_dir): Likewise.
5639 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5641 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5643 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5644 Use the BSD numbers rather than the arbitrary ones we had.
5645 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5646 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5647 (SIGXCPU, SIGXFSZ): New macros.
5650 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5651 initializer on [_LIBC_REENTRANT].
5653 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5654 definitions inside [_POSIX_MAPPED_FILES].
5656 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5658 * dirent/opendir.c: Include <fcntl.h>.
5660 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5661 (__libc_getspecific): Likewise.
5662 (__libc_key_create): Likewise.
5664 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5665 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5666 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5667 (tmpfile64): Define as alias.
5668 * sysdeps/wordsize-64/tmpfile.c: File removed.
5669 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5671 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5673 * stdio-common/vfscanf.c: Include <stdbool.h>.
5674 * nss/makedb.c: Likewise.
5675 * stdio-common/_i18n_number.h: Likewise.
5676 * argp/argp-help.c: Likewise.
5677 * posix/wordexp.c: Likewise.
5678 * sysdeps/posix/spawni.c: Likewise.
5679 * nss/nss_files/files-initgroups.c: Likewise.
5680 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5681 * nss/nss_files/files-initgroups.c: Likewise.
5682 * nss/nss_db/db-netgrp.c: Likewise.
5683 * nss/nss_db/db-initgroups.c: Likewise.
5684 * io/fchmodat.c: Include <sys/stat.h>.
5686 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5687 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5689 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5692 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5693 Add multiple inclusion protection.
5695 2012-07-27 David S. Miller <davem@davemloft.net>
5697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5699 2012-07-27 Gary Benson <gbenson@redhat.com>
5702 * elf/rtld.c: Include <stap-probe.h>.
5703 (dl_main): Added static probes "init_start" and "init_complete".
5704 * elf/dl-load.c: Include <stap-probe.h>.
5705 (lose): Take new parameter "nsid".
5706 Added static probe "map_failed".
5707 (_dl_map_object_from_fd): Pass namespace id to lose.
5708 Added static probe "map_start".
5709 (open_verify): Pass namespace id to lose.
5710 * elf/dl-open.c: Include <stap-probe.h>.
5711 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5712 and "reloc_complete".
5713 * elf/dl-close.c: Include <stap-probe.h>.
5714 (_dl_close_worker): Added static probes "unmap_start" and
5716 * elf/rtld-debugger-interface.txt: New file documenting the above.
5718 2012-07-26 Roland McGrath <roland@hack.frob.com>
5720 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5721 rather than a string variable.
5722 * sunrpc/rpc_main.c (h_output): Likewise.
5723 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5725 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5727 * inet/check_native.c: New file.
5729 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5732 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5733 if larger part has absolute value 1.0.
5734 * math/s_clog10.c (__clog10): Likewise.
5735 * math/s_clog10f.c (__clog10f): Likewise.
5736 * math/s_clog10l.c (__clog10l): Likewise.
5737 * math/s_clogf.c (__clogf): Likewise.
5738 * math/s_clogl.c (__clogl): Likewise.
5739 * math/libm-test.inc (clog_test): Add more tests.
5740 (clog10_test): Likewise.
5741 * sysdeps/i386/fpu/libm-test-ulps: Update.
5742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5744 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5745 (pltexit): Likewise.
5746 (La_regs): Likewise.
5747 (La_retval): Likewise.
5748 (int_retval): Likewise.
5749 Update #error for removed macros to refer only to definitions in
5751 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5753 (pltexit): Likewise.
5754 (La_regs): Likewise.
5755 (La_retval): Likewise.
5756 (int_retval): Likewise.
5757 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5759 (pltexit): Likewise.
5760 (La_regs): Likewise.
5761 (La_retval): Likewise.
5762 (int_retval): Likewise.
5763 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5765 (pltexit): Likewise.
5766 (La_regs): Likewise.
5767 (La_retval): Likewise.
5768 (int_retval): Likewise.
5769 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5771 (pltexit): Likewise.
5772 (La_regs): Likewise.
5773 (La_retval): Likewise.
5774 (int_retval): Likewise.
5775 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5777 (pltexit): Likewise.
5778 (La_regs): Likewise.
5779 (La_retval): Likewise.
5780 (int_retval): Likewise.
5781 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5783 (pltexit): Likewise.
5784 (La_regs): Likewise.
5785 (La_retval): Likewise.
5786 (int_retval): Likewise.
5787 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5788 macro definitions in tst-audit.h.
5789 * sysdeps/i386/tst-audit.h: New file.
5790 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5791 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5792 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5793 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5794 * sysdeps/sh/tst-audit.h: Likewise.
5795 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5796 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5797 * sysdeps/x86_64/tst-audit.h: Likewise.
5799 2012-07-26 Andreas Jaeger <aj@suse.de>
5801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5804 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5805 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5806 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5808 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5812 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5815 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5817 (si_call_addr, si_syscall, si_arch): Define new macro.
5818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5820 (si_call_addr, si_syscall, si_arch): Define new marcro.
5821 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5823 (si_call_addr, si_syscall, si_arch): Define new macro.
5824 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5826 (si_call_addr, si_syscall, si_arch): Define new macro.
5828 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5832 Change to 2.4.21 where previously 2.4.1.
5833 * sysdeps/unix/sysv/linux/configure: Regenerated.
5834 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5835 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5836 Linux kernel version.
5837 (__ASSUME_STD_AUXV): Remove.
5838 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5840 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5841 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5842 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5843 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5844 (__ASSUME_NETLINK_SUPPORT): Likewise.
5845 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5846 (__no_netlink_support): Remove conditional definition.
5847 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5849 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5850 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5851 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5852 (if_nameindex_ioctl): Remove.
5853 (if_nameindex_netlink): Do not handle __no_netlink_support.
5854 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5856 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5857 Remove conditional code.
5858 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5860 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5862 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5863 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5864 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5866 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5867 [!__ASSUME_STD_AUXV]: Remove conditional code.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5869 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5870 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5872 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5873 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5875 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5877 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5878 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5880 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5882 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5885 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5888 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5890 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5892 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5894 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5897 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5899 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5902 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5904 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5906 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5908 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5911 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5913 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5915 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5917 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5920 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5922 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5923 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5924 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5925 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5926 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5927 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5928 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5929 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5930 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5931 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5932 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5933 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5934 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5935 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5937 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5938 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5940 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5942 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5943 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5946 2012-07-25 Florian Weimer <fweimer@redhat.com>
5948 * Versions.def: Add GLIBC_2.17.
5949 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5950 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5951 Introduce __libc_secure_getenv.
5952 * stdlib/Versions (2.17): Add secure_getenv
5953 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5954 * stdlib/secure-getenv.c: Rename __secure_getenv to
5955 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5956 symbol __secure_getenv for GLIBC_2.0.
5957 * stdlib/tst-secure-getenv.c: New.
5958 * stdlib/Makefile (tests): Add testcase.
5959 * manual/startup.texi (Environment Access): Document
5961 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5962 __libc_secure_getenv.
5963 * inet/ruserpass.c (ruserpass): Likewise.
5964 * malloc/mtrace.c (mtrace): Likewise.
5965 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5966 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5967 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5968 * sysdeps/posix/tempname.c: Likewise. Evaluate
5970 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5971 __secure_getenv to __libc_secure_getenv.
5972 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5985 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5988 (struct La_i86_retval): Likewise.
5989 (struct La_x86_64_regs): Likewise.
5990 (struct La_x86_64_retval): Likewise.
5991 (struct La_x32_regs): Likewise.
5992 (struct La_x32_retval): Likewise.
5993 (struct La_ppc32_regs): Likewise.
5994 (struct La_ppc32_retval): Likewise.
5995 (struct La_ppc64_regs): Likewise.
5996 (struct La_ppc64_retval): Likewise.
5997 (struct La_sh_regs): Likewise.
5998 (struct La_sh_retval): Likewise.
5999 (struct La_s390_32_regs): Likewise.
6000 (struct La_s390_32_retval): Likewise.
6001 (struct La_s390_64_regs): Likewise.
6002 (struct La_s390_64_retval): Likewise.
6003 (struct La_sparc32_regs): Likewise.
6004 (struct La_sparc32_retval): Likewise.
6005 (struct La_sparc64_regs): Likewise.
6006 (struct La_sparc64_retval): Likewise.
6007 (struct audit_ifaces): Remove architecture-specific pltenter and
6009 * sysdeps/i386/ldsodefs.h: New file.
6010 * sysdeps/powerpc/ldsodefs.h: Likewise.
6011 * sysdeps/s390/ldsodefs.h: Likewise.
6012 * sysdeps/sh/ldsodefs.h: Likewise.
6013 * sysdeps/sparc/ldsodefs.h: Likewise.
6014 * sysdeps/x86_64/ldsodefs.h: Likewise.
6016 2012-07-25 Marek Polacek <polacek@redhat.com>
6019 * math/libm-test.inc (yn_test): Add another test.
6020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6021 to ERANGE when the result is +-Inf.
6022 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6023 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6024 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6025 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6027 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6029 * conform/data/time.h-data (NULL): Use macro-constant. Require
6031 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6033 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6035 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6037 * configure.in <sysdeps resolving>: Correct printing
6039 * configure: Regenerate.
6041 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6043 * math/w_ilogb.c: Include <limits.h>.
6044 * math/w_ilogbl.c: Likewise.
6046 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6048 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6049 va_copy. Document allowing for unavailable va_copy only as
6050 pre-C99 compatibility.
6051 * manual/string.texi (Copying and Concatenation): Use va_copy
6052 instead of __va_copy in concat example.
6054 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6056 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6057 (__sendto): Use create_address_port. Initialize APORT and deallocate
6060 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6061 with O_NOLINK passed to __file_name_lookup.
6063 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6064 with O_NOLINK passed to __file_name_lookup.
6066 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6067 negative N or less than NGIDS.
6069 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6070 type to string_t. Set ERANGE as errno and return it if NAME is not big
6071 enough. Use memcpy instead of strncpy.
6073 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6075 * elf/Makefile (check-data): Remove.
6076 (localplt.data): New vpath directive.
6077 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6078 instead of $(check-data).
6079 * scripts/data/localplt-generic.data: Move to ...
6080 * sysdeps/generic/localplt.data: ... here.
6081 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6082 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6083 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6086 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6089 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6092 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6095 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6098 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6102 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6104 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6105 PPC32 and PPC64 files.
6106 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6107 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6109 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6111 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6112 __makecontext_ret to ...
6113 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6114 ... here and call exit if uc_link is NULL. New file.
6115 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6116 __makecontext_ret.S.
6117 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6118 __makecontext_ret to ...
6119 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6120 ... here and call exit if uc_link is NULL. New file.
6121 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6122 __makecontext_ret.S.
6124 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6126 * elf/elf.h (R_390_IRELATIVE): New definition.
6127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6128 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6129 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6130 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6131 (elf_machine_lazy_rel): Likewise.
6132 * sysdeps/s390/dl-irel.h: New file.
6133 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6134 * sysdeps/s390/s390-64/memset.S: New asm code.
6135 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6136 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6138 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6139 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6140 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6142 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6143 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6144 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6145 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6146 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6147 * sysdeps/s390/s390-32/memset.S: New asm code.
6148 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6150 2012-07-17 Marek Polacek <polacek@redhat.com>
6153 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6154 * sysdeps/s390/s390-64/configure.in: Likewise.
6155 * sysdeps/sparc/configure.in: Likewise.
6156 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6157 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6158 * sysdeps/i386/configure.in: Likewise.
6159 * sysdeps/x86_64/configure.in: Likewise.
6160 * sysdeps/sh/configure.in: Likewise.
6161 * sysdeps/s390/s390-32/configure: Regenerated.
6162 * sysdeps/s390/s390-64/configure: Likewise.
6163 * sysdeps/x86_64/configure: Likewise.
6164 * sysdeps/sh/configure: Likewise.
6165 * sysdeps/powerpc/powerpc64/configure: Likewise.
6166 * sysdeps/powerpc/powerpc32/configure: Likewise.
6167 * sysdeps/sparc/configure: Likwise.
6168 * sysdeps/i386/configure: Likewise.
6170 * elf/dl-open.c: Comment fixes.
6172 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6174 * Makefile [CXX] (check-data): Remove.
6175 [CXX] (c++-types.data): New vpath directive.
6176 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6177 vpath. Do not allow for C++ type data being missing.
6178 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6179 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6180 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6181 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6182 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6183 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6184 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6187 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6190 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6193 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6196 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6199 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6202 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6205 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6208 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6209 definitions to architecture-specific files.
6213 * sysdeps/i386/tls-macros.h: New file.
6214 * sysdeps/powerpc/tls-macros.h: Likewise.
6215 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6216 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6217 * sysdeps/sh/tls-macros.h: Likewise.
6218 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6219 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6220 * sysdeps/x86_64/tls-macros.h: Likewise.
6222 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6224 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6225 zero value for regular exit case.
6227 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6228 (__start_context): Preserve zero value for regular exit case.
6230 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6231 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6233 * manual/setjmp.texi (setcontext): Clarify normal process
6234 termination when uc_link is the null pointer.
6235 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6238 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6240 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6241 preprocessor. Test for each exception mask separately.
6243 2012-07-16 Andreas Jaeger <aj@suse.de>
6245 * po/ru.po: Update from translation team.
6247 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6249 * conform/data/string.h-data (NULL): Use macro-constant. Require
6251 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6252 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6253 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6254 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6257 2012-07-13 Andreas Jaeger <aj@suse.de>
6259 * po/fr.po: Update from translation team.
6261 2012-07-12 Marek Polacek <polacek@redhat.com>
6264 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6268 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6272 Change to 2.4.1 where previously 2.4.0.
6273 * sysdeps/unix/sysv/linux/configure: Regenerated.
6274 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6275 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6277 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6278 (__ASSUME_AT_CLKTCK): Remove.
6279 (__ASSUME_AT_PAGESIZE): Likewise.
6280 (__ASSUME_AT_XID): Likewise.
6281 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6282 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6283 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6285 (HAVE_AUX_PAGESIZE): Likewise.
6286 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6287 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6288 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6290 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6294 the temporary buffer used to invoke __gethostbyname2_r,
6295 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6296 host_data / struct gaih_addrtuple.
6297 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6298 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6299 header file nss/nsswitch.h.
6300 * nss/nsswitch.h (global scope): Add definition of implementation
6301 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6302 resolv/nss_dns/dns-host.c).
6304 2012-07-11 Andreas Jaeger <aj@suse.de>
6306 * po/fr.po: Update from translation team.
6308 * po/sv.po: Update from translation team
6309 * po/fr.po: Another update from translation team.
6311 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6314 for subnormals or multiply small sinh result by itself.
6315 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6318 2012-07-11 David S. Miller <davem@davemloft.net>
6320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6322 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6325 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6326 (INTERNAL_MARK): Shift it here.
6328 2012-07-10 Marek Polacek <polacek@redhat.com>
6331 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6332 libc_cv_asm_global_directive with .globl.
6333 * configure: Regenerated.
6334 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6336 * sysdeps/i386/configure: Regenerated.
6337 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6339 * sysdeps/x86_64/configure: Regenerated.
6340 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6341 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6342 * elf/tst-unique2mod2.c: Likewise.
6343 * elf/tst-unique2mod1.c: Likewise.
6344 * elf/tst-unique1mod2.c: Likewise.
6345 * elf/tst-unique1mod1.c: Likewise.
6346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6350 * sysdeps/mach/sysdep.h: Likewise.
6351 * sysdeps/i386/sysdep.h: Likewise.
6352 * sysdeps/i386/i386-mcount.S: Likewise.
6353 * sysdeps/x86_64/_mcount.S: Likewise.
6354 * sysdeps/x86_64/sysdep.h: Likewise.
6355 * sysdeps/sh/_mcount.S: Likewise.
6356 * sysdeps/sh/sysdep.h: Likewise.
6357 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6358 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6359 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6360 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6361 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6362 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6363 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6364 * locale/localeinfo.h: Likewise.
6365 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6366 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6368 2012-07-09 Roland McGrath <roland@hack.frob.com>
6371 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6373 * manual/message.texi (The Uniforum approach): Likewise.
6374 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6375 (glibc iconv Implementation): Likewise.
6377 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6380 * math/s_clog.c (__clog): Avoid scaling a value down where that
6381 could result in underflow.
6382 * math/s_clog10.c (__clog10): Likewise.
6383 * math/s_clog10f.c (__clog10f): Likewise.
6384 * math/s_clog10l.c (__clog10l): Likewise.
6385 * math/s_clogf.c (__clogf): Likewise.
6386 * math/s_clogl.c (__clogl): Likewise.
6387 * math/libm-test.inc (clog_test): Add more tests.
6388 (clog10_test): Likewise.
6389 * sysdeps/i386/fpu/libm-test-ulps: Update.
6390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6392 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6395 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6396 by 7 not 8 to examine high bit of fractional part.
6399 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6400 for call to __mcount_internal.
6401 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6402 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6403 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6405 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6408 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6409 approximation for values within 0x1p-13f of an odd multiple of
6411 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6412 exception. Add more tests.
6413 * sysdeps/i386/fpu/libm-test-ulps: Update.
6416 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6417 inputs and return -1 for them. Do not check for +Inf in case not
6419 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6420 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6422 and return -1 for them. Do not check for +Inf in case not
6424 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6427 and return -1 for them. Do not check for +Inf in case not
6429 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6431 * sysdeps/i386/fpu/libm-test-ulps: Update.
6432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6434 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6436 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6438 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6442 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6443 could result in spurious underflow. Scale down values above
6444 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6445 * math/s_csqrtf.c (__csqrtf): Likewise.
6446 * math/s_csqrtl.c (__csqrtl): Likewise.
6447 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6449 * sysdeps/i386/fpu/libm-test-ulps: Update.
6450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6454 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6456 * catgets/xopen-msg.awk: New file.
6457 * catgets/xopen-msg.sed: Removed.
6459 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6461 * intl/po2test.awk: New file.
6462 * intl/po2test.sed: Removed.
6464 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6467 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6468 or multiply small sinh result by itself.
6469 * math/s_ctanf.c (__ctanf): Likewise.
6470 * math/s_ctanh.c (__ctanh): Likewise.
6471 * math/s_ctanhf.c (__ctanhf): Likewise.
6472 * math/s_ctanhl.c (__ctanhl): Likewise.
6473 * math/s_ctanl.c (__ctanl): Likewise.
6474 * math/libm-test.inc (ctan_test_tonearest): New function.
6475 (ctan_test_towardzero): Likewise.
6476 (ctan_test_downward): Likewise.
6477 (ctan_test_upward): Likewise.
6478 (ctanh_test_tonearest): Likewise.
6479 (ctanh_test_towardzero): Likewise.
6480 (ctanh_test_downward): Likewise.
6481 (ctanh_test_upward): Likewise.
6482 (main): Call these new functions.
6483 * sysdeps/i386/fpu/libm-test-ulps: Update.
6484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6486 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6488 * .gitignore: Delete /ports entry.
6490 2012-07-03 Andreas Jaeger <aj@suse.de>
6492 * po/bg.po: Update from translation team.
6493 * po/cs.po: Likewise.
6494 * po/de.po: Likewise.
6495 * po/hr.po: Likewise.
6496 * po/nl.pl: Likewise.
6497 * po/pl.po: Likewise.
6498 * po/vi.po: Likewise.
6500 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6502 * Makeconfig [!+link] (+link-before-libc): New variable.
6503 [!+link] (+link-after-libc): Likewise.
6504 [!+link] (+link-tests): Likewise.
6505 [!+link] (+link): Define in terms of $(+link-before-libc) and
6506 $(+link-after-libc).
6507 [!+link-static] (+link-static-before-libc): New variable.
6508 [!+link-static] (+link-static-after-libc): Likewise.
6509 [!+link-static] (+link-static-tests): Likewise.
6510 [!+link-static] (+link-static): Define in terms of
6511 $(+link-static-before-libc) and $(+link-static-after-libc).
6512 [build-shared] (link-libc-before-gnulib): New variable.
6513 [build-shared] (link-libc-tests): Likewise.
6514 [build-shared] (link-libc): Define in terms of
6515 $(link-libc-before-gnulib).
6516 [!build-shared] (link-libc-tests): New variable.
6517 (link-libc-static-tests): New variable.
6518 [!gnulib] (gnulib-arch): New variable.
6519 [!gnulib] (gnulib-tests): Likewise.
6520 [!gnulib] (static-gnulib-arch): Likewise.
6521 [!gnulib] (static-gnulib-tests): Likewise.
6522 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6523 Define with "=" instead of ":=".
6524 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6525 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6526 * Rules (binaries-all-notests): New variable.
6527 (binaries-all-tests): Likewise.
6528 (binaries-static-notests): Likewise.
6529 (binaries-static-tests): Likewise.
6530 (binaries-all): Define using $(binaries-all-notests) and
6531 $(binaries-all-tests).
6532 (binaries-static): Define using $(binaries-static-notests) and
6533 $(binaries-static-tests).
6534 (binaries-shared-tests): New variable.
6535 (binaries-shared-notests): Likewise.
6536 (binaries-shared): Remove variable.
6537 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6538 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6539 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6540 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6541 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6542 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6543 * elf/Makefile (sln-modules): New variable.
6544 (extra-objs): Add $(sln-modules:=.o).
6545 (ldconfig-modules): Add static-stubs.
6546 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6547 * elf/static-stubs.c: New file.
6550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6551 by 7 not 8 to examine high bit of fractional part. Use volatile
6552 variables when splitting into final array of floats if
6553 __FLT_EVAL_METHOD__ != 0.
6554 * math/libm-test.inc (cos_test): Add another test.
6555 (sin_test): Likewise.
6556 * sysdeps/i386/fpu/libm-test-ulps: Update.
6559 * math/libm-test.inc (cosh_test): Add more tests.
6561 * version.h (RELEASE): Set to "development".
6562 (VERSION): Set to "2.16.90".
6564 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6566 * NEWS: Update copyright. Remove last-updated date.
6567 Mention math library bug fixes and timezone data changes.
6568 * README: Mention GNU/Hurd, x32, and HPPA support status.
6570 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6572 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6574 2012-06-27 Andreas Jaeger <aj@suse.de>
6576 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6578 2012-06-25 Andreas Jaeger <aj@suse.de>
6580 * sysdeps/s390/fpu/libm-test-ulps: Update.
6582 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6583 Thomas Schwinge <thomas@codesourcery.com>
6585 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6586 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6590 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6592 * sysdeps/mach/start.c: Remove file.
6593 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6594 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6595 * sysdeps/sh/init-first.c: Likewise.
6597 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6598 registers for frame unwinding purposes, add CFI directives.
6599 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6601 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6604 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6605 __fortify_fail returning.
6606 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6609 sysdeps/sh/____longjmp_chk.S.
6610 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6611 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6612 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6613 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6615 * sysdeps/sh/abort-instr.h: New file.
6616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6617 process in case exit returns.
6619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6620 initialize the GOT register before use.
6622 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6623 calculation of ARGC > 4.
6625 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6626 meaningful names to some local labels.
6628 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6629 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6631 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6632 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6633 (__arch_compare_and_exchange_val_16_acq): Likewise.
6634 (__arch_compare_and_exchange_val_32_acq): Likewise.
6635 (atomic_exchange_and_add): Fix gUSA sequence.
6636 (atomic_add): Likewise.
6637 (atomic_add_negative): Likewise.
6638 (atomic_add_zero): Likewise.
6639 (atomic_bit_test_set): Likewise.
6641 2012-06-22 Andreas Schwab <schwab@redhat.com>
6644 * include/link.h (struct link_map): Add l_free_initfini.
6645 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6647 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6648 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6649 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6652 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6654 * configure.in: Use AC_LANG_SOURCE.
6655 * configure: Regenerate.
6657 2012-06-22 Roland McGrath <roland@hack.frob.com>
6659 * configure.in (libc_cv_localstatedir): New substituted variable.
6660 * configure: Regenerated.
6661 * config.make.in (localstatedir): New variable, substituted from
6662 libc_cv_localstatedir.
6663 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6664 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6665 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6666 * sysdeps/gnu/configure: Regenerated.
6668 2012-06-21 Jeff Law <law@redhat.com>
6671 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6672 free. Simplify list management for _LIBC case.
6674 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6678 Clear sign bit of 64-bit integer value before comparing against
6681 * sysdeps/mach/configure: Regenerated.
6683 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6686 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6688 2012-06-21 Jeff Law <law@redhat.com>
6691 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6692 uint16_t for elements in the "seen" array to avoid char overflows.
6693 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6694 * elf/dl-open.c (dl_open_worker): Likewise.
6696 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6698 * scripts/list-sources.sh: Scan PORTS for translations.
6699 * po/libc.pot: Regenerated.
6701 2012-06-21 Andreas Jaeger <aj@suse.de>
6704 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6706 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6707 * bits/byteswap-16.h (__bswap_16): Likewise.
6708 * bits/byteswap.h (__bswap_constant_16): Likewise.
6710 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6713 * sysdeps/i386/fpu_control.h: Removed.
6714 * sysdeps/x86_64/fpu_control.h: Moved to ...
6715 * sysdeps/x86/fpu_control.h: Here.
6717 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6718 (_FPU_SETCW): Likewise.
6720 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6723 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6724 * sysdeps/x86/fpu/bits/mathinline.h: This.
6725 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6729 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6730 functions if __x86_64__ is defined.
6732 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6734 * string/endian.h: Add !__ASSEMBLER__ condition for including
6735 conversion interfaces.
6737 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6741 of ABS(x) in calculating zero to negative powers other than odd
6743 * math/libm-test.inc (pow_test): Add more tests.
6745 2012-06-15 Andreas Jaeger <aj@suse.de>
6747 * manual/contrib.texi (Contributors): Update entry of Liubov
6748 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6751 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6753 * string/string.h: Add __wur to GNU version of strerror_r.
6755 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6758 * string/Makefile (tests): Add tst-strtok_r.
6759 * string/tst-strtok_r.c: New file.
6760 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6761 RAX_LP/RDX_LP on SAVE_PTR.
6763 2012-06-14 Roland McGrath <roland@hack.frob.com>
6765 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6767 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6769 * libm_test.inc (csqrt_test): Allow more spurious underflow
6771 (j0_test): Likewise.
6772 (j1_test): Likewise.
6773 (y0_test): Likewise.
6774 (y1_test): Likewise.
6776 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6778 * po/Makefile (libc.pot): Use UTF-8 charset.
6780 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6783 Suppress sign-conversion warning from FD_SET.
6784 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6785 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6786 not unsigned long int.
6787 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6789 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6793 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6794 __extern_always_inline instead of __extern_inline.
6795 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6796 (__signbit): Likewise.
6797 (__signbitl): Support C++ namespace.
6798 (lrintf): New inline function.
6800 (llrintf): Likewise.
6812 (nearbyint): Likewise.
6813 (nearbyintf): Likewise.
6815 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6818 non-default versions.
6820 2012-06-11 Roland McGrath <roland@hack.frob.com>
6823 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6825 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6827 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6828 (FE_UPWARD, FE_DOWNWARD): Don't define.
6829 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6830 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6834 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6837 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6839 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6841 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6844 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6847 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6848 * sysdeps/i386/fpu/Implies: New file.
6849 * sysdeps/x86_64/fpu/Implies: Likewise.
6850 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6851 * sysdeps/x86/fpu/bits/fenv.h: This.
6853 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6856 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6859 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6860 character 0xffff that matches the last element of the
6863 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6868 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6871 values higher than 25.6283.
6873 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6876 subnormal exponent extraction and add some __builtin_expect.
6877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6878 Fix for subnormal mantissa calculation.
6880 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6882 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6883 cpu2 is -1 and errno is not ENOSYS.
6885 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6888 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6889 * sysdeps/x86/bits/string.h: This.
6890 * sysdeps/x86_64/bits/string.h: Removed.
6892 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6893 if not compiling for x86-64, but compiling for >= i486.
6895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6896 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6898 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6899 New macro from Linux kernel 3.4.0.
6900 (FP_XSTATE_MAGIC2): Likewise.
6901 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6902 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6903 (struct _fpx_sw_bytes): New struct.
6904 (struct _xsave_hdr): Likewise.
6905 (struct _ymmh_state): Likewise.
6906 (struct _xstate): Likewise.
6908 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6909 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6910 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6911 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6912 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6913 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6915 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6916 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6917 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6918 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6919 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6920 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6922 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6925 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6926 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6927 (sysdep_headers): Include sys/platform/ppc.h.
6928 * sysdeps/powerpc/test-gettimebase.c: Test for
6929 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6930 * manual/Makefile (appendices): Include platform.texi.
6931 * manual/contrib.texi (Contributors): Update @node pointers.
6932 * manual/maint.texi (Maintenance): Likewise.
6933 (Platform): New node.
6934 * manual/platform.texi: New file. Document the new features.
6936 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6937 Jakub Jelinek <jakub@redhat.com>
6940 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6941 where __builtin_expect is unavailable.
6943 2012-06-03 David S. Miller <davem@davemloft.net>
6945 * stdlib/longlong.h: Updated from GCC.
6947 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6950 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6951 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6954 (GLIBC_2.16): Likewise.
6956 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6960 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6963 (default-abi): New variable.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6965 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6967 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6969 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6974 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6975 definition. Document in comment.
6977 2012-06-01 David S. Miller <davem@davemloft.net>
6979 * stdlib/longlong.h: Updated from GCC.
6981 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6984 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6985 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6986 sys/debugreg.h sys/io.h here.
6987 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6988 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6990 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6991 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6992 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6993 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6994 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6995 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6997 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6998 Define only if __x86_64__ is defined.
7000 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7004 Use int64_t for variable i.
7005 * math/libm-test.inc (fmod_test): Add more tests.
7007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7008 z computation is not scheduled after fetestexcept.
7009 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7010 Use math_force_eval instead of asm to ensure calculation scheduled
7011 before exception test.
7012 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7013 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7015 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7018 computation is not scheduled after fetestexcept.
7020 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7023 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7024 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7026 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7028 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7029 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7031 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7034 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7036 (__WCHAR_MIN): Support __WORDSIZE == 64.
7037 (__WCHAR_MAX): Likewise.
7039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7044 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7047 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7048 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7050 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7051 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7053 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7054 Defined to 1 if __x86_64__ isn't defined.
7055 (_STAT_VER_LINUX_OLD): New.
7056 (st_atime): Remove duplicate.
7057 (st_mtime): Likewise.
7058 (st_ctime): Likewise.
7060 2012-05-31 David S. Miller <davem@davemloft.net>
7062 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7065 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7067 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7071 * elf/dl-reloc.c: Include <_itoa.h>.
7072 (_dl_reloc_bad_type): Remove use of INTUSE.
7073 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7074 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7075 * stdio-common/psiginfo.c (psiginfo): Likewise.
7076 * stdio-common/psignal.c (psignal): Likewise.
7077 * string/strsignal.c (strsignal): Likewise.
7078 * include/signal.h (_sys_siglist): Declare hidden proto.
7079 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7080 INTVARDEF with libc_hidden_data_def.
7081 * stdio-common/itoa-udigits.c: Likewise.
7082 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7083 (_itoa_lower_digits_internal): Remove declaration.
7084 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7085 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7086 (_sys_sigabbrev_internal): Remove aliases.
7087 (_sys_siglist): Define hidden alias.
7089 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7094 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7097 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7098 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7100 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7101 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7102 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7103 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7105 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7107 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7108 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7109 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7111 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7119 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7121 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7123 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7124 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7126 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7127 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7128 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7130 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7131 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7133 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7134 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7136 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7137 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7138 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7140 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7141 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7143 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7145 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7146 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7147 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7149 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7151 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7153 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7155 * math/math.h (M_El): Use two more decimal places.
7156 (M_LOG2El): Likewise.
7157 (M_LOG10El): Likewise.
7159 (M_LN10l): Likewise.
7161 (M_PI_2l): Likewise.
7162 (M_PI_4l): Likewise.
7163 (M_1_PIl): Likewise.
7164 (M_2_PIl): Likewise.
7165 (M_2_SQRTPIl): Likewise.
7166 (M_SQRT2l): Likewise.
7167 (M_SQRT1_2l): Likewise.
7169 2012-05-31 David S. Miller <davem@davemloft.net>
7171 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7172 values between float registers.
7173 * sysdeps/sparc/sparc64/memset.S: Likewise.
7174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7176 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7178 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7179 -D_FORTIFY_SOURCE=1.
7180 (CPPFLAGS-tst-longjmp_chk.c): Define.
7181 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7182 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7183 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7184 CFLAGS-tst-wchar-h.c.
7186 2012-05-31 Marek Polacek <polacek@redhat.com>
7189 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7190 __endmntent_internal): Remove declaration.
7191 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7192 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7193 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7195 2012-05-30 David S. Miller <davem@davemloft.net>
7197 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7198 (___Q_simulate_exceptions): Use real FP ops rather than writing
7200 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7206 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7207 * sysdeps/x86/bits/xtitypes.h: This.
7209 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7210 * sysdeps/x86/bits/wordsize.h: This.
7212 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7213 * sysdeps/x86/bits/huge_vall.h: This.
7215 * sysdeps/i386/bits/select.h: Removed.
7216 * sysdeps/x86_64/bits/select.h: Renamed to ...
7217 * sysdeps/x86/bits/select.h: This.
7219 * sysdeps/i386/bits/setjmp.h: Removed.
7220 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7221 * sysdeps/x86/bits/setjmp.h: This.
7223 * sysdeps/i386/bits/mathdef.h: Removed.
7224 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7225 * sysdeps/x86/bits/mathdef.h: This.
7227 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7230 * include/sys/socket.h (__connect_internal)
7231 (__libc_sa_len_internal): Remove declaration.
7232 (__connect, __libc_sa_len): Declare hidden_proto.
7233 (SA_LEN): Remove use of INTUSE.
7234 * socket/connect.c: Add libc_hidden_def.
7235 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7236 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7237 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7239 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7240 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7241 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7242 of adding _internal alias.
7244 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7247 * sysdeps/i386/bits/link.h: Removed.
7248 * sysdeps/i386/bits/linkmap.h: Likewise.
7249 * sysdeps/x86_64/bits/link.h: Renamed to ...
7250 * sysdeps/x86/bits/link.h: This.
7251 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7252 * sysdeps/x86/bits/linkmap.h: This.
7254 * sysdeps/i386/bits/endian.h: Removed.
7255 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7256 * sysdeps/x86/bits/endian.h: This.
7258 * sysdeps/i386/bits/byteswap.h: Removed.
7259 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7260 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7261 * sysdeps/x86/bits/byteswap.h: This.
7262 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7263 * sysdeps/x86/bits/byteswap-16.h: This.
7264 * sysdeps/i386/Implies: Add x86.
7265 * sysdeps/x86_64/Implies: Likewise.
7267 2012-05-30 David S. Miller <davem@davemloft.net>
7269 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7270 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7271 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7272 (FP_TRAPPING_EXCEPTIONS): Define.
7273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7274 (FP_TRAPPING_EXCEPTIONS): Define.
7275 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7276 subnormals only when inexact has been signalled or underflow
7277 exceptions are enabled.
7278 (_FP_PACK_CANONICAL): Likewise.
7280 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7284 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7286 2012-05-30 Richard Henderson <rth@twiddle.net>
7288 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7289 with #ifndef NOT_IN_libc.
7291 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7292 marked to avoid plt entry.
7294 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7297 * Makeconfig (default-abi): New macro.
7298 (abi-includes): Likewise.
7299 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7300 $(abi-$(default-abi)-lib-soname) for soname if defined.
7301 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7303 * Makefile (installed-stubs): Likewise.
7304 * include/stubs-biarch.h: Removed.
7305 * scripts/lib-names.awk: Only handle one library at a time.
7306 * scripts/soversions.awk: Remove WORDSIZE support.
7307 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7309 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7311 (syscall-list-default-condition): Likewise.
7312 (syscall-list-default-condition): Likewise.
7313 (syscall-list-includes): Likewise.
7314 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7315 syscall-list-* with abi-*. Handle undefined abi-variants.
7316 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7317 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7318 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7319 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7320 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7321 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7323 (syscall-list-32-options): Likewise.
7324 (syscall-list-32-condition): Likewise.
7325 (syscall-list-64-options): Likewise.
7326 (syscall-list-64-condition): Likewise.
7327 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7329 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7332 (abi-64-ld-soname): New macro.
7333 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7337 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7338 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7340 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7342 * sysdeps/unix/sysv/linux/kernel-features.h
7343 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7344 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7345 include <kernel-features.h>.
7346 [!__NR_ftruncate64]: Remove conditional code.
7347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7348 [__NR_ftruncate64]: Make code unconditional.
7349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7350 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7351 include <kernel-features.h>.
7352 [!__NR_ftruncate64]: Remove conditional code.
7353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7354 [__NR_ftruncate64]: Make code unconditional.
7355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7357 include <kernel-features.h>.
7358 [!__NR_ftruncate64]: Remove conditional code.
7359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7360 [__NR_ftruncate64]: Make code unconditional.
7361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7363 include <kernel-features.h>.
7364 [!__NR_ftruncate64]: Remove conditional code.
7365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7366 [__NR_ftruncate64]: Make code unconditional.
7367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7369 * configure.in (libc_cv_fpie): Weaken to a compile test using
7371 * configure: Regenerated.
7373 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7388 2012-05-27 David S. Miller <davem@davemloft.net>
7390 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7392 (__Q_simulate_exceptions): Return void. Change to simulate
7393 exceptions by writing into the %fsr.
7394 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7395 (__Qp_handle_exceptions): Likewise.
7397 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7398 __Qp_handle_exceptions.
7399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7400 __Qp_handle_exceptions.
7401 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7402 as unused and give dummy FP_RND_NEAREST initializer.
7403 (FP_INHIBIT_RESULTS): Define.
7404 (___Q_simulate_exceptions): Update declaration.
7405 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7407 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7408 as unused and give dummy FP_RND_NEAREST initializer.
7409 (__Qp_handle_exceptions): Update declaration.
7410 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7413 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7415 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7416 the temporary FPU control word.
7417 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7418 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7420 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7421 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7422 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7423 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7425 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7426 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7427 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7429 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7434 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7436 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7437 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7438 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7439 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7441 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7442 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7445 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7447 * po/h.po: Update from translation team.
7449 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7451 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7454 handling of denormals.
7455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7456 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7457 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7459 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7464 2012-05-26 Marek Polacek <polacek@redhat.com>
7467 * math/libm-test.inc (fma_test): Don't always expect underflow
7470 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7473 * elf/tst-execstack.c: Include stackinfo.h.
7474 (do_test): Adjust test case to ensure that pthread_getattr_np
7475 behaviour remains the same after marking stack executable.
7477 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7479 * sysdeps/unix/sysv/linux/kernel-features.h
7480 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7483 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7484 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7485 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7487 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7488 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7490 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7492 * configure.in: Define the default includes to being none.
7493 * configure: Regenerated.
7495 2012-05-25 Roland McGrath <roland@hack.frob.com>
7497 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7498 * sysdeps/x86_64/setjmp.S: Likewise.
7499 * sysdeps/i386/bsd-setjmp.S: Likewise.
7500 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7501 * sysdeps/i386/setjmp.S: Likewise.
7502 * sysdeps/i386/__longjmp.S: Likewise.
7503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7504 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7506 * include/stap-probe.h: New file.
7507 * configure.in: Handle --enable-systemtap.
7508 * configure: Regenerated.
7509 * config.h.in (USE_STAP_PROBE): New #undef.
7510 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7511 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7512 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7514 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7518 to 2.4.0 where earlier.
7519 * sysdeps/unix/sysv/linux/configure: Regenerated.
7520 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7521 <kernel-features.h>.
7522 [__ASSUME_32BITUIDS]: Make code unconditional.
7523 [!__ASSUME_32BITUIDS]: Remove conditional code.
7524 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7525 <kernel-features.h>.
7526 [__ASSUME_32BITUIDS]: Make code unconditional.
7527 [!__ASSUME_32BITUIDS]: Remove conditional code.
7528 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7529 [__ASSUME_32BITUIDS]: Make code unconditional.
7530 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7531 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7532 <kernel-features.h>.
7533 [__ASSUME_32BITUIDS]: Make code unconditional.
7534 [!__ASSUME_32BITUIDS]: Remove conditional code.
7535 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7536 <kernel-features.h>.
7537 [__ASSUME_32BITUIDS]: Make code unconditional.
7538 [!__ASSUME_32BITUIDS]: Remove conditional code.
7539 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7540 <kernel-features.h>.
7541 [__ASSUME_32BITUIDS]: Make code unconditional.
7542 [!__ASSUME_32BITUIDS]: Remove conditional code.
7543 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7544 <kernel-features.h>.
7545 [__ASSUME_32BITUIDS]: Make code unconditional.
7546 [!__ASSUME_32BITUIDS]: Remove conditional code.
7547 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7548 <kernel-features.h>.
7549 [__ASSUME_32BITUIDS]: Make code unconditional.
7550 [!__ASSUME_32BITUIDS]: Remove conditional code.
7551 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
7572 <kernel-features.h>.
7573 [__NR_setresgid] (__setresgid): Do not declare.
7574 [__ASSUME_32BITUIDS]: Make code unconditional.
7575 [!__ASSUME_32BITUIDS]: Remove conditional code.
7576 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7577 <kernel-features.h>.
7578 [__NR_setresuid] (__setresuid): Do not declare.
7579 [__ASSUME_32BITUIDS]: Make code unconditional.
7580 [!__ASSUME_32BITUIDS]: Remove conditional code.
7581 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7582 <kernel-features.h>.
7583 [__ASSUME_32BITUIDS]: Make code unconditional.
7584 [!__ASSUME_32BITUIDS]: Remove conditional code.
7585 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7586 <kernel-features.h>.
7587 [__ASSUME_32BITUIDS]: Make code unconditional.
7588 [!__ASSUME_32BITUIDS]: Remove conditional code.
7589 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7590 <kernel-features.h>.
7591 [__ASSUME_32BITUIDS]: Make code unconditional.
7592 [!__ASSUME_32BITUIDS]: Remove conditional code.
7593 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7594 <kernel-features.h>.
7595 [__ASSUME_32BITUIDS]: Make code unconditional.
7596 [!__ASSUME_32BITUIDS]: Remove conditional code.
7597 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7598 <kernel-features.h>.
7599 [__ASSUME_32BITUIDS]: Make code unconditional.
7600 [!__ASSUME_32BITUIDS]: Remove conditional code.
7601 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7602 <kernel-features.h>.
7603 [__ASSUME_32BITUIDS]: Make code unconditional.
7604 [!__ASSUME_32BITUIDS]: Remove conditional code.
7605 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7606 <kernel-features.h>.
7607 [__ASSUME_32BITUIDS]: Make code unconditional.
7608 [!__ASSUME_32BITUIDS]: Remove conditional code.
7609 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7610 <kernel-features.h>.
7611 [__ASSUME_32BITUIDS]: Make code unconditional.
7612 [!__ASSUME_32BITUIDS]: Remove conditional code.
7613 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
7622 (__ASSUME_SETRESUID_SYSCALL): Remove.
7623 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7624 (__ASSUME_32BITUIDS): Likewise.
7625 (__ASSUME_LDT_WORKS): Likewise.
7626 (__ASSUME_O_DIRECTORY): Likewise.
7627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7628 architecture but not kernel version.
7629 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7630 (__ASSUME_MMAP2_SYSCALL): Likewise.
7631 (__ASSUME_STAT64_SYSCALL): Likewise.
7632 (__ASSUME_IPC64): Likewise.
7633 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7634 <kernel-features.h>.
7635 [__ASSUME_32BITUIDS]: Make code unconditional.
7636 [!__ASSUME_32BITUIDS]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7638 <kernel-features.h>.
7639 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7640 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7641 132096]: Remove conditional code.
7642 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7643 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7644 <kernel-features.h>.
7645 [__ASSUME_32BITUIDS]: Make code unconditional.
7646 [!__ASSUME_32BITUIDS]: Remove conditional code.
7647 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7648 <kernel-features.h>.
7649 [__ASSUME_32BITUIDS]: Make code unconditional.
7650 [!__ASSUME_32BITUIDS]: Remove conditional code.
7651 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7652 <kernel-features.h>.
7653 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7655 (__setresgid): Do not declare.
7656 [__ASSUME_32BITUIDS]: Make code unconditional.
7657 [!__ASSUME_32BITUIDS]: Remove conditional code.
7658 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7659 <kernel-features.h>.
7660 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7662 (__setresuid): Do not declare.
7663 [__ASSUME_32BITUIDS]: Make code unconditional.
7664 [!__ASSUME_32BITUIDS]: Remove conditional code.
7665 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7666 <kernel-features.h>.
7667 [__ASSUME_32BITUIDS]: Make code unconditional.
7668 [!__ASSUME_32BITUIDS]: Remove conditional code.
7669 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7670 <kernel-features.h>.
7671 [__ASSUME_32BITUIDS]: Make code unconditional.
7672 [!__ASSUME_32BITUIDS]: Remove conditional code.
7674 2012-05-25 Richard Henderson <rth@twiddle.net>
7676 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7677 dl_hwcap to ifunc resolver.
7678 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7680 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7681 dl_hwcap to ifunc resolver.
7682 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7684 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7687 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7688 for |x| <= 2**-26, not 2**-57.
7689 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7692 2012-05-24 Jeff Law <law@redhat.com>
7694 * stdio-common/Makefile (tests): Add bug25.
7695 * stdio-common/bug25.c: New test.
7697 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7700 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7701 multiple of MALLOC_ALIGNMENT in size.
7702 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7704 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7706 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7708 (FILENAME_MAX): Use macro-int-constant.
7709 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7710 (_IOFBF): Use macro-int-constant.
7713 (SEEK_CUR): Likewise.
7714 (SEEK_END): Likewise.
7715 (SEEK_SET): Likewise.
7716 (TMP_MAX): Likewise.
7717 (EOF): Use macro-int-constant. Require < 0.
7718 (NULL): Use macro-constant. Require == 0.
7719 (stdin): Require type to be FILE *.
7722 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7724 (EXIT_SUCCESS): Likewise.
7725 (NULL): Use macro-constant. Require == 0.
7726 (RAND_MAX): Use macro-int-constant.
7727 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7728 [C99-based standards] (strtof): Require function.
7729 [C99-based standards] (strtold): Likewise.
7730 [C99-based standards] (strtoll): Likewise.
7731 [C99-based standards] (strtoull): Likewise.
7732 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7733 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7734 [ISO || ISO99 || ISO11] (math.h): Likewise.
7735 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7736 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7739 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7742 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7743 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7744 * intl/dgettext.c (DCGETTEXT): Likewise.
7745 * intl/gettext.c (DCGETTEXT): Likewise.
7746 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7747 * posix/regex_internal.h (gettext): Likewise.
7748 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7750 * include/argz.h (__argz_count_internal)
7751 (__argz_stringify_internal): Remove declaration.
7752 (__argz_count, __argz_stringify): Declare hidden proto.
7753 * intl/dcgettext.c: Remove use of INTDEF.
7754 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7755 * string/argz-stringify.c: Likewise.
7756 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7757 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7758 Declare hidden proto.
7759 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7760 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7761 Declare hidden proto.
7762 * include/stdio.h (__asprintf_internal): Don't declare.
7763 (__asprintf): Don't define as macro. Declare hidden proto.
7764 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7765 (__fsetlocking): Declare hidden proto.
7766 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7767 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7769 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7770 (_IO_setlinebuf): Remove use of INTUSE.
7771 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7772 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7773 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7775 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7776 (_IO_do_flush): Remove use of INTUSE.
7777 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7778 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7779 (_IO_adjust_column, _IO_least_wmarker)
7780 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7781 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7782 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7783 (_IO_default_doallocate, _IO_wdefault_doallocate)
7784 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7785 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7786 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7787 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7788 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7789 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7790 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7791 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7792 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7793 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7794 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7795 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7796 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7798 (_IO_flush_all_internal, _IO_adjust_column_internal)
7799 (_IO_default_uflow_internal, _IO_default_finish_internal)
7800 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7801 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7802 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7803 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7804 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7805 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7806 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7807 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7808 (_IO_file_close_internal, _IO_file_close_it_internal)
7809 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7810 (_IO_file_init_internal, _IO_file_attach_internal)
7811 (_IO_file_fopen_internal, _IO_file_read_internal)
7812 (_IO_file_sync_internal, _IO_file_seek_internal)
7813 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7814 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7815 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7816 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7817 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7818 (_IO_list_all_internal, _IO_link_in_internal)
7819 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7820 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7821 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7822 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7823 (_IO_do_write_internal, _IO_padn_internal)
7824 (_IO_getline_info_internal, _IO_getline_internal)
7825 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7826 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7827 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7828 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7829 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7830 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7831 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7832 with libc_hidden_ver, remove use of INTUSE.
7833 * libio/genops.c: Likewise.
7834 * libio/freopen.c: Likewise.
7835 * libio/freopen64.c: Likewise.
7836 * libio/iofclose.c: Likewise.
7837 * libio/iofdopen.c: Likewise.
7838 * libio/iofflush.c: Likewise.
7839 * libio/iofflush_u.c: Likewise.
7840 * libio/iofgets.c: Likewise.
7841 * libio/iofgets_u.c: Likewise.
7842 * libio/iofopen.c: Likewise.
7843 * libio/iofopncook.c: Likewise.
7844 * libio/iofread.c: Likewise.
7845 * libio/iofread_u.c: Likewise.
7846 * libio/ioftell.c: Likewise.
7847 * libio/iofwrite.c: Likewise.
7848 * libio/iogetline.c: Likewise.
7849 * libio/iogets.c: Likewise.
7850 * libio/iogetwline.c: Likewise.
7851 * libio/iopadn.c: Likewise.
7852 * libio/iopopen.c: Likewise.
7853 * libio/ioseekoff.c: Likewise.
7854 * libio/ioseekpos.c: Likewise.
7855 * libio/iosetbuffer.c: Likewise.
7856 * libio/iosetvbuf.c: Likewise.
7857 * libio/ioungetc.c: Likewise.
7858 * libio/ioungetwc.c: Likewise.
7859 * libio/iovdprintf.c: Likewise.
7860 * libio/iovsprintf.c: Likewise.
7861 * libio/iovsscanf.c: Likewise.
7862 * libio/memstream.c: Likewise.
7863 * libio/obprintf.c: Likewise.
7864 * libio/oldfileops.c: Likewise.
7865 * libio/oldiofclose.c: Likewise.
7866 * libio/oldiofdopen.c: Likewise.
7867 * libio/oldiofopen.c: Likewise.
7868 * libio/oldiopopen.c: Likewise.
7869 * libio/oldstdfiles.c: Likewise.
7870 * libio/putc.c: Likewise.
7871 * libio/setbuf.c: Likewise.
7872 * libio/setlinebuf.c: Likewise.
7873 * libio/stdfiles.c: Likewise.
7874 * libio/strops.c: Likewise.
7875 * libio/vasprintf.c: Likewise.
7876 * libio/vscanf.c: Likewise.
7877 * libio/vsnprintf.c: Likewise.
7878 * libio/vswprintf.c: Likewise.
7879 * libio/wfiledoalloc.c: Likewise.
7880 * libio/wfileops.c: Likewise.
7881 * libio/wgenops.c: Likewise.
7882 * libio/wmemstream.c: Likewise.
7883 * libio/wstrops.c: Likewise.
7884 * libio/__fpurge.c: Likewise.
7885 * libio/__fsetlocking.c: Likewise.
7886 * assert/assert.c: Likewise.
7887 * debug/fgets_chk.c: Likewise.
7888 * debug/fgets_u_chk.c: Likewise.
7889 * debug/fread_chk.c: Likewise.
7890 * debug/fread_u_chk.c: Likewise.
7891 * debug/gets_chk.c: Likewise.
7892 * debug/obprintf_chk.c: Likewise.
7893 * debug/vasprintf_chk.c: Likewise.
7894 * debug/vdprintf_chk.c: Likewise.
7895 * debug/vsnprintf_chk.c: Likewise.
7896 * debug/vsprintf_chk.c: Likewise.
7897 * malloc/mtrace.c: Likewise.
7898 * misc/error.c: Likewise.
7899 * misc/syslog.c: Likewise.
7900 * stdio-common/asprintf.c: Likewise.
7901 * stdio-common/fxprintf.c: Likewise.
7902 * stdio-common/getw.c: Likewise.
7903 * stdio-common/isoc99_fscanf.c: Likewise.
7904 * stdio-common/isoc99_scanf.c: Likewise.
7905 * stdio-common/isoc99_vfscanf.c: Likewise.
7906 * stdio-common/isoc99_vscanf.c: Likewise.
7907 * stdio-common/isoc99_vsscanf.c: Likewise.
7908 * stdio-common/printf-prs.c: Likewise.
7909 * stdio-common/printf_fp.c: Likewise.
7910 * stdio-common/printf_fphex.c: Likewise.
7911 * stdio-common/printf_size.c: Likewise.
7912 * stdio-common/putw.c: Likewise.
7913 * stdio-common/scanf.c: Likewise.
7914 * stdio-common/sprintf.c: Likewise.
7915 * stdio-common/tmpfile.c: Likewise.
7916 * stdio-common/vfprintf.c: Likewise.
7917 * stdio-common/vfscanf.c: Likewise.
7918 * stdlib/strfmon_l.c: Likewise.
7919 * sunrpc/openchild.c: Likewise.
7920 * sunrpc/xdr_stdio.c: Likewise.
7921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7922 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7924 2012-05-24 Roland McGrath <roland@hack.frob.com>
7926 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7928 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7929 in the third column, to generate for the shared library an IFUNC
7930 that uses _dl_vdso_vsym.
7931 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7932 * Makeconfig (object-suffixes-noshared): New variable.
7934 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7935 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7936 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7937 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7940 * include/sys/time.h (__gettimeofday): Remove macro.
7941 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7942 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7944 (__gettimeofday): Add libc_hidden_def.
7945 (gettimeofday): Add libc_hidden_weak.
7946 * sysdeps/mach/gettimeofday.c: Likewise.
7947 * sysdeps/posix/gettimeofday.c: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7949 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7951 (__gettimeofday_internal): Remove strong_alias.
7952 (__gettimeofday): Add libc_hidden_def.
7953 (gettimeofday): Add libc_hidden_weak.
7954 * sysdeps/unix/syscalls.list (gettimeofday):
7955 Remove __gettimeofday_internal alias.
7957 2012-05-24 Daniel Jacobowitz <drow@false.org>
7958 H.J. Lu <hongjiu.lu@intel.com>
7961 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7962 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7963 (largebin_index_32_big): New.
7964 (largebin_index): Use it for 16-byte alignment.
7965 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7966 correction with front_misalign.
7968 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7996 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7997 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7999 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8003 * math/libm-test.inc (exp_test): Add test from bug 14036.
8004 (pow_test): Add test from bug 10846.
8006 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8008 (special_function): Do not include flags in test name.
8009 (parse_args): Likewise.
8010 * sysdeps/i386/fpu/libm-test-ulps: Update.
8011 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8012 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8013 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8016 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8018 * math/libm-test.inc ("Philosophy"): Update comment about
8020 (UNDERFLOW_EXCEPTION): New macro.
8021 (UNDERFLOW_EXCEPTION_OK): Likewise.
8022 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8023 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8024 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8025 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8026 (INVALID_EXCEPTION_OK): Update value.
8027 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8028 (OVERFLOW_EXCEPTION_OK): Likewise.
8029 (IGNORE_ZERO_INF_SIGN): Likewise.
8030 (test_exceptions): Handle underflow exceptions.
8031 (acos_test): Update for underflow exception expectations.
8032 (cexp_test): Likewise.
8033 (clog_test): Likewise.
8034 (clog10_test): Likewise.
8035 (csqrt_test): Likewise.
8036 (ctan_test): Likewise.
8037 (ctanh_test): Likewise.
8038 (exp_test): Likewise.
8039 (exp10_test): Likewise.
8040 (exp2_test): Likewise.
8041 (expm1_test): Likewise.
8042 (fma_test): Likewise.
8043 (j0_test): Likewise.
8044 (jn_test): Likewise.
8045 (nexttoward_test): Likewise.
8046 (pow_test): Likewise.
8047 (scalbn_test): Likewise.
8048 (scalbln_test): Likewise.
8049 (tan_test): Likewise.
8050 (y1_test): Likewise.
8051 * sysdeps/i386/fpu/libm-test-ulps: Update.
8052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8054 2012-05-23 David S. Miller <davem@davemloft.net>
8056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8057 (__libc_sigaction): Remove unused local variables.
8059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8061 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8063 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8065 mktime: avoid signed integer overflow
8066 * time/mktime.c (__mktime_internal): Do not mishandle the case
8067 where diff == INT_MIN.
8069 mktime: simplify computation of average
8070 * time/mktime.c (ranged_convert): Use new time_t_avg function
8071 instead of rolling our own (probably-slower) code.
8073 mktime: do not assume signed right shift propagates sign bit
8074 * time/mktime.c (isdst_differ): New static function.
8075 (__mktime_internal): No need to normalize tm_isdst now.
8076 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8079 mktime: merge another wrapv change from gnulib
8080 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8081 from some compilers.
8083 mktime: remove incorrect attempt at unusual arithmetics
8084 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8085 The code didn't really work on such machines anyway.
8086 (TYPE_MINIMUM): Assume two's complement.
8087 (twos_complement_arithmetic): Verify that long_int and time_t
8088 are two's complement (or unsigned, in the latter case).
8090 mktime: check signed shifts on long_int and time_t, too
8091 * time/mktime.c (SHR): Check that shifts work as desired
8092 on the types long_int and time_t too, as SHR is used on
8095 mktime: do not assume 'long' is wide enough
8096 * time/mktime.c (verify): Move decl up.
8097 (long_int): New type.
8098 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8099 to remove assumption in the code that 'long' is wide enough to
8100 store year values. This assumption is not true on x32 and on
8101 some non-glibc platforms.
8103 mktime: merge wrapv change from gnulib
8104 * time/mktime.c (WRAPV): New macro.
8105 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8106 (guess_time_tm, __mktime_internal): Do not assume that signed
8107 integer overflow wraps around; modern compilers generate code
8108 where this assumption is no longer valid.
8110 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8112 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8113 Replace "jmp L(pseudo_end)" with "ret".
8114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8117 2012-05-23 Andreas Jaeger <aj@suse.de>
8119 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8120 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8122 2012-05-23 Andreas Jaeger <aj@suse.de>
8123 Maximilian Attems <max@stro.at>
8125 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8128 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8131 code so that pseudo_end is just ret and the stack pointer is
8132 correct also for static library in error case.
8134 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8136 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8137 move to syscalls.list.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8143 * manual/install.texi (Running make install): Do not mention Linux
8144 kernel version for which pt_chown is not needed.
8145 (Linux): Do not mention problems with nscd with 2.0 kernels.
8146 * INSTALL: Regenerated.
8148 2012-05-23 Andreas Jaeger <aj@suse.de>
8150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8151 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8153 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8155 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8157 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8163 * sysdeps/unix/sysv/linux/bits/in.h
8164 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8166 2012-05-22 Roland McGrath <roland@hack.frob.com>
8168 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8169 (PREPARE_VERSION): Just use assert instead, it will be elided
8170 under [NDEBUG] anyway.
8172 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8174 * sysdeps/unix/sysv/linux/Makefile: Include
8175 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8176 (sysdep_routines): Remove sysctl.
8177 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8178 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8179 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8180 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8181 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8183 2012-05-22 Andreas Jaeger <aj@suse.de>
8185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8186 that pseudo_end is just ret and the stack pointer is correct also
8187 for static library in error case.
8189 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8192 * nss/nsswitch.c (defconfig_entries): New variable.
8193 (__nss_database_lookup): Don't leak defconfig entries.
8194 (nss_parse_service_list): Don't leak on error paths.
8195 (free_database_entries): New function.
8196 (free_defconfig): New function.
8197 (free_mem): Move common code to free_database_entries.
8199 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8203 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8205 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8206 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8209 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8210 (INTERNAL_SYSCALL_TYPES): Likewise.
8211 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8212 (LOAD_REGS_TYPES_[1-6]): Likewise.
8213 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8214 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8216 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8218 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8219 copysignl for GLIBC_2_0.
8220 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8221 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8223 logbl for GLIBC_2_0.
8224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8225 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8227 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8232 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8235 * time/mktime.c: Update copyright years.
8237 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8239 mktime: merge comment-quoting-style change from gnulib
8240 * time/mktime.c: Quote 'like this' in comments.
8241 The GNU coding standards suggest that we no longer quote `like this',
8242 as "`" and "'" are typically rendered asymmetrically nowadays.
8243 The typical gnulib style is to quote 'like this' when quoting
8244 code, and "like this" when quoting English.
8246 * time/mktime.c (compile-command): Add "-I.".
8248 mktime: merge mktime-internal.h change from gnulib
8249 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8251 mktime: merge time_r change from gnulib
8252 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8254 mktime: merge DEBUG change from gnulib
8255 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8256 case system <time.h> has a #define.
8258 mktime: merge <sys/types.h> change from gnulib
8259 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8260 since <time.t> is now guaranteed to define time_t.
8262 mktime: merge HAVE_CONFIG_H change from gnulib
8263 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8265 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8270 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8272 (struct rusage): Use anonymous union to pad each field to
8275 2012-05-21 David S. Miller <davem@davemloft.net>
8277 * Makefules (o-iterator): Remove .s cases.
8278 (compile-command.s): Delete.
8279 (COMPILE.s): Delete.
8280 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8282 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8284 * configure.in (libc_cv_predef_stack_protector): Only consider
8285 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8286 * configure: Regenerated.
8288 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8291 New macro. Use R*LP on int and pointer.
8292 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8293 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8297 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8298 [__WORDSIZE_TIME64_COMPAT32] instead of
8299 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8300 (struct utmp): Likewise.
8301 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8302 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8304 (__WORDSIZE_TIME64_COMPAT32): This.
8305 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8306 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8307 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8308 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8309 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8310 (__WORDSIZE_TIME64_COMPAT32): New macro.
8312 2012-05-21 Andreas Jaeger <aj@suse.de>
8314 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8315 only if [SHARED]. Add prototype for __wcschr_ia32.
8317 2012-05-21 Roland McGrath <roland@hack.frob.com>
8319 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8320 of %rbp unmolested in the jmp_buf while mangling the low bits.
8321 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8322 unmolested high bits of %rbp while demangling the low bits.
8323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8325 2012-05-21 Andreas Jaeger <aj@suse.de>
8327 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8328 * sunrpc/svc_simple.c: Use it for registerrpc.
8329 * sunrpc/xcrypt.c: Use it for passwd2des.
8331 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8333 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8335 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8336 Don't define if [__SYSCALL_WORDSIZE != 32].
8337 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8340 2012-05-21 Bruno Haible <bruno@clisp.org>
8341 Andreas Jaeger <aj@suse.de>
8343 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8344 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8345 inptr and inend for must_buffer_ch.
8346 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8347 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8348 * stdio-common/Makefile (tests): Remove bug15.
8349 (bug15-ENV): Remove macro.
8350 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8353 2012-05-19 Andreas Jaeger <aj@suse.de>
8354 Roland McGrath <roland@hack.frob.com>
8356 * manual/contrib.texi: Completely rewritten. It contains now an
8357 alphabetical list of contributors and their contributions.
8359 2012-05-21 Richard Henderson <rth@twiddle.net>
8361 * misc/getauxval.c (__getauxval): Use unsigned long int.
8362 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8363 (getauxval): Use unsigned long int.
8365 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8367 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8369 2012-05-21 Roland McGrath <roland@hack.frob.com>
8371 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8372 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8373 __alignof__ (long double).
8375 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8379 2012-05-20 Richard Henderson <rth@twiddle.net>
8381 * misc/getauxval.c: New file.
8382 * misc/sys/auxv.h: New file.
8383 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8384 (routines): Add getauxval.
8385 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8386 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8387 * elf/dl-sysdep.c (_dl_auxv): Remove.
8388 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8389 * elf/dl-support.c (_dl_auxv): New variable.
8390 (_dl_aux_init): Initialize it.
8391 * manual/startup.texi (Auxiliary Vector): New node.
8392 * sysdeps/generic/bits/hwcap.h: New file.
8393 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8394 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8395 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8396 * sysdeps/sparc/sysdep.h: ... here. Include it.
8397 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8410 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8414 2012-05-19 David S. Miller <davem@davemloft.net>
8416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8418 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8421 * math/s_ccosh.c: Include <float.h>
8422 (__ccosh): Avoid internal overflow calculating sinh and cosh
8423 values before multiplying by sin and cos values.
8424 * math/s_ccoshf.c: Likewise.
8425 * math/s_ccoshl.c: Likewise.
8426 * math/s_csin.c: Likewise.
8427 * math/s_csinf.c: Likewise.
8428 * math/s_csinl.c: Likewise.
8429 * math/s_csinh.c: Likewise.
8430 * math/s_csinhf.c: Likewise.
8431 * math/s_csinhl.c: Likewise.
8432 * math/libm-test.inc (ccos_test): Add more tests.
8433 (ccosh_test): Likewise.
8434 (csin_test): Likewise.
8435 (csinh_test): Likewise.
8436 * sysdeps/i386/fpu/libm-test-ulps: Update.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8441 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8442 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8444 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8446 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8448 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8449 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8450 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8451 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8452 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8453 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8454 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8455 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8456 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8457 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8458 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8459 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8460 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8461 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8462 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8463 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8464 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8465 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8466 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8467 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8468 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8469 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8470 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8471 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8472 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8473 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8474 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8475 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8476 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8477 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8478 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8480 2012-05-18 Andreas Jaeger <aj@suse.de>
8482 * csu/.gitignore: Delete.
8484 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8486 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8487 (timex): Use __syscall_slong_t.
8489 2012-05-18 Andreas Jaeger <aj@suse.de>
8490 Carlos O'Donell <carlos_odonell@mentor.com>
8492 * manual/install.texi (Configuring and compiling): Update
8493 description about files modified in the source directory.
8494 * INSTALL: Regenerated.
8496 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8498 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8499 value. Use "or" to set return value to -1.
8500 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8501 negate return value.
8503 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8505 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8506 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8507 failure if the compiler has Graphite support disabled.
8508 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8510 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8511 CFLAGS-memmove.c): Likewise.
8512 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8515 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8517 * sysdeps/x86_64/x32/_itoa.h: New file.
8519 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8520 getdents system call only if kernel and user dirents have the
8521 same d_ino and d_off.
8523 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8524 LLONG_MAX != LONG_MAX.
8525 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8526 (_fitoa_word): Likewise.
8528 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8530 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8531 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8532 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8535 include <bits/wordsize.h>. Check __x86_64__ instead of
8537 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8538 if __x86_64__ is defined. Use anonymous union on fpstate.
8540 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8543 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8545 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8546 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8548 Refer to _rtld_local_ro instead of _rtld_global_ro.
8549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8551 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8553 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8555 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8556 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8557 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8559 * sysdeps/powerpc/powerpc32/dl-machine.c
8560 (__elf_machine_runtime_setup) [PROF]: Don't reference
8563 2012-05-18 Andreas Jaeger <aj@suse.de>
8565 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8566 function only available for GCCs before 3.4 since GCC 3.4
8567 introduced a builtin.
8569 (llrintf): Likewise.
8577 (nearbyint): Likewise.
8578 (nearbyintf): Likewise.
8584 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8586 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8587 on both fields and cast pointer to __syscall_ulong_t.
8589 * bits/types.h (__fsword_t): New type.
8590 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8591 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8593 (__FSWORD_T_TYPE): Likewise.
8594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8595 (__FSWORD_T_TYPE): Likewise.
8596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8597 (__FSWORD_T_TYPE): Likewise.
8598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8599 (__FSWORD_T_TYPE): Likewise.
8600 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8601 __SWORD_TYPE with __fsword_t.
8602 (statfs64): Likewise.
8604 2012-05-17 David S. Miller <davem@davemloft.net>
8606 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8608 2012-05-17 Andreas Jaeger <aj@suse.de>
8610 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8613 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8615 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8617 2012-05-17 Andreas Jaeger <aj@suse.de>
8619 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8622 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8624 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8626 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8628 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8629 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8631 2012-05-17 Andreas Jaeger <aj@suse.de>
8632 Carlos O'Donell <carlos_odonell@mentor.com>
8635 * sysdeps/x86_64/multiarch/init-arch.h
8636 (bit_YMM_Usable): Rename to...
8637 (bit_AVX_Usable): ... this.
8638 (bit_FMA4_Usable): New macro.
8639 (bit_XMM_state): New macro.
8640 (bit_YMM_state): New macro.
8641 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8642 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8643 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8644 (CPUID_OSXSAVE): New macro.
8645 (CPUID_AVX): New macro.
8646 (CPUID_FMA4): New macro.
8647 (index_YMM_Usable): Rename to...
8648 (index_AVX_Usable): ... this.
8649 (HAS_AVX): Use HAS_ARCH_FEATURE.
8650 (HAS_FMA4): Likewise.
8651 (HAS_YMM_USABLE): Remove.
8652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8653 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8655 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8656 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8657 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8658 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8659 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8661 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8663 * math/libm-test.c: Support platforms without multiple rounding modes.
8664 * math/bug-nextafter.c: Support platforms without FP exceptions.
8665 * math/bug-nexttoward.c: Likewise.
8666 * math/test-fenv.c: Likewise.
8667 * math/test-misc.c: Likewise.
8668 * stdlib/bug-getcontext.c: Likewise.
8670 2012-05-17 Andreas Jaeger <aj@suse.de>
8672 * manual/examples/search.c (critter_cmp): Change signature to
8674 * manual/string.texi (Collation Functions): Likewise.
8676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8678 * bits/types.h: Fold copyright years.
8679 * bits/typesizes.h: Likewise.
8680 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8684 * time/time.h: Likewise.
8686 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8689 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8690 in instead of returning them. Return void.
8691 (__libc_mallinfo): Accumulate over all arenas.
8692 (__malloc_stats): Adjust for change in int_mallinfo interface.
8694 2012-05-16 Roland McGrath <roland@hack.frob.com>
8697 * configure.in (NM): Add AC_CHECK_TOOL for it.
8698 (libc_extra_cflags): New substituted variable.
8699 Check for -fstack-protector being used implicitly.
8700 * configure: Regenerated.
8701 * config.make.in (config-extra-cflags): New variable,
8702 gets @libc_extra_cflags@.
8703 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8706 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8707 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8708 * configure: Regenerated.
8709 * config.make.in (CPPUNDEFS): New substituted variable.
8710 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8711 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8712 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8716 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8717 (mq_attr): Use __syscall_slong_t.
8719 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8721 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8722 Check __x86_64__ instead of __WORDSIZE.
8723 (_STAT_VER_LINUX): Likewise.
8724 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8725 __syscall_ulong_t and __syscall_slong_t.
8728 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8730 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8732 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8734 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8738 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8741 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8742 include <bits/wordsize.h>. Check __x86_64__ instead of
8744 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8746 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8749 include <bits/wordsize.h>. Check __x86_64__ instead of
8751 (user_regs_struct): Use "__extension__ unsigned long long"
8752 instead of "unsigned long" if __x86_64__ is defined.
8753 (user): Likewise. Pad after pointer field if __ILP32__ is
8756 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8758 * configure.in (makeinfo): Require version 4.5 or later. Allow
8760 * configure: Regenerated.
8761 * manual/install.texi (texinfo): Increase version requirement to
8763 * INSTALL: Regenerated.
8765 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8767 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8769 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8771 * sysdeps/x86_64/x32/ffs.c: New file.
8773 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8775 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8776 defined. Use __syscall_ulong_t.
8777 (shminfo): Use __syscall_ulong_t.
8778 (shm_info): Likewise.
8780 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8783 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8785 (msgqnum_t): Use __syscall_ulong_t.
8786 (msglen_t): Likewise.
8787 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8790 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8793 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8795 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8796 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8798 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8801 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8802 include <bits/wordsize.h>. Check __x86_64__ instead of
8805 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8806 "unsigned long long int" if __x86_64__ is defined.
8807 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8809 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8811 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8813 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8815 (GET_PC): Cast to uintptr_t first.
8816 (GET_FRAME): Likewise.
8817 (GET_STACK): Likewise.
8819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8825 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8826 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8827 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8829 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8831 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8833 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8835 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8847 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8849 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8851 * Makerules (+depfiles): Also collect depfiles from .oS in
8853 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8854 .oS, $(libnldbl-routines)).
8856 * Makerules (native-compile-mkdep-flags): Define.
8857 * sunrpc/Makefile (extra-objs): Add $(addprefix
8858 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8859 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8860 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8861 calling $(make-target-directory).
8863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8865 * bits/types.h (__snseconds_t): Removed.
8866 * time/time.h (struct timespec): Replace __snseconds_t with
8868 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8869 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8872 (__SNSECONDS_T_TYPE): Likewise.
8873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8874 (__SNSECONDS_T_TYPE): Likewise.
8875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8876 (__SNSECONDS_T_TYPE): Likewise.
8878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8880 * sysdeps/mach/hurd/bits/typesizes.h
8881 (__SYSCALL_SLONG_TYPE): New macro.
8882 (__SYSCALL_ULONG_TYPE): Likewise.
8884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8886 * bits/types.h (__syscall_slong_t): New type.
8887 (__syscall_ulong_t): Likewise.
8889 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8890 (__SYSCALL_ULONG_TYPE): Likewise.
8891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8892 (__SYSCALL_SLONG_TYPE): Likewise.
8893 (__SYSCALL_ULONG_TYPE): Likewise.
8894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8895 (__SYSCALL_SLONG_TYPE): Likewise.
8896 (__SYSCALL_ULONG_TYPE): Likewise.
8897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8898 (__SYSCALL_SLONG_TYPE): Likewise.
8899 (__SYSCALL_ULONG_TYPE): Likewise.
8901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8903 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8904 Add sigaltstack-offsets.sym.
8905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8906 <sigaltstack-offsets.h>.
8907 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8908 longjmp_msg pointer.
8909 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8910 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8912 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8914 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8916 * elf/stackguard-macros.h: Remove file.
8917 * sysdeps/generic/stackguard-macros.h: New file.
8918 * sysdeps/i386/stackguard-macros.h: Likewise.
8919 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8920 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8921 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8922 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8923 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8924 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8925 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8926 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8927 <elf/stackguard-macros.h>.
8930 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8931 __aligned__ in attribute.
8932 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8933 (gregset_t): Likewise.
8935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8937 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8938 * sysdeps/x86_64/64/Implies-after: Here. New file.
8939 * sysdeps/x86_64/x32/Implies-after: New file.
8941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8943 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8944 and access return value for _dl_profile_fixup. Use R10_LP to
8947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8949 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8953 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8954 * sysdeps/x86_64/x32/sysdep.h: New file.
8956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8958 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8959 * sysdeps/x86_64/setjmp.S: Likewise.
8961 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8964 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8965 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8966 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8967 remove unused global constant.
8969 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8971 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8972 include of <not-cancel.h>.
8974 2012-05-15 Roland McGrath <roland@hack.frob.com>
8976 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8978 2012-05-15 Jeff Law <law@redhat.com>
8979 Andreas Jaeger <aj@suse.de>
8982 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8984 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8985 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8986 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8987 code changing __hst_map_handle.map.
8989 2012-05-15 Roland McGrath <roland@hack.frob.com>
8991 * configure.in (sysnames): Look for Implies-before and Implies-after
8993 * configure: Regenerated.
8995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8997 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8998 8-byte data alignment with LP_SIZE alignment.
9000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9002 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9007 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9009 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9011 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9012 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9019 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9020 (stackinfo_sub_sp): Likewise.
9022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9039 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9044 into R11_LP and load __x86_64_shared_cache_size_half into
9047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9049 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9052 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9061 powerpc32/power7/fpu/s_logb.c via #include.
9062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9063 powerpc32/power7/fpu/s_logbf.c via #include.
9064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9065 powerpc32/power7/fpu/s_logbl.c via #include.
9067 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9069 * README.libm: Remove file.
9071 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9073 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9074 count for x32. Use R*_LP and omit operand-size suffix.
9076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9078 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9079 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9080 * sysdeps/x86_64/x32/shlib-versions: New file.
9082 2012-05-14 Roland McGrath <roland@hack.frob.com>
9084 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9085 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9086 Use _dl_fatal_printf instead.
9088 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9090 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9091 set if not set by the user. Do not allow for being unset.
9092 * sysdeps/unix/sysv/linux/configure: Regenerated.
9094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9096 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9097 the `q' suffix from lea and replace .quad with ASM_ADDR.
9099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9102 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9104 (PTR_DEMANGLE): Likewise.
9106 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9108 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9110 (ASM_ADDR): Likewise.
9128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9130 * sysdeps/x86_64/x32/dl-machine.h: New file.
9132 2012-05-14 Andreas Jaeger <aj@suse.de>
9134 * manual/Makefile (subdir): Remove export of subdir.
9135 (all): Remove target.
9136 (.PHONY): Remove all from list.
9137 (mkinstalldirs): Remove.
9138 (.PHONY): Remove installdirs from list.
9139 ($(inst_infodir)/libc.info): Use make-target-directory.
9140 (installdirs): Remove.
9142 (glibc-targets): Remove.
9145 ($(objpfx)stubs ../po/manual.pot): Remove.
9146 ($(objpfx)stamp%): Remove.
9147 (make-target-directory): Remove.
9148 (subdir_install): Remove.
9156 * manual/.gitignore: Remove, it's not needed anymore.
9157 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9159 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9161 (texis): Renamed to $(objpfx)texis.
9162 (texis-path): New, contains path to generated files.
9163 (chapters.%): Use texis-path for complete path, add extra argument
9165 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9166 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9167 (summary,texi, stamp-summary): Use complete path of
9168 files. Generate files in build dir.
9169 (dir-add.texi): Build in build dir.
9170 (libm-err.texi,stamp-libm-err): Likewise.
9171 (version.texi, stamp-version): Likewise.
9172 (.%c.texi): Likewise.
9173 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9174 (mostlyclean): Remove target.
9175 (realclean): Remove target.
9176 (generated): Add new variable with contents from mostlyclean and
9177 realclean, remove entries duplicated in common-mostlyclean, add
9178 stamp-libm-err and stamp-version.
9179 (generated-dirs): Add libc directory.
9180 ($(inst_infodir)/libc.info): Install files from build dir.
9182 * manual/install.texi (Configuring and compiling): Adjust since
9183 the info files are not part of the tar ball anymore.
9185 2012-05-14 Andreas Jaeger <aj@suse.de>
9187 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9190 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9194 to 2.2.0 where earlier.
9195 * sysdeps/unix/sysv/linux/configure: Regenerated.
9196 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9197 Remove conditional code.
9198 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9199 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9200 Remove conditional code.
9201 [!__NR_lchown]: Likewise.
9202 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9203 [__NR_lchown]: Likewise.
9204 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9205 comment referencing __ASSUME_LCHOWN_SYSCALL.
9206 * sysdeps/unix/sysv/linux/i386/sigaction.c
9207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9209 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9210 Remove conditional code.
9211 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9212 (__protocol_available): Remove #if 0 code.
9213 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9215 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9216 * sysdeps/unix/sysv/linux/kernel-features.h
9217 (__ASSUME_GETCWD_SYSCALL): Don't define.
9218 (__ASSUME_REALTIME_SIGNALS): Likewise.
9219 (__ASSUME_PREAD_SYSCALL): Likewise.
9220 (__ASSUME_PWRITE_SYSCALL): Likewise.
9221 (__ASSUME_POLL_SYSCALL): Likewise.
9222 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9223 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9225 (__ASSUME_SIOCGIFNAME): Don't define.
9226 (__ASSUME_MSG_NOSIGNAL): Likewise.
9227 (__ASSUME_SENDFILE): Define unconditionally.
9228 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9229 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9231 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9232 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9233 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9234 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9236 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9237 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9242 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9248 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9251 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9254 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9257 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9262 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9263 Remove conditional code.
9264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9265 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9266 Remove conditional code.
9267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9268 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9269 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9270 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9271 Remove conditional code.
9272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9273 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9274 Remove conditional code.
9275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9276 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9277 Remove conditional code.
9278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9279 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9280 Remove conditional code.
9281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9282 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9283 Remove conditional code.
9284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9285 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9288 * sysdeps/unix/sysv/linux/sigaction.c
9289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9291 * sysdeps/unix/sysv/linux/sigpending.c
9292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9294 * sysdeps/unix/sysv/linux/sigprocmask.c
9295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9297 * sysdeps/unix/sysv/linux/sigsuspend.c
9298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9300 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9301 (__libc_missing_rt_sigs): Remove.
9302 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9303 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9304 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9305 Remove conditional code.
9306 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9307 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9309 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9310 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9311 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9314 2012-05-14 Andreas Jaeger <aj@suse.de>
9316 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9317 it's not used in glibc.
9318 (__coshm1): Likewise.
9319 (__acosh1p): Likewise.
9322 * manual/string.texi (Copying and Concatenation): Add missing
9323 variable in concat example.
9324 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9326 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9330 __builtin_clzl with __builtin_clzll.
9332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9335 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9338 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9340 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9341 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9342 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9343 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9345 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9347 * NEWS: Update ia64 info.
9349 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9351 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9354 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9356 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9357 * sysdeps/unix/syscalls.list (dup3): Likewise.
9358 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9359 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9361 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9363 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9364 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9366 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9368 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9370 (TLS_IE): Use mov/add instead of movq/addq to load thread
9372 (TLS_GD_PREFIX): New.
9375 2012-05-11 David S. Miller <davem@davemloft.net>
9377 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9378 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9379 (_FPU_SETCW): Likewise.
9381 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9383 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9386 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9389 * iconvdata/gb18030.c: Update tables.
9390 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9391 characters specially.
9392 (BODY for TO_LOOP): Add encoding of missing ranges.
9394 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9397 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9398 * sysdeps/mach/hurd/dup3.c: Likewise.
9399 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9400 * sysdeps/powerpc/memmove.c:: Likewise.
9402 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9405 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9407 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9409 * elf/elf.h (R_X86_64_RELATIVE64): New.
9410 (R_X86_64_NUM): Updated.
9411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9412 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9413 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9414 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9415 tst-quad1pie tst-quad2pie
9416 (modules-names): Add tst-quadmod1 tst-quadmod2.
9417 ($(objpfx)tst-quad1): New dependency.
9418 ($(objpfx)tst-quad2): Likewise.
9419 ($(objpfx)tst-quad1pie): Likewise.
9420 ($(objpfx)tst-quad2pie): Likewise.
9421 * sysdeps/x86_64/tst-quad1.c: New file.
9422 * sysdeps/x86_64/tst-quad1pie.c: New file.
9423 * sysdeps/x86_64/tst-quad2.c: Likewise.
9424 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9425 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9426 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9427 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9428 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9432 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9433 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9434 * streams/stropts.h (t_scalar_t): Define type.
9436 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9437 (_PATH_PRESERVE): Set to "/var/lib".
9438 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9440 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9443 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9444 if __dir_mkfile succeeded.
9446 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9447 checking for _hurd_dtablesize. Unlock it right after having
9448 finished _hurd_dtable allocation.
9450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9452 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9453 * sysdeps/mach/hurd/configure: Regenerated.
9454 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9455 special-casing to...
9456 * sysdeps/gnu/configure.in: ... this new file.
9457 * sysdeps/unix/sysv/linux/configure: Regenerated.
9458 * sysdeps/gnu/configure: New generated file.
9460 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9461 for Linux: use nsec instead of usec, as well as:
9462 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9463 members of type struct timespec.
9464 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9466 (struct stat64): Likewise.
9467 (_STATBUF_ST_NSEC): New macro.
9468 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9470 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9471 __strtoul_internal rather than strtoul.
9473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9475 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9480 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9481 which preserves existing values.
9482 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9484 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9486 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9487 TIMEOUT values. Return EINVAL for NFDS values either negative or
9488 greater than FD_SETSIZE.
9490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9492 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9493 allocated, call __vm_protect to finish enabling the existing space, and
9494 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9495 allocate the remainder.
9497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9499 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9500 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9504 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9505 sysdeps/mach/hurd/readlink.c.
9507 * posix/tst-sysconf.c (posix_options): Only use
9508 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9509 _POSIX_SYNCHRONIZED_IO when they are defined
9510 * sysdeps/mach/hurd/bits/posix_opt.h:
9511 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9512 (_XOPEN_REALTIME): Undefine macro.
9513 (_XOPEN_REALTIME_THREADS): Undefine macro.
9514 (_XOPEN_SHM): Undefine macro.
9515 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9519 (_POSIX_ASYNC_IO): Undefine macro.
9520 (_POSIX_PRIORITIZED_IO): Undefine macro.
9521 (_POSIX_SPIN_LOCKS): Define macro to -1.
9523 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9524 SA_NODEFER, SA_RESETHAND.
9525 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9526 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9531 * elf/Makefile (pldd-modules): Define unconditionally.
9533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9535 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9539 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9540 Return ENOENT when name is empty.
9541 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9545 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9547 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9551 Fix mlock in all cases except non-readable pages.
9552 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9553 instead of VM_PROT_ALL as parameter to __vm_wire function.
9555 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9556 (__mkdir): When path is `/', just fail with EEXIST.
9557 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9561 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9562 <sys/uio.h> (for writev).
9563 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9564 and <sys/param.h> (for MIN).
9566 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9568 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9569 REQUESTED_TIME. Properly set the remaining time and return EINTR
9572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9574 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9575 Depend on against $(link-rpcuserlibs).
9577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9580 (__libc_stack_end): Do not use attribute_relro.
9581 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9582 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9583 to libthread-provided value.
9584 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9590 * bits/libc-lock.h (__libc_once_get): New macro.
9591 * sysdeps/mach/bits/libc-lock.h: Likewise.
9592 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9594 instead of using implementation details.
9596 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9597 * libio/freopen.c: Likewise.
9598 * libio/freopen64.c: Likewise.
9599 * misc/syslog.c: Likewise.
9600 * nscd/connections.c: Likewise.
9601 * nscd/netgroupcache.c: Likewise.
9602 * sysdeps/posix/getcwd.c: Likewise.
9604 2012-05-10 Roland McGrath <roland@hack.frob.com>
9606 * math/w_ilogbf.c: Add #include <limits.h>.
9608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9610 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9611 path instead of returning without unlocking.
9613 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9614 immediate-write ioctls.
9615 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9619 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9620 __builtin_frame_address instead of making assumptions about the
9621 location of the return address relative to DATA. Force early load of
9623 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9624 __builtin_frame_address.
9627 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9628 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9629 implement dup3 and do some further code clean-ups.
9630 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9631 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9635 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9637 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9638 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9639 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9640 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9641 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9644 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9645 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9646 when handler == SIG_ERR, not when handler != SIG_ERR.
9648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9650 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9651 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9654 accept4 for GNU Hurd.
9655 * include/sys/socket.h (__libc_accept4): New prototype.
9656 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9657 to implement __libc_accept4.
9658 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9660 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9662 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9663 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9664 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9669 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9673 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9674 assertion on O_CLOEXEC flag.
9675 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9676 * hurd/intern-fd.c: Likewise.
9677 * hurd/port2fd.c: Likewise.
9679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9682 * bits/in.h (IPV6_PKTINFO): Define new macro.
9683 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9685 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9690 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9692 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9693 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9695 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9696 * math/libm-test.inc (logb_test) : Additional logb tests.
9698 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9699 Andreas Jaeger <aj@suse.de>
9701 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9702 * configure: Regenerated.
9703 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9704 * config.make.in (link-obsolete-rpc): New substituted variable.
9705 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9706 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9707 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9708 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9709 so that libc.a contains the symbols.
9710 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9711 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9712 * sunrpc/auth_none.c: Likewise.
9713 * sunrpc/auth_unix.c: Likewise.
9714 * sunrpc/authdes_prot.c: Likewise.
9715 * sunrpc/authuxprot.c: Likewise.
9716 * sunrpc/clnt_gen.c: Likewise.
9717 * sunrpc/clnt_perr.c: Likewise.
9718 * sunrpc/clnt_raw.c: Likewise.
9719 * sunrpc/clnt_simp.c: Likewise.
9720 * sunrpc/clnt_tcp.c: Likewise.
9721 * sunrpc/clnt_udp.c: Likewise.
9722 * sunrpc/clnt_unix.c: Likewise.
9723 * sunrpc/des_crypt.c: Likewise.
9724 * sunrpc/des_soft.c: Likewise.
9725 * sunrpc/get_myaddr.c: Likewise.
9726 * sunrpc/key_call.c: Likewise.
9727 * sunrpc/key_prot.c: Likewise.
9728 * sunrpc/netname.c: Likewise.
9729 * sunrpc/pm_getmaps.c: Likewise.
9730 * sunrpc/pm_getport.c: Likewise.
9731 * sunrpc/pmap_clnt.c: Likewise.
9732 * sunrpc/pmap_prot.c: Likewise.
9733 * sunrpc/pmap_prot2.c: Likewise.
9734 * sunrpc/pmap_rmt.c: Likewise.
9735 * sunrpc/publickey.c: Likewise.
9736 * sunrpc/rpc_cmsg.c: Likewise.
9737 * sunrpc/rpc_common.c: Likewise.
9738 * sunrpc/rpc_dtable.c: Likewise.
9739 * sunrpc/rpc_prot.c: Likewise.
9740 * sunrpc/rpc_thread.c: Likewise.
9741 * sunrpc/rtime.c: Likewise.
9742 * sunrpc/svc.c: Likewise.
9743 * sunrpc/svc_auth.c: Likewise.
9744 * sunrpc/svc_raw.c: Likewise.
9745 * sunrpc/svc_run.c: Likewise.
9746 * sunrpc/svc_tcp.c: Likewise.
9747 * sunrpc/svc_udp.c: Likewise.
9748 * sunrpc/svc_unix.c: Likewise.
9749 * sunrpc/svcauth_des.c: Likewise.
9750 * sunrpc/xcrypt.c: Likewise.
9751 * sunrpc/xdr.c: Likewise.
9752 * sunrpc/xdr_array.c: Likewise.
9753 * sunrpc/xdr_float.c: Likewise.
9754 * sunrpc/xdr_intXX_t.c: Likewise.
9755 * sunrpc/xdr_mem.c: Likewise.
9756 * sunrpc/xdr_rec.c: Likewise.
9757 * sunrpc/xdr_ref.c: Likewise.
9758 * sunrpc/xdr_sizeof.c: Likewise.
9759 * sunrpc/xdr_stdio.c: Likewise.
9761 2012-05-10 Roland McGrath <roland@hack.frob.com>
9763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9764 change. Update copyright years.
9766 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9768 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9770 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9771 Joseph Myers <joseph@codesourcery.com>
9772 Paul Pluzhnikov <ppluzhnikov@google.com>
9775 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9777 [cross-compiling] (extra-libs): Likewise.
9778 [cross-compiling] (extra-libs-others): Likewise.
9779 [cross-compiling] (librpcsvc-routines): Likewise.
9780 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9781 [cross-compiling] (omit-deps): Likewise.
9782 (sunrpc-CPPFLAGS): New variable.
9783 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9784 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9785 (cross-rpcgen-objs): New variable.
9786 (extra-objs): Append $(cross-rpcgen-objs).
9787 ($(cross-rpcgen-objs)): New rule.
9788 ($(objpfx)cross-rpcgen): Likewise.
9789 (rpcgen-cmd): Define to use $(built-program-file). Expand
9791 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9792 ($(objpfx)x%.stmp): Likewise.
9793 * sunrpc/proto.h [IS_IN_build] (_): Define.
9794 [IS_IN_build] (_libc_intl_domainname): Likewise.
9796 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9799 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9800 and R_X86_64_TPOFF64.
9802 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9805 sysdeps/unix/sysv/syscalls.list.
9808 * sysdeps/unix/sysv/syscalls.list: Remove file.
9810 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9813 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9814 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9815 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9816 (__LC_IDENTIFICATION): Make these macros useful in #if
9817 expressions, as required by C99.
9819 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9821 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9822 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9825 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9827 * stdlib/longlong.h: Updated from GCC.
9829 2012-05-09 Andreas Jaeger <aj@suse.de>
9831 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9832 default is first entry.
9833 (run_mode): Set type.
9834 (main): Remove informal message about syslog.
9835 (options): Fix typo.
9838 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9841 (llrintf): Likewise.
9845 (nearbyint): Likewise.
9846 (nearbyintf): Likewise.
9848 2012-05-09 Andreas Jaeger <aj@suse.de>
9849 Pedro Alves <palves@redhat.com>
9851 * nscd/nscd.c (run_mode): Use enum.
9852 (main): Cleanup coding style issue.
9854 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9855 Andreas Jaeger <aj@suse.de>
9857 * nscd/nscd.c (go_background): Replaced with...
9858 (run_mode): ... this.
9859 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9860 (options): Add -F --foreground.
9861 (main): Implement it.
9862 (parse_opt): Parse it.
9864 2012-05-09 Andreas Jaeger <aj@suse.de>
9867 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9868 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9869 -Wconversion warning.
9870 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9873 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9875 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9877 (LC_ALL): Use macro-int-constant.
9878 (LC_COLLATE): Likewise.
9879 (LC_CTYPE): Likewise.
9880 (LC_MESSAGES): Likewise.
9881 (LC_MONETARY): Likewise.
9882 (LC_NUMERIC): Likewise.
9883 (LC_TIME): Likewise.
9884 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9885 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9887 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9889 [C99-based standards] (float_t): Expect type.
9890 [C99-based standards] (double_t): Expect type.
9891 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9893 [C99-based standards] (HUGE_VALL): Likewise.
9894 [C99-based standards] (INFINITY): Likewise.
9895 [C99-based standards] (NAN): Likewise.
9896 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9897 [C99-based standards] (FP_NAN): Likewise.
9898 [C99-based standards] (FP_NORMAL): Likewise.
9899 [C99-based standards] (FP_SUBNORMAL): Likewise.
9900 [C99-based standards] (FP_ZERO): Likewise.
9901 [C99-based standards] (FP_FAST_FMA): Use
9902 optional-macro-int-constant. Specify type. Require == 1.
9903 [C99-based standards] (FP_FAST_FMAF): Likewise.
9904 [C99-based standards] (FP_FAST_FMAL): Likewise.
9905 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9906 [C99-based standards] (FP_ILOGBNAN): Likewise.
9907 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9909 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9910 [C99-based standards] (math_errhandling): Specify type.
9911 [ISO99 || ISO11] (signgam): Do not allow.
9912 [non-C99-based standards] (copysignf): Do not allow.
9913 [non-C99-based standards] (exp2f): Likewise.
9914 [non-C99-based standards] (log2f): Likewise.
9915 [non-C99-based standards] (modff): Allow.
9916 [non-C99-based standards] (erff): Do not allow.
9917 [non-C99-based standards] (erfcf): Likewise.
9918 [non-C99-based standards] (gammaf): Likewise.
9919 [non-C99-based standards] (hypotf): Likewise.
9920 [non-C99-based standards] (j0f): Likewise.
9921 [non-C99-based standards] (j1f): Likewise.
9922 [non-C99-based standards] (jnf): Likewise.
9923 [non-C99-based standards] (lgammaf): Likewise.
9924 [non-C99-based standards] (tgammaf): Likewise.
9925 [non-C99-based standards] (y0f): Likewise.
9926 [non-C99-based standards] (y1f): Likewise.
9927 [non-C99-based standards] (ynf): Likewise.
9928 [non-C99-based standards] (isnanf): Likewise.
9929 [non-C99-based standards] (acoshf): Likewise.
9930 [non-C99-based standards] (asinhf): Likewise.
9931 [non-C99-based standards] (atanhf): Likewise.
9932 [non-C99-based standards] (cbrtf): Likewise.
9933 [non-C99-based standards] (expm1f): Likewise.
9934 [non-C99-based standards] (ilogbf): Likewise.
9935 [non-C99-based standards] (log1pf): Likewise.
9936 [non-C99-based standards] (logbf): Likewise.
9937 [non-C99-based standards] (nextafterf): Likewise.
9938 [non-C99-based standards] (remainderf): Likewise.
9939 [non-C99-based standards] (rintf): Likewise.
9940 [non-C99-based standards] (scalbf): Likewise.
9941 [non-C99-based standards] (copysignl): Likewise.
9942 [non-C99-based standards] (exp2l): Likewise.
9943 [non-C99-based standards] (log2l): Likewise.
9944 [non-C99-based standards] (modfl): Allow.
9945 [non-C99-based standards] (erfl): Do not allow.
9946 [non-C99-based standards] (erfcl): Likewise.
9947 [non-C99-based standards] (gammal): Likewise.
9948 [non-C99-based standards] (hypotl): Likewise.
9949 [non-C99-based standards] (j0l): Likewise.
9950 [non-C99-based standards] (j1l): Likewise.
9951 [non-C99-based standards] (jnl): Likewise.
9952 [non-C99-based standards] (lgammal): Likewise.
9953 [non-C99-based standards] (tgammal): Likewise.
9954 [non-C99-based standards] (y0l): Likewise.
9955 [non-C99-based standards] (y1l): Likewise.
9956 [non-C99-based standards] (ynl): Likewise.
9957 [non-C99-based standards] (isnanl): Likewise.
9958 [non-C99-based standards] (acoshl): Likewise.
9959 [non-C99-based standards] (asinhl): Likewise.
9960 [non-C99-based standards] (atanhl): Likewise.
9961 [non-C99-based standards] (cbrtl): Likewise.
9962 [non-C99-based standards] (expm1l): Likewise.
9963 [non-C99-based standards] (ilogbl): Likewise.
9964 [non-C99-based standards] (log1pl): Likewise.
9965 [non-C99-based standards] (logbl): Likewise.
9966 [non-C99-based standards] (nextafterl): Likewise.
9967 [non-C99-based standards] (remainderl): Likewise.
9968 [non-C99-based standards] (rintl): Likewise.
9969 [non-C99-based standards] (scalbl): Likewise.
9970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9971 [non-C99-based standards] (FP_*): Do not allow.
9972 [C99-based standards] (FP_*): Change to
9973 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9974 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9976 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9977 (SIG_ERR): Likewise.
9978 [X/Open-based standards] (SIG_HOLD): Likewise.
9979 (SIG_IGN): Likewise.
9980 (SIGABRT): Use macro-int-constant. Specify type. Require
9985 (SIGSEGV): Likewise.
9987 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9988 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9989 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9990 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9991 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9992 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9993 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9994 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9995 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9996 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9997 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9998 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9999 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10000 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10001 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10002 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10003 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10004 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10005 [X/Open-based standards] (SIGTRAP): Likewise.
10006 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10007 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10008 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10009 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10010 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10013 2012-05-08 Ian Wienand <ianw@vmware.com>
10016 * time/tzset.c (__tzset_parse_tz): Update default rules for
10017 daylight time changes in the Energy Policy Act of 2005.
10019 2012-05-09 Andreas Jaeger <aj@suse.de>
10022 * elf/ldconfig.c (parse_conf): Change string to make clear that
10023 ldconfig only issued a warning if ld.so.conf does not exist.
10025 2012-05-08 David S. Miller <davem@davemloft.net>
10027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10028 movxtod instead of popping the value on the stack.
10030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10032 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10034 * config.h.in: Add HAVE_ARM_PCS_VFP.
10036 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10039 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10040 checking but the checks are disabled for any reason.
10042 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10044 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10045 and ELF64_R_TYPE with ELFW(R_TYPE).
10047 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10049 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10050 (ulimit): Likewise.
10052 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10053 (settimeofday): Likewise.
10055 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10057 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10058 a struct th_u2 inside the union, and move tu_block/tu_code into
10059 a new th_u3 union of tu_block/tu_code inside of that. Move
10060 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10061 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10062 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10063 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10064 (th_stuff): Change to th_u1.tu_stuff.
10066 (th_msg): Change to th_u1.th_u2.tu_data.
10068 2012-05-07 David S. Miller <davem@davemloft.net>
10070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10073 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10074 (SETUP_PIC_REG): Use it.
10075 (SETUP_PIC_REG_LEAF): Use it.
10077 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10083 (EXPL_FINITE): Likewise.
10084 (FLDLOG): Likewise.
10085 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10086 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10088 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10090 (EXPL_FINITE): Likewise.
10091 (FLDLOG): Likewise.
10092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10093 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10095 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10096 test of -max_value argument for long double.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10100 2012-05-06 David S. Miller <davem@davemloft.net>
10102 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10103 quad soft-float symbols whose references which are compiler
10105 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10107 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10111 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10113 (EXPL_FINITE): Likewise.
10114 (FLDLOG): Likewise.
10117 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10118 Adjust comments for base varying.
10119 (__expl_finite): Change alias to EXPL_FINITE.
10120 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10122 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10123 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10125 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10126 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10128 (EXPL_FINITE): Likewise.
10129 (FLDLOG): Likewise.
10132 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10133 Adjust comments for base varying.
10134 (__expl_finite): Change alias to EXPL_FINITE.
10135 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10140 * math/libm-test.inc (check_float_internal): Correct ulp
10141 calculation for subnormal expected results.
10143 2012-05-06 Andreas Jaeger <aj@suse.de>
10145 * Makeconfig (+math-flags): New, set to -frounding-math.
10146 (+cflags): Add +math-flags so that all of glibc gets compiled with
10149 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10151 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10153 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10159 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10160 (__ieee754_expl): Allow for and saturate large arguments.
10161 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10162 (u_threshold): Likewise.
10163 (__exp): Call __ieee754_exp before checking for overflow and
10165 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10166 (u_threshold): Likewise.
10167 (__expf): Call __ieee754_expf before checking for overflow and
10169 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10170 (u_threshold): Likewise.
10171 (__expl): Call __ieee754_expl before checking for overflow and
10173 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10174 (__ieee754_expl): Allow for and saturate large arguments.
10175 * math/libm-test.inc (exp_test): Add another test. Do not allow
10176 missing overflow exception on overflow.
10177 (expm1_test): Do not allow missing overflow exception on overflow.
10179 * sysdeps/i386/fpu/e_expl.c: Move to ...
10180 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10181 rather than using inline asm.
10182 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10183 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10184 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10186 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10189 (signal): Likewise.
10193 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10195 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10196 sysdeps/unix/common/syscalls.list.
10197 (fchmod): Likewise.
10198 (fchown): Likewise.
10199 (ftruncate): Likewise.
10200 (getrusage): Likewise.
10201 (gettimeofday): Likewise.
10202 (setpgid): Likewise.
10203 (setregid): Likewise.
10204 (setreuid): Likewise.
10205 (sigaction): Likewise.
10206 (truncate): Likewise.
10207 (vhangup): Likewise.
10208 * sysdeps/unix/common/syscalls.list: Remove file.
10209 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10210 * sysdeps/unix/sysv/linux/Implies: Likewise.
10212 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10214 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10216 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10220 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10223 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10226 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10229 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10232 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10235 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10238 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10242 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10246 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10249 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10253 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10257 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10259 * sysdeps/unix/common/bits/dirent.h: Remove file.
10260 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10262 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10263 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10264 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10265 * sysdeps/unix/bsd/isatty.c: Likewise.
10266 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10267 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10268 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10270 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10274 long double comparison inaccuracies.
10275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10278 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10280 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10283 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10286 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10287 nonzero digits before rounding a hex value.
10288 * stdlib/tst-strtod.c (tests): Add another test.
10290 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10292 * sysdeps/s390/fpu/libm-test-ulps: Update.
10294 2012-05-03 Andreas Jaeger <aj@suse.de>
10296 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10297 does not get optimized out.
10298 (malloc_opt_barrier): New.
10300 2012-05-03 Andreas Jaeger <aj@suse.de>
10301 Roland McGrath <roland@hack.frob.com>
10303 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10304 intermediate file deletion.
10305 (generated): Add .symlist files.
10307 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10310 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10311 Redirect under this condition.
10312 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10313 [__USE_GNU] (__dprintf_chk): Not under this condition.
10314 [__USE_GNU] (__vdprintf_chk): Likewise.
10315 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10316 under this condition.
10317 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10318 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10319 [__USE_XOPEN2K8] (vdprintf): Likewise.
10320 [__USE_GNU] (__dprintf_chk): Not under this condition.
10321 [__USE_GNU] (__vdprintf_chk): Likewise.
10322 [__USE_GNU] (dprintf): Likewise.
10323 [__USE_GNU] (vdprintf): Likewise.
10325 2012-05-03 Roland McGrath <roland@hack.frob.com>
10327 * elf/Makefile (common-generated): Set this instead of generated for
10328 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10329 $(all-built-dso)-derived lists.
10331 2012-05-03 Andreas Jaeger <aj@suse.de>
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10336 * FAQ.in: Likewise.
10337 * scripts/gen-FAQ.pl: Likewise.
10338 * manual/install.texi (Installation): Point to online location of
10340 * Makefile (files-for-dist): Remove FAQ.
10343 2012-05-02 Allan McRae <allan@archlinux.org>
10345 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10346 (LDFLAGS-reldepmod5.so): Likewise.
10347 (LDFLAGS-reldep6mod1.so): Likewise.
10348 (LDFLAGS-reldep6mod4.so): Likewise.
10349 (LDFLAGS-reldep8mod3.so): Likewise.
10350 (LDFLAGS-unload4mod1.so): Likewise.
10351 (LDFLAGS-unload4mod2.so): Likewise.
10352 (LDFLAGS-tst-initorder): Likewise.
10353 (LDFLAGS-tst-initordera2.so): Likewise.
10354 (LDFLAGS-tst-initordera3.so): Likewise.
10355 (LDFLAGS-tst-initordera4.so): Likewise.
10356 (LDFLAGS-tst-initorderb2.so): Likewise.
10357 (LDFLAGS-noload): Likewise.
10358 (LDFLAGS-next): Likewise.
10359 (LDFLAGS-order2mod1.so): Likewise.
10360 (LDFLAGS-order2mod2.so): Likewise.
10361 (LDFLAGS-tst-initorder2): Likewise.
10362 (LDFLAGS-tst-initorder2a.so): Likewise.
10363 (LDFLAGS-tst-initorder2b.so): Likewise.
10364 (LDFLAGS-tst-initorder2c.so): Likewise.
10365 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10367 2012-05-02 David S. Miller <davem@davemloft.net>
10369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10371 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10374 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10376 2012-05-02 Andreas Jaeger <aj@suse.de>
10378 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10379 since we manipulate rounding mode.
10380 (CPPFLAGS-test-idouble.c): Likewise.
10381 (CPPFLAGS-test-ifloat.c): Likewise.
10382 (CFLAGS-test-ldouble.c): Likewise.
10383 (CFLAGS-test-double.c): Likewise.
10384 (CFLAGS-test-float.c): Likewise.
10385 (CFLAGS-test-misc.c): Likewise.
10386 (CFLAGS-test-test-fenv.c): Likewise.
10388 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10393 comparisons to determine direction to adjust input.
10395 2012-05-01 Roland McGrath <roland@hack.frob.com>
10397 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10398 output to the target.
10400 * scripts/localplt.awk: New file.
10401 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10402 (check-localplt-CFLAGS): Variable removed.
10403 ($(all-built-dso:=.jmprel)): New static pattern rule.
10404 (generated): Add those targets.
10405 (localplt-built-dso): New variable.
10406 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10408 * elf/check-localplt.c: File removed.
10410 * scripts/check-execstack.awk: New file.
10411 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10412 (check-execstack-CFLAGS): Variable removed.
10413 ($(objpfx)check-execstack.h): Target removed.
10414 ($(objpfx)execstack-default): New target.
10415 (generated): Add that instead of check-execstack.h.
10416 ($(all-built-dso:=.phdr)): New static pattern rule.
10417 (generated): Add those targets.
10418 * elf/check-execstack.c: File removed.
10420 * scripts/check-textrel.awk: New file.
10421 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10422 (check-textrel-CFLAGS): Variable removed.
10423 (all-built-dso): Use := to define.o
10424 ($(all-built-dso:=.dyn)): New static pattern rule.
10425 (generated): Add those targets.
10426 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10427 * config.make.in (READELF): New substituted variable.
10428 * elf/check-textrel.c: File removed.
10430 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10432 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10434 * conform/data/ctype.h-data [C99-based standards] (isblank):
10436 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10437 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10439 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10440 Specify type. Require positive value.
10441 (EILSEQ): Likewise.
10442 (ERANGE): Likewise.
10443 [ISO || POSIX] (EILSEQ): Do not expect.
10444 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10445 Specify type. Require positive value.
10446 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10451 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10457 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10504 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10520 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10521 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10522 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10524 (FLT_ROUNDS): Expect as macro, not constant.
10525 (FLT_MANT_DIG): Use macro-int-constant.
10526 (DBL_MANT_DIG): Likewise.
10527 (LDBL_MANT_DIG): Likewise.
10528 (FLT_DIG): Likewise.
10529 (DBL_DIG): Likewise.
10530 (LDBL_DIG): Likewise.
10531 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10532 (DBL_MIN_EXP): Likewise.
10533 (LDBL_MIN_EXP): Likewise.
10534 (FLT_MAX_EXP): Use macro-int-constant.
10535 (DBL_MAX_EXP): Likewise.
10536 (LDBL_MAX_EXP): Likewise.
10537 (FLT_MAX_10_EXP): Likewise.
10538 (DBL_MAX_10_EXP): Likewise.
10539 (LDBL_MAX_10_EXP): Likewise.
10540 (FLT_MAX): Use macro-constant.
10541 (DBL_MAX): Likewise.
10542 (LDBL_MAX): Likewise.
10543 (FLT_EPSILON): Use macro-constant. Give upper bound.
10544 (DBL_EPSILON): Likewise.
10545 (LDBL_EPSILON): Likewise.
10546 (FLT_MIN): Likewise.
10547 (DBL_MIN): Likewise.
10548 (LDBL_MIN): Likewise.
10549 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10550 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10551 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10552 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10553 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10554 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10555 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10556 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10557 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10558 [ISO11] (FLT_TRUE_MIN): Likewise.
10559 [ISO11] (LDBL_TRUE_MIN): Likewise.
10560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10561 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10562 (SCHAR_MIN): Use macro-int-constant. Specify type.
10563 (SCHAR_MAX): Likewise.
10564 (UCHAR_MAX): Likewise.
10565 (CHAR_MIN): Likewise.
10566 (CHAR_MAX): Likewise.
10567 (MB_LEN_MAX): Use macro-int-constant.
10568 (SHRT_MIN): Use macro-int-constant. Specify type.
10569 (SHRT_MAX): Likewise.
10570 (USHRT_MAX): Likewise.
10571 (INT_MAX): Likewise.
10572 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10574 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10576 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10578 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10579 bound negative. Suffix upper bound with "L".
10580 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10582 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10584 [C99-based standards] (LLONG_MAX): Likewise.
10585 [C99-based standards] (ULLONG_MAX): Likewise.
10586 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10588 [ISO11] (max_align_t): Require type.
10589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10591 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10592 from $CFLAGS, without defining away __attribute__ calls.
10593 (checknamespace): Use $CFLAGS_namespace.
10595 * conform/conformtest.pl (@keywords): Only include C99 keywords
10596 for standards based on C99 or C11.
10598 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10600 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10603 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10604 usability of symbols in #if.
10606 * conform/conformtest.pl: If macro or constant types start
10607 "promoted:", expect the symbol to be of the following type
10608 promoted by the integer promotions.
10610 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10611 in one place. Also handle "macro-constant".
10613 * conform/conformtest.pl: Only accept expected macro values with
10614 "==". Parse all "macro" lines in one place.
10615 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10617 * conform/conformtest.pl: Handle braced types on "constant" lines
10618 instead of handling "typed-constant".
10619 * conform/data/signal.h-data: Use "constant" instead of
10622 * conform/conformtest.pl: Handle "optional-" at start of lines in
10623 one place rather than duplicating several cases. Handle each
10624 format of "macro" line with initial "optional-".
10626 * conform/conformtest.pl: Only accept expected constant or
10627 optional-constant values with "==". Parse all "constant" lines in
10628 one place. Parse all "optional-constant" lines in one place.
10629 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10630 * conform/data/fmtmsg.h-data: Likewise.
10631 * conform/data/netinet/in.h-data: Likewise.
10632 * conform/data/tar.h-data: Likewise.
10633 * conform/data/limits.h-data: Use "==" form on "constant" and
10634 "optional-constant" lines.
10636 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10637 Use -std=c99 for XOPEN2K.
10638 (@knownproblems): Remove.
10639 (newtoken): Don't check %isknown.
10641 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10642 Do not expect macro.
10643 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10647 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10648 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10649 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10654 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10655 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10656 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10673 [XPG3] (acosh): Likewise.
10674 [XPG3] (asinh): Likewise.
10675 [XPG3] (atanh): Likewise.
10676 [XPG3] (cbrt): Likewise.
10677 [XPG3] (expm1): Likewise.
10678 [XPG3] (ilogb): Likewise.
10679 [XPG3] (log1p): Likewise.
10680 [XPG3] (logb): Likewise.
10681 [XPG3] (nextafter): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10684 [XPG3] (remainder): Likewise.
10685 [XPG3] (rint): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10693 [UNIX98 || XOPEN2K] (scalb): Expect.
10694 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10695 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10832 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10833 _XOPEN_SOURCE_EXTENDED for XPG4.
10835 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10837 * Makeconfig (localtime): Remove variable.
10838 (inst_localtime-file): Likewise.
10840 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10861 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10865 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10866 comparisons to determine direction to adjust input.
10867 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10868 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10873 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10878 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10880 * math/libm-test.inc (nexttoward_test): Add more tests.
10882 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10886 in version GLIBC_2.1, not GLIBC_2.0.
10887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10890 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10893 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10895 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10896 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10897 * math/libm-test.inc (acos_test): Add more tests.
10898 (asin_test): Likewise.
10899 * sysdeps/i386/fpu/libm-test-ulps: Update.
10900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10905 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10906 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10907 * math/libm-test.inc (acos_test_tonearest): New function.
10908 (acos_test_towardzero): Likewise.
10909 (acos_test_downward): Likewise.
10910 (acos_test_upward): Likewise.
10911 (asin_test_tonearest): Likewise.
10912 (asin_test_towardzero): Likewise.
10913 (asin_test_downward): Likewise.
10914 (asin_test_upward): Likewise.
10915 (main): Call the new functions.
10916 * sysdeps/i386/fpu/libm-test-ulps: Update.
10917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10921 * math/e_exp10.c: Include <float.h>.
10922 (__ieee754_exp10): Handle underflow here rather than multiplying
10923 large negative argument by M_LN10.
10924 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10926 * math/e_exp10l.c: Include <float.h>.
10927 (__ieee754_exp10l): Handle underflow here rather than multiplying
10928 large negative argument by M_LN10l.
10929 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10930 spurious overflow exception on underflow.
10932 2012-04-29 Marek Polacek <polacek@redhat.com>
10934 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10935 (__fortify_function): New macro.
10936 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10937 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10938 __extern_always_inline.
10939 * libio/bits/stdio2.h: Likewise.
10940 * libio/bits/stdio.h: Likewise.
10941 * string/string.h: Likewise.
10942 * string/bits/string3.h: Likewise.
10943 * include/stdio.h: Likewise.
10944 * stdlib/bits/stdlib.h: Likewise.
10945 * stdlib/stdlib.h: Likewise.
10946 * rt/bits/mqueue2.h: Likewise.
10947 * rt/mqueue.h: Likewise.
10948 * posix/bits/unistd.h: Likewise.
10949 * posix/unistd.h: Likewise.
10950 * io/bits/poll2.h: Likewise.
10951 * io/bits/fcntl2.h: Likewise.
10952 * io/fcntl.h: Likewise.
10953 * io/sys/poll.h: Likewise.
10954 * misc/bits/syslog.h: Likewise.
10955 * misc/bits/syslog-ldbl.h: Likewise.
10956 * misc/sys/syslog.h: Likewise.
10957 * socket/bits/socket2.h: Likewise.
10958 * socket/sys/socket.h: Likewise.
10959 * debug/tst-chk1.c: Likewise.
10960 * wcsmbs/bits/wchar2.h: Likewise.
10961 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10962 * wcsmbs/wchar.h: Likewise.
10964 2012-04-29 Andreas Jaeger <aj@suse.de>
10966 * Makerules (tests): Remove enable-check-abi protection.
10967 (check-abi-warn): Remove.
10968 (check-abi-%): Remove check-abi-warn usage.
10970 * configure.in: Remove check-abi configure option.
10971 * configure: Regenerated.
10972 * config.make.in (enable-check-abi): Remove.
10974 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10977 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10978 double functions to double *_finite functions.
10981 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10982 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10984 * stdio-common/Makefile (tests): Add tst-sprintf3.
10985 * stdio-common/tst-sprintf3.c: New file.
10987 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10988 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10990 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10992 * conform/conformtest.pl: Remove duplicate typed-constant
10995 2012-04-28 David S. Miller <davem@davemloft.net>
10997 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10998 (check-abi-%): Remove AWK script prerequisite and explicit
11000 (check-abi): Rewrite to just diff the symlist with the abilist.
11001 (config-tls, config-abi-config): Delete, no longer used.
11002 (update-abi-%): Remove AWK script and explicit abilist directory.
11003 (update-abi): Rewrite to simply compare and conditionally copy the
11004 symlist and the sysdep abilist file. Remove update-abi-config
11006 * abilist/ld.abilist: Remove.
11007 * abilist/libBrokenLocale.abilist: Remove.
11008 * abilist/libanl.abilist: Remove.
11009 * abilist/libcrypt.abilist: Remove.
11010 * abilist/libdl.abilist: Remove.
11011 * abilist/librt.abilist: Remove.
11012 * abilist/libthread_db.abilist: Remove.
11013 * abilist/libutil.abilist: Remove.
11014 * scripts/extract-abilist.awk: Remove.
11015 * scripts/merge-abilist.awk: Remove.
11016 * sysdeps/generic/libcidn.abilist: New file.
11017 * sysdeps/generic/libnss_compat.abilist: New file.
11018 * sysdeps/generic/libnss_db.abilist: New file.
11019 * sysdeps/generic/libnss_dns.abilist: New file.
11020 * sysdeps/generic/libnss_files.abilist: New file.
11021 * sysdeps/generic/libnss_hesiod.abilist: New file.
11022 * sysdeps/generic/libnss_nis.abilist: New file.
11023 * sysdeps/generic/libnss_nisplus.abilist: New file.
11024 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11025 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11026 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11029 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11030 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11031 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11032 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11033 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11034 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11035 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11036 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11038 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11039 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11041 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11044 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11045 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11046 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11047 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11048 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11050 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11051 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11052 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11054 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11157 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11158 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11159 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11162 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11163 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11164 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11165 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11166 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11167 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11168 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11169 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11170 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11222 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11224 * conform/conformtest.pl: Fix typo in handling typed-constant from
11227 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11229 * README: Cut down references to pre-2.6 Linux kernels and
11230 Linuxthreads. Update lists of configurations in libc and ports
11231 and sort alphabetically. Say "or newer" with Linux kernel version
11234 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11236 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11239 * math/libm-test.inc (logb_test_downward): New test to expose
11240 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11243 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11246 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11248 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11249 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11251 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11253 * sysdeps/unix/i386/brk.S: Remove file.
11254 * sysdeps/unix/i386/dl-brk.S: Likewise.
11255 * sysdeps/unix/i386/pipe.S: Likewise.
11256 * sysdeps/unix/i386/sigreturn.S: Likewise.
11257 * sysdeps/unix/i386/syscall.S: Likewise.
11258 * sysdeps/unix/i386/vfork.S: Likewise.
11259 * sysdeps/unix/i386/wait.S: Likewise.
11261 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11262 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11264 * configure.in (arm*-none*): Do not allow without
11265 --enable-hacker-mode.
11266 (netbsd*): Remove case setting base_os.
11267 (386bsd*): Likewise.
11268 (freebsd*): Likewise.
11271 (sunos*): Likewise.
11272 (ultrix*): Likewise.
11273 (newsos*): Likewise.
11274 (dynix*): Likewise.
11280 (minix*): Likewise.
11281 (irix4*): Likewise.
11282 (irix6*): Likewise.
11283 (solaris[2-9]*): Likewise.
11285 * configure: Regenerated.
11287 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11290 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11291 overflow or cancellation in calculating denominator.
11292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11293 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11294 down expression to avoid unexpected rounding in newer GCCs.
11295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11297 2012-04-26 David S. Miller <davem@davemloft.net>
11299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11300 long-double compat symbols.
11301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11315 2012-04-25 David S. Miller <davem@davemloft.net>
11317 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11318 HWCAP_* values only after the memory barriers have been defined.
11319 (atomic_full_barrier): Define.
11320 (atomic_read_barrier): Define.
11321 (atomic_write_barrier): Define.
11323 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11325 * shlib-versions: Add libgcc_s version information.
11326 * sysdeps/generic/libgcc_s.h: Remove.
11327 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11329 * sysdeps/gnu/unwind-resume.c: Likewise.
11330 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11332 2012-04-25 David S. Miller <davem@davemloft.net>
11334 * sysdeps/unix/sparc/brk.S: Delete.
11335 * sysdeps/unix/sparc/dl-brk.S: Delete.
11336 * sysdeps/unix/sparc/pipe.S: Delete.
11337 * sysdeps/unix/sparc/sysdep.S: Delete.
11338 * sysdeps/unix/sparc/sysdep.h: Delete.
11339 * sysdeps/unix/sparc/vfork.S: Delete.
11340 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11341 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11343 ret_ERRVAL, r0, r1, MOVE): Define.
11344 (JUMPTARGET): Remove.
11345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11346 sysdeps/unix/sparc/sysdep.h
11347 (ENTRY, END): Remove.
11348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11350 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11352 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11353 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11356 * timezone/README: Update upstream location and email address for
11358 * timezone/zdump.c: Update from tzcode 2012b.
11359 * timezone/zic.c: Likewise.
11361 * configure.in (libc_cv_as_needed): Remove test.
11362 * configure: Regenerated.
11363 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11364 conditional definition.
11365 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11366 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11367 * config.make.in (have-as-needed): Remove variable.
11369 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11370 Paul Pluzhnikov <ppluzhnikov@google.com>
11372 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11375 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11377 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11378 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11379 * sysdeps/sh/strlen.S: Likewise.
11381 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11383 * sysdeps/unix/fork.S: Remove file.
11384 * sysdeps/unix/i386/fork.S: Likewise.
11385 * sysdeps/unix/sparc/fork.S: Likewise.
11387 * sysdeps/unix/system.c: Remove file.
11388 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11390 * sysdeps/unix/getegid.S: Remove file.
11391 * sysdeps/unix/geteuid.S: Likewise.
11393 2012-04-24 Roland McGrath <roland@hack.frob.com>
11395 * scripts/check-localplt.awk: New file.
11396 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11398 * scripts/data/localplt-generic.data: Add a comment.
11400 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11401 NODE when __dir_mkfile failed.
11402 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11403 Reported by Ludovic Courtès <ludo@gnu.org>.
11405 2012-04-24 Andreas Jaeger <aj@suse.de>
11407 * Makerules (common-clean): Also remove gen-as-const-headers
11410 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11412 * Makerules (native-compile): Do not change working directory for
11413 build. Use $(OUTPUT_OPTION) in command.
11414 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11416 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11419 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11420 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11421 * math/libm-test.inc (floor_test): Add more tests.
11422 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11424 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11426 * sysdeps/unix/getdents.c: Remove file.
11427 * sysdeps/unix/sysv/getdents.c: Likewise.
11428 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11430 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11431 sysdeps/unix/mman/syscalls.list.
11433 (mprotect): Likewise.
11435 (munmap): Likewise.
11436 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11437 * sysdeps/unix/mman/syscalls.list: Remove.
11438 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11440 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11441 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11442 * configure: Regenerated.
11443 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11444 $(libgcc_s_suffix).
11445 * config.make.in (libgcc_s_suffix): Remove variable.
11447 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11449 * sysdeps/unix/sysv/gethostname.c: Move to ...
11450 * sysdeps/posix/gethostname.c: ... here.
11452 * sysdeps/unix/execve.S: Remove file.
11454 * sysdeps/unix/_exit.S: Remove file.
11456 2012-04-23 Andreas Jaeger <aj@suse.de>
11459 * manual/Makefile: Remove make dist support, there's no
11460 need for a stand-alone documentation tar ball.
11461 (TEXI2DVI): Define always, it's not in Makeconfig.
11464 (edition): Removed.
11465 (glibc-doc-$(edition).tar): Removed
11469 (ETAGS): Remove, it's in Makeconfig.
11470 (move-if-change): Remove, it's in Makeconfig.
11472 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11475 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11476 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11477 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11478 (strtod_l, strtof_l, strtold_l): Remove __wur.
11479 It is not necessarily an error to ignore strtol's return value.
11480 One can reliably look at the stored endptr to decide whether
11481 the number had valid syntax.
11483 2012-04-21 Andreas Jaeger <aj@suse.de>
11486 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11488 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11490 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11491 * sysdeps/unix/sysv/Versions: Remove file.
11493 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11498 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11502 version from __vm86.
11504 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/unix/common/lxstat.c: Remove file.
11507 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11509 * sysdeps/unix/sysv/Makefile: Remove file.
11511 * sysdeps/unix/sysv/direct.h: Remove file.
11513 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11514 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11515 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11516 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11517 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11518 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11519 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11521 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11523 * sysdeps/unix/xmknod.c: Remove file.
11524 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11526 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11528 * sysdeps/unix/sysv/i386/time.S: Remove file.
11530 * sysdeps/unix/fxstat.c: Remove file.
11531 * sysdeps/unix/xstat.c: Likewise.
11532 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11534 * sysdeps/unix/sysv/sigaction.c: Remove file.
11536 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11537 (sysdep_headers): Remove variable.
11538 [termio.h not in sysdep_headers] (generated): Likewise.
11539 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11540 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11541 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11542 * sysdeps/unix/sysv/tcflow.c: Likewise.
11543 * sysdeps/unix/sysv/tcflush.c: Likewise.
11544 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11545 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11546 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11547 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11548 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11550 * sysdeps/unix/siglist.c: Remove file.
11552 * sysdeps/unix/getppid.S: Remove file.
11554 * sysdeps/unix/mkdir.c: Remove file.
11555 * sysdeps/unix/rmdir.c: Likewise.
11557 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11559 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11561 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11562 errlist-compat value.
11564 2012-04-18 David S. Miller <davem@davemloft.net>
11566 * sysdeps/generic/memcopy.h (reg_char): Delete.
11567 * debug/strcat_chk.c: Use char, not reg_char.
11568 * debug/strcpy_chk.c: Likewise.
11569 * debug/strncat_chk.c: Likewise.
11570 * debug/strncpy_chk.c: Likewise.
11571 * string/memchr.c: Likewise.
11572 * string/memrchr.c: Likewise.
11573 * string/rawmemchr.c: Likewise.
11574 * string/strcat.c: Likewise.
11575 * string/strchr.c: Likewise.
11576 * string/strchrnul.c: Likewise.
11577 * string/strcmp.c: Likewise.
11578 * string/strcpy.c: Likewise.
11579 * string/strncat.c: Likewise.
11580 * string/strncmp.c: Likewise.
11581 * string/strncpy.c: Likewise.
11583 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11585 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11586 __builtin_memcopy is called when src and dest ranges are known to not
11589 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11591 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11592 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11593 fwd_align_merge macro call.
11594 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11595 bwd_align_merge macro call.
11596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11598 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11601 bwd_align_merge macros.
11602 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11603 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11606 2012-04-18 David S. Miller <davem@davemloft.net>
11608 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11610 2012-04-18 Andreas Jaeger <aj@suse.de>
11613 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11614 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11618 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11621 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11622 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11623 Adjust for changed ldbl-128 files.
11625 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11626 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11629 2012-04-17 David S. Miller <davem@davemloft.net>
11631 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11633 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11635 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11636 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11637 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11638 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11639 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11640 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11642 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11645 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11646 * math/libm-test.inc: Add ilogb errno and exception tests.
11647 * math/w_ilogb.c: New file: ilogb wrapper.
11648 * math/w_ilogbf.c: New file: ilogbf wrapper.
11649 * math/w_ilogbl.c: New file: ilogbl wrapper.
11650 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11651 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11652 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11653 exception being thrown with 0.0 as argument.
11654 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11655 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11656 exception being thrown with 0.0 as argument.
11657 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11658 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11659 exception being thrown with 0.0 as argument.
11660 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11661 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11662 exception being thrown with 0.0 as argument.
11663 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11664 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11665 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11666 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11667 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11668 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11669 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11670 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11671 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11673 2012-04-17 Petr Baudis <pasky@ucw.cz>
11675 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11678 2012-04-16 Marek Polacek <polacek@redhat.com>
11680 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11682 2012-04-16 Marek Polacek <polacek@redhat.com>
11684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11685 operands of fdivp instruction.
11687 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11689 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11690 * elf/tst-auditmod3b.c: Likewise.
11691 * elf/tst-auditmod4b.c: Likewise.
11692 * elf/tst-auditmod5b.c: Likewise.
11693 * elf/tst-auditmod6b.c: Likewise.
11694 * elf/tst-auditmod6c.c: Likewise.
11695 * elf/tst-auditmod7b.c: Likewise.
11696 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11697 * sysdeps/x86_64/preconfigure.in: Likewise.
11698 * sysdeps/x86_64/preconfigure: Regenerated.
11700 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11702 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11705 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11708 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11710 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11713 * locale/iso-639.def: Fix gl language name. Spotted by
11716 2012-04-12 Roland McGrath <roland@hack.frob.com>
11719 * libio/libio.h (__io_write_fn): Update comment.
11721 2012-04-12 Petr Baudis <pasky@ucw.cz>
11724 * stdio.texi (Hook Functions): The user provided writer function
11725 is not allowed to return -1.
11727 2012-04-11 David S. Miller <davem@davemloft.net>
11729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11731 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11733 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11734 Add a leading slash to rtkaio.
11736 2012-04-11 Jim Meyering <meyering@redhat.com>
11739 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11740 It is not necessarily an error to ignore fwrite's return
11741 value. One can reliably use ferror to test for errors after
11744 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11746 * bits/types.h (__snseconds_t): New type.
11747 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11749 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11751 (__SNSECONDS_T_TYPE): Likewise.
11752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11753 (__SNSECONDS_T_TYPE): Likewise.
11754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11755 (__SNSECONDS_T_TYPE): Likewise.
11757 2012-04-10 Andreas Jaeger <aj@suse.de>
11760 * manual/time.texi (Processor Time): Return type of times is
11761 elapsed real time since an arbitrary point in the past.
11762 (CPU Time): Move CLK_TCK from here...
11763 (Processor Time): ...to here. Correct description.
11764 * manual/conf.texi (Constants for Sysconf): Correct description of
11767 2012-04-10 David S. Miller <davem@davemloft.net>
11770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11771 where the is a gap between DT_REL(A) and DT_JMPREL.
11773 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11775 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11776 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11777 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11779 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11781 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11782 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11783 (dl_main): Handle --inhibit-cache.
11784 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11786 * elf/dl-load.c (_dl_map_object): Use it.
11787 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11789 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11792 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11793 (__ieee754_powl): Saturate large exponents rather than testing for
11794 overflow of y*log2(x).
11795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11796 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11800 * math/s_ctan.c: Include <float.h>.
11801 (__ctan): Avoid internal overflow or cancellation in calculating
11803 * math/s_ctanf.c: Likewise.
11804 * math/s_ctanl.c: Likewise.
11805 * math/s_ctanh.c: Likewise.
11806 * math/s_ctanhf.c: Likewise.
11807 * math/s_ctanhl.c: Likewise.
11808 * math/libm-test.inc (ctan_test): Add more tests.
11809 (ctanh_test): Likewise.
11810 * sysdeps/i386/fpu/libm-test-ulps: Update.
11811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11813 2012-04-09 Andreas Jaeger <aj@suse.de>
11816 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11817 is an optional BSD extension.
11820 * manual/stdio.texi (Opening Streams): Document additional fopen
11823 2012-04-09 Roland McGrath <roland@hack.frob.com>
11825 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11826 %eax without telling the compiler.
11828 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11831 * manual/install.texi: Use sourceware.org.
11833 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11836 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11837 (__ieee754_pow): Generate overflow and underflow using huge*huge
11838 and tiny*tiny rather than just returning constant infinity or zero
11839 for large exponents.
11840 * math/libm-test.inc (pow_test): Require overflow exceptions for
11841 applicable cases of large exponents.
11844 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11845 (__ieee754_pow): Use iterative multiplication algorithm only for
11846 integer exponents with absolute value below 1024. Check for odd
11847 integer exponents when using algorithm for real exponents.
11848 * math/libm-test.inc (pow_test): Add more tests.
11849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11851 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11854 * math/libm-test.inc (exp_test): Do not allow overflow exception
11857 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11860 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11861 instead of __kernel_standard_f.
11863 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11865 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11866 * sysdeps/x86_64/memset_chk.S: Likewise.
11868 2012-04-08 Andreas Jaeger <aj@suse.de>
11871 * manual/startup.texi (Environment Access): Describe return value
11872 for putenv and setenv.
11875 * manual/filesys.texi (Directory Entries): Add description for
11879 * manual/filesys.texi (Directory Entries): Clarify that it's file
11880 system not operating system in the description of DT_UNKNOWN.
11883 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11885 2012-04-08 Stephen Compall <s11@member.fsf.org>
11888 * manual/llio.texi (Opening and Closing Files): Add cross
11889 reference to explain mode argument.
11891 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11893 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11894 * sysdeps/x86_64/memset_chk.S: Likewise.
11896 2012-04-07 David S. Miller <davem@davemloft.net>
11898 * elf/elf.h (R_SPARC_WDISP10): Define.
11899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11902 R_SPARC_SIZE64 and R_SPARC_H34.
11904 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11906 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11907 conditions and remove no longer applicable assertion.
11909 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11911 * bits/byteswap.h: Include <features.h>.
11912 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11913 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11915 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11917 * bits/byteswap.h (__bswap_16): Removed.
11918 Include <bits/byteswap-16.h> to get __bswap_16.
11919 * sysdeps/i386/bits/byteswap.h: Likewise.
11920 * sysdeps/s390/bits/byteswap.h: Likewise.
11921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11922 * bits/byteswap-16.h: New file.
11923 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11924 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11925 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11926 * string/Makefile (headers): Add bits/byteswap-16.h.
11928 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11931 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11933 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11934 * nss/tst-nss-static.c: New.
11936 2012-04-06 Robert Millan <rmh@gnu.org>
11939 * manual/llio.texi (File Position Primitive): lseek
11940 refers to WHENCE when it really means OFFSET.
11942 2012-04-06 Andreas Jaeger <aj@suse.de>
11944 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11945 strncmp declarations.
11947 * abilist/libc.abilist: Add __poll and __ppoll.
11949 2012-04-05 David S. Miller <davem@davemloft.net>
11951 * scripts/check-local-headers.sh: Accept a host triplet in the
11952 path matched by the exclude regexp.
11954 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11956 * sysdeps/powerpc/powerpc32/dl-machine.h
11957 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11958 * sysdeps/s390/s390-32/dl-machine.h
11959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11960 * sysdeps/sparc/sparc32/dl-machine.h
11961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11962 * sysdeps/sparc/sparc64/dl-machine.h
11963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11965 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11967 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11968 undefined symbol errors.
11970 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11973 2012-04-05 Michael Matz <matz@suse.de>
11976 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11978 2012-04-05 Andreas Jaeger <aj@suse.de>
11981 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11984 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11986 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11987 which ROUND is no valid rounding mode.
11989 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11991 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11993 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11995 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11997 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11998 an exception using FPU order intentionally.
12000 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12002 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12003 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12004 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12005 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12007 2012-04-05 Simon Josefsson <simon@josefsson.org>
12010 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12011 EINVAL when BUFLEN is too smal.
12013 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12016 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12017 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12019 2012-04-03 Andreas Jaeger <aj@suse.de>
12022 * manual/setjmp.texi (System V contexts): Fix sentence.
12025 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12026 New macro for this case.
12027 [!__GNUC__] (__bswap_64): New inline function for this case.
12028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12029 * bits/byteswap.h: Likewise.
12030 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12031 ull, guard with __GLIBC_HAVE_LONG_LONG.
12033 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12034 __GLIBC_HAVE_LONG_LONG.
12036 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12037 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12039 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12042 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12043 inptr and inend, rather than using last_ch.
12045 2012-04-02 David S. Miller <davem@davemloft.net>
12047 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12048 * stdio-common/printf-parse.h (read_int): Change return type to
12049 'int', return -1 on INT_MAX overflow.
12050 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12051 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12052 overflows INT_MAX. Check for overflow of in-format-string precision
12053 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12054 SIZE_MAX not INT_MAX for integer overflow test.
12055 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12056 skip the construct in the format string but do not record anything.
12057 * stdio-common/bug22.c: Adjust to test both width/prevision
12058 INT_MAX overflow as well as total length INT_MAX overflow. Check
12059 explicitly for proper errno values.
12061 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12063 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12065 * string/test-strcmp.c [! WIDE]: Likewise.
12066 * time/tst-mktime2.c: Likewise for INT_MAX.
12067 * string/test-string.h: #include <sys/param.h> for MIN.
12069 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12070 * sysdeps/i386/init-first.c (init): Likewise.
12071 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12072 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12073 * sysdeps/sh/init-first.c (init): Likewise.
12075 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12077 * po/ru.po: Update from translation team.
12078 * po/vi.po: Likewise.
12080 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12082 * resolv/nss_dns/dns-host.c: Merge copyright years.
12084 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12086 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12087 Optimize memcpy with prefetch if
12088 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12089 src, dst pointers have unequal 16 byte alignments.
12091 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12094 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12095 from a CNAME entry and return the minimum ttl for the query.
12096 (gaih_getanswer_slice): Likewise.
12098 2012-03-30 Jeff Law <law@redhat.com>
12100 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12102 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12103 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12105 * resolv/nss_dns/dns-host.c: Update copyright year.
12107 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12109 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12110 requests to save a system call. Fix check that all bytes are sent.
12112 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12113 comments for sendmmsg.
12115 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12118 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12119 with only 1 character between 0x0041 and 0x01b0.
12120 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12121 * wcsmbs/tst-mbsnrtowcs.c: New file.
12123 2012-03-29 David S. Miller <davem@davemloft.net>
12125 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12126 small copies by hand.
12128 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12131 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12132 _nss_compat_initgroups_dyn): Fall back to malloc/free
12133 for large group memberships.
12135 2012-03-28 David S. Miller <davem@davemloft.net>
12137 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12138 that branches into memcpy.
12139 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12142 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12145 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12146 implementation too.
12147 * sysdeps/sparc/mempcpy.S: New file.
12149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12150 the IFUNC routine in the libc case.
12151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12153 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12154 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12155 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12156 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12157 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12158 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12159 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12160 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12162 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12163 loop to 256 bytes instead of 64 bytes and fix test signedness.
12165 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12166 * sysdeps/sparc/sparc32/Makefile: rather than here...
12167 * sysdeps/sparc/sparc64/Makefile: and here.
12169 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12171 * malloc/mallocbug.c: Avoid warnings about unused variables.
12173 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12176 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12177 in the right place. Discard and retry query if response is
12178 larger than input buffer size.
12180 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12185 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12186 x for large integer exponent.
12187 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12188 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12189 sign of result as needed afterwards.
12190 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12191 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12192 result for underflowing pow the same as for overflow.
12193 (__kernel_standard_l): Handle powl overflow and underflow here
12194 rather than calling __kernel_standard.
12195 * math/libm-test.inc (pow_test): Add more tests.
12210 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12211 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12212 (__kernel_standard_l): New function.
12213 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12215 * math/w_acosl.c (__acosl): Likewise.
12216 * math/w_asinl.c (__asinl): Likewise.
12217 * math/w_atan2l.c (__atan2l): Likewise.
12218 * math/w_atanhl.c (__atanhl): Likewise.
12219 * math/w_coshl.c (__coshl): Likewise.
12220 * math/w_exp10l.c (__exp10l): Likewise.
12221 * math/w_exp2l.c (__exp2l): Likewise.
12222 * math/w_fmodl.c (__fmodl): Likewise.
12223 * math/w_hypotl.c (__hypotl): Likewise.
12224 * math/w_j0l.c (__j0l, __y0l): Likewise.
12225 * math/w_j1l.c (__j1l, __y1l): Likewise.
12226 * math/w_jnl.c (__jnl, __ynl): Likewise.
12227 * math/w_lgammal.c (__lgammal): Likewise.
12228 * math/w_log10l.c (__log10l): Likewise.
12229 * math/w_log2l.c (__log2l): Likewise.
12230 * math/w_logl.c (__logl): Likewise.
12231 * math/w_powl.c (__powl): Likewise.
12232 * math/w_remainderl.c (__remainderl): Likewise.
12233 * math/w_scalbl.c (sysv_scalbl): Likewise.
12234 * math/w_sinhl.c (__sinhl): Likewise.
12235 * math/w_sqrtl.c (__sqrtl): Likewise.
12236 * math/w_tgammal.c (__tgammal): Likewise.
12237 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12238 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12239 * math/libm-test.inc (acos_test): Add more tests.
12240 (acosh_test): Likewise.
12241 (asin_test): Likewise.
12242 (atanh_test): Likewise.
12243 (exp_test): Likewise.
12244 (exp10_test): Likewise.
12245 (exp2_test): Likewise.
12246 (expm1_test): Likewise.
12247 (lgamma_test): Likewise.
12248 (log_test): Likewise.
12249 (log10_test): Likewise.
12250 (log1p_test): Likewise.
12251 (log2_test): Likewise.
12252 (pow_test): Do not allow some spurious overflow exceptions.
12253 (sqrt_test): Add more tests.
12254 (tgamma_test): Likewise.
12255 (y0_test): Likewise.
12256 (y1_test): Likewise.
12257 (yn_test): Likewise.
12259 2012-03-27 Anton Blanchard <anton@samba.org>
12261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12267 2012-03-27 David S. Miller <davem@davemloft.net>
12269 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12271 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12272 have-as-vis3 check.
12274 2012-03-27 Andreas Jaeger <aj@suse.de>
12276 * sysdeps/x86_64/elf/configure.in: Moved to ...
12277 * sysdeps/x86_64/configure.in: ... here.
12278 * sysdeps/x86_64/elf/start.S: Moved to ...
12279 * sysdeps/x86_64/start.S: ... here.
12280 * sysdeps/x86_64/elf/configure: Delete.
12282 * sysdeps/x86_64/configure.in: Merge contents from
12283 sysdeps/i386/configure.in (without i686 check).
12285 * sysdeps/i386/elf/Versions: Merge into ...
12286 * sysdeps/i386/Versions: ... this.
12287 * sysdeps/i386/elf/Versions: Delete file.
12288 * sysdeps/i386/elf/start.S: Moved to ...
12289 * sysdeps/i386/start.S: ...here.
12290 * sysdeps/i386/elf/configure.in: Merge into...
12291 * sysdeps/i386/configure.in: ...here.
12292 * sysdeps/i386/elf/configure.in: Delete file.
12293 * sysdeps/i386/elf/configure: Delete file.
12295 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12296 * debug/backtracesyms.c: ... here.
12297 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12298 * debug/backtracesymsfd.c: ... here.
12299 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12300 * sysdeps/generic/ifunc-sel.h: ... here.
12302 * sysdeps/unix/i386/start.c: Delete file.
12303 * sysdeps/unix/sparc/start.c: Delete file.
12304 * sysdeps/unix/start.c: Delete file.
12306 * sysdeps/sh/elf/configure.in: Moved to ...
12307 * sysdeps/sh/configure.in: ... here.
12308 * sysdeps/sh/elf/start.S: Moved to ...
12309 * sysdeps/sh/start.S: ... here.
12310 * sysdeps/sh/elf/configure: Delete file.
12312 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12313 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12314 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12315 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12316 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12317 * sysdeps/powerpc/powerpc64/start.S: here.
12318 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12319 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12320 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12321 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12322 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12324 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12325 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12326 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12327 * sysdeps/powerpc/powerpc32/start.S: ... here.
12328 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12329 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12330 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12332 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12333 * sysdeps/powerpc/ifunc-sel.h: ... here.
12334 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12335 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12337 * sysdeps/sparc/elf/configure.in: Moved to ...
12338 * sysdeps/sparc/configure.in: ... here.
12339 * sysdeps/sparc/elf/configure: Delete file.
12340 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12341 * sysdeps/sparc/sparc32/start.S: ... here.
12342 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12343 * sysdeps/sparc/sparc64/start.S: ... here.
12344 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12345 * sysdeps/sparc/sparc32/Makefile: ... this.
12346 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12347 * sysdeps/sparc/sparc64/Makefile: ... this.
12349 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12350 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12351 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12352 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12353 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12354 * sysdeps/s390/s390-32/setjmp.S: ... here.
12355 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12356 * sysdeps/s390/s390-32/configure.in: ... here.
12357 * sysdeps/s390/s390-32/elf/configure: Delete file.
12358 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12359 * sysdeps/s390/s390-32/start.S: ... here.
12361 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12362 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12363 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12364 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12365 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12366 * sysdeps/s390/s390-64/setjmp.S: ... here.
12367 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12368 * sysdeps/s390/s390-64/configure.in: ... here
12369 * sysdeps/s390/s390-64/elf/configure: Delete file.
12370 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12371 * sysdeps/s390/s390-64/start.S: ... here.
12372 * sysdeps/s390/s390-64/elf/configure: Delete.
12374 * configure.in: Remove support for elf directories in sysdeps.
12376 * configure: Regenerated.
12377 * sysdeps/i386/configure: Regenerated.
12378 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12379 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12380 * sysdeps/s390/s390-32/configure: Regenerated.
12381 * sysdeps/s390/s390-64/configure: Regenerated.
12382 * sysdeps/sh/configure: Regenerated.
12383 * sysdeps/sparc/configure: Regenerated.
12384 * sysdeps/x86_64/configure: Regenerated.
12386 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12390 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12391 denormal result into account.
12393 2012-03-25 Roland McGrath <roland@hack.frob.com>
12395 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12396 Reported by Allan McRae <allan@archlinux.org>.
12398 2012-03-23 Jeff Law <law@redhat.com>
12400 * nss/getnssent.c (__nss_getent): Fix typo.
12402 2012-03-23 David S. Miller <davem@davemloft.net>
12404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12406 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12408 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12409 to pad to uint64_t for each field.
12410 (dl_tls_index): Replace unsigned long with uint64_t.
12412 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12413 Paul Pluzhnikov <ppluzhnikov@google.com>
12416 * grp/Makefile (otherlibs): Don't set it.
12417 * inet/Makefile (otherlibs): Likewise.
12418 * login/Makefile (otherlibs): Likewise.
12419 * nscd/Makefile (otherlibs): Likewise.
12420 * posix/Makefile (otherlibs): Likewise.
12421 * pwd/Makefile (otherlibs): Likewise.
12422 * rt/Makefile (otherlibs): Likewise.
12423 * sunrpc/Makefile (otherlibs): Likewise.
12424 * nss/Makefile (otherlibs): Likewise.
12425 Add libnss_files to routines and static-only-routines.
12426 ($(objpfx)getent): Remove rule.
12427 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12428 static-only-routines.
12430 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12433 * math/s_cexp.c: Include <float.h>.
12434 (__cexp): Handle exp result overflowing not necessarily
12435 overflowing both real and imaginary parts of result.
12436 * math/s_cexpf.c: Likewise.
12437 * math/s_cexpl.c: Likewise.
12438 * math/libm-test.inc (cexp_test): Add more tests.
12439 * sysdeps/i386/fpu/libm-test-ulps: Update.
12440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12442 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12444 * include/link.h (ELFW): New macro.
12445 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12446 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12448 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12450 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12453 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12455 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12457 (struct La_x32_retval): Likewise.
12459 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12461 * sysdeps/x86_64/preconfigure.in: New file.
12462 * sysdeps/x86_64/preconfigure: New generated file.
12464 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12467 * math/e_exp2l.c: Include <float.h>.
12468 (__ieee754_exp2l): Handle overflow and underflow cases
12469 separately. Only pass fractional part of argument to
12471 * math/libm-test.inc (exp2_test): Add more tests.
12473 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12474 negating x to take absolute value.
12475 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12477 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12480 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12481 computing low part if x was negated.
12482 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12484 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12486 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12487 la_x32_gnu_pltexit.
12488 (pltexit): Cast int_retval to ptrdiff_t.
12489 * elf/tst-auditmod3b.c: Likewise.
12490 * elf/tst-auditmod4b.c: Likewise.
12491 * elf/tst-auditmod5b.c: Likewise.
12492 * elf/tst-auditmod6b.c: Likewise.
12493 * elf/tst-auditmod6c.c: Likewise.
12494 * elf/tst-auditmod7b.c: Likewise.
12496 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12497 and x32_gnu_pltexit.
12499 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12500 __ELF_NATIVE_CLASS.
12501 (La_x32_regs): New macro.
12502 (La_x32_retval): Likewise.
12503 (la_x32_gnu_pltenter): New function prototype.
12504 (la_x32_gnu_pltexit): Likewise.
12506 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12513 * configure.in (libc_cv_cc_nofma): Check for option to disable
12514 generation of FMA instructions.
12515 * configure: Regenerate.
12516 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12517 * sysdeps/ieee754/dbl-64/Makefile: New file.
12518 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12519 Remove brandred-fma4.
12520 (CFLAGS-brandred-fma4.c): Remove.
12521 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12524 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12527 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12529 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12530 LLONG_MAX != LONG_MAX.
12531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12532 (_fitoa_word): Likewise.
12533 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12534 LLONG_MAX != LONG_MAX.
12535 * stdio-common/_itowa.h: Include <_itoa.h>.
12536 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12537 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12538 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12539 only if not defined.
12540 (_ITOA_WORD_TYPE): Likewise.
12541 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12542 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12544 2012-03-21 David S. Miller <davem@davemloft.net>
12546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12548 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12550 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12551 of x86_64 when setting libc_cv_slibdir, libdir and
12553 * sysdeps/unix/sysv/linux/configure: Regenerated.
12555 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12557 * manual/lang.texi (Old Varargs): Remove section.
12558 (How Variadic): Update menu.
12559 (va_start): Do not mention varargs.h.
12561 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12562 Joseph Myers <joseph@codesourcery.com>
12564 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12566 * configure: Regenerated.
12568 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12570 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12571 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12574 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12577 * Makefile (files-for-dist): Remove NOTES.
12578 (NOTES): Remove rule.
12579 * README: Don't refer to NOTES.
12580 * manual/creature.texi: Don't include macros.texi.
12581 * manual/intro.texi (creature.texi): Remove comment referring to
12584 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12585 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12586 * configure: Regenerated.
12587 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12588 LIBC_TRY_CC_OPTION.
12589 (libc_cv_as_i686): Likewise.
12590 (libc_cv_cc_avx): Likewise.
12591 (libc_cv_cc_sse2avx): Likewise.
12592 (libc_cv_cc_fma4): Likewise.
12593 (libc_cv_cc_novzeroupper): Likewise.
12594 * sysdeps/i386/configure: Regenerated.
12597 * sysdeps/i386/fpu/s_cexp.S: Remove.
12598 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12599 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12600 * math/libm-test.inc (cexp_test): Add more tests.
12601 * sysdeps/i386/fpu/libm-test-ulps: Update.
12602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12604 2012-03-21 Allan McRae <allan@archlinux.org>
12606 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12608 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12611 * math/w_exp2.c: Do not include <float.h>.
12612 (o_threshold, u_threshold): Remove.
12613 (__exp2): Calculate result before checking finiteness and calling
12615 * math/w_exp2f.c: Likewise.
12616 * math/w_exp2l.c: Likewise.
12617 * math/libm-test.inc (exp2_test): Require overflow exception for
12621 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12622 range of signed 64-bit integers before using fistpll. Remove
12623 checks for whether integers fit in mantissa bits.
12624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12625 the range of signed 32-bit integers before using fistpl. Remove
12626 checks for whether integers fit in mantissa bits.
12627 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12628 (__ieee754_powl): Test for y outside the range of signed 64-bit
12629 integers before using fistpll. Reduce 64-bit values to 63-bit
12631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12632 divide-by-zero is raised for zero to large negative powers.
12633 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12634 (__ieee754_powl): Test for y outside the range of signed 64-bit
12635 integers before using fistpll. Reduce 64-bit values to 63-bit
12637 * math/libm-test.inc (pow_test): Add more tests.
12639 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12641 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12642 <stdio-common/_itoa.h>.
12643 * debug/segfault.c: Likewise.
12644 * elf/dl-cache.c: Likewise.
12645 * elf/dl-minimal.c: Likewise.
12646 * elf/dl-misc.c: Likewise.
12647 * elf/dl-sysdep.c: Likewise.
12648 * elf/dl-version.c: Likewise.
12649 * elf/rtld.c: Likewise.
12650 * hurd/hurdsock.c: Likewise.
12651 * hurd/lookup-retry.c: Likewise.
12652 * malloc/malloc.c: Likewise.
12653 * malloc/mtrace.c: Likewise.
12654 * nscd/nscd_getgr_r.c: Likewise.
12655 * nscd/nscd_getpw_r.c: Likewise.
12656 * nscd/nscd_getserv_r.c: Likewise.
12657 * posix/getopt_init.c: Likewise.
12658 * posix/wordexp.c: Likewise.
12659 * stdio-common/_itoa.c: Likewise.
12660 * stdio-common/printf_fphex.c: Likewise.
12661 * stdio-common/vfprintf.c: Likewise.
12662 * string/_strerror.c: Likewise.
12663 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12664 * sysdeps/i386/i686/hp-timing.h: Likewise.
12665 * sysdeps/mach/_strerror.c: Likewise.
12666 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12667 * sysdeps/mach/hurd/sethostid.c: Likewise.
12668 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12669 * sysdeps/mach/xpg-strerror.c: Likewise.
12670 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12672 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12673 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12674 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12675 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12676 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12677 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12678 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12679 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12680 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12681 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12682 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12683 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12684 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12685 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12686 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12687 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12688 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12689 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12690 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12692 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12694 * stdio-common/_itoa.h: Moved to ...
12695 * sysdeps/generic/_itoa.h: Here.
12697 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12699 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12700 instead of "_itoa.h" and "_itowa.h".
12701 * stdio-common/vfprintf.: Likewise.
12703 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12707 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12708 (__signbit): Likwise.
12709 (llrintf): Likwise.
12712 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12714 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12717 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12719 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12720 OVERFLOW_EXCEPTION_OK.
12721 * math/libm-test.inc ("Philosophy"): Update comment about
12723 (OVERFLOW_EXCEPTION): Define.
12724 (OVERFLOW_EXCEPTION_OK): Likewise.
12725 (INVALID_EXCEPTION_OK): Renumber.
12726 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12727 (IGNORE_ZERO_INF_SIGN): Likewise.
12728 (test_exceptions): Handle FE_OVERFLOW.
12729 (exp10_test): Expect overflow exceptions.
12730 (exp2_test): Likewise.
12731 (expm1_test): Likewise.
12732 (nextafter_test): Likewise.
12733 (pow_test): Likewise.
12734 (scalbn_test): Likewise.
12735 (scalbln_test): Likewise.
12737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12739 * sysdeps/x86_64/bits/atomic.h
12740 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12742 (atomic_exchange_acq): Likewise.
12743 (__arch_exchange_and_add_body): Likewise.
12744 (__arch_add_body): Likewise.
12745 (atomic_add_negative): Likewise.
12746 (atomic_add_zero): Likewise.
12748 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12750 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12751 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12755 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12756 Check __x86_64__ instead of __WORDSIZE.
12758 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12760 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12762 2012-03-19 David S. Miller <davem@davemloft.net>
12764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12766 * sysdeps/sparc/fpu/fenv_private.h: New file.
12767 * sysdeps/sparc/fpu/math_private.h: Use it.
12768 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12770 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12771 (libc_feholdexcept_setroundl): Remove.
12772 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12774 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12775 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12777 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12779 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12780 int64_t instead of long int.
12781 (INSERT_WORDS64): Likwise.
12783 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12785 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12786 _Unwind_GetCFA return to _Unwind_Ptr first.
12788 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12791 * math/s_clog.c: Include <float.h>.
12792 (__clog): Scale large or subnormal inputs.
12793 * math/s_clogf.c: Likewise.
12794 * math/s_clogl.c: Likewise.
12795 * math/s_clog10.c: Include <float.h>.
12796 (M_LOG10_2): Define.
12797 (__clog10): Scale large or subnormal inputs.
12798 * math/s_clog10f.c: Likewise.
12799 * math/s_clog10l.c: Likewise.
12800 * math/libm-test.inc (clog_test): Add more tests.
12801 (clog10_test): Likewise.
12802 * sysdeps/i386/fpu/libm-test-ulps: Update.
12803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12806 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12808 * math/libm-test.inc (atan2_test): Add another test.
12810 * Makerules (common-objdir-compile): Remove.
12811 * sysdeps/unix/Makefile (config-generated): Do not add
12812 $(unix-generated) to variable.
12813 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12814 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12816 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12818 [generic bits/local_lim.h] (before-compile): Do not append to
12820 [generic bits/local_lim.h] (common-generated): Likewise.
12821 [generic sys/param.h] (before-compile): Do not append to variable.
12822 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12823 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12824 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12825 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12827 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12828 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12829 [generic sys/param.h] ($(addprefix
12830 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12831 [generic sys/param.h] (common-generated): Do not append to
12833 [generic sys/param.h] (sysdep_headers): Likewise.
12834 [generic bits/errno.h] (before-compile): Do not append to
12836 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12838 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12839 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12840 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12841 [generic bits/errno.h] (common-generated): Do not append to
12843 [generic bits/ioctls.h] (before-compile): Do not append to
12845 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12847 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12848 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12849 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12852 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12853 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12854 [generic bits/ioctls.h] (common-generated): Do not append to
12856 [generic sys/syscall.h] (syscall.h): Remove variable.
12857 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12859 [generic sys/syscall.h] (before-compile): Do not append to
12861 [generic sys/syscall.h] (common-generated): Likewise.
12862 * sysdeps/unix/errnos-tmpl.c: Remove file.
12863 * sysdeps/unix/errnos.awk: Likewise.
12864 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12865 * sysdeps/unix/ioctls.awk: Likewise.
12866 * sysdeps/unix/mk-local_lim.c: Likewise.
12867 * sysdeps/unix/snarf-ioctls: Likewise.
12869 2012-03-19 Richard Henderson <rth@twiddle.net>
12871 * sysdeps/i386/fpu/fenv_private.h: New file.
12872 * sysdeps/i386/fpu/math_private.h: Use it.
12873 (math_opt_barrier, math_force_eval): Remove.
12874 (libc_feholdexcept_setround_53bit): Remove.
12875 (libc_feupdateenv_53bit): Remove.
12876 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12877 (math_opt_barrier, math_force_eval): Remove.
12878 (libc_feholdexcept): Remove.
12879 (libc_feholdexcept_setround): Remove.
12880 (libc_fetestexcept, libc_fesetenv): Remove.
12881 (libc_feupdateenv_test): Remove.
12882 (libc_feupdateenv, libc_feholdsetround): Remove.
12883 (libc_feresetround): Remove.
12885 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12886 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12888 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12889 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12890 (libc_feupdateenv_testl): New.
12891 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12892 (libc_feupdateenv_testf): New.
12893 (libc_feupdateenv): Use libc_feupdateenv_test.
12894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12897 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12898 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12899 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12900 (libc_feresetround_noex): New.
12901 (libc_feresetround_noexf): New.
12902 (libc_feresetround_noexl): New.
12903 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12904 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12905 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12906 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12911 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12913 SET_RESTORE_ROUND_NOEX.
12914 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12915 SET_RESTORE_ROUND_NOEXF.
12916 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12917 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12918 (libc_feholdsetroundf): New.
12919 (libc_feresetround, libc_feresetroundf): New.
12921 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12922 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12923 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12925 * sysdeps/generic/math_private.h: Include <fenv.h>.
12926 (default_libc_feholdexcept): New.
12927 (default_libc_feholdexcept_setround): New.
12928 (default_libc_fesetenv, default_libc_feupdateenv): New.
12929 (libc_feholdexcept): Only define if undefined.
12930 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12931 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12932 (libc_feholdexcept_setroundl): Likewise.
12933 (libc_feholdexcept_setround_53bit): Likewise.
12934 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12935 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12936 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12937 (libc_feupdateenv_53bit): Likewise.
12938 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12939 (libc_feholdexcept): Convert from macro to inline function.
12940 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12941 (libc_fesetenv, libc_feupdateenv): Likewise.
12943 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12944 not previously defined.
12945 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12946 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12947 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12948 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12949 * sysdeps/ieee754/flt-32/math_private.h: New file.
12950 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12951 math_private.h below SET_FLOAT_WORD.
12952 (__isnan, __isinf_ns, __finite): Remove.
12953 (__isnanf, __isinf_nsf, __finitef): Remove.
12955 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12959 2012-03-17 David S. Miller <davem@davemloft.net>
12962 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12965 2012-03-16 David S. Miller <davem@davemloft.net>
12967 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12973 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12974 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12975 sysdep_routines when subdir is sysvipc.
12976 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12977 __getshmlba helper.
12979 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12983 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12986 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12988 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12989 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12990 (__lround): Renamed to ...
12991 (__llround): This. Replace long int with long long int.
12992 Define lround functions as aliases of llround functions.
12993 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12995 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12997 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12998 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12999 adresses to uintptr_t. Replace "long int" and "unsigned long
13000 int" with "greg_t" on va_arg.
13002 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13004 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13005 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13007 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13008 Move e_machine check before EI_CLASS check. Handle x32
13009 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13010 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13011 SKIP_EM_IA_64 and include
13012 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13014 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13015 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13016 (add_system_dir): New macro.
13018 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13019 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13021 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13032 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13034 * math/w_j0f.c (j0f): Likewise.
13036 * math/w_j0l.c (__j0l): Likewise.
13038 * math/w_j1.c (j1): Likewise.
13040 * math/w_j1f.c (j1f): Likewise.
13042 * math/w_j1l.c (__j1l): Likewise.
13044 * math/w_jn.c (jn): Likewise.
13046 * math/w_jnf.c (jnf): Likewise.
13048 * math/w_jnl.c (__jnl): Likewise.
13050 * math/libm-test.inc (j0_test): Add more tests.
13051 (j1_test): Likewise.
13052 (jn_test): Likewise. Add trailing semicolon to existing test.
13053 (y0_test): Likewise.
13054 (y1_test): Likewise.
13055 * sysdeps/i386/fpu/libm-test-ulps: Update.
13056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13060 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13061 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13062 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13064 (__tanl): Set errno for infinite argument.
13065 * sysdeps/i386/fpu/mptan.c: Remove.
13066 * sysdeps/i386/fpu/s_tan.S: Likewise.
13067 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13068 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13069 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13070 * math/libm-test.inc (tan_test): Add more tests and enable more
13071 tests for double and long double.
13072 * sysdeps/i386/fpu/libm-test-ulps: Update.
13073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13075 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13077 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13078 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13080 2012-03-16 Roland McGrath <roland@hack.frob.com>
13082 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13083 * configure.in: Use it for both main tree and add-ons.
13084 * configure: Regenerated.
13086 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13088 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13090 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13092 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13096 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13097 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13102 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13104 != 0 for prec == 2.
13105 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13106 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13107 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13108 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13109 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13110 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13111 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13112 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13113 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13114 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13115 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13116 * math/libm-test.inc (cos_test): Add more tests and enable more
13117 tests for long double.
13118 (sin_test): Likewise.
13119 (sincos_test): Likewise.
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123 2012-03-16 David S. Miller <davem@davemloft.net>
13125 * sysdeps/sparc/fpu/math_private.h: New file.
13127 2012-03-15 David S. Miller <davem@davemloft.net>
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13143 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13144 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13146 * sysdeps/sparc/sparc-ifunc.h: New file.
13147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13192 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13194 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13198 2012-03-15 Andreas Jaeger <aj@suse.de>
13201 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13202 ieee754/flt-32 implementation for sin, cos and sincos.
13203 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13204 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13205 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13206 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13207 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13208 ieee754/flt-32 implementation for tan.
13210 * math/libm-test.inc (cos_test): Enable some large input tests for
13212 (sin_test): Likewise.
13213 (sincos_test): Likewise.
13214 (tan_test): Add tests for large input.
13216 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 2012-03-15 Andreas Jaeger <aj@suse.de>
13221 * math/libm-test.inc (cos_test): Add more test cases.
13222 (sin_test): Likewise.
13223 (sincos_test): Likewise.
13225 2012-03-15 Andreas Jaeger <aj@suse.de>
13228 * math/libm-test.inc (cos_test): Add a test case for large input
13230 (sin_test): Likewise.
13231 (sincos_test): Likewise.
13233 2012-03-15 Andreas Jaeger <aj@suse.de>,
13234 Joseph Myers <joseph@codesourcery.com>
13237 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13238 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13239 * sysdeps/i386/fpu/branred.c: Likewise.
13240 * sysdeps/i386/fpu/dosincos.c: Likewise.
13241 * sysdeps/i386/fpu/mpa.c: Likewise.
13242 * sysdeps/i386/fpu/s_cos.S: Likewise.
13243 * sysdeps/i386/fpu/s_sin.S: Likewise.
13244 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13245 * sysdeps/i386/fpu/sincos32.c: Likewise.
13247 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13249 (libc_feupdateenv_53bit): Define.
13250 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13252 (libc_feupdateenv_53bit): Define.
13254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13255 53 bit (without extend i386 double precision).
13257 * math/libm-test.inc (sincos_test): Add tests for large input.
13261 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13263 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13267 2012-03-15 David S. Miller <davem@davemloft.net>
13269 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13270 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13271 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13272 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13296 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13297 fmin/fmax sysdep routines.
13298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13300 2012-03-14 David S. Miller <davem@davemloft.net>
13302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13379 * sysdeps/sparc/configure.in: New file.
13380 * sysdeps/sparc/configure: Generate.
13381 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13382 * configure: Regenerate.
13383 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13384 * config.make.in (have-as-vis3): New.
13385 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13386 available use -Av9d instead of -Av9a.
13387 * sysdeps/sparc/sparc64/Makefile: Likewise.
13388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13403 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13404 fzeros/fnegs to load 0x80000000 into a float register instead of
13406 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13408 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13412 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13413 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13414 ($(inst_includedir)/bits/syscall.h): Remove rule.
13415 ($(objpfx)bits/syscall.d): Include instead of
13416 $(objpfx)syscall-list.d.
13417 (generated): Change syscall-list.h and syscall-list.d to
13418 bits/syscall.h and bits/syscall.d.
13420 2012-03-14 Roland McGrath <roland@hack.frob.com>
13423 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13425 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13428 * math/s_csqrt.c: Include <float.h>.
13429 (__csqrt): Scale large or subnormal inputs.
13430 * math/s_csqrtf.c: Likewise.
13431 * math/s_csqrtl.c: Likewise.
13432 * math/libm-test.inc (csqrt_test): Add more tests.
13433 * sysdeps/i386/fpu/libm-test-ulps: Update.
13434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13437 * math/libm-test.inc (hypot_test): Add more tests.
13439 2012-03-13 David S. Miller <davem@davemloft.net>
13442 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13443 double-precision for the calculation instead of scaling.
13445 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13447 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13448 manipulate bits before adding and subtracting TWO52[sx].
13449 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13450 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13452 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13454 2012-03-13 David S. Miller <davem@davemloft.net>
13456 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13457 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13459 rtld-global-offsets.h
13460 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13462 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13465 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13467 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13468 'err' in the ifdef scope in which it is actually used.
13470 * nss/nss_db/db-init.c: Include string.h
13472 2012-03-12 David S. Miller <davem@davemloft.net>
13474 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13475 masking out of the most significant byte of random value used.
13476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13477 Fix coding style in previous change.
13479 * sysdeps/unix/sysv/linux/kernel-features.h
13480 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13481 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13483 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13486 2012-03-11 David S. Miller <davem@davemloft.net>
13488 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13489 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13490 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13491 for 'resultvar' otherwise things get truncated on 64-bit.
13493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13494 Fix masking out of the most significant byte of random value used.
13496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13498 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13502 2012-03-09 David S. Miller <davem@davemloft.net>
13504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13505 variables with appropriate CPP guards.
13506 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13507 frame pointer, not the stack pointer. Correct layout comments. Fix test
13508 on resulting framesize and the management of the outregs buffer for pltexit.
13509 Preserve floating point return values across _dl_call_pltexit call.
13510 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13511 framesize and the management of the outregs buffer for pltexit.
13512 Preserve floating point return values across _dl_call_pltexit
13514 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13515 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13516 (print_exit): Fix format string for return register value.
13518 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13520 * sunrpc/Makefile (others): Add rpcgen.
13521 ($(objpfx)rpcgen): Remove special build rule and dependency on
13523 * sunrpc/rpcgen.c: New file.
13525 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13528 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13529 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13530 * sysdeps/i386/crti.S: Likewise.
13531 * sysdeps/i386/crtn.S: Likewise.
13532 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13533 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13534 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13535 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13536 * sysdeps/sh/crti.S: Likewise.
13537 * sysdeps/sh/crtn.S: Likewise.
13538 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13541 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13543 * locale/programs/locfile-kw.gperf: Likewise.
13544 * locale/programs/charmap-kw.h: Regenerated.
13545 * locale/programs/locfile-kw.h: Likewise.
13548 * intl/plural.y: Replace FSF snail mail address with URL.
13549 * intl/plural.c: Regenerated.
13551 2012-03-09 Richard Henderson <rth@twiddle.net>
13553 * include/math_private.h: Remove file.
13554 * math/math_private.h: Move file ...
13555 * sysdeps/generic/math_private.h: ... here.
13557 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13558 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13559 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13561 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13562 and <math_private.h>.
13563 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13564 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13565 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13566 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13567 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13651 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13652 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13653 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13654 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13656 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13658 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13660 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13661 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13662 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13663 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13664 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13665 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13666 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13667 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13668 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13669 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13670 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13676 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13677 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13678 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13680 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13681 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13682 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13683 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13684 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13686 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13687 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13690 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13691 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13692 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13696 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13697 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13699 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13700 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13702 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13712 * sysdeps/ieee754/k_standard.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13832 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13833 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13840 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13845 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13862 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13863 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13873 * sysdeps/ieee754/s_lib_version.c: Likewise.
13874 * sysdeps/ieee754/s_matherr.c: Likewise.
13875 * sysdeps/ieee754/s_signgam.c: Likewise.
13876 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13877 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13878 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13879 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13880 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13881 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13882 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13883 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13884 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13885 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13886 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13887 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13888 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13889 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13890 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13891 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13898 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13900 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13901 * sunrpc/rpc_main.c: Likewise.
13902 * sunrpc/rpc_svcout.c: Likewise.
13904 2012-03-09 David S. Miller <davem@davemloft.net>
13906 * include/math_private.h: New file.
13908 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13910 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13911 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13912 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13913 from <bits/socket_type.h>.
13914 (enum __socket_type): Don't define here.
13915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13917 bits/socket_type.h.
13920 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13921 checking __USE_GNU.
13923 * Makerules ($(inst_includedir)/%.h): New rule.
13924 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13925 (install-others): Remove variable setting.
13926 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13928 2012-03-08 Richard Henderson <rth@twiddle.net>
13930 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13931 from macro to inline function; merge with the
13932 !__LIBC_INTERNAL_MATH_INLINES version.
13933 (__ieee754_sqrtf): Likewise.
13935 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13936 to inline function.
13937 (__rintf, __floor, __floorf): Likewise.
13939 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13940 macro to inline function.
13941 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13944 not <math/math_private.h>.
13946 2012-03-08 David S. Miller <davem@davemloft.net>
13948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13950 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13952 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13954 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13956 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13957 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13959 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13961 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13962 be defined individually, they must be defined as a block. Define
13963 S for printing a string instead of hidint the different by using a
13964 macro for adding the 'l'.
13965 * stdio-common/tst-fphex-wide.c: Adjust.
13967 2012-03-07 Marek Polacek <polacek@redhat.com>
13969 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13971 2012-03-08 Marek Polacek <polacek@redhat.com>
13974 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13975 * stdio-common/tst-fphex.c: Define a few macros to make the
13976 test reusable. Use them.
13977 * stdio-common/tst-fphex-wide.c: New file.
13979 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13982 * manual/macros.texi (gnusystems): New macro.
13983 (nongnusystems): Likewise.
13984 (gnulinuxhurdsystems): Likewise.
13985 (gnuhurdsystems): Likewise..
13986 (gnulinuxsystems): Likewise.
13987 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13988 variants of the GNU system, not "GNU system".
13989 * manual/conf.texi: Likewise.
13990 * manual/errno.texi: Likewise. Update example of errno macro
13992 * manual/filesys.texi: Likewise.
13993 (getumask): Document as specific to GNU/Hurd.
13994 * manual/install.texi: Likewise. Reword some references to
13996 * manual/intro.texi: Likewise.
13997 * manual/io.texi: Likewise.
13998 (File Name Portability): Detail which constraints are inapplicable
13999 to all GNU systems and which are only inapplicable to GNU/Hurd.
14000 * manual/job.texi: Likewise.
14001 * manual/llio.texi: Likewise.
14002 (O_NOCTTY): Document as present on GNU/Linux.
14003 * manual/maint.texi: Likewise.
14004 * manual/memory.texi: Likewise.
14005 * manual/pattern.texi: Likewise.
14006 * manual/pipe.texi: Likewise.
14007 * manual/process.texi: Likewise.
14008 * manual/resource.texi: Likewise.
14009 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14011 * manual/setjmp.texi: Likewise.
14012 * manual/signal.texi: Likewise.
14013 * manual/startup.texi: Likewise.
14014 * manual/stdio.texi: Likewise.
14015 * manual/terminal.texi: Likewise.
14016 (ONLCR): Document as POSIX.
14017 (OXTABS): Document availability on GNU/Linux as XTABS.
14018 (ONOEOT): Document availability separately from other bits.
14019 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14020 * manual/time.texi: Likewise.
14021 * manual/users.texi: Likewise.
14022 * INSTALL: Regenerated.
14023 * sysdeps/gnu/errlist.c: Regenerated.
14025 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14026 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14027 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14029 * configure: Regenerated.
14031 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14033 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14034 default includes instead of AC_HEADER_CHECK.
14035 * sysdeps/i386/configure: Regenerated.
14038 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14039 * math/s_cacoshf.c (__cacoshf): Likewise.
14040 * math/s_cacoshl.c (__cacoshl): Likewise.
14041 * math/s_casinh.c (__casinh): Set signs of result from argument.
14042 * math/s_casinhf.c (__casinhf): Likewise.
14043 * math/s_casinhl.c (__casinhl): Likewise.
14044 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14045 (casinh_test): Add more tests.
14046 * sysdeps/i386/fpu/libm-test-ulps: Update.
14047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14049 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14051 * po/zh_TW.po: Update from translation team.
14053 * login/Makefile (distribute): Remove variable.
14054 * catgets/Makefile: Likewise.
14055 * mach/Makefile: Likewise.
14056 * malloc/Makefile: Likewise.
14057 * misc/Makefile: Likewise.
14058 * iconv/Makefile: Likewise.
14059 * nscd/Makefile: Likewise.
14060 * hurd/Makefile: Likewise.
14061 * manual/Makefile: Likewise.
14062 * locale/Makefile: Likewise.
14063 * intl/Makefile: Likewise.
14064 * conform/Makefile: Likewise.
14065 * nss/Makefile: Likewise.
14066 * time/Makefile: Likewise.
14067 * soft-fp/Makefile: Likewise.
14068 * dirent/Makefile: Likewise.
14069 * gmon/Makefile: Likewise.
14070 * po/Makefile: Likewise.
14071 * rt/Makefile: Likewise.
14072 * socket/Makefile: Likewise.
14073 * math/Makefile: Likewise.
14074 * signal/Makefile: Likewise.
14075 * debug/Makefile: Likewise.
14076 * elf/Makefile: Likewise.
14077 * timezone/Makefile: Likewise.
14078 * stdlib/Makefile: Likewise.
14079 * iconvdata/Makefile: Likewise.
14080 * sunrpc/Makefile: Likewise.
14081 * io/Makefile: Likewise.
14082 * argp/Makefile: Likewise.
14083 * inet/Makefile: Likewise.
14084 * hesiod/Makefile: Likewise.
14085 * grp/Makefile: Likewise.
14086 * csu/Makefile: Likewise.
14087 * wctype/Makefile: Likewise.
14088 * crypt/Makefile: Likewise.
14089 * libio/Makefile: Likewise.
14090 * string/Makefile: Likewise.
14091 * nis/Makefile: Likewise.
14092 * resolv/Makefile: Likewise.
14093 * stdio-common/Makefile: Likewise.
14094 * wcsmbs/Makefile: Likewise.
14095 * dlfcn/Makefile: Likewise.
14096 * posix/Makefile: Likewise.
14099 * timezone/Makefile: Don't install timezone files, just the programs
14102 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14104 * nss/databases.def: Add missing gshadow entry.
14106 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14108 2012-03-06 Marek Polacek <polacek@redhat.com>
14111 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14112 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14113 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14114 * stdio-common/tst-long-dbl-fphex.c: New file.
14116 2012-03-06 David S. Miller <davem@davemloft.net>
14118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14119 (set_obp_int): New function.
14120 (get_obp_int): New function.
14121 (__get_clockfreq_via_dev_openprom): Likewise.
14122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14123 Avoid unused variable warnings on 'val' and use builtin_expect.
14124 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14126 (INLINE_CLONE_SYSCALL): Likewise.
14128 2012-03-05 David S. Miller <davem@davemloft.net>
14130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14132 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14137 only for |x| >= 40.
14138 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14140 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14143 Replace gettimeofday with __vdso_gettimeofday.
14145 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14146 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14147 __vdso_clock_gettime and __vdso_getcpu.
14149 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14150 time with __vdso_time.
14152 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14154 * manual/lang.texi (size_t): Note types to which size_t may be
14155 equivalent with the GNU C Library, but do not describe when
14156 differences between them are significant.
14158 2012-03-05 Andreas Jaeger <aj@suse.de>
14160 * sysdeps/i386/fpu/libm-test-ulps: Update.
14162 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14165 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14166 (__ieee754_pow): Save and restore rounding mode and use
14167 round-to-nearest for main computations.
14168 * math/libm-test.inc (pow_test_tonearest): New function.
14169 (pow_test_towardzero): Likewise.
14170 (pow_test_downward): Likewise.
14171 (pow_test_upward): Likewise.
14172 (main): Call the new functions.
14173 * sysdeps/i386/fpu/libm-test-ulps: Update.
14174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14177 * math/libm-test.inc (cosh_test_tonearest): New function.
14178 (cosh_test_towardzero): Likewise.
14179 (cosh_test_downward): Likewise.
14180 (cosh_test_upward): Likewise.
14181 (sinh_test_tonearest): Likewise.
14182 (sinh_test_towardzero): Likewise.
14183 (sinh_test_downward): Likewise.
14184 (sinh_test_upward): Likewise.
14185 (main): Call the new functions.
14186 * sysdeps/i386/fpu/libm-test-ulps: Update.
14187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14189 2012-03-05 Tom de Vries <tom@codesourcery.com>
14191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14192 default stack guard is set in last bytes.
14193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14195 2012-03-05 Kees Cook <keescook@chromium.org>
14197 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14200 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14201 possibly allocate from heap instead of stack.
14202 * stdio-common/bug-vfprintf-nargs.c: New file.
14203 * stdio-common/Makefile (tests): Add nargs overflow test.
14205 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14209 2012-03-03 Marek Polacek <polacek@redhat.com>
14211 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14212 * math/math_private.h: Likewise.
14213 * stdlib/tst-strtod.c: Likewise.
14214 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14215 * sysdeps/x86_64/bits/atomic.h: Likewise.
14217 2012-03-02 David S. Miller <davem@davemloft.net>
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14223 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14224 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14225 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14226 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14228 2012-03-02 Roland McGrath <roland@hack.frob.com>
14231 * manual/examples/README: New file, says the example source files
14232 can be used under GPL>=2.
14233 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14234 line containing just "*/".
14235 * manual/examples/add.c: Add copyright header (GPL>=2).
14236 * manual/examples/argp-ex1.c: Likewise.
14237 * manual/examples/argp-ex2.c: Likewise.
14238 * manual/examples/argp-ex3.c: Likewise.
14239 * manual/examples/argp-ex4.c: Likewise.
14240 * manual/examples/atexit.c: Likewise.
14241 * manual/examples/db.c: Likewise.
14242 * manual/examples/dir.c: Likewise.
14243 * manual/examples/dir2.c: Likewise.
14244 * manual/examples/execinfo.c: Likewise.
14245 * manual/examples/filecli.c: Likewise.
14246 * manual/examples/filesrv.c: Likewise.
14247 * manual/examples/fmtmsgexpl.c: Likewise.
14248 * manual/examples/genpass.c: Likewise.
14249 * manual/examples/inetcli.c: Likewise.
14250 * manual/examples/inetsrv.c: Likewise.
14251 * manual/examples/isockad.c: Likewise.
14252 * manual/examples/longopt.c: Likewise.
14253 * manual/examples/memopen.c: Likewise.
14254 * manual/examples/memstrm.c: Likewise.
14255 * manual/examples/mkfsock.c: Likewise.
14256 * manual/examples/mkisock.c: Likewise.
14257 * manual/examples/mygetpass.c: Likewise.
14258 * manual/examples/pipe.c: Likewise.
14259 * manual/examples/popen.c: Likewise.
14260 * manual/examples/rprintf.c: Likewise.
14261 * manual/examples/search.c: Likewise.
14262 * manual/examples/select.c: Likewise.
14263 * manual/examples/setjmp.c: Likewise.
14264 * manual/examples/sigh1.c: Likewise.
14265 * manual/examples/sigusr.c: Likewise.
14266 * manual/examples/stpcpy.c: Likewise.
14267 * manual/examples/strdupa.c: Likewise.
14268 * manual/examples/strftim.c: Likewise.
14269 * manual/examples/strncat.c: Likewise.
14270 * manual/examples/subopt.c: Likewise.
14271 * manual/examples/swapcontext.c: Likewise.
14272 * manual/examples/termios.c: Likewise.
14273 * manual/examples/testopt.c: Likewise.
14274 * manual/examples/testpass.c: Likewise.
14275 * manual/examples/timeval_subtract.c: Likewise.
14278 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14280 * manual/timeval_subtract.c.texi: ... here, new file.
14282 2012-03-02 David S. Miller <davem@davemloft.net>
14284 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14286 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14289 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14290 (__sin): Save and restore rounding mode and use round-to-nearest
14291 for all computations.
14292 (__cos): Save and restore rounding mode and use round-to-nearest
14293 for all computations.
14294 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14296 (tan): Save and restore rounding mode and use round-to-nearest for
14298 * math/libm-test.inc (cos_test_tonearest): New function.
14299 (cos_test_towardzero): Likewise.
14300 (cos_test_downward): Likewise.
14301 (cos_test_upward): Likewise.
14302 (sin_test_tonearest): Likewise.
14303 (sin_test_towardzero): Likewise.
14304 (sin_test_downward): Likewise.
14305 (sin_test_upward): Likewise.
14306 (tan_test_tonearest): Likewise.
14307 (tan_test_towardzero): Likewise.
14308 (tan_test_downward): Likewise.
14309 (tan_test_upward): Likewise.
14310 (main): Call the new functions.
14311 * sysdeps/i386/fpu/libm-test-ulps: Update.
14312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14315 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14316 small n, then large n, before computing and testing k+n.
14317 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14322 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14323 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14328 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14329 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14330 * math/libm-test.inc (scalbn_test): Add more tests.
14331 (scalbln_test): Likewise.
14333 * manual/filesys.texi (mode_t): Describe constraints on size and
14334 signedness, not exact equivalence to a particular type.
14336 (ino64_t): Likewise.
14338 (nlink_t): Likewise.
14339 (blkcnt_t): Likewise.
14340 (blkcnt64_t): Likewise.
14341 * manual/llio.texi (off_t): Likewise.
14344 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14345 (__ieee754_exp): Save and restore rounding mode and use
14346 round-to-nearest for all computations.
14347 * math/libm-test.inc (exp_test_tonearest): New function.
14348 (exp_test_towardzero): Likewise.
14349 (exp_test_downward): Likewise.
14350 (exp_test_upward): Likewise.
14351 (main): Call the new functions.
14352 * sysdeps/i386/fpu/libm-test-ulps: Update.
14353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14355 2012-03-01 Chris Demetriou <cgd@google.com>
14357 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14358 have predictable order.
14360 2012-03-01 David S. Miller <davem@davemloft.net>
14362 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14364 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14365 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14366 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14367 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14369 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14370 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14371 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14375 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14376 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14377 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14382 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14383 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14385 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14387 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14388 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14389 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14392 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14393 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14394 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14395 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14399 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14401 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14402 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14403 * sysdeps/sparc/elf/configure: Regenerated.
14405 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14407 * configure.in (AS, LD): Require binutils 2.20 or later.
14408 * configure: Regenerated.
14409 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14410 as required minimum version.
14411 * INSTALL: Regenerated.
14415 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14416 before squaring exponent.
14417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14418 bottom long double and 27 bits of top long double before squaring
14420 * math/libm-test.inc (erfc_test): Add more tests.
14421 * sysdeps/i386/fpu/libm-test-ulps: Update.
14422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14425 2012-03-01 Kai Tietz <ktietz@redhat.com>
14427 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14428 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14429 containing bit-fields.
14430 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14431 * soft-fp/single.h (_FP_UNION_S): Likewise.
14432 * soft-fp/double.h (_FP_UNION_D): Likewise.
14434 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14438 not include ../strcmp.S.
14439 [USE_AS_STRNCASECMP_L]: Likewise.
14440 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14441 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14442 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14443 (__strncasecmp_l_ia32): Define as alias to
14444 __strncasecmp_l_nonascii.
14447 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14454 2012-02-29 Jeff Law <law@redhat.com>
14456 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14457 out of bounds read.
14459 2012-02-29 Marek Polacek <polacek@redhat.com>
14462 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14463 * elf/Makefile: Add rules to run tst-unused-dep.out.
14465 2012-02-28 David S. Miller <davem@davemloft.net>
14467 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14468 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14471 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14472 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14474 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14476 * math/libm-test.inc (llround_test): Move one test from
14477 lround_test. Use TEST_f_L in moved test.
14478 (lround_test): Move misplaced test to llround_test. Add testcase
14481 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14483 * sysdeps/x86_64/fpu/e_expf.S: New file.
14484 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14486 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14489 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14490 of remain_len that may cause incomplete multi-byte character and
14492 * posix/bug-regex33.c: New file.
14493 * posix/Makefile (tests): Add bug-regex33.
14495 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14497 * manual/macros.texi: New file.
14498 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14499 * manual/libc.texinfo: Include macros.texi.
14500 * manual/creatute.texi: Likewise.
14501 * manual/install.texi: Likewise.
14502 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14503 @glibcadj{} in references to the GNU C Library.
14504 * manual/charset.texi: Likewise.
14505 * manual/conf.texi: Likewise.
14506 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14507 when not using those macros.
14508 * manual/creature.texi: Likewise.
14509 * manual/crypt.texi: Likewise.
14510 * manual/errno.texi: Likewise.
14511 * manual/filesys.texi: Likewise.
14512 * manual/header.texi: Likewise.
14513 * manual/install.texi: Likewise.
14514 * manual/intro.texi: Likewise.
14515 * manual/io.texi: Likewise.
14516 * manual/job.texi: Likewise.
14517 * manual/lang.texi: Likewise.
14518 * manual/libc.texiinfo: Likewise.
14519 * manual/llio.texi: Likewise.
14520 * manual/locale.texi: Likewise.
14521 * manual/maint.texi: Likewise.
14522 * manual/math.texi: Likewise.
14523 * manual/memory.texi: Likewise.
14524 * manual/message.texi: Likewise.
14525 * manual/nss.texi: Likewise.
14526 * manual/pattern.texi: Likewise.
14527 * manual/process.texi: Likewise.
14528 * manual/resource.texi: Likewise.
14529 * manual/search.texi: Likewise.
14530 * manual/setjmp.texi: Likewise.
14531 * manual/signal.texi: Likewise.
14532 * manual/socket.texi: Likewise.
14533 * manual/startup.texi: Likewise.
14534 * manual/stdio.texi: Likewise.
14535 * manual/string.texi: Likewise.
14536 * manual/sysinfo.texi: Likewise.
14537 * manual/syslog.texi: Likewise.
14538 * manual/terminal.texi: Likewise.
14539 * manual/time.texi: Likewise.
14540 * manual/users.texi: Likewise.
14541 * INSTALL: Regenerated.
14542 * NOTES: Regenerated.
14543 * sysdeps/gnu/errlist.c: Regenerated.
14545 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14547 * include/dirent.h: Include <dirstream.h> before
14550 2012-02-28 David S. Miller <davem@davemloft.net>
14552 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14553 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14554 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14555 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14557 2012-02-27 David S. Miller <davem@davemloft.net>
14559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14561 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14562 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14565 frame pointer instead of stack pointer relative arg slot.
14566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14567 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14568 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14570 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14573 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14575 2012-02-27 David S. Miller <davem@davemloft.net>
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14581 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14582 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14583 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14584 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14586 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14588 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14589 later. Allow versions 5-9.
14590 * configure: Regenerated.
14591 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14592 required minimum version and 4.6 as recommended version. Do not
14593 mention bugs in GCC 2.7 and 2.8.
14594 * INSTALL: Regenerated.
14596 2012-02-27 David S. Miller <davem@davemloft.net>
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14602 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14603 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14604 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14605 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14608 manipulate bits before adding and subtracting TWO112[sx].
14609 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14611 2012-02-27 Roland McGrath <roland@hack.frob.com>
14614 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14615 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14616 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14617 being in POSIX, because they are in 1003.1-2008.
14619 * rt/tst-aio.c: Include <fcntl.h>.
14620 * rt/tst-aio7.c: Likewise.
14621 * rt/tst-aio64.c: Likewise.
14623 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14625 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14627 * manual/install.texi (--with-headers): Describe headers as
14628 interface headers, not private headers.
14629 (Specific advice for GNU/Linux systems): Describe use of headers
14630 from "make headers_install", not private headers from older
14632 * INSTALL: Regenerated.
14633 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14635 * sysdeps/unix/sysv/linux/configure: Regenerated.
14637 * manual/llio.texi (fclean): Remove documentation.
14639 * manual/Makefile (libc-texi-generated): New variable. Include
14641 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14642 $(libc-texi-generated), not duplicated list of files.
14643 (version.texi, stamp-version): New rules.
14644 (realclean): Remove $(libc-texi-generated), not individual files
14645 from that list. Do not remove dir-add.texinfo.
14646 * manual/libc.texinfo: Comment out uses of edition numbers and
14647 references to printed manual. Remove last-updated dates.
14648 (EDITION): Comment out.
14650 (VERSION, UPDATED): Remove.
14651 (version.texi): Include.
14653 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14655 * sysdeps/posix/spawni.c: Include <signal.h>.
14656 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14657 * sysdeps/pthread/aio_fsync.c: Likewise.
14659 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14661 * conform/Makefile (tests): Run only when not cross-compiling and
14662 when fast-check is not defined.
14664 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14665 * conform/data/limits.h-data: Fixes for POSIX2008.
14666 * conform/run-conformtest.sh: Run all tests.
14667 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14669 * include/bits/dlfcn.h: Likewise.
14670 * include/langinfo.h: Likewise.
14671 * include/monetary.h: Likewise.
14672 * include/sys/poll.h: Likewise.
14674 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14676 * posix/spawn.h: Define __need_sigset_t.
14677 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14678 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14679 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14680 to get sigevent_t only.
14681 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14682 only for __USE_GNU.
14683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14684 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14685 process_vm_writev only for __USE_GNU.
14686 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14688 * conform/Makefile: For now ignore errors from run-conformtest.
14689 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14690 POSIX to avoid namespace pollution. Don't prepend headers.
14691 * conform/data/aio.h-data: Fixes for POSIX testing.
14692 * conform/data/fcntl.h-data: Likewise.
14693 * conform/data/glob.h-data: Likewise.
14694 * conform/data/grp.h-data: Likewise.
14695 * conform/data/pthread.h-data: Likewise.
14696 * conform/data/pwd.h-data: Likewise.
14697 * conform/data/signal.h-data: Likewise.
14698 * conform/data/spawn.h-data: Likewise.
14699 * conform/data/stdio.h-data: Likewise.
14700 * conform/data/stdlib.h-data: Likewise.
14701 * conform/data/stropts.h-data: Likewise.
14702 * conform/data/sys/mman.h-data: Likewise.
14703 * conform/data/sys/stat.h-data: Likewise.
14704 * conform/data/sys/types.h-data: Likewise.
14705 * conform/data/sys/wait.h-data: Likewise.
14706 * conform/data/time.h-data: Likewise.
14707 * conform/data/unistd.h-data: Likewise.
14708 * conform/data/utime.h-data: Likewise.
14710 * io/sys/stat.h: fchmod was always in POSIX.
14711 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14712 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14713 * rt/aio.h: Define __need_timespec before including <time.h>.
14714 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14715 struct. Add forward declaration of pthread_attr_t and use it in
14717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14719 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14720 always remove CLK_TCK definition.
14722 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14724 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14726 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14728 * conform/run-conformtest.sh: New file.
14729 * conform/Makefile: Run run-conformtest for tests.
14730 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14733 * conform/data/uchar.h-data: New file.
14734 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14735 * conform/data/arpa/inet.h-data: Likewise.
14736 * conform/data/assert.h-data: Likewise.
14737 * conform/data/complex.h-data: Likewise.
14738 * conform/data/cpio.h-data: Likewise.
14739 * conform/data/ctype.h-data: Likewise.
14740 * conform/data/dirent.h-data: Likewise.
14741 * conform/data/dlfcn.h-data: Likewise.
14742 * conform/data/errno.h-data: Likewise.
14743 * conform/data/fcntl.h-data: Likewise.
14744 * conform/data/float.h-data: Likewise.
14745 * conform/data/fmtmsg.h-data: Likewise.
14746 * conform/data/fnmatch.h-data: Likewise.
14747 * conform/data/ftw.h-data: Likewise.
14748 * conform/data/glob.h-data: Likewise.
14749 * conform/data/grp.h-data: Likewise.
14750 * conform/data/iconv.h-data: Likewise.
14751 * conform/data/inttypes.h-data: Likewise.
14752 * conform/data/langinfo.h-data: Likewise.
14753 * conform/data/libgen.h-data: Likewise.
14754 * conform/data/limits.h-data: Likewise.
14755 * conform/data/locale.h-data: Likewise.
14756 * conform/data/math.h-data: Likewise.
14757 * conform/data/monetary.h-data: Likewise.
14758 * conform/data/mqueue.h-data: Likewise.
14759 * conform/data/ndbm.h-data: Likewise.
14760 * conform/data/net/if.h-data: Likewise.
14761 * conform/data/netdb.h-data: Likewise.
14762 * conform/data/netinet/in.h-data: Likewise.
14763 * conform/data/nl_types.h-data: Likewise.
14764 * conform/data/poll.h-data: Likewise.
14765 * conform/data/pthread.h-data: Likewise.
14766 * conform/data/pwd.h-data: Likewise.
14767 * conform/data/regex.h-data: Likewise.
14768 * conform/data/sched.h-data: Likewise.
14769 * conform/data/search.h-data: Likewise.
14770 * conform/data/semaphore.h-data: Likewise.
14771 * conform/data/setjmp.h-data: Likewise.
14772 * conform/data/signal.h-data: Likewise.
14773 * conform/data/spawn.h-data: Likewise.
14774 * conform/data/stdarg.h-data: Likewise.
14775 * conform/data/stdio.h-data: Likewise.
14776 * conform/data/stdlib.h-data: Likewise.
14777 * conform/data/string.h-data: Likewise.
14778 * conform/data/strings.h-data: Likewise.
14779 * conform/data/stropts.h-data: Likewise.
14780 * conform/data/sys/ipc.h-data: Likewise.
14781 * conform/data/sys/mman.h-data: Likewise.
14782 * conform/data/sys/msg.h-data: Likewise.
14783 * conform/data/sys/resource.h-data: Likewise.
14784 * conform/data/sys/select.h-data: Likewise.
14785 * conform/data/sys/sem.h-data: Likewise.
14786 * conform/data/sys/shm.h-data: Likewise.
14787 * conform/data/sys/socket.h-data: Likewise.
14788 * conform/data/sys/stat.h-data: Likewise.
14789 * conform/data/sys/statvfs.h-data: Likewise.
14790 * conform/data/sys/time.h-data: Likewise.
14791 * conform/data/sys/timeb.h-data: Likewise.
14792 * conform/data/sys/times.h-data: Likewise.
14793 * conform/data/sys/types.h-data: Likewise.
14794 * conform/data/sys/uio.h-data: Likewise.
14795 * conform/data/sys/un.h-data: Likewise.
14796 * conform/data/sys/utsname.h-data: Likewise.
14797 * conform/data/sys/wait.h-data: Likewise.
14798 * conform/data/syslog.h-data: Likewise.
14799 * conform/data/tar.h-data: Likewise.
14800 * conform/data/termios.h-data: Likewise.
14801 * conform/data/utime.h-data: Likewise.
14802 * conform/data/utmpx.h-data: Likewise.
14803 * conform/data/varargs.h-data: Likewise.
14804 * conform/data/wchar.h-data: Likewise.
14805 * conform/data/wctype.h-data: Likewise.
14806 * conform/data/wordexp.h-data: Likewise.
14808 * include/stropts.h: New file.
14809 * include/uchar.h: New file.
14810 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14811 * include/assert.h: Likewise.
14812 * include/ctype.h: Likewise.
14813 * include/dirent.h: Likewise.
14814 * include/dlfcn.h: Likewise.
14815 * include/fcntl.h: Likewise.
14816 * include/fnmatch.h: Likewise.
14817 * include/glob.h: Likewise.
14818 * include/grp.h: Likewise.
14819 * include/libio.h: Likewise.
14820 * include/locale.h: Likewise.
14821 * include/math.h: Likewise.
14822 * include/net/if.h: Likewise.
14823 * include/netdb.h: Likewise.
14824 * include/netinet/in.h: Likewise.
14825 * include/pthread.h: Likewise.
14826 * include/pwd.h: Likewise.
14827 * include/regex.h: Likewise.
14828 * include/sched.h: Likewise.
14829 * include/search.h: Likewise.
14830 * include/setjmp.h: Likewise.
14831 * include/signal.h: Likewise.
14832 * include/stdio.h: Likewise.
14833 * include/stdlib.h: Likewise.
14834 * include/string.h: Likewise.
14835 * include/sys/cdefs.h: Likewise.
14836 * include/sys/mman.h: Likewise.
14837 * include/sys/msg.h: Likewise.
14838 * include/sys/resource.h: Likewise.
14839 * include/sys/select.h: Likewise.
14840 * include/sys/socket.h: Likewise.
14841 * include/sys/stat.h: Likewise.
14842 * include/sys/statvfs.h: Likewise.
14843 * include/sys/time.h: Likewise.
14844 * include/sys/times.h: Likewise.
14845 * include/sys/uio.h: Likewise.
14846 * include/sys/utsname.h: Likewise.
14847 * include/sys/wait.h: Likewise.
14848 * include/termios.h: Likewise.
14849 * include/time.h: Likewise.
14850 * include/ulimit.h: Likewise.
14851 * include/unistd.h: Likewise.
14852 * include/utime.h: Likewise.
14853 * include/wchar.h: Likewise.
14854 * include/wctype.h: Likewise.
14855 * include/wordexp.h: Likewise.
14857 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14859 * time/time.h: TIME_UTC must be a macro.
14860 Make timespec_get available for ISO C11 only as well.
14862 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14864 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14865 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14867 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14869 * configure.in: Use -o not -a in test for unsupported multi-arch.
14871 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14873 * manual/texinfo.tex: Update to version 2012-01-19.16.
14875 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14877 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14879 2012-02-24 Roland McGrath <roland@hack.frob.com>
14882 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14883 * manual/fdl-1.3.texi: New file.
14884 * manual/fdl-1.1.texi: File removed.
14887 * manual/libc.texinfo (FDL_VERSION): New @set.
14888 Use it for mention of FDL in cover text.
14889 (Documentation License): Use it in @include file name.
14891 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14892 Roland McGrath <roland@hack.frob.com>
14895 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14896 not LONG_LONG_MAX and LONG_LONG_MIN.
14897 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14898 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14900 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14902 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14906 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14907 manipulate bits before adding and subtracting TWO23[sx].
14908 * math/libm-test.inc (nearbyint_test): Add more tests.
14910 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14913 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14914 bits before adding and subtracting TWO23[sx].
14915 * math/libm-test.inc (rint_test): Add more tests.
14916 (rint_test_tonearest): Likewise.
14917 (rint_test_towardzero): Likewise.
14918 (rint_test_downward): Likewise.
14919 (rint_test_upward: Likewise.
14921 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14924 * include/stdc-predef.h: New file. Extracted from features.h.
14925 * include/features.h: Include stdc-predef.h.
14926 * Makefile (headers): Add stdc-predef.h.
14927 * CONFORMANCE (Compiler limitations): Update.
14929 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14931 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14933 2012-02-21 David S. Miller <davem@davemloft.net>
14935 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14936 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14938 2012-02-20 David S. Miller <davem@davemloft.net>
14940 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14941 using a normal save/restore sequence, rather than allocating a
14942 dummy stack frame just to store a frame pointer and restore.
14943 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14945 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14947 * manual/install.texi: Fix stray word in line-wrapped comment.
14949 2012-02-20 David S. Miller <davem@davemloft.net>
14951 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14952 both binutils and gcc support GOTDATA.
14954 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14955 "rd %pc" in the PIC register setup sequences.
14957 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14958 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14959 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14960 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14961 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14963 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14966 (SYSCALL_ERROR_HANDLER): Likewise.
14967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14970 (SYSCALL_ERROR_HANDLER): Likewise.
14972 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14973 (HAVE_GCC_GOTDATA): New.
14974 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14975 relocation support in both binutils and gcc.
14976 * sysdeps/sparc/elf/configure: Regenerate.
14978 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14979 * sysdeps/sparc/sparc32/elf/configure: Delete.
14980 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14981 * sysdeps/sparc/sparc64/elf/configure: Delete.
14982 * sysdeps/sparc/elf/configure.in: New file.
14983 * sysdeps/sparc/elf/configure: Generate.
14985 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14986 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14987 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14988 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14989 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14991 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14993 * manual/install.texi: Do not mention specific glibc version
14995 * manual/libc.texinfo (VERSION, UPDATED): Update.
14996 (@copying): Use @copyright{} and range of years.
14998 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15001 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15002 [crti.S not in sysdirs] (generated): Do not append.
15003 [crti.S not in sysdirs] (omit-deps): Likewise.
15004 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15005 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15006 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15007 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15008 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15010 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15011 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15012 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15013 * csu/defs.awk: Remove file.
15014 * sysdeps/generic/initfini.c: Likewise.
15015 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15017 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15020 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15022 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15023 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15024 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15025 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15026 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15027 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15029 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15030 (__EPOLL_PACKED): Define to empty if not defined by
15032 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15036 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15038 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15039 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15040 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15041 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15043 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15047 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15049 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15051 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15052 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15056 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15058 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15059 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15061 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15063 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15064 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15066 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15068 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15071 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15073 * math/w_acos.c: Use non-signaling floating-point comparisons.
15074 * math/w_acosf.c: Likewise.
15075 * math/w_acosh.c: Likewise.
15076 * math/w_acoshf.c: Likewise.
15077 * math/w_acoshl.c: Likewise.
15078 * math/w_acosl.c: Likewise.
15079 * math/w_asin.c: Likewise.
15080 * math/w_asinf.c: Likewise.
15081 * math/w_asinl.c: Likewise.
15082 * math/w_atanh.c: Likewise.
15083 * math/w_atanhf.c: Likewise.
15084 * math/w_atanhl.c: Likewise.
15085 * math/w_exp2.c: Likewise.
15086 * math/w_exp2f.c: Likewise.
15087 * math/w_exp2l.c: Likewise.
15088 * math/w_j0.c: Likewise.
15089 * math/w_j0f.c: Likewise.
15090 * math/w_j0l.c: Likewise.
15091 * math/w_j1.c: Likewise.
15092 * math/w_j1f.c: Likewise.
15093 * math/w_j1l.c: Likewise.
15094 * math/w_jn.c: Likewise.
15095 * math/w_jnf.c: Likewise.
15096 * math/w_log.c: Likewise.
15097 * math/w_log10.c: Likewise.
15098 * math/w_log10f.c: Likewise.
15099 * math/w_log10l.c: Likewise.
15100 * math/w_log2.c: Likewise.
15101 * math/w_log2f.c: Likewise.
15102 * math/w_log2l.c: Likewise.
15103 * math/w_logf.c: Likewise.
15104 * math/w_logl.c: Likewise.
15105 * math/w_sqrt.c: Likewise.
15106 * math/w_sqrtf.c: Likewise.
15107 * math/w_sqrtl.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15109 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15110 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15111 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15114 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15117 * manual/string.texi (strnlen): Use correct parameter name in
15118 equivalent expression.
15120 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15123 * manual/users.texi (seteuid): Consistently use neweuid for
15126 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15129 * manual/nss.texi (Services in the NSS configuration): Correct
15130 list of services in example configuration file.
15132 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15135 * manual/arith.texi: Remove statements about negative zero
15136 behaving identically to zero.
15138 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15141 * manual/install.texi: Do not document upgrading from libc5.
15143 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15146 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15148 2012-02-18 David S. Miller <davem@davemloft.net>
15150 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15151 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15152 %o7 across the call.
15153 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15156 SETUP_PIC_REG_LEAF.
15157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15158 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15159 * sysdeps/sparc/crtn.S: Likewise.
15161 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15163 * aout/Makefile: Remove.
15165 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15168 * manual/examples/argp-ex1.c (main): Format definition in GNU
15170 * manual/examples/argp-ex2.c (main): Likewise.
15171 * manual/examples/argp-ex3.c (main): Likewise.
15172 * manual/examples/argp-ex4.c (main): Likewise.
15173 * manual/examples/longopt.c (main): Use new-style prototype
15175 * manual/examples/strncat.c (main): Specify return type and use
15176 (void) for arguments.
15177 * manual/examples/subopt.c (main): Use char **argv argument.
15179 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15182 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15185 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15188 * manual/string.texi (strchr): Change when strchrnul is
15191 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15194 * manual/locale.texi (setlocale): Document LOCPATH.
15196 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15199 * manual/process.texi (execle): Move @dots{} before last argument.
15201 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15204 * manual/charset.texi (Generic Charset Conversion): Fix typo
15205 (LC_TYPE -> LC_CTYPE).
15207 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15210 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15211 (scalbnf): Likewise.
15212 (scalbnl): Likewise.
15213 (scalbln): Likewise.
15214 (scalblnf): Likewise.
15215 (scalblnl): Likewise.
15216 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15217 (vwarnx): Likewise.
15220 * manual/filesys.texi (telldir): Use braces around return type.
15221 * manual/llio.texi (mmap): Add space after comma.
15222 (mmap64): Likewise.
15223 * manual/math.texi (jn): Use @var{} on parameter names.
15229 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15231 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15233 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15234 (sched_get_priority_max): Likewise.
15235 * manual/signal.texi (sigvec): Add space after comma.
15236 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15238 (if_indextoname): Likewise.
15239 (if_freenameindex): Likewise.
15240 (sendto): Use ',' instead of '.' in prototype.
15241 * manual/startup.texi (syscall): Use @dots{} instead of literal
15243 * manual/stdio.texi (__fpending): Separate initial words of
15244 paragraph from @deftypefun line.
15245 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15247 (vsyslog): Use @var{} on parameter names.
15248 * manual/terminal.texi (stty): Use @var{} on parameter names.
15249 * manual/users.texi (getutmp): Use @var{} on parameter names.
15250 (getutmpx): Likewise.
15252 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15255 * manual/stdio.texi (fopen): Fix typos in description of
15258 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15261 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15262 get clock_id definition.
15264 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15267 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15268 (madvise): Cast every argument to void on its own.
15270 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15273 * manual/startup.texi (Exit Status): Fix typo.
15275 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15278 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15279 * manual/examples/argp-ex2.c: Likewise.
15280 * manual/examples/argp-ex3.c: Likewise.
15282 2012-02-16 Richard Henderson <rth@redhat.com>
15284 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15285 * sysdeps/s390/s390-32/initfini.c: Remove.
15286 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15287 * sysdeps/s390/s390-64/initfini.c: Remove.
15289 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15291 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15292 compiler output for sysdeps/generic/initfini.c.
15293 * sysdeps/sh/elf/initfini.c: Remove file.
15295 2012-02-16 David S. Miller <davem@davemloft.net>
15298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15300 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15301 * sysdeps/sparc/crti.S: New file.
15302 * sysdeps/sparc/crtn.S: New file.
15303 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15304 * sysdeps/sparc/sparc64/Makefile: Likewise.
15306 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15309 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15311 2012-02-15 Roland McGrath <roland@hack.frob.com>
15314 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15316 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15317 (write, read, close): Likewise.
15318 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15320 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15322 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15323 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15324 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15325 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15327 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15331 2012-02-14 Marek Polacek <polacek@redhat.com>
15333 * sysdeps/x86_64/crti.S: New file.
15334 * sysdeps/x86_64/crtn.S: New file.
15335 * sysdeps/x86_64/elf/initfini.c: Remove file.
15337 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15339 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15340 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15341 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15342 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15344 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15348 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15350 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15351 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15352 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15353 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15355 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15359 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15361 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15362 __feraiseexcept instead of feraiseexcept.
15364 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15365 nanosleep invocations.
15366 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15367 strings, and add error checking for a nanosleep invocations.
15369 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15371 Replace FSF snail mail address with URLs, as per GNU coding standards.
15372 Most of the snail mail addresses were wrong anyway, and omitting
15373 them makes the source code easier to maintain. Almost all of the
15374 changes are to license notices and to locale LC_IDENTIFICATION
15375 addresses, except for this one:
15376 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15377 not its snail mail address.
15379 2012-02-09 Richard Henderson <rth@twiddle.net>
15381 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15382 of kernel-features.h.
15384 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15386 2012-02-08 Marek Polacek <polacek@redhat.com>
15388 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15389 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15390 * sysdeps/gnu/_G_config.h: Likewise.
15391 * sysdeps/generic/_G_config.h: Likewise.
15393 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15395 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15399 * sysdeps/powerpc/powerpc32/crti.S: New file.
15400 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15401 * sysdeps/powerpc/powerpc64/crti.S: New file.
15402 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15404 * Makeconfig (have-initfini): Don't set.
15405 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15406 * configure.in (nopic_initfini): Don't substitute.
15407 * config.h.in (HAVE_INITFINI): Don't #undef.
15408 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15409 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15411 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15413 Support crti.S and crtn.S provided directly by architectures.
15414 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15415 [crti.S in sysdirs] (omit-deps): Likewise.
15416 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15417 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15418 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15419 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15420 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15421 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15422 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15423 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15424 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15425 compiler output for sysdeps/generic/initfini.c.
15426 * sysdeps/i386/elf/Makefile: Remove file.
15427 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15429 2012-02-07 Marek Polacek <polacek@redhat.com>
15431 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15432 * sysdeps/gnu/_G_config.h: Likewise.
15433 * sysdeps/mach/hurd/_G_config.h: Likewise.
15435 2012-02-07 Marek Polacek <polacek@redhat.com>
15437 * math/Makefile (tests): Add tst-CMPLX2.
15438 * math/tst-CMPLX2.c: New file.
15440 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15442 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15444 * math/libm-test.inc (jn_test): Add missing L suffix.
15446 2012-02-06 Marek Polacek <polacek@redhat.com>
15448 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15449 * sysdeps/i386/fpu/e_powf.S: Likewise.
15450 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15451 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15452 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15453 * sysdeps/i386/fpu/e_pow.S: Likewise.
15454 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15456 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15457 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15458 * sysdeps/i386/fpu/e_log2.S: Likewise.
15459 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15461 * sysdeps/i386/fpu/e_powl.S: Likewise.
15462 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15463 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15464 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15465 * sysdeps/i386/fpu/e_logl.S: Likewise.
15466 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15467 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15468 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15469 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15470 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15472 * sysdeps/i386/fpu/e_log.S: Likewise.
15473 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15474 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15475 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15476 * sysdeps/i386/fpu/e_logf.S: Likewise.
15477 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15479 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15480 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15481 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15482 * sysdeps/i386/fpu/e_log10.S: Likewise.
15483 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15485 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15486 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15487 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15488 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15489 * sysdeps/i386/asm-syntax.h: Likewise.
15490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15491 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15493 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15494 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15496 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15497 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15498 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15499 * sysdeps/powerpc/sysdep.h: Likewise.
15500 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15501 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15503 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15506 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15508 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15510 * sysdeps/i386/sysdep.h: Include <features.h>.
15511 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15514 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15516 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15518 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15521 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15523 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15524 (SETUP_PIC_REG): Use GET_PC_THUNK.
15525 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15528 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15530 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15531 for non-PIC compilation.
15532 (SETUP_PIC_REG): Add .p2align directive.
15533 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15534 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15536 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15537 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15538 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15539 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15541 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15542 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15543 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15544 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15545 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15546 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15547 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15548 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15549 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15550 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15551 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15552 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15553 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15554 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15555 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15556 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15559 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15561 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15563 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15565 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15566 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15567 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15569 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15570 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15575 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15577 * math/tst-CMPLX.c: Include <stdio.h>.
15579 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15581 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15583 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15584 * sysdeps/sparc/bits/mathdef.h: Likewise.
15586 2012-01-31 Marek Polacek <polacek@redhat.com>
15588 * libio/libio.h: Don't define _PARAMS.
15589 * locale/programs/config.h: Don't define PARAMS.
15590 * stdlib/strtol_l.c: Likewise.
15591 (__strtol_l): Remove PARAMS from the prototype.
15593 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15595 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15596 names. Just use the correct names. Remove unnecessary wrapper
15598 * malloc/arena.c: Likewise.
15599 * malloc/hooks.c: Likewise.
15601 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15602 ARENA_TEST says not to. Simplify test for creation of a new arena.
15603 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15605 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15607 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15609 (update_get_addr): New function.
15610 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15611 GET_ADDR_MODULE parameter.
15613 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15615 * crypt/cert.c: Remove __STDC__ conditionals.
15616 * crypt/crypt-entry.c: Likewise.
15617 * crypt/crypt_util.c: Likewise.
15618 * libio/filedoalloc.c: Likewise.
15619 * libio/fileops.c: Likewise.
15620 * libio/genops.c: Likewise.
15621 * libio/iofclose.c: Likewise.
15622 * libio/iofdopen.c: Likewise.
15623 * libio/iofopen.c: Likewise.
15624 * libio/iofopen64.c: Likewise.
15625 * libio/iogetdelim.c: Likewise.
15626 * libio/iopopen.c: Likewise.
15627 * libio/obprintf.c: Likewise.
15628 * libio/oldfileops.c: Likewise.
15629 * libio/oldiofclose.c: Likewise.
15630 * libio/oldiofdopen.c: Likewise.
15631 * libio/oldiofopen.c: Likewise.
15632 * libio/oldiopopen.c: Likewise.
15633 * libio/wfiledoalloc.c: Likewise.
15634 * libio/wgenops.c: Likewise.
15635 * locale/programs/xmalloc.c: Likewise.
15636 * misc/syslog.c: Likewise.
15637 * stdio-common/xbug.c: Likewise.
15638 * string/memchr.c: Likewise.
15639 * string/memcmp.c: Likewise.
15640 * string/memrchr.c: Likewise.
15641 * string/rawmemchr.c: Likewise.
15642 * sysdeps/posix/getcwd.c: Likewise.
15643 * time/strftime_l.c: Likewise.
15645 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15647 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15648 * config.make.in (config-cflags-sse2avx): Define.
15649 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15652 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15654 * scripts/config.guess: Update from upstream config git repository.
15655 * scripts/config.sub: Likewise.
15657 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15659 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15661 (R_TILEPRO_*, R_TILEGX_*): New macros.
15663 * scripts/firstversions.awk: Fix bug in version range handling.
15665 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15667 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15669 * include/sys/epoll.h: New file.
15670 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15673 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15675 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15676 Avoid unnecessary __WORDSIZE == 64 test.
15677 (fmaxf): Use VEX format if possible.
15682 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15683 * math/math_private.h: Remove libc_fegetround* and
15685 * sysdeps/i386/configure.in: Check for -msse2avx.
15686 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15687 also if SSE2AVX is defined.
15688 Remove libc_fegetround* and libc_fesetround*.
15689 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15690 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15693 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15694 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15695 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15696 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15699 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15701 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15703 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15707 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15710 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15712 * Makeconfig (libm): Define.
15713 * elf/Makefile: Add rules to build and run tst-relsort1.
15714 * elf/tst-relsort1.c: New file.
15715 * elf/tst-relsort1mod1.c: New file.
15716 * elf/tst-relsort1mod2.c: New file.
15718 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15720 * math/s_ldexp.c: Remove __STDC__ conditionals.
15721 * math/s_ldexpf.c: Likewise.
15722 * math/s_ldexpl.c: Likewise.
15723 * math/s_nextafter.c: Likewise.
15724 * math/s_nexttowardf.c: Likewise.
15725 * math/s_significand.c: Likewise.
15726 * math/s_significandf.c: Likewise.
15727 * math/s_significandl.c: Likewise.
15728 * math/w_jnl.c: Likewise.
15729 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15730 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15731 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15732 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15733 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15742 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15743 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15748 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15749 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15750 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15751 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15753 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15754 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15757 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15758 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15759 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15760 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15761 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15762 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15763 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15764 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15765 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15766 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15767 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15768 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15769 * sysdeps/ieee754/k_standard.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15831 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15834 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15835 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15836 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15845 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15849 * sysdeps/ieee754/s_matherr.c: Likewise.
15850 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15851 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15855 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15857 * crypt/md5.h: Remove __STDC__ conditionals.
15858 * libio/libioP.h: Likewise.
15859 * locale/programs/config.h: Likewise.
15860 * sysdeps/generic/sysdep.h: Likewise.
15861 * sysdeps/i386/asm-syntax.h: Likewise.
15862 * sysdeps/s390/asm-syntax.h: Likewise.
15863 * sysdeps/unix/sysdep.h: Likewise.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15867 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15869 * libio/libio.h: Remove __STDC__ conditionals.
15870 * malloc/obstack.h: Likewise.
15871 * math/complex.h: Likewise.
15872 * math/math.h: Likewise.
15873 * sysdeps/generic/_G_config.h: Likewise.
15874 * sysdeps/gnu/_G_config.h: Likewise.
15875 * sysdeps/mach/hurd/_G_config.h: Likewise.
15876 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15877 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15878 * sysdeps/sparc/bits/mathdef.h: Likewise.
15880 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15883 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15884 Clean up HAS_* macros.
15885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15886 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15888 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15890 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15891 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15896 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15898 * elf/tst-unique3.cc (gets): Remove declaration.
15899 * elf/tst-unique3lib.cc (gets): Likewise.
15900 * elf/tst-unique3lib2.cc (gets): Likewise.
15901 * elf/tst-unique4.cc (gets): Likewise.
15903 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15905 * include/stdio.h: Add C++ protection. Add gets declarations and
15907 * debug/tst-chk1.c: Don't declare gets here.
15908 * stdio-common/tst-gets.c: Likewise.
15910 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15912 * posix/glob: Remove directory.
15914 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15916 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15918 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15920 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15921 of the non-standard EPFNOSUPPORT.
15923 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15925 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15926 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15927 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15929 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15931 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15933 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15935 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15937 * nscd/grpcache.c (cache_addgr): Likewise.
15938 * nscd/hstcache.c (cache_addhst): Likewise.
15939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15940 * nscd/pwdcache.c (cache_addpw): Likewise.
15941 * nscd/servicescache.c (cache_addserv): Likewise.
15943 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15945 * malloc/malloc.c: Various cleanups.
15946 * malloc/hooks.c: Likewise.
15948 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15949 * stdlib/bug-fmtmsg1.c: New file.
15951 * stdlib/fmtmsg.c (init): Add missing unlock.
15952 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15954 2012-01-12 Marek Polacek <polacek@redhat.com>
15956 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15959 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15961 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15962 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15963 macro to ensure uniqueness of label name.
15964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15967 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15969 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15971 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15972 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15973 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15976 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15978 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15980 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15981 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15984 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15986 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15987 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15988 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15991 * math/bits/math-finite.h: Add ldexp support.
15993 2012-01-10 Marek Polacek <polacek@redhat.com>
15995 * locale/programs/localedef.h (show_archive_content): Add noreturn
15998 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16000 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16002 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16004 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16006 * io/Makefile (headers): Add bits/poll2.h.
16008 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16011 typo #include statement.
16013 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16015 * include/sys/cdefs.h: Define __attribute_alloc_size.
16016 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16017 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16018 * elf/pldd.c: Likewise.
16019 * iconv/iconv_charmap.c: Likewise.
16020 * iconv/iconvconfig.c: Likewise.
16021 * iconv/strtab.c: Likewise.
16022 * locale/programs/locale.c: Likewise.
16023 * locale/programs/localedef.h: Likewise.
16024 * locale/programs/simple-hash.c: Likewise.
16025 * nscd/nscd.h: Likewise.
16026 * nss/makedb.c: Likewise.
16027 * sysdeps/generic/ldconfig.h: Likewise.
16028 * locale/programs/localedef.c: Remove xmalloc prototype.
16029 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16031 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16033 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16036 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16038 * math/Makefile (tests): Add tst-CMPLX.
16039 * math/tst-CMPLX.c: New file.
16041 * math/complex.h (CMPLXL): Fix typo.
16043 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16044 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16046 * debug/tst-chk1.c: Add poll and ppoll tests.
16047 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16048 * include/sys/poll.h: Add hidden proto for ppoll.
16049 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16050 * sysdeps/mach/hurd/ppoll.c: Likewise.
16051 * io/ppoll.c: Likewise.
16052 * debug/poll_chk.c: New file.
16053 * debug/ppoll_chk.c: New file.
16054 * include/bits/poll2.h: New file.
16055 * io/bits/poll2.h: New file.
16058 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16060 * configure.in: static is always set to yes. Remove.
16061 * config.make.in: Don't set build-static.
16062 * Makeconfig: Remove use of build-static.
16063 * dlfcn/Makefile: Likewise.
16064 * elf/Makefile: Likewise.
16065 * math/Makefile: Likewise.
16066 * misc/Makefile: Likewise.
16067 * nptl/Makefile: Likewise.
16068 * sysdeps/mach/hurd/Makefile: Likewise.
16070 * configure.in: PWD_P is not used anymore.
16071 * config.make.in: Remove PWD_P entry.
16073 * configure.in: Remove last remnants of RANLIB.
16074 No need to check for signed size_t anymore.
16075 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16077 Remove __builtin_expect test because we require at least gcc 3.4.
16078 * aclocal.m4: Likewise.
16080 * wcsmbs/mbrtoc16.c: Implement using towc function.
16081 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16082 * wcsmbs/wcsmbsload.c: Likewise.
16083 * iconv/gconv_simple.c: Likewise.
16084 * iconv/gconv_int.h: Likewise.
16085 * iconv/gconv_builtin.h: Likewise.
16086 * iconv/iconv_prog.c: Remove CHAR16 handling.
16088 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16090 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16092 * configure.in: Remove --with-elf and --enable-bounded options.
16093 Dont set base_machine for ia64. More non-ELF conditions removed.
16094 Remove testing and setting of leading underscore information.
16095 * config.make.in (build-bounded): Set to no.
16096 * config.h.in: Remove NO_UNDERSCORES entry.
16097 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16099 * csu/start.c: Remove !NO_UNDERSCORE code.
16100 * locale/localeinfo.h: Likewise.
16101 * sysdeps/generic/machine-gmon.h: Likewise.
16102 * sysdeps/generic/sysdep.h: Likewise.
16103 * sysdeps/i386/sysdep.h: Likewise.
16104 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16105 * sysdeps/mach/sysdep.h: Likewise.
16106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16107 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16108 * sysdeps/sh/sysdep.h: Likewise.
16109 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16110 * sysdeps/unix/i386/sysdep.S: Likewise.
16111 * sysdeps/unix/sparc/start.c: Likewise.
16112 * sysdeps/unix/sparc/sysdep.S: Likewise.
16113 * sysdeps/unix/sparc/sysdep.h: Likewise.
16114 * sysdeps/unix/start.c: Likewise.
16115 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16116 * sysdeps/x86_64/sysdep.h: Likewise.
16118 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16121 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16123 * argp/argp-fmtstream.h: Use const instead __const.
16124 * argp/argp.h: Likewise.
16125 * assert/assert.h: Likewise.
16126 * bits/fenv.h: Likewise.
16127 * bits/sched.h: Likewise.
16128 * bits/sigset.h: Likewise.
16129 * bits/sigthread.h: Likewise.
16130 * catgets/nl_types.h: Likewise.
16131 * conform/data/pthread.h-data: Likewise.
16132 * crypt/crypt-private.h: Likewise.
16133 * crypt/crypt.h: Likewise.
16134 * crypt/crypt_util.c: Likewise.
16135 * ctype/ctype.h: Likewise.
16136 * debug/execinfo.h: Likewise.
16137 * debug/mbsnrtowcs_chk.c: Likewise.
16138 * debug/mbsrtowcs_chk.c: Likewise.
16139 * debug/wcsnrtombs_chk.c: Likewise.
16140 * debug/wcsrtombs_chk.c: Likewise.
16141 * debug/wcstombs_chk.c: Likewise.
16142 * dirent/dirent.h: Likewise.
16143 * dlfcn/dlfcn.h: Likewise.
16144 * elf/neededtest4.c: Likewise.
16145 * grp/grp.h: Likewise.
16146 * gshadow/gshadow.h: Likewise.
16147 * iconv/gconv.h: Likewise.
16148 * iconv/gconv_int.h: Likewise.
16149 * iconv/gconv_simple.c: Likewise.
16150 * iconv/iconv.h: Likewise.
16151 * iconv/loop.c: Likewise.
16152 * iconv/skeleton.c: Likewise.
16153 * include/aio.h: Likewise.
16154 * include/aliases.h: Likewise.
16155 * include/argz.h: Likewise.
16156 * include/arpa/inet.h: Likewise.
16157 * include/assert.h: Likewise.
16158 * include/dirent.h: Likewise.
16159 * include/dlfcn.h: Likewise.
16160 * include/execinfo.h: Likewise.
16161 * include/fcntl.h: Likewise.
16162 * include/fenv.h: Likewise.
16163 * include/glob.h: Likewise.
16164 * include/grp.h: Likewise.
16165 * include/libintl.h: Likewise.
16166 * include/mntent.h: Likewise.
16167 * include/netdb.h: Likewise.
16168 * include/pwd.h: Likewise.
16169 * include/rpc/netdb.h: Likewise.
16170 * include/sched.h: Likewise.
16171 * include/search.h: Likewise.
16172 * include/shadow.h: Likewise.
16173 * include/signal.h: Likewise.
16174 * include/stdio.h: Likewise.
16175 * include/stdlib.h: Likewise.
16176 * include/string.h: Likewise.
16177 * include/sys/socket.h: Likewise.
16178 * include/sys/stat.h: Likewise.
16179 * include/sys/statfs.h: Likewise.
16180 * include/sys/statvfs.h: Likewise.
16181 * include/sys/syslog.h: Likewise.
16182 * include/sys/time.h: Likewise.
16183 * include/sys/uio.h: Likewise.
16184 * include/time.h: Likewise.
16185 * include/unistd.h: Likewise.
16186 * include/utmp.h: Likewise.
16187 * include/wchar.h: Likewise.
16188 * include/wctype.h: Likewise.
16189 * inet/aliases.h: Likewise.
16190 * inet/arpa/inet.h: Likewise.
16191 * inet/netinet/ether.h: Likewise.
16192 * inet/netinet/in.h: Likewise.
16193 * intl/libintl.h: Likewise.
16194 * io/bits/fcntl2.h: Likewise.
16195 * io/fcntl.h: Likewise.
16196 * io/ftw.h: Likewise.
16197 * io/sys/poll.h: Likewise.
16198 * io/sys/stat.h: Likewise.
16199 * io/sys/statfs.h: Likewise.
16200 * io/sys/statvfs.h: Likewise.
16201 * io/utime.h: Likewise.
16202 * libio/bits/stdio.h: Likewise.
16203 * libio/bits/stdio2.h: Likewise.
16204 * libio/libio.h: Likewise.
16205 * libio/libioP.h: Likewise.
16206 * libio/stdio.h: Likewise.
16207 * locale/lc-ctype.c: Likewise.
16208 * locale/locale.h: Likewise.
16209 * login/utmp.h: Likewise.
16210 * malloc/arena.c: Likewise.
16211 * malloc/malloc.c: Likewise.
16212 * malloc/malloc.h: Likewise.
16213 * malloc/mcheck.c: Likewise.
16214 * malloc/mtrace.c: Likewise.
16215 * math/bits/mathcalls.h: Likewise.
16216 * math/fenv.h: Likewise.
16217 * math/math_private.h: Likewise.
16218 * misc/bits/error.h: Likewise.
16219 * misc/bits/syslog.h: Likewise.
16220 * misc/err.h: Likewise.
16221 * misc/error.h: Likewise.
16222 * misc/fstab.h: Likewise.
16223 * misc/mntent.h: Likewise.
16224 * misc/regexp.h: Likewise.
16225 * misc/search.h: Likewise.
16226 * misc/sgtty.h: Likewise.
16227 * misc/sys/mman.h: Likewise.
16228 * misc/sys/syslog.h: Likewise.
16229 * misc/sys/uio.h: Likewise.
16230 * misc/sys/xattr.h: Likewise.
16231 * misc/ttyent.h: Likewise.
16232 * nis/rpcsvc/ypclnt.h: Likewise.
16233 * nss/nss.h: Likewise.
16234 * posix/bits/unistd.h: Likewise.
16235 * posix/fnmatch.h: Likewise.
16236 * posix/glob.h: Likewise.
16237 * posix/sched.h: Likewise.
16238 * posix/spawn.h: Likewise.
16239 * posix/sys/wait.h: Likewise.
16240 * posix/unistd.h: Likewise.
16241 * posix/wordexp.h: Likewise.
16242 * pwd/pwd.h: Likewise.
16243 * resolv/netdb.h: Likewise.
16244 * resource/sys/resource.h: Likewise.
16245 * rt/aio.h: Likewise.
16246 * rt/bits/mqueue2.h: Likewise.
16247 * rt/mqueue.h: Likewise.
16248 * shadow/shadow.h: Likewise.
16249 * signal/signal.h: Likewise.
16250 * socket/send.c: Likewise.
16251 * socket/sendto.c: Likewise.
16252 * socket/sys/socket.h: Likewise.
16253 * stdio-common/printf.h: Likewise.
16254 * stdlib/bits/stdlib.h: Likewise.
16255 * stdlib/fmtmsg.h: Likewise.
16256 * stdlib/monetary.h: Likewise.
16257 * stdlib/stdlib.h: Likewise.
16258 * stdlib/ucontext.h: Likewise.
16259 * streams/stropts.h: Likewise.
16260 * string/argz.h: Likewise.
16261 * string/bits/string2.h: Likewise.
16262 * string/string.h: Likewise.
16263 * string/strings.h: Likewise.
16264 * sunrpc/rpc/auth.h: Likewise.
16265 * sunrpc/rpc/auth_des.h: Likewise.
16266 * sunrpc/rpc/clnt.h: Likewise.
16267 * sunrpc/rpc/netdb.h: Likewise.
16268 * sunrpc/rpc/pmap_clnt.h: Likewise.
16269 * sunrpc/rpc/xdr.h: Likewise.
16270 * sysdeps/generic/inttypes.h: Likewise.
16271 * sysdeps/generic/net/if.h: Likewise.
16272 * sysdeps/generic/sys/swap.h: Likewise.
16273 * sysdeps/gnu/net/if.h: Likewise.
16274 * sysdeps/gnu/utmpx.h: Likewise.
16275 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16276 * sysdeps/i386/i486/bits/string.h: Likewise.
16277 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16278 * sysdeps/s390/bits/string.h: Likewise.
16279 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16280 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16281 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16282 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16283 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16284 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16285 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16286 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16287 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16288 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16289 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16290 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16291 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16292 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16293 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16294 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16295 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16298 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16299 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16300 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16301 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16302 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16303 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16304 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16306 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16307 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16309 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16310 * sysvipc/sys/ipc.h: Likewise.
16311 * sysvipc/sys/msg.h: Likewise.
16312 * sysvipc/sys/sem.h: Likewise.
16313 * sysvipc/sys/shm.h: Likewise.
16314 * termios/termios.h: Likewise.
16315 * time/sys/time.h: Likewise.
16316 * time/time.h: Likewise.
16317 * wcsmbs/bits/wchar2.h: Likewise.
16318 * wcsmbs/uchar.h: Likewise.
16319 * wcsmbs/wchar.h: Likewise.
16320 * wctype/wctype.h: Likewise.
16323 * Makeconfig: Remove all but ELF support including AIX support.
16324 * Makerules: Likewise.
16325 * config.h.in: Likewise.
16326 * config.make.in: Likewise.
16327 * configure: Likewise.
16328 * configure.in: Likewise.
16329 * csu/Makefile: Likewise.
16330 * csu/version.c: Likewise.
16331 * debug/Makefile: Likewise.
16332 * dlfcn/Makefile: Likewise.
16333 * elf/Makefile: Likewise.
16334 * extra-lib.mk: Likewise.
16335 * iconv/Makefile: Likewise.
16336 * include/libc-symbols.h: Likewise.
16337 * include/shlib-compat.h: Likewise.
16338 * resolv/Makefile: Likewise.
16339 * resolv/res_libc.c: Likewise.
16340 * rt/Makefile: Likewise.
16341 * sysdeps/i386/asm-syntax.h: Likewise.
16342 * sysdeps/i386/sysdep.h: Likewise.
16343 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16344 * sysdeps/mach/sysdep.h: Likewise.
16345 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16346 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16347 * sysdeps/s390/asm-syntax.h: Likewise.
16348 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16350 * sysdeps/sh/sysdep.h: Likewise.
16351 * sysdeps/unix/sparc/sysdep.h: Likewise.
16352 * sysdeps/wordsize-32/divdi3.c: Likewise.
16353 * sysdeps/x86_64/sysdep.h: Likewise.
16355 * argp/Versions: Remove _argp_unlock_xxx.
16358 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16359 * abilist/libBrokenLocale.abilist: Likewise.
16360 * abilist/libanl.abilist: Likewise.
16361 * abilist/libc.abilist: Likewise.
16362 * abilist/libcrypt.abilist: Likewise.
16363 * abilist/libdl.abilist: Likewise.
16364 * abilist/libm.abilist: Likewise.
16365 * abilist/libnsl.abilist: Likewise.
16366 * abilist/libpthread.abilist: Likewise.
16367 * abilist/libresolv.abilist: Likewise.
16368 * abilist/librt.abilist: Likewise.
16369 * abilist/libthread_db.abilist: Likewise.
16370 * abilist/libutil.abilist: Likewise.
16371 * abilist/libnss_db.abilist: New file.
16373 * scripts/abilist.awk: Add support for indirect functions.
16375 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16377 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16379 * shlib-versions: Remove entries for ports architectures.
16381 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16383 * elf/stackguard-macros.h: Remove support for IA-64.
16384 * elf/tst-auditmod1.c: Likewise.
16385 * sysdeps/generic/ldsodefs.h: Likewise.
16387 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16388 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16392 * configure.in: Remove --enable-omitfp support.
16394 * config.make.in: Likewise.
16395 * Makeconfig: Likewise.
16396 * manual/install.texi: Likewise.
16398 In case anyone cares, the IA-64 architecture could move to ports.
16399 * sysdeps/ia64/*: Removed.
16400 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16401 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16404 * configure.in: Remove entries for unsupported architectures.
16407 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16408 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16410 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16411 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16412 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16413 fall back to using wcrtomb.
16414 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16415 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16417 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16418 * wcsmbs/tst-c16c32-1.c: New file.
16420 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16423 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16425 * elf/tst-unique3.cc: Add explicit declaration of gets.
16426 * elf/tst-unique3lib.cc: Likewise.
16427 * elf/tst-unique3lib2.cc: Likewise.
16428 * elf/tst-unique4.cc: Likewise.
16430 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16432 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16435 * assert/assert.h (static_assert): Don't define for C++.
16436 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16437 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16439 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16441 * iconv/loop.c (single loop): Fix assertion in storing of
16444 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16446 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16448 * posix/getconf.c: Update copyright year.
16449 * nss/getent.c: Likewise.
16450 * nss/makedb.c: Likewise.
16451 * iconv/iconvconfig.c: Likewise.
16452 * iconv/iconv_prog.c: Likewise.
16453 * elf/ldconfig.c: Likewise.
16454 * elf/pldd.c: Likewise.
16455 * elf/sotruss.ksh: Likewise.
16456 * catgets/gencat.c: Likewise.
16457 * csu/version.c: Likewise.
16458 * elf/ldd.bash.in: Likewise.
16459 * elf/sprof.c (print_version): Likewise.
16460 * locale/programs/locale.c: Likewise.
16461 * locale/programs/localedef.c: Likewise.
16462 * login/programs/pt_chown.c: Likewise.
16463 * nscd/nscd.c (print_version): Likewise.
16464 * debug/xtrace.sh: Likewise.
16465 * malloc/memusage.sh: Likewise.
16466 * malloc/mtrace.pl: Likewise.
16467 * debug/catchsegv.sh: Likewise.
16469 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16471 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16474 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16477 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16478 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16480 * iconv/gconv_int.h: Likewise.
16481 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16482 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16483 from libc for GLIBC_2.16.
16484 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16485 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16486 * wcsmbs/uchar.h: Really define mbstate_t.
16487 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16488 * wcsmbs/c16rtomb.c: New file.
16489 * wcsmbs/mbrtoc16.c: New file.
16490 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16491 for C/POSIX locale.
16492 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16493 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16495 * wcsmbs/wchar.h: Add missing __restrict.
16497 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16500 * time/Makefile (routines): Add timespec_get.
16501 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16502 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16503 timespec for ISO C11.
16504 * time/timespec_get.c: New file.
16505 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16506 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16509 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16510 * stdlib/stdlib.h: Declare aligned_alloc.
16511 * Versions.def: Add GLIBC_2.16 for libc.
16512 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16515 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16518 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16522 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16525 * assert/assert.h (static_assert): Define.
16527 * version.h: Update for 2.16 development version.
16530 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16533 * version.h (RELEASE): Bump for 2.15 release.
16534 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16536 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16537 Patch by Marek Polacek <mpolacek@redhat.com>.
16539 * bits/byteswap.h: Protect long long constants with __extension__.
16540 * sysdeps/i386/bits/byteswap.h: Likewise.
16541 * sysdeps/ia64/bits/byteswap.h: Likewise.
16542 * sysdeps/s390/bits/byteswap.h: Likewise.
16543 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16545 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16549 destination buffer.
16550 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16552 2011-12-23 Marek Polacek <polacek@redhat.com>
16554 * elf/dl-addr.c (determine_info): Add inline keyword.
16555 * elf/tst-auditmod4b.c (check_avx): Likewise.
16556 * elf/tst-auditmod6b.c (check_avx): Likewise.
16557 * elf/tst-auditmod6c.c (check_avx): Likewise.
16558 * elf/tst-auditmod7b.c (check_avx): Likewise.
16560 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16562 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16565 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16568 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16569 processing for last bytes.
16571 2011-08-06 Bruno Haible <bruno@clisp.org>
16574 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16575 U+0385, not to U+1FEE.
16578 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16579 entry for U+00A5 U+0301.
16581 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16584 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16585 buffer for the output is too small.
16587 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16591 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16592 SSE flags if possible.
16594 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16598 processing for last bytes.
16600 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16603 (syscall-list-default-options, syscall-list-default-condition)
16604 (syscall-list-includes): Define.
16605 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16606 list of ABIs and options and #if conditions for each ABI. Do not
16607 handle common syscalls between ABIs specially.
16608 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16610 (syscall-list-variants, syscall-list-32bit-options)
16611 (syscall-list-32bit-condition, syscall-list-64bit-options)
16612 (syscall-list-64bit-condition): Define.
16613 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16614 (syscall-list-variants, syscall-list-32bit-options)
16615 (syscall-list-32bit-condition, syscall-list-64bit-options)
16616 (syscall-list-64bit-condition): Define.
16617 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16619 (syscall-list-variants, syscall-list-32bit-options)
16620 (syscall-list-32bit-condition, syscall-list-64bit-options)
16621 (syscall-list-64bit-condition): Define.
16622 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16624 (syscall-list-variants, syscall-list-32bit-options)
16625 (syscall-list-32bit-condition, syscall-list-64bit-options)
16626 (syscall-list-64bit-condition): Define.
16628 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16630 * locale/iso-639.def: Add brx entry.
16633 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16634 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16636 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16637 __feraiseexcept_renamed.
16639 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16642 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16643 EPOLLET with unsigned values.
16644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16645 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16647 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16648 to large cancellation.
16649 * math/s_cacoshf.c: Likewise.
16650 * math/s_cacoshl.c: Likewise.
16652 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16656 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16657 * math/s_cacoshf.c: Likewise.
16658 * math/s_cacoshl.c: Likewise.
16660 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16663 * iconv/gconv.h: Define __GCONV_SWAP.
16664 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16665 * iconvdata/utf-16.c: Likewise.
16666 * iconvdata/utf-32.c: Likewise.
16668 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16672 numerator after shifting it by one limb.
16674 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16676 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16677 under [__USE_EXTERN_INLINES].
16679 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16682 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16684 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16686 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16687 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16689 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16690 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16691 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16692 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16693 for strncasecmp/strncasecmp_l compilation.
16694 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16695 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16697 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16700 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16703 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16706 * time/tzfile.c (__tzfile_read): Check values from file header.
16708 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16710 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16711 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16712 * powerpc/powerpc32/dl-start.S: Likewise.
16713 * powerpc/powerpc32/elf/start.S: Likewise.
16714 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16715 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16716 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16717 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16718 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16719 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16720 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16721 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16722 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16723 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16724 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16725 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16726 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16727 * powerpc/powerpc32/memset.S: Likewise.
16728 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16729 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16730 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16731 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16732 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16733 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16734 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16735 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16736 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16737 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16738 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16739 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16740 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16742 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16744 * math/libm-test.inc: Added more nearbyint tests.
16745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16750 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16752 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16755 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16757 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16758 Add wcscpy-ssse3 wcscpy-c.
16759 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16760 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16761 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16762 * sysdeps/x86_64/wcschr.S: New file.
16763 * sysdeps/x86_64/wcsrchr.S: New file.
16764 * string/test-strcmp.c: Remove checking of wcscmp function for
16766 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16767 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16768 wcsrchr-sse2 wcsrchr-c.
16769 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16770 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16771 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16772 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16773 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16774 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16775 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16776 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16777 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16778 * wcsmbc/wcschr.c (WCSCHR): New macro.
16780 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16782 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16783 * wcsmbs/test-wcsrchr.c: New file.
16784 * string/test-strrchr.c: Add wcsrchr support.
16786 * wcsmbs/test-wcscpy.c: New file.
16787 * string/test-strcpy.c: Add wcscpy support.
16790 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16795 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16798 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16800 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16802 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16803 Minor optimizations.
16805 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16806 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16807 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16809 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16811 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16812 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16813 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16814 for gcc to avoid warnings.
16815 * inet/Makefile (tests): Add tst-checks.
16816 * inet/tst-checks.c: New file.
16818 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16821 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16824 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16825 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16827 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16829 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16831 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16834 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16836 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16838 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16839 conditional on GCC version.
16840 (__arch_compare_and_exchange_val_8_acq)
16841 (__arch_compare_and_exchange_val_16_acq)
16842 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16843 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16844 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16846 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16848 * sysdeps/sh/backtrace.c: New file.
16850 2011-12-02 Andreas Schwab <schwab@redhat.com>
16852 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16855 2011-12-01 Andreas Schwab <schwab@redhat.com>
16857 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16858 falling back to utime.
16860 2011-11-30 Andreas Schwab <schwab@redhat.com>
16862 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16863 expectations for float.
16865 2011-11-29 Andreas Schwab <schwab@redhat.com>
16867 * locale/weight.h (findidx): Add parameter len.
16868 * locale/weightwc.h (findidx): Likewise.
16869 * posix/fnmatch_loop.c (FCT): Adjust caller.
16870 * posix/regcomp.c (build_equiv_class): Likewise.
16871 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16872 * posix/regexec.c (check_node_accept_bytes): Likewise.
16873 * string/strcoll_l.c (STRCOLL): Likewise.
16874 * string/strxfrm_l.c (STRXFRM): Likewise.
16876 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16878 * Makefile.in: Remove CVSOPT handling.
16879 * configure.in: Remove use of AC_REVISION.
16880 * iconvdata/Makefile (distribute): No need to filter out CVS.
16881 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16884 2011-11-16 Andreas Schwab <schwab@redhat.com>
16886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16887 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16888 [USE_AS_STRNCASECMP_L]: Likewise.
16889 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16890 NO_TLS_DIRECT_SEG_REFS.
16891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16892 Fix argument offsets for non-PIC.
16893 [USE_AS_STRNCASECMP_L]: Likewise.
16894 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16895 NO_TLS_DIRECT_SEG_REFS.
16897 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16899 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16901 * locale/loadlocale.c (_nl_load_locale): Likewise.
16903 2011-11-15 Andreas Schwab <schwab@redhat.com>
16905 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16906 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16908 (SYSCALL_GETTIME): Set errno on error.
16910 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16911 count references to noai6ai_cached.
16913 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16915 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16917 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16918 FD_CLOEXEC for /proc/self/maps.
16920 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16921 FD_CLOEXEC for /proc/meminfo.
16923 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16926 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16927 FD_CLOEXEC for given file.
16929 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16931 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16932 FD_CLOEXEC for /etc/hosts.
16933 (_gethtent): Likewise.
16935 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16937 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16938 cancellation and set FD_CLOEXEC for /etc/netgroup.
16940 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16941 reading /etc/publickey.
16943 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16944 allow cancellation when reading /etc/group.
16946 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16948 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16950 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16951 when using data file.
16953 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16955 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16956 (write_nis_obj): Use "c" and "e" in fopen.
16958 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16960 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16962 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16964 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16966 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16969 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16971 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16973 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16975 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16976 file parsing and set FD_CLOEXEC.
16978 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16980 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16982 2011-11-14 Andreas Schwab <schwab@redhat.com>
16984 * malloc/arena.c (arena_get2): Don't call reused_arena when
16985 _int_new_arena failed.
16987 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16989 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16990 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16992 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16993 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16995 to compile strcasecmp and strncasecmp.
16996 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16997 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17001 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17003 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17004 locale-defines.sym to gen-as-const-headers.
17005 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17006 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17008 to compile strcasecmp and strncasecmp.
17009 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17010 strcasecmp_l and strncasecmp_l.
17011 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17012 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17013 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17014 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17015 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17016 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17017 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17018 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17019 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17020 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17021 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17023 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17025 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17026 result of SYSDEP_GETTIME_CPU to retval.
17027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17028 parameter list to macro. Remove trailing semicolon. Adjust users.
17030 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17033 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17035 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17037 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17038 from unused variable.
17040 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17042 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17045 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17048 * sunrpc/rpc_prot.c (rejected): Fix case value.
17050 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17051 unsigned long long int to avoid warnings in shift.
17053 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17055 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17058 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17059 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17062 * nis/nis_table.c (nis_list): Use variable of correct type for
17063 result of __follow_path call.
17065 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17067 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17068 of math functions ceil, trunc, floor, round, and sqrt, when
17069 avaliable on the platform.
17070 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17072 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17073 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17074 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17076 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17078 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17079 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17081 2011-11-11 Roland McGrath <roland@hack.frob.com>
17083 * include/unistd.h: Fix __readlink return type.
17084 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17086 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17088 * stdlib/ucontext.h: Undo last change for makecontext.
17090 2011-11-11 Andreas Schwab <schwab@redhat.com>
17092 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17094 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17095 * setjmp/setjmp.h: Mark functions as non-leaf.
17096 * setjmp/bits/setjmp2.h: Likewise.
17097 * stdlib/ucontext.h: Likewise.
17099 2011-11-10 Andreas Schwab <schwab@redhat.com>
17101 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17102 (reused_arena): Don't check arena limit.
17103 (arena_get2): Atomically check arena limit.
17105 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17107 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17108 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17113 2011-11-07 Andreas Schwab <schwab@redhat.com>
17115 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17116 handler when locking.
17118 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17119 Fix size of allocated buffer.
17121 2011-11-04 Andreas Schwab <schwab@redhat.com>
17124 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17125 declarations for long double functions.
17126 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17128 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17130 2011-11-03 Andreas Schwab <schwab@redhat.com>
17132 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17135 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17138 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17140 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17142 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17144 * include/alloca.h (stackinfo_alloca_round): Define.
17145 (extend_alloca): Use it.
17146 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17147 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17150 * scripts/check-local-headers.sh: Ignore libaudit.h.
17152 * nscd/Makefile (extra-objs): Make recursively expanded.
17154 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17156 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17157 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17159 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17160 * posix/tst-rfc3484-2.c: Likewise.
17161 * posix/tst-rfc3484-3.c: Likewise.
17163 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17165 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17167 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17168 process_vm_writev from libc using GLIBC_2.15 version.
17170 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17172 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17174 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17177 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17180 * nss/getent.c (initgroups_keys): Show error message in case no group
17183 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17184 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17185 __bump_nl_timestamp.
17186 * nscd/connections (nscd_init): When host database is served open
17187 netlink socket and request notification about configuration changes.
17188 (main_loop_poll): Track netlink file descriptor and bump timestamp
17189 in case data becomes available.
17190 (main_loop_epoll): Likewise.
17191 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17192 (database_pers_head): Add extra_data fileds.
17193 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17194 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17195 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17197 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17198 in6ai data, call __free_in6ai.
17199 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17200 Add -DHAVE_NETLINK.
17201 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17202 interface information. Reuse previous data if netlink timestamp
17204 (__bump_nl_timestamp): New function.
17205 (__free_in6ai): New function.
17207 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17210 close_not_cancel_no_status here.
17211 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17213 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17216 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17219 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17220 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17221 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17223 2011-07-03 Andreas Jaeger <aj@suse.de>
17226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17227 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17228 * math/libm-test.inc (sin_test): Add test case.
17230 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17233 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17234 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17236 * elf/chroot_canon.c (chroot_canon): Cleanups.
17238 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17241 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17242 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17244 * string/test-strchr.c: Make usable for strchrnul testing.
17245 * string/test-strchrnul.c: New file.
17246 * string/Makefile (strop-tests): Add strchrnul.
17248 * po/it.po: Update from translation team.
17249 * po/es.po: Likewise.
17251 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17253 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17254 the three constants needed as parameters. Drop the others.
17255 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17256 __m128i_strloadu_tolower.
17257 Create and initialize variable zero and use it in all the places
17258 where _mm_setzero_si128 was used.
17260 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17261 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17262 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17263 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17265 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17266 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17267 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17268 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17269 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17270 __mpranred, __mptan.
17271 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17272 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17273 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17274 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17275 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17276 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17277 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17278 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17279 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17281 2011-10-28 Andreas Schwab <schwab@redhat.com>
17283 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17284 redefine if SHARED.
17285 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17288 wide char related routines to wcsmbs subdir.
17290 2011-10-27 Andreas Schwab <schwab@redhat.com>
17293 * misc/sys/cdefs.h (__THROWNL): Define.
17294 * posix/unistd.h: Use __THREADNL instead of __THREAD
17295 for memory synchronization functions.
17297 2011-10-26 Roland McGrath <roland@hack.frob.com>
17300 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17302 * manual/stdio.texi (Obstack Streams): Node removed.
17304 2011-10-26 Andreas Schwab <schwab@redhat.com>
17306 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17307 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17308 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17310 * math/math_private.h (math_force_eval): Allow non-addressable
17312 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17314 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17316 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17317 file is not needed.
17319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17320 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17323 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17324 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17326 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17328 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17329 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17330 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17331 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17332 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17333 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17334 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17335 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17336 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17337 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17338 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17339 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17340 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17341 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17342 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17343 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17344 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17345 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17346 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17348 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17349 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17352 place. Use VEX encoding when compiling for AVX.
17354 2011-10-25 Andreas Schwab <schwab@redhat.com>
17356 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17357 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17359 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17361 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17363 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17364 useless if() expression.
17365 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17375 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17376 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17377 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17378 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17379 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17380 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17383 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17385 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17387 2011-10-25 Andreas Schwab <schwab@redhat.com>
17389 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17393 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17395 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17396 .text section. Avoid duplicate constants.
17397 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17407 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17409 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17412 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17414 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17420 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17421 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17422 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17423 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17424 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17426 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17427 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17428 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17429 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17430 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17431 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17432 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17433 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17434 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17435 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17436 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17437 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17438 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17439 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17440 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17441 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17443 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17445 * sysdeps/x86_64/dla.h: Move to ...
17446 * sysdeps/x86_64/fpu/dla.h: ...here.
17447 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17448 situations. Use __builtin_fma only for gcc 4.6 and up.
17450 * config.make.in: Add have-mfma4 entry.
17451 * configure.in: Substitute libc_cv_cc_fma4.
17452 * math/Makefile (dbl-only-routines): Add sincostab.
17453 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17454 Use __sincostab not sincos.
17455 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17462 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17463 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17464 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17465 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17468 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17470 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17471 define aliases when function name is a macro.
17472 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17473 sysdeps/ieee754/dbl-64/sincos.tbl.
17474 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17475 fma4-enabled routines.
17476 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17477 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17478 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17479 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17480 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17481 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17485 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17486 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17487 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17488 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17491 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17492 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17493 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17494 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17495 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17496 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17497 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17499 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17501 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17502 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17503 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17504 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17505 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17507 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17518 2011-10-24 Andreas Schwab <schwab@redhat.com>
17520 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17522 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17524 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17526 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17528 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17530 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17531 Remove unused variable magic_bits.
17532 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17534 * string/strnlen.c: Define and use STRNLEN macro.
17535 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17536 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17537 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17538 * wcsmbs/wcslen.c: Define and use WCSLEN.
17539 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17540 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17541 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17542 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17543 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17544 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17545 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17547 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17550 strnlen-sse2-no-bsf.
17551 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17553 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17554 Add strnlen support.
17555 (USE_AS_STRNLEN): New macro.
17556 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17557 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17558 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17559 * sysdeps/x86_64/wcslen.S: New file.
17561 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17564 XMM-moves are used for copying on small sizes.
17566 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17568 * wcsmbs/Makefile (strop-tests): Add wcschr.
17569 * wcsmbs/test-wcschr.c: New file.
17570 * string/test-strchr.c: Update.
17571 Add wcschr support.
17574 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17576 * wcsmbs/Makefile (strop-tests): Add wcslen.
17577 * wcsmbs/test-wcslen.c: New file.
17578 * string/test-strlen.c: Update.
17579 Add wcslen support.
17582 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17584 * po/it.po: Update from translation team.
17586 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17588 * sysdeps/x86_64/wcscmp.S: Update.
17589 Fix wrong comparison semantics.
17590 wcscmp shall use signed comparison not unsigned.
17591 Don't use substraction to avoid overflow bug.
17592 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17593 * wcsmbc/wcscmp.c: Likewise.
17594 * string/test-strcmp.c: Likewise.
17595 Add new tests to check cases with negative values.
17597 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17599 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17600 * sysdeps/x86_64/dla.h: ...here. New file.
17601 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17606 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17608 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17611 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17614 __ynl_finite aliases.
17616 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17620 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17622 [DLA_FMA] (EMULV): Use DLA_FMA.
17623 [DLA_FMA] (MUL12): Use EMULV.
17624 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17625 that are not needed.
17626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17634 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17636 * math/s_nan.c: Undef __nan.
17637 * math/s_nanf.c: Undef __nanf.
17638 * math/s_nanl.c: Undef __nanl.
17639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17642 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17644 * math/s_catan.c: Add branch predictions.
17645 * math/s_catanf.c: Likewise.
17646 * math/s_catanh.c: Likewise.
17647 * math/s_catanhf.c: Likewise.
17648 * math/s_catanhl.c: Likewise.
17649 * math/s_catanl.c: Likewise.
17650 * math/s_cexp.c: Likewise.
17651 * math/s_cexpf.c: Likewise.
17652 * math/s_cexpl.c: Likewise.
17653 * math/s_clog.c: Likewise.
17654 * math/s_clog10.c: Likewise.
17655 * math/s_clog10f.c: Likewise.
17656 * math/s_clog10l.c: Likewise.
17657 * math/s_clogf.c: Likewise.
17658 * math/s_clogl.c: Likewise.
17659 * math/s_csqrt.c: Likewise.
17660 * math/s_csqrtf.c: Likewise.
17661 * math/s_csqrtl.c: Likewise.
17662 * math/s_ctanf.c: Likewise.
17663 * math/s_ctanh.c: Likewise.
17664 * math/s_ctanhf.c: Likewise.
17665 * math/s_ctanhl.c: Likewise.
17666 * math/s_ctanl.c: Likewise.
17668 * math/math_private.h: Define __nan, __nanf, __nanl.
17669 * math/s_cacosh.c: Include <math_private.h>.
17670 * math/s_cacoshl.c: Likewise.
17671 * math/s_casinh.c: Likewise.
17672 * math/s_casinhf.c: Likewise.
17673 * math/s_casinhl.c: Likewise.
17674 * math/s_ccos.c: Rely entire on ccosh.
17675 * math/s_ccosf.c: Rely entire on ccoshf.
17676 * math/s_ccosl.c: Rely entirely on ccoshl.
17677 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17678 Remove tests for FE_INVALID.
17679 * math/s_ccoshf.c: Likewise.
17680 * math/s_ccoshl.c: Likewise.
17681 * math/s_csin.c: Likewise.
17682 * math/s_csinf.c: Likewise.
17683 * math/s_csinh.c Likewise.
17684 * math/s_csinhf.c: Likewise.
17685 * math/s_csinhl.c: Likewise.
17686 * math/s_csinl.c: Likewise.
17687 * math/s_ctan.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17689 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17692 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17695 compilation problems.
17697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17700 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17702 * sysdeps/i386/configure.in: Test for -mfma4 option.
17703 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17704 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17705 COMMON_CPUID_INDEX_80000001.
17706 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17707 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17708 use it if FMA3 is not supported.
17709 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17711 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17712 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17714 2011-10-20 Andreas Schwab <schwab@redhat.com>
17717 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17718 it would create a cycle with a link time dependency.
17720 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17722 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17724 * string/Makefile (strop-tests): Add rawmemchr.
17725 * string/test-rawmemchr.c: New file.
17727 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17729 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17730 when compiling str{,n}casecmp and when AVX is available. Hook up
17731 new optimized code in initializers.
17733 2011-10-19 Andreas Schwab <schwab@redhat.com>
17735 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17736 __feraiseexcept instead of feraiseexcept.
17738 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17740 * math/math_private.h: Define defaults for libc_fetestexcept and
17742 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17743 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17744 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17745 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17746 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17747 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17748 libc_fetestexcept and libc_feupdateenv.
17750 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17751 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17752 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17753 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17754 libc_feholdexcept_setround.
17756 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17757 Add s_nearbyint-c and s_nearbyintf-c.
17758 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17759 nearbyintf inlines.
17760 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17761 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17763 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17765 * math/math_private.h: Define defaults for libc_fegetround,
17766 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17767 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17768 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17770 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17771 standard functions.
17772 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17773 Remove comments and hacks for old compiler versions.
17774 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17775 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17776 libc_feholdexceptl.
17778 2011-10-18 Andreas Schwab <schwab@redhat.com>
17780 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17781 (__feraiseexcept_renamed): Add __NTH.
17782 (feraiseexcept): Add __NTH. Rename local variables to fix
17783 namespace violations.
17785 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17787 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17789 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17791 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17792 recently added interfaces.
17793 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17795 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17796 about macro parameter expansion.
17798 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17799 __NO_MATH_INLINES is defined. Cleanups.
17801 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17802 and __floorf is target has SSE4.1.
17803 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17804 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17805 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17806 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17808 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17810 (floorf): Likewise.
17812 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17814 2011-10-17 Andreas Schwab <schwab@redhat.com>
17816 * misc/sys/cdefs.h: Fix last change.
17818 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17821 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17823 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17825 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17831 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17833 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17834 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17835 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17836 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17837 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17838 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17839 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17840 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17841 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17842 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17843 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17844 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17845 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17846 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17848 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17849 ceil, ceilf, floor, floorf.
17851 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17852 Perform IRELATIVE relocations last.
17854 * elf/do-rel.h: Add another parameter nrelative, replacing the
17855 local variable with the same name. Change name of the function
17856 to end in Rel or Rela (uppercase).
17857 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17858 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17859 elf_dynamic_do_##reloc function.
17861 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17863 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17864 is sufficient, at least on modern CPUs.
17866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17868 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17869 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17871 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17873 * math/bits/math-finite.h: Add entries for exp.
17874 * math/e_expl.c: Add __*_finite alias.
17875 * sysdeps/i386/fpu/e_exp.S: Likewise.
17876 * sysdeps/i386/fpu/e_expf.S: Likewise.
17877 * sysdeps/i386/fpu/e_expl.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17879 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17883 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17884 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17886 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17887 is sufficient, at least on modern CPUs.
17889 * ctype/ctype-info.c (__ctype_init): Define.
17890 * include/ctype.h (__ctype_init): Declare.
17891 (__ctype_b_loc): The variable is always initialized.
17892 (__ctype_toupper_loc): Likewise.
17893 (__ctype_tolower_loc): Likewise.
17894 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17895 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17897 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17899 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17901 * configure.in: Also look in $cxxmachine/include for C++ system
17904 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17906 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17907 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17908 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17909 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17910 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17911 (USE_AS_WMEMCMP): New macro.
17913 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17914 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17915 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17916 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17918 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17919 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17920 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17921 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17922 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17923 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17924 (USE_AS_WMEMCMP): New macro.
17925 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17926 * sysdeps/string/test-memcmp.c: Update.
17927 Fix simple_wmemcmp.
17929 * wcsmbs/wmemcmp.c: Update.
17930 (WMEMCMP): New macro.
17933 2011-10-12 Andreas Jaeger <aj@suse.de>
17936 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17938 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17940 * libio/iofwide.c (do_length): Avoid warning.
17942 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17944 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17946 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17948 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17949 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17950 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17951 * sysdeps/i386/i686/fpu/e_log.S: New file.
17952 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17953 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17955 * ctype/ctype.h: Add support for inlined isXXX functions when
17956 compiling C++ code.
17958 2011-10-14 Andreas Schwab <schwab@redhat.com>
17960 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17964 2011-10-13 Roland McGrath <roland@hack.frob.com>
17967 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17969 2011-10-13 Andreas Schwab <schwab@redhat.com>
17971 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17972 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17975 * sysdeps/x86_64/memrchr.S: Check for zero size.
17977 * string/stratcliff.c: Add memrchr tests.
17979 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17982 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17983 rawmemchr-sse2 rawmemchr-sse2-bsf.
17984 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17985 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17986 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17987 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17988 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17989 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17990 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17991 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17992 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17993 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17994 * string/memrchr.c (MEMRCHR): New macro.
17996 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17998 Add integration with gcc's -ffinite-math-only and optimize wrapper
18000 * Versions.def: Define GLIBC_2.15 version for libm.
18001 * math/Makefile (headers): Add bits/math-finite.h.
18002 * math/bits/math-finite.h: New file.
18003 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18004 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18005 * math/e_acoshl.c: Add __*_finite alias.
18006 * math/e_acosl.c: Likewise.
18007 * math/e_asinl.c: Likewise.
18008 * math/e_atan2l.c: Likewise.
18009 * math/e_atanhl.c: Likewise.
18010 * math/e_coshl.c: Likewise.
18011 * math/e_exp10.c: Likewise.
18012 * math/e_exp10f.c: Likewise.
18013 * math/e_exp10l.c: Likewise.
18014 * math/e_exp2l.c: Likewise.
18015 * math/e_fmodl.c: Likewise.
18016 * math/e_gammal_r.c: Likewise.
18017 * math/e_hypotl.c: Likewise.
18018 * math/e_j0l.c: Likewise.
18019 * math/e_j1l.c: Likewise.
18020 * math/e_jnl.c: Likewise.
18021 * math/e_lgammal_r.c: Likewise.
18022 * math/e_log10l.c: Likewise.
18023 * math/e_log2l.c: Likewise.
18024 * math/e_logl.c: Likewise.
18025 * math/e_powl.c: Likewise.
18026 * math/e_sinhl.c: Likewise.
18027 * math/e_sqrtl.c: Likewise.
18028 * math/e_scalb.c: Completely rewritten and optimized.
18029 * math/e_scalbf.c: Likewise.
18030 * math/e_scalbl.c: Likewise.
18031 * math/w_acos.c: Likewise.
18032 * math/w_acosf.c: Likewise.
18033 * math/w_acosl.c: Likewise.
18034 * math/w_acosh.c: Likewise.
18035 * math/w_acoshf.c: Likewise.
18036 * math/w_acoshl.c: Likewise.
18037 * math/w_asin.c: Likewise.
18038 * math/w_asinf.c: Likewise.
18039 * math/w_asinl.c: Likewise.
18040 * math/w_atan2.c: Likewise.
18041 * math/w_atan2f.c: Likewise.
18042 * math/w_atan2l.c: Likewise.
18043 * math/w_atanh.c: Likewise.
18044 * math/w_atanhf.c: Likewise.
18045 * math/w_atanhl.c: Likewise.
18046 * math/w_exp10.c: Likewise.
18047 * math/w_exp10f.c: Likewise.
18048 * math/w_exp10l.c: Likewise.
18049 * math/w_fmod.c: Likewise.
18050 * math/w_fmodf.c: Likewise.
18051 * math/w_fmodl.c: Likewise.
18052 * math/w_j0.c: Likewise.
18053 * math/w_j0f.c: Likewise.
18054 * math/w_j0l.c: Likewise.
18055 * math/w_j1.c: Likewise.
18056 * math/w_j1f.c: Likewise.
18057 * math/w_j1l.c: Likewise.
18058 * math/w_jn.c: Likewise.
18059 * math/w_jnf.c: Likewise.
18060 * math/w_log.c: Likewise.
18061 * math/w_logf.c: Likewise.
18062 * math/w_logl.c: Likewise.
18063 * math/w_log10.c: Likewise.
18064 * math/w_log10f.c: Likewise.
18065 * math/w_log10l.c: Likewise.
18066 * math/w_log2.c: Likewise.
18067 * math/w_log2f.c: Likewise.
18068 * math/w_log2l.c: Likewise.
18069 * math/w_pow.c: Likewise.
18070 * math/w_powf.c: Likewise.
18071 * math/w_powl.c: Likewise.
18072 * math/w_remainder.c: Likewise.
18073 * math/w_remainderf.c: Likewise.
18074 * math/w_remainderl.c: Likewise.
18075 * math/w_scalb.c: Likewise.
18076 * math/w_scalbf.c: Likewise.
18077 * math/w_scalbl.c: Likewise.
18078 * math/w_sqrt.c: Likewise.
18079 * math/w_sqrtf.c: Likewise.
18080 * math/w_sqrtl.c: Likewise.
18081 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18082 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18084 * math/math_private.h: Declare __kernel_standard_f.
18085 * math/w_cosh.c: Remove cruft and optimize a bit.
18086 * math/w_coshf.c: Likewise.
18087 * math/w_coshl.c: Likewise.
18088 * math/w_exp2.c: Likewise.
18089 * math/w_exp2f.c: Likewise.
18090 * math/w_exp2l.c: Likewise.
18091 * math/w_hypot.c: Likewise.
18092 * math/w_hypotf.c: Likewise.
18093 * math/w_hypotl.c: Likewise.
18094 * math/w_lgamma.c: Likewise.
18095 * math/w_lgamma_r.c: Likewise.
18096 * math/w_lgammaf.c: Likewise.
18097 * math/w_lgammaf_r.c: Likewise.
18098 * math/w_lgammal.c: Likewise.
18099 * math/w_lgammal_r.c: Likewise.
18100 * math/w_sinh.c: Likewise.
18101 * math/w_sinhf.c: Likewise.
18102 * math/w_sinhl.c: Likewise.
18103 * math/w_tgamma.c: Likewise.
18104 * math/w_tgammaf.c: Likewise.
18105 * math/w_tgammal.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18108 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18109 Minor optimizations. Pretty printing. Remove cruft.
18110 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18111 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18113 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18114 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18115 * sysdeps/i386/fpu/e_asin.S: Likewise.
18116 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18117 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18118 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18119 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18120 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18121 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18122 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18123 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18124 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18125 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18126 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18127 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18128 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18129 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18130 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18131 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18132 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18133 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18134 * sysdeps/i386/fpu/e_log.S: Likewise.
18135 * sysdeps/i386/fpu/e_log10.S: Likewise.
18136 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18137 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18138 * sysdeps/i386/fpu/e_log2.S: Likewise.
18139 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18140 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18141 * sysdeps/i386/fpu/e_logf.S: Likewise.
18142 * sysdeps/i386/fpu/e_logl.S: Likewise.
18143 * sysdeps/i386/fpu/e_pow.S: Likewise.
18144 * sysdeps/i386/fpu/e_powf.S: Likewise.
18145 * sysdeps/i386/fpu/e_powl.S: Likewise.
18146 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18147 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18148 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18149 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18150 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18151 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18152 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18153 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18154 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18160 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18176 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18177 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18178 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18179 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18180 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18181 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18182 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18183 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18184 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18185 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18186 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18188 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18189 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18190 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18191 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18192 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18193 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18194 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18195 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18196 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18246 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18248 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18249 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18250 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18251 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18252 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18253 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18254 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18255 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18256 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18257 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18258 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18259 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18260 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18261 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18262 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18263 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18264 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18265 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18266 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18267 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18268 (__isnanf): Likewise.
18269 (__isinf_ns): Likewise.
18270 (__isinf_nsf): Likewise.
18271 (__finite): Likewise.
18272 (__finitef): Likewise.
18273 (__ieee754_sqrt): Define as macro.
18274 (__ieee754_sqrtf): Define as macro.
18275 (__ieee754_sqrtl): Define as macro.
18276 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18278 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18279 __FINITE_MATH_ONLY__ consistent.
18280 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18282 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18284 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18287 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18289 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18291 * po/ja.po: Update from translation team.
18293 2011-10-08 Roland McGrath <roland@hack.frob.com>
18295 * locale/programs/locarchive.c (prepare_address_space): New function.
18296 (create_archive, enlarge_archive, open_archive): Use it.
18298 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18299 inside [SHARED], where it is used.
18301 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18303 * nss/getent.c (netgroup_keys): Remove unused variable.
18304 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18306 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18308 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18309 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18311 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18312 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18313 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18314 * math/Makefile (libm-calls): Add s_isinf_ns.
18315 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18316 * math/multc3.c: Likewise.
18317 * math/s_casin.c: Likewise.
18318 * math/s_casinf.c: Likewise.
18319 * math/s_casinl.c: Likewise.
18320 * math/s_ccos.c: Likewise.
18321 * math/s_ccosf.c: Likewise.
18322 * math/s_ccosl.c: Likewise.
18323 * math/s_ctan.c: Likewise.
18324 * math/s_ctanf.c: Likewise.
18325 * math/s_ctanh.c: Likewise.
18326 * math/s_ctanhf.c: Likewise.
18327 * math/s_ctanhl.c: Likewise.
18328 * math/s_ctanl.c: Likewise.
18329 * math/w_fmod.c: Likewise.
18330 * math/w_fmodf.c: Likewise.
18331 * math/w_fmodl.c: Likewise.
18332 * math/w_remainder.c: Likewise.
18333 * math/w_remainderf.c: Likewise.
18334 * math/w_remainderl.c: Likewise.
18335 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18336 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18337 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18339 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18340 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18341 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18342 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18344 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18346 * stdio-common/printf_fphex.c: Likewise.
18347 * stdio-common/printf_size.c: Likewise.
18349 * math/e_exp10.c: Include math_private.h using <...> not "...".
18350 * math/e_exp10f.c: Likewise.
18351 * math/e_exp10l.c: Likewise.
18352 * math/e_exp2l.c: Likewise.
18353 * math/e_j0l.c: Likewise.
18354 * math/e_j1l.c: Likewise.
18355 * math/e_jnl.c: Likewise.
18356 * math/e_lgammal_r.c: Likewise.
18357 * math/e_rem_pio2l.c: Likewise.
18358 * math/e_scalb.c: Likewise.
18359 * math/e_scalbf.c: Likewise.
18360 * math/e_scalbl.c: Likewise.
18361 * math/k_cosl.c: Likewise.
18362 * math/k_sinl.c: Likewise.
18363 * math/k_tanl.c: Likewise.
18364 * math/s_cacoshf.c: Likewise.
18365 * math/s_catan.c: Likewise.
18366 * math/s_catanf.c: Likewise.
18367 * math/s_catanh.c: Likewise.
18368 * math/s_catanhf.c: Likewise.
18369 * math/s_catanhl.c: Likewise.
18370 * math/s_catanl.c: Likewise.
18371 * math/s_ccosh.c: Likewise.
18372 * math/s_ccoshf.c: Likewise.
18373 * math/s_ccoshl.c: Likewise.
18374 * math/s_cexp.c: Likewise.
18375 * math/s_cexpf.c: Likewise.
18376 * math/s_cexpl.c: Likewise.
18377 * math/s_clog.c: Likewise.
18378 * math/s_clog10.c: Likewise.
18379 * math/s_clog10f.c: Likewise.
18380 * math/s_clog10l.c: Likewise.
18381 * math/s_clogf.c: Likewise.
18382 * math/s_clogl.c: Likewise.
18383 * math/s_csin.c: Likewise.
18384 * math/s_csinf.c: Likewise.
18385 * math/s_csinh.c: Likewise.
18386 * math/s_csinhf.c: Likewise.
18387 * math/s_csinhl.c: Likewise.
18388 * math/s_csinl.c: Likewise.
18389 * math/s_csqrt.c: Likewise.
18390 * math/s_csqrtf.c: Likewise.
18391 * math/s_csqrtl.c: Likewise.
18392 * math/s_ctan.c: Likewise.
18393 * math/s_ctanf.c: Likewise.
18394 * math/s_ctanh.c: Likewise.
18395 * math/s_ctanhf.c: Likewise.
18396 * math/s_ctanhl.c: Likewise.
18397 * math/s_ctanl.c: Likewise.
18398 * math/s_ldexp.c: Likewise.
18399 * math/s_ldexpf.c: Likewise.
18400 * math/s_ldexpl.c: Likewise.
18401 * math/s_significand.c: Likewise.
18402 * math/s_significandf.c: Likewise.
18403 * math/s_significandl.c: Likewise.
18404 * math/w_acos.c: Likewise.
18405 * math/w_acosf.c: Likewise.
18406 * math/w_acosh.c: Likewise.
18407 * math/w_acoshf.c: Likewise.
18408 * math/w_acoshl.c: Likewise.
18409 * math/w_acosl.c: Likewise.
18410 * math/w_asin.c: Likewise.
18411 * math/w_asinf.c: Likewise.
18412 * math/w_asinl.c: Likewise.
18413 * math/w_atan2.c: Likewise.
18414 * math/w_atan2f.c: Likewise.
18415 * math/w_atan2l.c: Likewise.
18416 * math/w_atanh.c: Likewise.
18417 * math/w_atanhf.c: Likewise.
18418 * math/w_atanhl.c: Likewise.
18419 * math/w_cosh.c: Likewise.
18420 * math/w_coshf.c: Likewise.
18421 * math/w_coshl.c: Likewise.
18422 * math/w_dremf.c: Likewise.
18423 * math/w_exp10.c: Likewise.
18424 * math/w_exp10f.c: Likewise.
18425 * math/w_exp10l.c: Likewise.
18426 * math/w_exp2.c: Likewise.
18427 * math/w_exp2f.c: Likewise.
18428 * math/w_fmod.c: Likewise.
18429 * math/w_fmodf.c: Likewise.
18430 * math/w_fmodl.c: Likewise.
18431 * math/w_hypot.c: Likewise.
18432 * math/w_hypotf.c: Likewise.
18433 * math/w_hypotl.c: Likewise.
18434 * math/w_j0.c: Likewise.
18435 * math/w_j0f.c: Likewise.
18436 * math/w_j0l.c: Likewise.
18437 * math/w_j1.c: Likewise.
18438 * math/w_j1f.c: Likewise.
18439 * math/w_j1l.c: Likewise.
18440 * math/w_jn.c: Likewise.
18441 * math/w_jnf.c: Likewise.
18442 * math/w_jnl.c: Likewise.
18443 * math/w_lgamma.c: Likewise.
18444 * math/w_lgamma_r.c: Likewise.
18445 * math/w_lgammaf.c: Likewise.
18446 * math/w_lgammaf_r.c: Likewise.
18447 * math/w_lgammal.c: Likewise.
18448 * math/w_lgammal_r.c: Likewise.
18449 * math/w_log.c: Likewise.
18450 * math/w_log10.c: Likewise.
18451 * math/w_log10f.c: Likewise.
18452 * math/w_log10l.c: Likewise.
18453 * math/w_log2.c: Likewise.
18454 * math/w_log2f.c: Likewise.
18455 * math/w_log2l.c: Likewise.
18456 * math/w_logf.c: Likewise.
18457 * math/w_logl.c: Likewise.
18458 * math/w_pow.c: Likewise.
18459 * math/w_powf.c: Likewise.
18460 * math/w_powl.c: Likewise.
18461 * math/w_remainder.c: Likewise.
18462 * math/w_remainderf.c: Likewise.
18463 * math/w_remainderl.c: Likewise.
18464 * math/w_scalb.c: Likewise.
18465 * math/w_scalbf.c: Likewise.
18466 * math/w_scalbl.c: Likewise.
18467 * math/w_sinh.c: Likewise.
18468 * math/w_sinhf.c: Likewise.
18469 * math/w_sinhl.c: Likewise.
18470 * math/w_sqrt.c: Likewise.
18471 * math/w_sqrtf.c: Likewise.
18472 * math/w_sqrtl.c: Likewise.
18473 * math/w_tgamma.c: Likewise.
18474 * math/w_tgammaf.c: Likewise.
18475 * math/w_tgammal.c: Likewise.
18477 * po/ja.po: Update from translation team.
18479 2011-09-29 Andreas Jaeger <aj@suse.de>
18482 * sunrpc/netname.c (netname2host): Fix logic.
18486 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18488 * math/w_remainder.c (__remainder): Likewise.
18489 * math/w_remainderf.c (__remainderf): Likewise.
18490 * math/libm-test.inc (remainder_test): Add test cases.
18492 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18494 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18497 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18499 * string/test-memcmp.c: Avoid unncessary #defines.
18500 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18502 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18504 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18505 Use new sse2 version for core i3 - i7 as it's faster
18506 than sse42 version.
18507 (bit_Prefer_PMINUB_for_stringop): New.
18508 * sysdeps/x86_64/rawmemchr.S: Update.
18509 Replace with faster SSE2 version.
18510 * sysdeps/x86_64/memrchr.S: New file.
18511 * sysdeps/x86_64/memchr.S: Update.
18512 Replace with faster SSE2 version.
18514 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18516 * elf/dl-load.c (lose): Add cast to avoid warning.
18518 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18520 * po/ca.po: Update from translation team.
18522 * inet/getnetgrent_r.c: Hook up nscd.
18523 * nscd/Makefile (routines): Add nscd_netgroup.
18524 (nscd-modules): Add netgroupcache.
18525 (CFLAGS-netgroupcache.c): Define.
18526 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18527 (cache_search): Add const to second parameter.
18528 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18530 (dbs): Add netgrdb entry.
18531 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18532 (verify_persistent_db): Handle netgrdb.
18533 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18534 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18536 (netgroup_response_header): Define.
18537 (innetgroup_response_header): Define.
18538 (datahead): Add netgroup_response_header and innetgroup_response_header
18540 * nscd/nscd.conf: Add entries for netgroup cache.
18541 * nscd/nscd.h (dbtype): Add netgrdb.
18542 (_PATH_NSCD_NETGROUP_DB): Define.
18543 (netgroup_iov_disabled): Declare.
18544 (xmalloc, xcalloc, xrealloc): Move declarations here.
18545 (cache_search): Adjust prototype.
18546 Add netgroup-related prototypes.
18547 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18548 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18549 (__nscd_innetgr): Declare.
18550 * nscd/selinux.c (perms): Use access_vector_t as element type and
18551 add netgroup-related initializers.
18552 * nscd/netgroupcache.c: New file.
18553 * nscd/nscd_netgroup.c: New file.
18554 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18555 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18556 For four parameters use innetgr.
18557 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18558 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18559 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18560 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18562 * nscd/connections.c (register_traced_file): Don't register file
18563 for disabled databases.
18565 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18567 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18569 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18570 from tree and freeing node.
18572 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18574 * nss/nsswitch.c (__nss_database_lookup): Handle
18575 nss_parse_service_list out of memory case.
18577 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18579 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18580 out of memory case.
18582 2011-10-04 Andreas Schwab <schwab@redhat.com>
18584 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18585 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18587 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18588 elf_machine_rela, elf_machine_lazy_rel.
18589 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18590 (ELF_DYNAMIC_DO_REL): Likewise.
18591 (ELF_DYNAMIC_DO_RELA): Likewise.
18592 (ELF_DYNAMIC_RELOCATE): Likewise.
18593 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18594 to ELF_DYNAMIC_DO_REL.
18595 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18596 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18597 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18599 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18600 skip_ifunc, don't call ifunc function if non-zero.
18601 (elf_machine_rela): Likewise.
18602 (elf_machine_lazy_rel): Likewise.
18603 (elf_machine_lazy_rela): Likewise.
18604 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18605 (elf_machine_lazy_rel): Likewise.
18606 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18608 (elf_machine_lazy_rel): Likewise.
18609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18611 (elf_machine_lazy_rel): Likewise.
18612 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18613 (elf_machine_lazy_rel): Likewise.
18614 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18615 (elf_machine_lazy_rel): Likewise.
18616 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18617 (elf_machine_lazy_rel): Likewise.
18618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18619 (elf_machine_lazy_rel): Likewise.
18620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18621 (elf_machine_lazy_rel): Likewise.
18622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18623 (elf_machine_lazy_rel): Likewise.
18625 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18627 * nss/nss_files/files-init.c (_nss_files_init): Use static
18628 initialization for all the *_traced_file variables.
18630 2011-09-28 Andreas Schwab <schwab@redhat.com>
18632 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18634 2011-09-27 Roland McGrath <roland@hack.frob.com>
18637 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18639 2011-09-27 Andreas Schwab <schwab@redhat.com>
18641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18642 Reread the line before reparsing it.
18644 2011-09-26 Andreas Schwab <schwab@redhat.com>
18646 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18648 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18649 Maxim Kuvyrkov <maxim@codesourcery.com>
18650 Joseph Myers <joseph@codesourcery.com>
18652 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18653 if needed for __stack_chk_guard.
18655 2011-09-19 Roland McGrath <roland@hack.frob.com>
18657 * sysdeps/posix/spawni.c (script_execute): Always define it.
18658 It will be optimized away if unused.
18659 (maybe_script_execute): New function.
18660 (__spawni): Call it.
18662 * Makerules: Don't include tls.make.
18663 (config-tls): Always set to thread.
18664 * tls.make.c: File removed.
18666 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18668 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18669 * config.make.in (CPPFLAGS-config): New substituted variable.
18671 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18676 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18677 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18679 2011-09-15 Roland McGrath <roland@hack.frob.com>
18681 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18682 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18684 (CALL_FAIL): Likewise.
18685 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18686 (CALL_FAIL): Macro removed.
18687 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18689 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18691 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18692 for __FINITE_MATH_ONLY__ == 1.
18694 2011-09-15 Andreas Schwab <schwab@redhat.com>
18696 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18697 __ieee754_sqrt instead of sqrt.
18698 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18699 __ieee754_sqrtf instead of sqrtf.
18700 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18701 __floorf instead of floorf.
18702 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18703 __floorf, __truncf instead of floorf, truncf.
18705 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18707 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18709 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18710 __extern_always_inline.
18711 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18714 2011-09-14 Andreas Schwab <schwab@redhat.com>
18716 * elf/rtld.c (dl_main): Also relocate in dependency order when
18717 doing symbol dependency testing.
18719 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18722 Always define `refsym'.
18724 2011-09-13 Andreas Schwab <schwab@redhat.com>
18726 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18727 (__FD_ELT): Renamed from __FDELT.
18728 * misc/bits/select2.h (__FD_ELT): Likewise.
18729 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18730 __FD_MASK instead of __FDELT, __FDMASK.
18731 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18733 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18736 * elf/Makefile (gen-ldd): Fix pattern.
18738 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18739 (init_tls): Likewise.
18741 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18745 2011-09-12 Andreas Schwab <schwab@redhat.com>
18747 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18748 `struct cmsghdr *' instead of `void *'.
18749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18752 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18754 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18756 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18757 ldd_rewrite_script.
18759 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18761 * configure.in: Remove --with-tls option.
18762 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18763 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18764 out in case it is missing.
18765 * sysdeps/ia64/elf/configure.in: Likewise.
18766 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18767 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18768 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18769 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18770 * sysdeps/sh/elf/configure.in: Likewise.
18771 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18772 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18773 * sysdeps/x86_64/elf/configure.in: Likewise.
18774 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18775 * sysdeps/mach/hurd/tls.h: Likewise.
18778 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18781 * configure.in: Fix use of AC_INIT.
18783 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18785 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18787 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18789 * malloc/hooks.c: Likewise.
18792 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18793 variables statically.
18794 (narenas): Initialize.
18795 (list_lock): Initialize.
18796 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18797 initializtion of main_arena and list_lock. Small cleanups.
18798 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18799 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18800 Add initializers to main_arena and mp_.
18801 (malloc_state): Remove pagesize member. Change all users to use
18804 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18805 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18806 is always initialized.
18808 * malloc/malloc.c: Removed unused configurations and dead code.
18809 * malloc/arena.c: Likewise.
18810 * malloc/hooks.c: Likewise.
18811 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18813 * include/tls.h: Removed. USE___THREAD must always be defined.
18814 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18815 * elf/dl-libc.c: Likewise.
18816 * elf/dl-tsd.c: Likewise.
18817 * include/errno.h: Likewise.
18818 * include/netdb.h: Likewise.
18819 * include/resolv.h: Likewise.
18820 * inet/herrno-loc.c: Likewise.
18821 * inet/herrno.c: Likewise.
18822 * malloc/arena.c: Likewise.
18823 * malloc/hooks.c: Likewise.
18824 * malloc/malloc.c: Likewise.
18825 * resolv/res-state.c: Likewise.
18826 * resolv/res_libc.c: Likewise.
18827 * sysdeps/i386/dl-machine.h: Likewise.
18828 * sysdeps/ia64/dl-machine.h: Likewise.
18829 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18830 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18831 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18832 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18833 * sysdeps/sh/dl-machine.h: Likewise.
18834 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18835 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18836 * sysdeps/unix/i386/sysdep.S: Likewise.
18837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18838 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18843 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18847 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18848 * sysdeps/x86_64/dl-machine.h: Likewise.
18849 * tls.make.c: Likewise.
18851 * configure.in: Remove --with-__thread option. Make tests for
18852 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18853 tls_model attribute fail if no support is available. Remove
18855 * Makeconfig: Adjust for dropped configure option. All features are
18857 * Makerules: Likewise.
18858 * Versions.def: Likewise.
18859 * argp/argp-fmtstream.c: Likewise.
18860 * argp/argp-fmtstream.h: Likewise.
18861 * argp/argp-help.c: Likewise.
18862 * assert/assert.c: Likewise.
18863 * config.h.in: Likewise.
18864 * config.make.in: Likewise.
18865 * configure: Likewise.
18866 * configure.in: Likewise.
18867 * csu/Versions: Likewise.
18868 * csu/init.c: Likewise.
18869 * elf/tst-audit2.c: Likewise.
18870 * elf/tst-tls10.c: Likewise.
18871 * elf/tst-tls10.h: Likewise.
18872 * elf/tst-tls11.c: Likewise.
18873 * elf/tst-tls12.c: Likewise.
18874 * elf/tst-tls14.c: Likewise.
18875 * elf/tst-tlsmod11.c: Likewise.
18876 * elf/tst-tlsmod12.c: Likewise.
18877 * elf/tst-tlsmod13.c: Likewise.
18878 * elf/tst-tlsmod13a.c: Likewise.
18879 * elf/tst-tlsmod14a.c: Likewise.
18880 * elf/tst-tlsmod15b.c: Likewise.
18881 * elf/tst-tlsmod16a.c: Likewise.
18882 * elf/tst-tlsmod16b.c: Likewise.
18883 * elf/tst-tlsmod7.c: Likewise.
18884 * elf/tst-tlsmod8.c: Likewise.
18885 * elf/tst-tlsmod9.c: Likewise.
18886 * gmon/gmon.c: Likewise.
18887 * grp/fgetgrent_r.c: Likewise.
18888 * grp/putgrent.c: Likewise.
18889 * hurd/fopenport.c: Likewise.
18890 * include/libc-symbols.h: Likewise.
18891 * include/tls.h: Likewise.
18892 * intl/gettextP.h: Likewise.
18893 * intl/loadinfo.h: Likewise.
18894 * locale/global-locale.c: Likewise.
18895 * locale/localeinfo.h: Likewise.
18896 * mach/devstream.c: Likewise.
18897 * malloc/arena.c: Likewise.
18898 * malloc/set-freeres.c: Likewise.
18899 * misc/err.c: Likewise.
18900 * misc/getttyent.c: Likewise.
18901 * misc/mntent_r.c: Likewise.
18902 * posix/getopt.c: Likewise.
18903 * posix/wordexp.c: Likewise.
18904 * pwd/fgetpwent_r.c: Likewise.
18905 * resolv/Versions: Likewise.
18906 * resolv/res_hconf.c: Likewise.
18907 * shadow/fgetspent_r.c: Likewise.
18908 * shadow/putspent.c: Likewise.
18909 * stdio-common/printf_fphex.c: Likewise.
18910 * stdio-common/tmpfile.c: Likewise.
18911 * stdlib/abort.c: Likewise.
18912 * stdlib/fmtmsg.c: Likewise.
18913 * sunrpc/auth_unix.c: Likewise.
18914 * sunrpc/clnt_perr.c: Likewise.
18915 * sunrpc/clnt_tcp.c: Likewise.
18916 * sunrpc/clnt_udp.c: Likewise.
18917 * sunrpc/clnt_unix.c: Likewise.
18918 * sunrpc/openchild.c: Likewise.
18919 * sunrpc/svc_simple.c: Likewise.
18920 * sunrpc/svc_tcp.c: Likewise.
18921 * sunrpc/svc_udp.c: Likewise.
18922 * sunrpc/svc_unix.c: Likewise.
18923 * sunrpc/xdr.c: Likewise.
18924 * sunrpc/xdr_array.c: Likewise.
18925 * sunrpc/xdr_rec.c: Likewise.
18926 * sunrpc/xdr_ref.c: Likewise.
18927 * sunrpc/xdr_stdio.c: Likewise.
18929 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18931 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18933 2011-07-03 Andreas Jaeger <aj@suse.de>
18935 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18936 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18937 regenerate with gen-libm-tests.pl.
18939 2010-05-12 Petr Baudis <pasky@suse.cz>
18942 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18943 around j0() zero points by switching to j1().
18944 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18949 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18951 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18953 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18956 Patch in part by Pavel Roskin <proski@gnu.org>.
18959 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18961 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18962 Free memory block if necessary.
18965 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18966 be NULL. Don't lock in this case.
18968 2011-09-09 Roland McGrath <roland@hack.frob.com>
18970 * elf/elf.h (ELFOSABI_GNU): New macro.
18971 (ELFOSABI_LINUX): Define to that.
18973 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18975 * string/strncat.c (strncat): Undef the symbol in case it has been
18976 defined in bits/string.h.
18978 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18980 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18982 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18985 2011-08-17 Andreas Jaeger <aj@suse.de>
18987 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18989 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18990 Ian Lance Taylor <iant@google.com>
18992 * math/libm-test.inc (lround_test): New testcase.
18993 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18995 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18997 * Makefile: Remove support for automatic cvs check-ins.
18998 * Makerules: Likewise.
18999 * config.make.in: Likewise.
19000 * configure.in: Likewise.
19001 * intl/Makefile: Likewise.
19002 * locale/Makefile: Likewise.
19003 * po/Makefile: Likewise.
19004 * posix/Makefile: Likewise.
19005 * sysdeps/gnu/Makefile: Likewise.
19006 * sysdeps/mach/hurd/Makefile: Likewise.
19007 * sysdeps/sparc/sparc32/Makefile: Likewise.
19010 * posix/Makefile (bug-regex32-ENV): Define.
19011 Patch by John Stanley <jpsinthemix@verizon.net>.
19013 * misc/Makefile (headers): Add bits/select2.h.
19014 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19015 * misc/bits/select2.h: New file.
19016 * include/bits/select2.h: New file.
19017 * debug/Makefile (routines): Add fdelt_chk.
19018 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19019 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19021 * debug/fdelt_chk.c: New file.
19023 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19024 * wcsmbs/test-wmemcmp.c: Likewise.
19025 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19026 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19028 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19030 * string/Makefile (strop-tests): Add memcmp.
19031 * string/test-wmemcmp.c: New file.
19032 * string/test-memcmp.c: Add wmemcmp support.
19034 2011-09-08 Roland McGrath <roland@hack.frob.com>
19037 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19040 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19041 garbage value in a __mach_port_mod_refs call in the cases of the
19042 task-self and thread-self ports.
19044 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19046 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19048 2011-09-08 Andreas Schwab <schwab@redhat.com>
19050 * elf/dl-load.c (lose): Check for non-null L.
19052 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19054 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19056 * elf/dl-libc.c (dlerror_run): Pass back error code from
19060 * elf/dl-load.c (lose): Free l_origin if it is valid.
19062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19064 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19065 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19066 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19067 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19068 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19069 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19071 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19073 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19074 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19075 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19076 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19077 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19078 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19079 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19080 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19081 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19082 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19084 2011-08-15 Alan Modra <amodra@gmail.com>
19087 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19088 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19089 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19090 ppc_mcount to static-only-routines.
19091 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19093 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19094 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19096 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19098 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19099 for finite and infinity parameters.
19101 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19104 and add nop instructions for throughput optimization.
19105 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19107 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19109 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19110 aligned copy for power7 with vector-scalar instructions.
19111 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19113 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19118 2011-09-07 Andreas Schwab <schwab@redhat.com>
19121 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19124 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19126 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19127 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19128 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19129 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19132 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19134 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19135 Forgot to demangle the pointer.
19137 * sysdeps/i386/sysdep.h: Define atom_text_section.
19138 * sysdeps/x86_64/sysdep.h: Likewise.
19139 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19140 section with atom_text_section.
19141 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19142 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19143 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19144 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19145 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19149 already be defined. Change to take two parameters and don't assign
19150 result to variable. Adjust all users.
19151 Define INTERNAL_GETTIME if not already defined.
19152 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19155 HAVE_CLOCK_GETTIME_VSYSCALL.
19156 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19159 gettimeofday vsyscall, just use time.
19161 2011-09-06 Andreas Schwab <schwab@redhat.com>
19163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19166 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19168 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19172 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19174 syscall if possible.
19176 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19178 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19179 e_ident. Don't pass to find_mapsXX.
19180 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19182 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19185 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19186 * sysdeps/x86_64/multiarch/strchr.S: Update.
19187 Check bit_slow_BSF bit.
19188 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19189 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19190 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19192 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19195 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19197 (tryshell): Define.
19198 (__spawni): Change last parameter to be flag. Test
19199 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19200 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19201 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19202 * posix/spawni.c: Likewise.
19203 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19204 * posix/spawnp.c: Likewise. Change normal version to use
19205 SPAWN_XFLAGS_USE_PATH.
19206 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19207 SPAWN_XFLAGS_TRY_SHELL.
19210 * posix/glob.h: Remove gcc 1.x support.
19213 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19215 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19218 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19220 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19221 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19222 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19223 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19224 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19225 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19227 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19229 * sysdeps/x86_64/wcscmp.S: New file.
19231 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19232 wcscmp-c wcscmp-sse2
19233 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19234 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19235 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19236 * wcsmbs/wcscmp.c: Allow renaming.
19238 2011-09-05 David S. Miller <davem@davemloft.net>
19240 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19241 stack slot, rather than the struct return pointer slot.
19242 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19243 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19245 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19247 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19249 * po/ja.po: Update from translation team.
19252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19253 kernel in 64-bit binaries.
19255 2011-09-01 David S. Miller <davem@davemloft.net>
19257 * elf/elf.h (HWCAP_SPARC_*): Move to..
19258 * sysdeps/sparc/sysdep.h: this new file and add new values.
19259 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19260 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19261 _DL_HWCAP_COUNT to 24.
19262 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19264 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19265 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19266 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19268 instead of magic constants.
19269 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19271 2011-08-31 David S. Miller <davem@davemloft.net>
19273 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19275 Reimplement to do errno handling inline.
19276 (SYSCALL_ERROR_HANDLER): New macro.
19277 (__SYSCALL_STRING): Do not do errno handling in asm.
19278 (__CLONE_SYSCALL_STRING): Delete.
19279 (__INTERNAL_SYSCALL_STRING): Delete.
19280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19281 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19282 (PSEUDO): Reimplement to do errno handling inline.
19283 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19284 (SYSCALL_ERROR_HANDLER): New macro.
19285 (__SYSCALL_STRING): Do not do errno handling in asm.
19286 (__CLONE_SYSCALL_STRING): Delete.
19287 (__INTERNAL_SYSCALL_STRING): Delete.
19288 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19289 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19291 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19292 (inline_syscall*): Add 'err' argument.
19293 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19294 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19295 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19296 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19298 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19299 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19301 2011-08-30 Andreas Schwab <schwab@redhat.com>
19303 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19305 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19307 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19310 2011-08-24 David S. Miller <davem@davemloft.net>
19312 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19314 2011-08-24 Andreas Schwab <schwab@redhat.com>
19316 * elf/Makefile: Add rules to build and run unload8 test.
19317 * elf/unload8.c: New file.
19318 * elf/unload8mod1.c: New file.
19319 * elf/unload8mod1x.c: New file.
19320 * elf/unload8mod2.c: New file.
19321 * elf/unload8mod3.c: New file.
19323 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19326 2011-08-23 David S. Miller <davem@davemloft.net>
19328 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19329 subtract stack bias.
19330 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19331 %sp not %fp in calculations.
19332 (_JMPBUF_UNWINDS_ADJ): Likewise.
19334 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19335 (aio_suspend): Call it to force an exception region around the
19336 AIO_MISC_WAIT() invocation.
19338 2011-08-23 Andreas Schwab <schwab@redhat.com>
19340 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19343 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19345 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19347 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19348 and <dl-machine.h>.
19349 (Elf64_FuncDesc): Remove.
19351 2011-08-22 David S. Miller <davem@davemloft.net>
19353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19354 sigaltstack check, add missing cfi directives.
19355 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19356 missing cfi directives, and sigaltstack handling.
19358 2011-08-16 Andreas Schwab <schwab@redhat.com>
19361 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19362 object is seen twice.
19363 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19365 * elf/Makefile (distribute): Add tst-initorder2.c.
19366 (tests): Add tst-initorder2.
19367 (modules-names): Add tst-initorder2a tst-initorder2b
19368 tst-initorder2c tst-initorder2d. Add rules to build them.
19369 ($(objpfx)tst-initorder2.out): New rule.
19370 * elf/tst-initorder2.c: New file.
19371 * elf/tst-initorder2.exp: New file.
19373 2011-08-22 Andreas Schwab <schwab@redhat.com>
19375 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19377 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19378 dependencies back to end of function.
19380 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19381 $(elfobjdir)/ld.so.
19383 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19386 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19388 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19389 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19390 of __vdso_gettimeofday.
19391 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19392 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19394 (_libc_vdso_platform_setup): Remove initialization of
19395 __vdso_gettimeofday and __vdso_time.
19397 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19399 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19400 and fgetc_unlocked.
19401 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19404 * elf/dl-open.c (add_to_global): Report additions to the global scope
19405 for LD_DEBUG=scopes.
19406 (dl_open_worker): Also print scope of newly loaded dependencies.
19407 (_dl_show_scope): Indicate if there is no scope.
19410 * stdio-common/Makefile (tests): Add bug24.
19411 * stdio-common/bug24.c: New file.
19413 2011-08-19 Andreas Jaeger <aj@suse.de>
19416 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19417 non-existant file when using close-on-exec mode.
19419 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19422 the very first instruction.
19424 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19425 the CFI state in the end.
19426 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19427 inclusion of dl-trampoline.h.
19428 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19430 2011-08-19 Andreas Schwab <schwab@redhat.com>
19432 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19433 expectations for long double.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19436 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19438 2011-08-14 David S. Miller <davem@davemloft.net>
19440 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19441 artificual limit depends upon the system page size.
19443 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19445 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19446 * resolv/Makefile: Define CFLAGS-libresolv.
19448 2011-08-17 Andreas Schwab <schwab@redhat.com>
19450 * nss/makedb.c (compute_tables): Make variables used in nested
19453 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19455 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19456 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19457 if buffer was too small.
19459 * elf/pldd.c (main): Attach to all threads in the process.
19460 Rewrite /proc handling to use *at functions.
19462 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19464 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19465 specifies first scope to show.
19466 (dl_open_worker): Update callers. Move printing scope of new
19467 object to before the relocation.
19468 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19469 * sysdeps/generic/ldsodefs.h: Update declaration.
19471 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19472 string for the scope number.
19474 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19476 * nscd/servicescache.c (cache_addserv): Make sure written is always
19479 2011-08-14 Roland McGrath <roland@hack.frob.com>
19481 * sysdeps/i386/i486/bits/atomic.h
19482 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19483 statement expression, so as to suppress "set but not used" warning.
19484 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19486 * string/strncat.c (STRNCAT): Use prototype definition.
19488 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19489 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19491 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19492 (localedef-modules): Add localedef.
19493 (locale-modules): Add locale.
19495 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19496 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19497 to avoid a warning.
19499 2011-08-14 David S. Miller <davem@davemloft.net>
19501 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19502 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19504 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19506 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19507 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19508 * elf/rtld.c (dl_main): Set l_name of vDSO.
19509 Call _dl_show_scope when DL_DEBUG_SCOPES.
19510 (process_dl_debug): Recognize scopes flag and also set it for all.
19511 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19512 Declare _dl_show_scope.
19514 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19515 (do_dlopen): Pass caller_dlopen to dl_open.
19516 (__libc_dlopen_mode): Initialize caller_dlopen.
19518 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19519 of libc. Make tolower call locale-independent. Optimize a bit by
19520 using isdigit instead of isalnum.
19521 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19523 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19525 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19526 was a dependency or dynamically loaded.
19528 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19530 * intl/l10nflist.c: Allow architecture-specific pop function.
19531 * sysdeps/x86_64/l10nflist.c: New file.
19533 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19536 2011-08-10 Andreas Schwab <schwab@redhat.com>
19538 * include/dirent.h: Add libc_hidden_proto for scandirat and
19539 scandirat64. Don't declare __scandirat64.
19540 * dirent/scandirat.c: Add libc_hidden_def.
19541 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19542 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19544 2011-08-10 David S. Miller <davem@davemloft.net>
19546 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19550 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19552 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19554 * Versions.def [libc]: Add GLIBC_2.15.
19555 * dirent/Makefile (routines): Add scandirat and scandirat64.
19556 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19558 * dirent/dirent.h: Declare scandirat and scandirat64.
19559 * dirent/scandirat.c: New file.
19560 * dirent/scandirat64.c: New file.
19561 * sysdeps/wordsize-64/scandirat.c: New file.
19562 * sysdeps/wordsize-64/scandirat64.c: New file.
19563 * dirent/opendir.c: Define opendirat.
19564 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19566 * dirent/scandir64.c: Adjust for scandir.c change.
19567 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19568 __scandirat64, and __scandir_cancel_handler.
19569 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19570 additional parameter and use openat instead of open (outside of ld.so).
19571 Add new __opendir as wrapper around __opendirat.
19572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19573 here without requiring old scandirat implementation.
19575 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19577 * dirent/scandir.c (cancel_handler): Renamed to
19578 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19579 defined. Adjust users.
19580 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19581 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19583 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19585 * string/test-string.h (IMPL): Use __STRING to expand name and then
19588 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19591 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19593 * string/Makefile: Update.
19594 (strop-tests): Append strncat.
19595 * string/test-wcscmp.c: New file.
19596 New comprehensive test for wcscmp.
19597 * string/test-strcmp.c: Update.
19598 (WIDE): New define.
19600 2011-07-22 Andreas Schwab <schwab@redhat.com>
19602 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19605 2011-07-26 Andreas Schwab <schwab@redhat.com>
19607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19608 encoding to ACE if AI_IDN.
19610 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19612 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19613 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19615 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19617 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19618 Fix overflow bug in strncat.
19619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19621 * string/test-strncat.c: Update.
19622 Add new tests for checking overflow bugs.
19624 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19627 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19628 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19629 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19630 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19631 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19632 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19633 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19634 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19637 (USE_AS_STRCAT): Define.
19638 Add strcat and strncat support.
19639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19641 2011-07-25 Andreas Schwab <schwab@redhat.com>
19643 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19644 __n bigger than INT_MAX+1.
19645 (__strncmp_g): Likewise.
19647 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19649 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19650 * libio/stido.h: Likewise.
19652 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19657 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19658 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19660 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19664 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19669 (_dl_x86_64_save_sse): Likewise.
19671 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19675 (_dl_x86_64_save_sse): Likewise.
19677 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19679 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19681 2011-07-21 Andreas Schwab <schwab@redhat.com>
19683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19685 (_dl_x86_64_save_sse): Use correct AVX check.
19687 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19689 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19690 bug in strncpy/strncat.
19691 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19693 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19695 * string/tester.c (test_strcat): Add tests for different alignments
19696 of source and destination.
19697 (test_strncat): Likewise.
19699 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19702 * posix/glob.c (glob): Check passed in values before using them in
19703 expressions to avoid some overflows.
19704 (glob_in_dir): Likewise.
19707 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19708 check for AVX enablement so that we don't crash with old kernels and
19710 * elf/tst-audit4.c: Add same checks here.
19711 * elf/tst-audit6.c: Likewise.
19713 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19715 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19717 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19719 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19721 * po/cs.po: Update from translation team.
19722 * po/bg.po: Likewise.
19724 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19726 * misc/sys/cdefs.h: Add support for const attribute.
19727 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19728 to gnu_dev_{major,minor,makedev} functions.
19730 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19732 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19734 2011-07-20 Andreas Schwab <schwab@redhat.com>
19736 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19739 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19742 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19743 register in order to avoid conflicts with the soft frame pointer
19744 being held in r11 when necessary.
19745 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19746 (INTERNAL_VSYSCALL_NCS): Likewise.
19748 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19750 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19751 * elf/dl-fini.c (_dl_fini): Adjust caller.
19752 * elf/dl-close.c (_dl_close_worker): Likewise.
19753 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19755 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19757 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19758 "aux_cache->nlibs < 0".
19760 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19761 in the reload-count case.
19763 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19766 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19767 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19768 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19769 * sysdeps/x86_64/multiarch/strcat.S: New file.
19770 * sysdeps/x86_64/multiarch/strncat.S: New file.
19771 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19772 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19773 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19774 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19775 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19776 (USE_AS_STRCAT): Define.
19777 Add strcat and strncat support.
19778 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19779 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19780 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19781 * string/strncat.c: Update.
19782 (USE_AS_STRNCAT): Define.
19783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19784 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19786 * sysdeps/x86_64/multiarch/init-arch.h
19787 (bit_Prefer_PMINUB_for_stringop): New.
19788 (index_Prefer_PMINUB_for_stringop): Likewise.
19789 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19790 bit_Prefer_PMINUB_for_stringop.
19792 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19794 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19796 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19797 of casting of buffer.
19798 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19799 buffer32 and buffer64.
19800 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19801 writes instead of casting of buffer.
19802 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19804 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19807 2011-07-19 Andreas Schwab <schwab@redhat.com>
19809 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19811 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19813 * nscd/nscd.c (termination_handler): Don't do anything for a database
19814 if it has not yet been initialized.
19816 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19818 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19820 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19822 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19824 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19826 * po/nl.po: Update from translation team.
19827 * po/sv.po: Likewise.
19829 2011-07-16 Roland McGrath <roland@hack.frob.com>
19831 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19832 now disallowed by GCC.
19834 * configure.in (use-default-link): Default to yes if a test -shared
19835 link meets our qualifications.
19836 * configure: Regenerated.
19838 * config.make.in (output-format): New variable.
19839 * configure.in: Check for ld --print-output-format support.
19840 * configure: Regenerated.
19841 * Makerules ($(common-objpfx)format.lds)
19842 [$(output-format) != unknown]: Just use $(output-format),
19843 instead of the linker-script munging.
19845 2011-07-14 Roland McGrath <roland@hack.frob.com>
19847 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19848 of $(common-objpfx)shlib.lds.
19849 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19851 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19852 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19854 * configure.in (-z relro check): Adjust test code to add a large
19855 writable data section after it.
19856 * configure: Regenerated.
19858 2011-07-11 Roland McGrath <roland@hack.frob.com>
19860 * configure.in (-z relro check): Fix test code to make the variable
19862 * configure: Regenerated.
19864 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19866 * nscd/nscd.h (struct traced_file): Define.
19867 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19868 elements. Add traced_files.
19869 (inotify_fd): Declare.
19870 (register_traced_file): Declare.
19871 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19872 (inotify_fd): Export.
19873 (resolv_conf_descr): Remove.
19874 (nscd_init): Move inotify descriptor creation to main.
19875 Don't register files for notification here.
19876 (register_traced_file): New function.
19877 (invalidate_cache): Don't use reset_res to determine whether to call
19878 res_init, go through the list of registered files.
19879 (main_loop_poll): The inotify descriptors are now stored in the
19880 structures for the traced files.
19881 (main_loop_epoll): Likewise
19882 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19883 to __nss_disable_nscd.
19884 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19885 for a database anymore. Check the records for all the registered
19887 * nss/Makefile (libnss_files-routines): Add files-init.
19888 (libnss_db-routines): Add db-init.
19889 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19890 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19891 * nss/nss_db/db-init.c: New file.
19892 * nss/nss_files/files-init.c: New file.
19893 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19894 __nss_lookup_function.
19895 (__nss_lookup_function): Call nss_load_library.
19896 (nss_load_all_libraries): New function.
19897 (__nss_disable_nscd): Take parameter with callback function for files
19898 to register. Set is_nscd. Load all the DSOs for the NSS modules
19899 used for the cached services.
19900 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19901 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19902 options for features to all the files in nscd.
19904 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19906 2011-07-10 Roland McGrath <roland@hack.frob.com>
19908 * csu/elf-init.c (__libc_csu_init): Comment typo.
19910 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19912 * po/pl.po: Update from translation team.
19913 * po/ja.po: Likewise.
19914 * po/ru.po: Likewise.
19915 * po/ko.po: Likewise.
19916 * po/fr.po: Likewise.
19918 2011-07-09 Roland McGrath <roland@hack.frob.com>
19920 * configure.in (.ctors/.dtors header and trailer check):
19921 Use an empirical test on a built program.
19922 * configure: Regenerated.
19924 * configure.in (-z relro check): Use an empirical test on a built DSO.
19925 Detect, but do not require, on ia64.
19926 * configure: Regenerated.
19928 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19929 Update tests that use readelf to use $READELF instead.
19930 * configure: Regenerated.
19932 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19934 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19935 if the result is not used.
19937 2011-07-05 Andreas Jaeger <aj@suse.de>
19940 * stdlib/tst-strtod.c: Add testcase.
19942 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19944 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19945 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19946 The latter has a higher limit. Take additional parameter to pass to
19948 (__pathconf): Pass file to __statfs_link_max.
19949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19951 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19955 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19958 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19959 (__statfs_filesize_max): Likewise.
19960 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19962 2011-07-05 Andreas Jaeger <aj@suse.de>
19964 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19966 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19968 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19970 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19973 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19975 * Makefile (strop-tests): Add strncat.
19976 * string/test-strncat.c: New file.
19978 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19980 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19982 2011-06-21 Andreas Jaeger <aj@suse.de>
19984 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19985 Copy rule from iconvdata/Makefile.
19987 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19990 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19991 but no long options are defined, just return 'W'.
19993 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19996 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19998 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20000 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20002 (innetgr): Likewise.
20004 2011-07-05 Roland McGrath <roland@hack.frob.com>
20006 * config.make.in (install_root): Default to $(DESTDIR).
20008 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20012 2011-07-02 Roland McGrath <roland@hack.frob.com>
20014 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20016 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20017 containing directory rather than embedding absolute directory names.
20019 * scripts/check-local-headers.sh: Rewritten using awk.
20020 Match by word, not by line. Print error messages for matches.
20021 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20023 * Makerules [shlib-lds-flags empty]:
20024 ($(common-objpfx)libc_pic.opts): New target.
20025 ($(common-objpfx)libc_pic.os.clean): New target.
20026 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20028 * config.make.in (OBJCOPY): New variable.
20029 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20030 * configure: Regenerated.
20032 * config.make.in (use-default-link): New variable.
20033 * configure.in (use_default_link): Grok --with-default-link to set it.
20034 * configure: Regenerated.
20035 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20036 (shlib-lds, shlib-lds-flags): Define to empty.
20038 * Makerules (shlib-lds): New variable.
20039 (shlib-lds-flags): New variable.
20040 (build-shlib, build-moduile, build-module-asneeded): Use it.
20041 ($(common-objpfx)libc.so): Use $(shlib-lds).
20042 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20043 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20045 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20046 DT_FLAGS/DT_FLAGS_1 with zero flags.
20048 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20049 linker script munging.
20051 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20053 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20055 * crypt/sha512.c (sha512_process_block): Perform total addition using
20056 128-bit if possible.
20057 (__sha512_finish_ctx): Likewise.
20058 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20060 * crypt/sha256.c (SWAP64): Define.
20061 (sha256_process_block): Perform total addition using 64-bit if
20063 (__sha256_finish_ctx): Likewise.
20065 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20067 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20069 * nscd/hstcache.c (cache_addhst): Likewise.
20070 * nscd/grpcache.c (cache_addgr): Likewise.
20071 * nscd/aicache.c (addhstaiX): Likewise
20072 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20074 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20076 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20078 * nscd/hstcache.c (cache_addhst): Likewise.
20079 * nscd/grpcache.c (cache_addgr): Likewise.
20080 * nscd/aicache.c (addhstaiX): Likewise
20082 2011-07-01 Andreas Schwab <schwab@redhat.com>
20084 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20085 domain only when needed.
20087 2011-06-30 Andreas Schwab <schwab@redhat.com>
20089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20090 is always restored.
20092 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20094 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20095 are re-adding the entry.
20096 * nscd/servicescache.c (cache_addserv): Likewise.
20098 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20100 * sysdeps/generic/dl-irel.h: fix protection against multiple
20102 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20104 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20107 * malloc/memusage.sh: Fix quoting in message.
20108 * debug/xtrace.sh: Likewise.
20110 * configure.in: Remove support for --experimental-malloc option, make
20112 * config.make.in: Likewise.
20113 * malloc/Makefile: Likewise.
20115 2011-06-27 Andreas Schwab <schwab@redhat.com>
20117 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20118 two-byte characters.
20120 2011-06-27 Roland McGrath <roland@hack.frob.com>
20122 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20123 AC_CACHE_CHECK invocation.
20124 * configure: Regenerated.
20126 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20128 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20131 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20132 bit from old_res_options.
20134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20136 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20137 value type for setfct.
20139 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20142 __gettimeofday instead of gettimeofday.
20144 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20146 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20148 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20150 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20155 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20158 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20159 strcpy-sse2-unaligned strncpy-sse2-unaligned
20160 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20161 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20162 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20163 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20164 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20167 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20168 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20169 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20170 (STRCPY): Support SSE2 and SSSE3 versions.
20172 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20175 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20176 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20177 kernels which artificially limit size of requests.
20179 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20182 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20183 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20184 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20185 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20186 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20187 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20188 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20189 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20191 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20192 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20193 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20194 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20195 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20197 Enable unaligned load optimization for Intel Core i3, i5 and i7
20199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20201 (index_Fast_Unaligned_Load): Define.
20202 (HAS_FAST_UNALIGNED_LOAD): Define.
20204 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20206 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20208 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20212 until it is clear that the information is realy needed.
20213 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20215 2011-06-22 Andreas Schwab <schwab@redhat.com>
20217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20219 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20221 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20222 /sys/devices/system/cpu/online if it is usable.
20224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20225 reading the information from the /proc filesystem to once a second.
20227 2011-06-21 Andreas Jaeger <aj@suse.de>
20229 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20230 NULL after inclusion of kernel headers.
20232 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20234 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20235 calls to internal_setent.
20238 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20239 addresses using gethostbyname4_r ignore IPv4 addresses.
20241 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20242 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20244 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20246 2011-06-20 David S. Miller <davem@davemloft.net>
20248 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20250 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20252 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20253 (elf_irel): Use it.
20254 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20255 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20256 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20257 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20258 * sysdeps/x86_64/dl-irel.h: Likewise.
20260 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20261 * elf/dl-sym.c: Likewise.
20263 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20265 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20266 need to dereference resplen2.
20268 2011-06-14 Andreas Schwab <schwab@redhat.com>
20270 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20272 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20274 * Makeconfig: Define vardbdir and inst_vardbdir.
20275 * nss/Makefile: Add rules to install db-Makefile.
20277 * nss/nss_db/db-XXX.c: Cleanup.
20279 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20280 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20282 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20283 * nss/makedb.c: Implement -g option to specify that value strings
20284 are generated and should not be added to table iterated over for
20286 * nss/nss_db/db-initgroups.c: New file.
20288 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20291 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20292 (internal_getgrouplist): Adjust to name change.
20293 Update use_initgroups_entry if this is not the first call.
20294 * nss/databases.def: Add initgroups entry.
20296 * nss/makedb.c (compute_tables): Check result of multiple hash table
20297 sizes to minimize maximum chain length.
20299 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20301 * Versions.def: Add entry for libnss_db.
20302 * shlib-versions: Likewise.
20303 * nss/Makefile: Add rules to build libnss_db.
20304 * nss/Versions: Add libnss_db information. Organize libnss_files
20306 * nss/db-Makefile: Add gshadow support. Change rules for the new
20307 makedb progra. Some minor improvements to generate smaller files.
20308 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20310 * nss/makedb.c: ...here.
20311 Improve database format to be smaller and require less memory at
20313 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20315 * nss/nss_db/db-netgrp.c: Likewise.
20316 * nss/nss_db/db-open.c: Likewise.
20317 * nss/nss_files/flies-XXX.x: Adjust comments.
20318 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20319 * nss/nss_files/files-grp.c: Likewise.
20320 * nss/nss_files/files-hosts.c: Likewise.
20321 * nss/nss_files/files-network.c: Likewise.
20322 * nss/nss_files/files-proto.c: Likewise.
20323 * nss/nss_files/files-pwd.c: Likewise.
20324 * nss/nss_files/files-rpc.c: Likewise.
20325 * nss/nss_files/files-service.c: Likewise.
20326 * nss/nss_files/files-sgrp.c: Likewise.
20327 * nss/nss_files/files-spwd.c: Likewise.
20328 * nss/nss_db/db-alias.c: Removed.
20329 * nss/nss_db/dummy-db.h: Removed.
20331 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20333 * nss/makedb.c: Rewritten to not use database library.
20334 * nss/Makefile: Update to build new makedb program.
20336 2011-06-14 Andreas Jaeger <aj@suse.de>
20338 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20339 memset declaration.
20341 2011-06-10 Andreas Schwab <schwab@redhat.com>
20343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20346 2011-06-10 Roland McGrath <roland@hack.frob.com>
20348 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20349 * elf/Makefile ($(objpfx)ld.so): Likewise.
20351 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20352 Don't list ld.so twice in dependencies.
20354 * posix/bug-regex31.c: Include <stdlib.h>.
20356 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20358 * nis/nss_compat/compat-spwd.c
20359 (getspent_next_nss_netgr): Remove unused variable.
20360 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20362 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20363 nonmembers" output to use the right array.
20365 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20367 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20369 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20370 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20371 * catgets/gencat.c (read_input_file): Likewise.
20372 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20374 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20375 variable definition inside #if's controlling its use.
20377 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20379 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20381 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20383 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20386 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20388 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20389 * configure: Regenerated.
20391 * Makerules: Revert last change.
20392 * elf/Makefile: Likewise.
20394 2011-06-09 Roland McGrath <roland@hack.frob.com>
20396 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20397 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20398 (reloc-link): Likewise.
20400 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20402 * elf/Makefile: Add rules to build pldd.
20403 * elf/pldd.c: New file.
20404 * elf/pldd-xx.c: New file.
20406 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20408 * version.h: Update for 2.15 development version.
20410 2011-06-07 David S. Miller <davem@davemloft.net>
20412 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20415 elf_machine_lazy_rel): Likewise.
20416 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20417 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20418 elf_machine_lazy_rel): Likewise.
20419 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20420 dl_hwcap via passed in argument.
20421 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20424 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20426 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20428 2011-06-06 Roland McGrath <roland@hack.frob.com>
20431 * manual/fdl-1.1.texi: New file, verbatim from:
20432 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20433 * manual/lgpl-2.1.texi: New file, verbatim from:
20434 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20435 * manual/Makefile (licenses): New variable, list those new file names.
20437 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20439 * manual/fdl.texi: File removed.
20440 * manual/lesser.texi: File removed.
20441 * manual/libc.texinfo (Copying, Documentation License):
20442 Use new @include file names, put @appendix directive before @include.
20444 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20447 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20448 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20449 (mq_open): Add __NTH.
20451 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20454 Assume Intel Core i3/i5/i7 processor if AVX is available.
20456 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20461 2011-05-31 Andreas Schwab <schwab@redhat.com>
20463 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20464 memory. Use alloca_account. Fix memory leak when retrying.
20466 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20468 * version.h (RELEASE): Bump for 2.14 release.
20469 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20471 * config.make.in (RANLIB): Remove entry.
20473 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20475 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20476 (libc.pot): Work around missing support for .ksh extension in xgettext.
20479 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20480 if both request failed.
20481 (send_dg): In case of server errors clear resplen or *resplen2.
20484 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20485 when there are multiple maps.
20486 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20487 (_dl_fini): Remove test here.
20489 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20491 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20494 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20495 bit from old_res_options.
20496 (gaih_inet): Likewise.
20499 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20502 * resolv/res_init.c (res_setoptions): Make the code more compact.
20505 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20509 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20511 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20514 * malloc/malloc.h: Declare malloc hook variables as volatile.
20516 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20520 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20521 raise in the comment.
20522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20524 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20526 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20529 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20530 grow the buffers more if it already has to be sufficient.
20531 (build_wcs_upper_buffer): Likewise.
20532 * posix/regexec.c (check_matching): Likewise.
20533 (clean_state_log_if_needed): Likewise.
20534 (extend_buffers): Don't enlarge buffers beyond size of the input
20536 Patches mostly by Emil Wojak <emil@wojak.eu>.
20537 * posix/bug-regex32.c: New file.
20538 * posix/Makefile (tests): Add bug-regex32.
20540 * locale/findlocale.c (_nl_find_locale): Return right away if
20541 _nl_explode_name failed.
20542 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20544 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20546 * debug/xtrace.sh: Unify messages.
20547 * malloc/memusage.sh: Likewise.
20550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20551 time symbol from vDSO. Substitute with vsyscall if not available.
20552 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20555 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20556 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20557 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20558 Add sendmmsg and internal_sendmmsg.
20559 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20560 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20561 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20563 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20564 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20565 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20567 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20570 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20571 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20573 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20577 * iconvdata/Makefile (tests): Add bug-iconv9.
20578 * iconvdata/bug-iconv9.c: New file.
20580 2011-05-27 Andreas Schwab <schwab@redhat.com>
20583 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20585 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20588 (struct user_regs_struct): Change intcs field back to cs.
20590 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20592 * po/ja.po: Update from translation team.
20594 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20597 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20598 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20600 2011-05-20 Andreas Schwab <schwab@redhat.com>
20602 * stdlib/longlong.h: Update from GCC.
20604 2011-05-23 Andreas Schwab <schwab@redhat.com>
20606 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20608 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20609 Add parameter name.
20610 (__sysconf): Pass it down.
20612 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20615 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20617 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20618 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20619 add in in __libc_use_alloca calls. Adjust callers.
20620 (glob): Use malloc in some situations.
20622 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20623 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20626 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20628 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20629 and CLOCK_BOOTTIME_ALARM.
20632 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20635 * string/_strerror.c (__strerror_r): Print negative errors as signed
20639 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20640 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20641 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20643 * configure.in: Fix typo in redirection and correct removal of test
20644 files in two cases.
20647 * locale/setlocale.c (new_composite_name): Fix test to check for
20648 identical name of all categories.
20651 * libio/filedoalloc.c (local_isatty): New function.
20652 (_IO_file_doallocate): Use local_isatty.
20653 * stdio-common/perror.c (perror): In case a new stream is used
20654 forward the stream error.
20655 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20658 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20663 * include/alloca.h (extend_alloca_account): Define.
20666 * posix/regex.h: Fix comments with documentation of user-accessible
20667 fields after compilation and describe correct free'ing of pattern
20668 after re_compile_pattern.
20669 Patch by Reuben Thomas <rrt@sc3d.org>.
20671 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20673 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20674 and -mno-altivec to prevent the compiler from using Altivec and/or
20675 VSX instructions when the corresponding registers are not available.
20677 2011-05-19 Andreas Schwab <schwab@redhat.com>
20679 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20681 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20683 * libio/freopen.c (freopen): Use __dup2, not dup2.
20684 * libio/freopen64.c (freopen64): Likewise.
20686 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20689 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20690 * math/Makefile (tests): Add test-powl.
20691 (CFLAGS-test-powl.c): Define.
20692 * math/test-powl.c: New file.
20694 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20696 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20698 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20701 * iconvdata/gb18030.c: Update to GB18020-2005.
20703 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20705 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20706 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20707 Patch by Aharon Robbins <arnold@skeeve.com>.
20710 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20714 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20715 through underflows.
20718 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20719 point to strings before performing equality test for error_one_per_line
20723 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20727 (struct user_fpregs_struct): Avoid __uint*_t types.
20730 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20731 symbol info. Use it instead of calling _dl_addr locally.
20732 (lock_and_info): New function.
20733 (tr_freehook): Call lock_and_info and pass symbol info as additional
20734 parameter to tr_where.
20735 (tr_mallochook): Likewise.
20736 (tr_reallochook): Likewise.
20737 (tr_memalignhook): Likewise.
20739 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20740 used and couldn't be at all thread-safe.
20742 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20744 * libio/freopen.c (freopen): Don't close old file descriptor
20745 before the new one is opened. Instead dup the new file descriptor
20746 to the old one after the new stream is created.
20747 * libio/freopen64.c (freopen64): Likewise.
20748 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20749 * libio/fileops.c (_IO_new_file_close_it): Handle new
20750 _IO_FLAGS2_NOCLOSE flag.
20751 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20752 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20753 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20754 _IO_FLAGS2_NOCLOSE flag.
20755 * include/unistd.h: Add hidden_proto for dup3.
20756 Define __have_dup3.
20757 * io/dup3.c: Define hidden symbol.
20758 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20761 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20762 when an incomplete long option is used.
20763 * posix/tst-getopt_long1.c: New file.
20764 * posix/Makefile (tests): Add tst-getopt_long1.
20767 * scripts/config.guess: Update from autoconf-2.68.
20768 * scripts/config.sub: Likewise.
20771 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20773 (has_cpuclock): ...this. New function.
20774 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20775 macro here based on has_cpuclock code.
20778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20779 First byte (not low byte) is now always NUL.
20780 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20783 Use non-cancelable interfaces.
20786 * locale/iso-639.def: Add entry for Sorani.
20789 * include/stdlib.h: Move include protection to the right place.
20790 Define abort_msg_s. Declare __abort_msg with it.
20791 * stdlib/abort.c (__abort_msg): Adjust type.
20792 * assert/assert.c (__assert_fail_base): New function. Majority
20793 of code from __assert_fail. Allocate memory for __abort_msg with
20795 (__assert_fail): Now call __assert_fail_base.
20796 * assert/assert-perr.c: Remove bulk of implementation. Use
20797 __assert_fail_base.
20798 * include/assert.hL Declare __assert_fail_base.
20799 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20801 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20803 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20807 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20808 until all modules are registered in the DTV.
20809 * elf/Makefile: Add rules to build and run tst-tls19.
20810 * elf/tst-tls19.c: New file.
20811 * elf/tst-tls19mod1.c: New file.
20812 * elf/tst-tls19mod2.c: New file.
20813 * elf/tst-tls19mod3.c: New file.
20814 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20817 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20821 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20822 two-byte sequence errors.
20823 * iconvdata/Makefile (tests): Add bug-iconv8.
20824 * iconvdata/bug-iconv8.c: New file.
20827 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20830 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20833 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20834 (dummy_getcfa): New function.
20835 (init): Get _Unwind_GetCFA address, use dummy if not found.
20836 (backtrace_helper): In recursion check, also check whether CFA changes.
20837 (__backtrace): Completely initialize arg.
20839 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20840 storing incomplete byte sequence in state object. Avoid testing for
20841 guaranteed too small input if we know there is enough data available.
20843 2011-05-11 Andreas Schwab <schwab@redhat.com>
20845 * Makeconfig (+link-pie): Indent.
20846 * Rules (binaries-pie): Define if $(have-fpie) and
20848 (binaries-shared): Also filter out $(binaries-pie).
20849 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20850 * nscd/Makefile (others-pie): Add nscd.
20851 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20852 ($(objpfx)nscd): Remove command override.
20853 * login/Makefile (others-pie): Add pt_chown.
20854 ($(objpfx)pt_chown): Remove command override.
20855 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20856 remove command overrides.
20858 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20860 * libio/tst_putwc.c: Fix error messages.
20863 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20864 currently writing and seek to current position when not.
20865 * libio/Makefile (tests): Add bug-fclose1.
20866 * libio/bug-fclose1.c: New file.
20868 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20871 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20872 don't set DF_1_NODELETE here.
20873 (do_lookup_x): When entering new entry test for copy relocation
20874 and if necessary set DF_1_NODELETE flag.
20875 * elf/tst-unique4.cc: New file.
20876 * elf/tst-unique4.h: New file.
20877 * elf/tst-unique4lib.cc: New file.
20878 * elf/Makefile: Add rules to build and run tst-unique4.
20879 Patch by Piotr Bury <pbury@goahead.com>.
20881 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20884 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20887 * misc/mntent_r.c (addmntent): Flush the stream after the output
20890 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20891 (is_trusted_path_normalize): Skip initial colon. Append slash
20892 to empty buffer. Duplicate is_trusted_path code but allow
20893 constructed patch to be prefix.
20894 (is_dst): Allow $ORIGIN followed by /.
20895 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20896 Correct testing of result of is_trusted_path_normalize
20897 (decompose_rpath): Fix warning.
20899 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20902 * grp/initgroups.c (internal_getgrouplist): When we found the service
20903 list through the initgroups entry in nsswitch.conf do not always
20904 continue on a successful lookup. Don't always use the
20905 __nss_group_database value if it is set.
20906 * nss/nsswitch.conf (initgroups): Change action for successful db
20907 lookup to continue for compatibility.
20909 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20912 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20914 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20916 * iconvdata/tst-tables.sh: Likewise.
20917 * iconvdata/cp770.c: New file.
20918 * iconvdata/cp771.c: New file.
20919 * iconvdata/cp772.c: New file.
20920 * iconvdata/cp773.c: New file.
20921 * iconvdata/cp774.c: New file.
20922 * iconvdata/testdata/CP770: New file.
20923 * iconvdata/testdata/CP770..UTF8: New file.
20924 * iconvdata/testdata/CP771: New file.
20925 * iconvdata/testdata/CP771..UTF8: New file.
20926 * iconvdata/testdata/CP772: New file.
20927 * iconvdata/testdata/CP772..UTF8: New file.
20928 * iconvdata/testdata/CP773: New file.
20929 * iconvdata/testdata/CP773..UTF8: New file.
20930 * iconvdata/testdata/CP774: New file.
20931 * iconvdata/testdata/CP774..UTF8: New file.
20933 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20935 * iconvdata/gen-8bit-gap.sh: Likewise.
20936 * iconvdata/gen-8bit.sh: Likewise.
20938 * locale/iso-639.def: Add ary entry.
20941 * locale/C-translit.h.in: Add U20A1 transliteration.
20944 * locale/iso-639.def: Add wae entry.
20945 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20948 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20952 * locale/C-translit.h.in: Add entry for U20B9.
20953 Patch by pravin.d.s@gmail.com.
20955 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20958 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20959 ENAMETOOLONG use generic getcwd.
20960 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20961 in rtld. Use *stat64.
20962 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20963 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20964 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20965 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20966 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20967 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20968 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20969 __fstatat64 macros.
20970 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20971 * dirent/rewinddir.c: Add libc_hidden_def.
20972 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20973 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20975 * include/dirent.h (__alloc_dir): Add flags parameter.
20976 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20977 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20979 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20980 from fdopendir if O_CLOEXEC is already set.
20982 2011-03-15 Alan Modra <amodra@gmail.com>
20984 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20985 l_tls_firstbyte_offset non-zero. Save padding offset in
20986 l_tls_firstbyte_offset for later use.
20987 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20988 freeing static tls block.
20990 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20992 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20993 where #ifdef was intended. The intent is to prevent ARG_MAX from
20994 being defined by the kernel headers.
20996 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20999 * resolv/resolv.h: Define RES_NOTLDQUERY.
21000 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21001 no-tld-query and set RES_NOTLDQUERY.
21002 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21003 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21004 modern BIND to search name as TLD unless forbidden.
21006 2011-05-07 Petr Baudis <pasky@suse.cz>
21007 Ulrich Drepper <drepper@gmail.com>
21010 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21011 (is_trusted_path): ...to here.
21012 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21013 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21014 using is_trusted_path_normalize() in setuid scripts.
21016 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21018 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21019 __BEGIN/__END_DECLS.
21021 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21024 NSS_STATUS_NOTFOUND if no record was found.
21026 2011-05-05 Andreas Schwab <schwab@redhat.com>
21028 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21029 (headers-not-in-tirpc): Remove rpc/netdb.h
21030 * resolv/netdb.h: Revert last change.
21032 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21034 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21035 circular dependency between libgcc.a and libc.a.
21037 2011-05-05 Andreas Schwab <schwab@redhat.com>
21039 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21040 * nis/Makefile: Don't install rpcsvc/*.
21041 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21042 instead of <rpc/types.h>.
21043 (MAXHOSTNAMELEN): Define.
21045 2011-05-03 Andreas Schwab <schwab@redhat.com>
21047 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21049 2011-04-28 Maciej Babinski <mbabinski@google.com>
21052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21053 gethostbyname4_r when IPv6 results are possible.
21055 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21058 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21059 _PC_PIPE_BUF handling.
21061 2011-04-30 Bruno Haible <bruno@clisp.org>
21064 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21065 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21067 * inet/getnameinfo.c (getnameinfo): Likewise.
21069 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21071 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21072 to groups setting in database lookup.
21073 * nss/nsswitch.conf: Add initgroups entry.
21075 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21078 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21080 Patch by Eric Blake <eblake@redhat.com>.
21082 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21084 * sunrpc/Makefile (need-export-routines): Add svc_run.
21085 (routines): Remove svc_run.
21086 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21087 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21088 * sunrpc/svc_run.c (svc_run): Likewise.
21089 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21091 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21094 problem in reallocation in last patch.
21096 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21098 * sunrpc/Makefile: Move inclusion of Rules.
21100 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21102 * nss/nss_files/files-initgroups.c: New file.
21103 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21104 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21105 _nss_files_initgroups_dyn.
21107 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21109 * elf/elf.h (R_ARM_IRELATIVE): Define.
21111 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21113 * po/ru.po: Update from translation team.
21115 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21117 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21120 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21123 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21124 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21125 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21129 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21131 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21133 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21137 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21140 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21142 * stdlib/bug-getcontext.c: New file.
21143 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21145 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21147 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21148 instructions into .machine "z9-109".
21149 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21150 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21152 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21154 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21155 between environment variables and auxiliary vector.
21157 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21159 * Makefile: Add rules to build linkobj/libc.so.
21160 * include/libc-symbols.h: Define libc_hidden_nolink.
21161 * include/rpc/auth.h: Mark functions which are to be hidden.
21162 * include/rpc/auth_des.h: Likewise.
21163 * include/rpc/auth_unix.h: Likewise.
21164 * include/rpc/clnt.h: Likewise.
21165 * include/rpc/des_crypt.h: Likewise.
21166 * include/rpc/key_prot.h: Likewise.
21167 * include/rpc/pmap_clnt.h: Likewise.
21168 * include/rpc/pmap_prot.h: Likewise.
21169 * include/rpc/pmap_rmt.h: Likewise.
21170 * include/rpc/rpc_msg.h: Likewise.
21171 * include/rpc/svc.h: Likewise.
21172 * include/rpc/svc_auth.h: Likewise.
21173 * include/rpc/xdr.h: Likewise.
21174 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21175 * nss/Makefile: Likewise.
21176 * sunrpc/Makefile: Don't install headers. Build library with normal
21177 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21178 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21179 for the compat linking library. Remove use of INTDEF/INTUSE.
21180 * sunrpc/auth_none.c: Likewise.
21181 * sunrpc/auth_unix.c: Likewise.
21182 * sunrpc/authdes_prot.c: Likewise.
21183 * sunrpc/authuxprot.c: Likewise.
21184 * sunrpc/clnt_gen.c: Likewise.
21185 * sunrpc/clnt_perr.c: Likewise.
21186 * sunrpc/clnt_raw.c: Likewise.
21187 * sunrpc/clnt_simp.c: Likewise.
21188 * sunrpc/clnt_tcp.c: Likewise.
21189 * sunrpc/clnt_udp.c: Likewise.
21190 * sunrpc/clnt_unix.c: Likewise.
21191 * sunrpc/des_crypt.c: Likewise.
21192 * sunrpc/des_soft.c: Likewise.
21193 * sunrpc/get_myaddr.c: Likewise.
21194 * sunrpc/key_call.c: Likewise.
21195 * sunrpc/key_prot.c: Likewise.
21196 * sunrpc/netname.c: Likewise.
21197 * sunrpc/pm_getmaps.c: Likewise.
21198 * sunrpc/pm_getport.c: Likewise.
21199 * sunrpc/pmap_clnt.c: Likewise.
21200 * sunrpc/pmap_prot.c: Likewise.
21201 * sunrpc/pmap_prot2.c: Likewise.
21202 * sunrpc/pmap_rmt.c: Likewise.
21203 * sunrpc/publickey.c: Likewise.
21204 * sunrpc/rpc_cmsg.c: Likewise.
21205 * sunrpc/rpc_common.c: Likewise.
21206 * sunrpc/rpc_dtable.c: Likewise.
21207 * sunrpc/rpc_prot.c: Likewise.
21208 * sunrpc/rpc_thread.c: Likewise.
21209 * sunrpc/rtime.c: Likewise.
21210 * sunrpc/svc.c: Likewise.
21211 * sunrpc/svc_auth.c: Likewise.
21212 * sunrpc/svc_authux.c: Likewise.
21213 * sunrpc/svc_raw.c: Likewise.
21214 * sunrpc/svc_run.c: Likewise.
21215 * sunrpc/svc_simple.c: Likewise.
21216 * sunrpc/svc_tcp.c: Likewise.
21217 * sunrpc/svc_udp.c: Likewise.
21218 * sunrpc/svc_unix.c: Likewise.
21219 * sunrpc/svcauth_des.c: Likewise.
21220 * sunrpc/xcrypt.c: Likewise.
21221 * sunrpc/xdr.c: Likewise.
21222 * sunrpc/xdr_array.c: Likewise.
21223 * sunrpc/xdr_float.c: Likewise.
21224 * sunrpc/xdr_intXX_t.c: Likewise.
21225 * sunrpc/xdr_mem.c: Likewise.
21226 * sunrpc/xdr_rec.c: Likewise.
21227 * sunrpc/xdr_ref.c: Likewise.
21228 * sunrpc/xdr_sizeof.c: Likewise.
21229 * sunrpc/xdr_stdio.c: Likewise.
21231 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21234 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21235 * sysdeps/ia64/dl-tls.h: Likewise.
21236 * sysdeps/powerpc/dl-tls.h: Likewise.
21237 * sysdeps/s390/dl-tls.h: Likewise.
21238 * sysdeps/sh/dl-tls.h: Likewise.
21239 * sysdeps/sparc/dl-tls.h: Likewise.
21240 * sysdeps/x86_64/dl-tls.h: Likewise.
21241 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21243 2011-03-14 Andreas Schwab <schwab@redhat.com>
21245 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21246 rpath element also skip the following colon.
21247 (expand_dynamic_string_token): Add is_path parameter and pass
21248 down to DL_DST_REQUIRED and _dl_dst_substitute.
21249 (decompose_rpath): Call expand_dynamic_string_token with
21250 non-zero is_path. Ignore empty rpaths.
21251 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21254 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21259 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21262 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21263 Patch by Filipe David Manana <fdmanana@apache.org>.
21265 2011-04-07 Andreas Schwab <schwab@redhat.com>
21267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21268 Maintain aligned stack.
21269 (CHECK_RSP): Remove unused macro.
21271 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21273 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21276 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21278 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21280 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21282 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21285 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21286 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21287 * sysdeps/x86_64/memmove.c: New file.
21288 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21289 (memcpy): Renamed to ...
21290 (__new_memcpy): This.
21291 (memcpy): Provide GLIBC_2_14 memcpy.
21292 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21293 (memcpy): Provide GLIBC_2_2_5 memcpy.
21295 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21298 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21300 2011-03-30 Andreas Schwab <schwab@redhat.com>
21302 * misc/syncfs.c: New file.
21303 * misc/Makefile (routines): Add syncfs.
21304 * posix/unistd.h: Declare syncfs.
21305 * sysdeps/unix/syscalls.list: Add syncfs.
21307 2011-04-01 Andreas Schwab <schwab@redhat.com>
21309 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21316 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21319 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21322 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21323 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21325 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21329 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21330 sync_file_range.c with -fexceptions.
21331 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21332 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21333 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21334 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21335 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21336 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21338 sync_file_range as cancellation point
21339 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21340 now a wrapper around __call_sync_file_range with cancellation handling.
21341 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21342 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21343 function name to __call_sync_file_range.
21344 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21345 Add call_sync_file_range.
21347 2011-04-01 Andreas Schwab <schwab@redhat.com>
21349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21352 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21354 * iconv/iconv.h: Fix typo in comment.
21355 * io/fcntl.h: Likewise.
21356 * libio/stdio.h: Likewise.
21357 * posix/spawn.h: Likewise.
21358 * posix/unistd.h: Likewise.
21359 * stdlib/stdlib.h: Likewise.
21360 * time/time.h: Likewise.
21361 * wcsmbs/wchar.h: Likewise.
21363 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21364 open_by_handle): Add.
21365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21366 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21367 Augment a few comments.
21368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21373 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21376 * io/fcntl.h (AT_EMPTY_PATH): Define.
21378 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21380 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21381 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21382 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21384 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21385 * Versions.def: Add GLIBC_2.14.
21386 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21389 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21391 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21393 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21395 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21398 * string/test-strncmp.c (do_page_test): New function.
21399 (check2): Likewise.
21400 (test_main): Call check2.
21401 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21403 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21406 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21407 Handle cache information in CPU leaf 4.
21408 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21410 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21413 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21414 character representation.
21415 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21417 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21419 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21420 END(__isnan) to END(__isnanf) to match function entry point/label
21421 EALIGN(__isnanf,...).
21423 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21425 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21427 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21430 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21431 copy from the symbol referenced in the relocation to initialize the
21433 Patch by Piotr Bury <pbury@goahead.com>.
21434 * elf/Makefile: Add rules to build and tst-unique3.
21435 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21436 * elf/tst-unique3.cc: New file.
21437 * elf/tst-unique3.h: New file.
21438 * elf/tst-unique3lib.cc: New file.
21439 * elf/tst-unique3lib2.cc: New file.
21441 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21443 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21445 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21446 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21449 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21451 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21452 to-be-loaded object along a path to loader is ld.so.
21454 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21455 Ulrich Drepper <drepper@gmail.com>
21457 * sysdeps/x86_64/memset.S: After aligning destination, code
21458 branches to different locations depending on the value of
21459 misalignment, when multiarch is enabled. Fix this.
21461 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21463 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21464 Set _x86_64_preferred_memory_instruction for AMD processsors.
21465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21466 Set bit_Prefer_SSE_for_memop for AMD processors.
21468 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21470 * libio/fmemopen.c (fmemopen): Optimize a bit.
21472 2011-03-03 Andreas Schwab <schwab@redhat.com>
21474 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21476 2011-03-03 Roland McGrath <roland@redhat.com>
21478 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21480 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21482 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21483 __bzero_ultra1 instead of __memset_ultra1.
21485 2011-02-23 Andreas Schwab <schwab@redhat.com>
21486 Ulrich Drepper <drepper@gmail.com>
21489 * include/link.h (struct link_map): Add l_orig_initfini.
21490 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21491 returning unsuccessfully.
21492 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21493 close of a file loaded at startup, restore the original l_initfini
21495 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21496 list, store the pointer.
21497 * elf/Makefile ($(objpfx)noload-mem): New rule.
21498 (noload-ENV): Define.
21499 (tests): Add $(objpfx)noload-mem.
21500 * elf/noload.c: Include <memcheck.h>.
21501 (main): Call mtrace. Close all opened handles.
21503 2011-02-17 Andreas Schwab <schwab@redhat.com>
21506 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21507 dependencies are missing.
21509 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21511 Fix __if_freereq crash: Unlike the generic version which uses free,
21513 * sysdeps/mach/hurd/ifreq.h: New file.
21515 2011-01-27 Petr Baudis <pasky@suse.cz>
21516 Ulrich Drepper <drepper@gmail.com>
21519 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21520 to extend_alloca().
21521 * stdio-common/bug23.c: New file.
21522 * stdio-common/Makefile (tests): Add bug23.
21524 2010-09-28 Andreas Schwab <schwab@redhat.com>
21525 Ulrich Drepper <drepper@gmail.com>
21528 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21529 before performing relro protection. At old place add assertion
21530 to make sure nothing changed.
21532 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21533 Glauber de Oliveira Costa <glommer@gmail.com>
21535 * elf/elf.h: Add new ARM TLS relocs.
21537 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21540 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21542 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21544 * sysdeps/wordsize-64/tst-writev.c: New file.
21546 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21548 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21549 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21550 insns in _dl_start to prevent a TOC reference before relocs are
21553 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21556 * Makeconfig: Remove RANLIB definition.
21557 * Makerules: Don't use RANLIB.
21558 * aclocal.m4: Remove ranlib test.
21559 * configure.in: No need to check for ranlib.
21560 * elf/rtld-Rules: Don't use RANLIB.
21562 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21564 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21566 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21567 inclusion protection macro.
21569 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21570 SIGRTMIN and SIGRTMAX and print information in that case only when
21571 SIGRTMIN is defined.
21573 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21575 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21576 arginfo fn returning -1.
21578 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21579 and thousands string is zero terminated.
21581 2011-02-03 Andreas Schwab <schwab@redhat.com>
21583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21584 sysdeps/unix/sysv/linux/bits/socket.h.
21586 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21588 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21589 (__CPU_COUNT): Remove old macros.
21590 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21591 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21592 (__CPU_ALLOC, __CPU_FREE): Add macros.
21593 (__sched_cpualloc, __sched_cpufree): Add declarations.
21595 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21597 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21598 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21599 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21600 (readdhstai): Return value of addhstaiX call.
21601 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21602 (addgrbyX): Return value returned by cache_addgr.
21603 (readdgrbyname): Return value returned by addgrbyX.
21604 (readdgrbygid): Likewise.
21605 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21606 (addpwbyX): Return value returned by cache_addpw.
21607 (readdpwbyname): Return value returned by addhstbyX.
21608 (readdpwbyuid): Likewise.
21609 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21610 (addservbyX): Return value returned by cache_addserv.
21611 (readdservbyname): Return value returned by addservbyX:
21612 (readdservbyport): Likewise.
21613 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21614 (addhstbyX): Return value returned by cache_addhst.
21615 (readdhstbyname): Return value returned by addhstbyX.
21616 (readdhstbyaddr): Likewise.
21617 (readdhstbynamev6): Likewise.
21618 (readdhstbyaddrv6): Likewise.
21619 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21620 (readdinitgroups): Return value returned by addinitgroupsX.
21621 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21622 (prune_cache): Keep track of timeout value of re-added entries.
21623 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21624 * nscd/nscd.h: Adjust prototypes of readd* functions.
21626 2011-02-04 Roland McGrath <roland@redhat.com>
21628 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21629 (nis_stats): Likewise.
21630 * nis/nis_modify.c (nis_modify): Likewise.
21631 * nis/nis_remove.c (nis_remove): Likewise.
21632 * nis/nis_add.c (nis_add): Likewise.
21634 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21636 * posix/fnmatch_loop.c: Add some consts.
21638 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21640 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21643 * config.make.in (config-cflags-novzeroupper): Define.
21644 * configure.in: Substitute libc_cv_cc_novzeroupper.
21645 * elf/Makefile (AVX-CFLAGS): Define.
21646 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21647 (CFLAGS-tst-auditmod4a.c): Likewise.
21648 (CFLAGS-tst-auditmod4b.c): Likewise.
21649 (CFLAGS-tst-auditmod6b.c): Likewise.
21650 (CFLAGS-tst-auditmod6c.c): Likewise.
21651 (CFLAGS-tst-auditmod7b.c): Likewise.
21652 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21654 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21656 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21657 function to the callback.
21658 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21660 2011-02-02 Andreas Schwab <schwab@redhat.com>
21662 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21665 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21668 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21670 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21672 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21675 * elf/Makefile: Add rules to build and run new test.
21676 * elf/tst-initorder.c: New file.
21677 * elf/tst-initorder.exp: New file.
21678 * elf/tst-initordera1.c: New file.
21679 * elf/tst-initordera2.c: New file.
21680 * elf/tst-initordera3.c: New file.
21681 * elf/tst-initordera4.c: New file.
21682 * elf/tst-initorderb1.c: New file.
21683 * elf/tst-initorderb2.c: New file.
21684 * elf/tst-order-a1.c: New file.
21685 * elf/tst-order-a2.c: New file.
21686 * elf/tst-order-a3.c: New file.
21687 * elf/tst-order-a4.c: New file.
21688 * elf/tst-order-b1.c: New file.
21689 * elf/tst-order-b2.c: New file.
21690 * elf/tst-order-main.c: New file.
21691 New test case by George Gensure <werkt0@gmail.com>.
21693 2010-10-01 Andreas Schwab <schwab@redhat.com>
21695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21696 decoding ACE if AI_CANONIDN.
21698 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21700 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21702 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21704 * version.h (RELEASE): Bump for 2.13 release.
21705 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21707 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21709 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21711 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21712 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21713 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21714 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21715 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21716 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21718 * posix/getconf.c: Update copyright year.
21719 * catgets/gencat.c: Likewise.
21720 * csu/version.c: Likewise.
21721 * debug/catchsegv.sh: Likewise.
21722 * debug/xtrace.sh: Likewise.
21723 * elf/ldconfig.c: Likewise.
21724 * elf/ldd.bash.in: Likewise.
21725 * elf/sprof.c (print_version): Likewise.
21726 * iconv/iconv_prog.c: Likewise.
21727 * iconv/iconvconfig.c: Likewise.
21728 * locale/programs/locale.c: Likewise.
21729 * locale/programs/localedef.c: Likewise.
21730 * malloc/memusage.sh: Likewise.
21731 * malloc/mtrace.pl: Likewise.
21732 * nscd/nscd.c (print_version): Likewise.
21733 * nss/getent.c: Likewise.
21735 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21736 PF_CAIF, and PF_ALG.
21737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21739 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21741 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21742 (modules-names): Use them.
21743 (ifunc-test-modules, ifunc-pie-tests): Define.
21744 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21745 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21746 (test-extras): Likewise.
21747 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21748 $(compile-command.c).
21749 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21750 (all-built-dso): Define.
21751 (check-textrel.out, check-execstack.out): Depend on it.
21753 * configure.in: Don't override --enable-multi-arch.
21755 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21758 * nscd/hstcache.c (tryagain): Define.
21759 (cache_addhst): Return tryagain not notfound for temporary errors.
21760 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21763 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21766 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21767 to make the syscall.
21768 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21771 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21772 and fall back to matching as normal character if the string ends before
21773 the matching ']' is found. This is what POSIX requires.
21774 * posix/testfnm.c: Adjust test result.
21775 * posix/globtest.sh: Adjust test result. Add new test.
21776 * posix/tst-fnmatch.input: Likewise.
21777 * posix/tst-fnmatch2.c: Add new test.
21779 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21781 * elf/Makefile (check-execstack): Revert last change. Depend on
21783 (check-execstack.h): New target.
21784 (generated): Add check-execstack.h.
21785 * elf/check-execstack.c: Include "check-execstack.h".
21786 (main): Revert last change.
21787 (handle_file): Return zero if GNU_STACK is absent and
21788 DEFAULT_STACK_PERMS doesn't include PF_X.
21790 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21792 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21793 in child fails because the descriptor is already closed.
21794 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21795 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21796 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21799 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21803 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21804 temporary buffer used to handle multi lookups locally.
21805 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21807 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21809 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21812 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21814 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21815 alignment for SSE2.
21817 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21820 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21821 characters. When rounding increased number of integer digits recompute
21823 * stdio-common/tst-grouping.c: New file.
21824 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21826 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21828 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21829 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21831 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21833 * bits/select.h: Likewise.
21835 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21837 * po/ja.po: Update from translation team.
21839 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21842 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21843 implementation just like for lxstat, fxstatat, et al.
21845 2010-12-27 Jim Meyering <meyering@redhat.com>
21848 * posix/regexec.c (build_trtable): Return failure indication upon
21849 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21851 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21854 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21855 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21856 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21857 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21860 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21863 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21864 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21866 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21868 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21869 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21870 script has SORT_BY_INIT_PRIORITY.
21871 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21872 NO_CTORS_DTORS_SECTIONS is defined.
21873 * elf/soinit.c: Likewise.
21874 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21875 NO_CTORS_DTORS_SECTIONS is defined.
21876 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21877 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21878 * sysdeps/sh/init-first.c: Likewise.
21879 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21881 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21883 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21884 always use the slow path.
21886 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21888 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21889 similar rule which adds the sysdep directories to the header search in
21890 order to pick up the correct platform stackinfo.h.
21891 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21892 perform test if it is, otherwise return successfully without testing.
21893 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21894 DEFAULT_STACK_PERMS define in stackinfo.h.
21895 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21896 defined in stackinfo.h.
21897 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21898 DEFAULT_STACK_PERMS defined in stackinfo.h.
21899 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21900 * sysdeps/ia64/stackinfo.h: Likewise.
21901 * sysdeps/s390/stackinfo.h: Likewise.
21902 * sysdeps/sh/stackinfo.h: Likewise.
21903 * sysdeps/sparc/stackinfo.h: Likewise.
21904 * sysdeps/x86_64/stackinfo.h: Likewise.
21905 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21906 PF_X for powerpc64. Retain PF_X for powerpc32.
21908 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21910 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21912 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21913 GETDENTS_64BIT_ALIGNED.
21915 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21917 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21919 2010-12-10 Andreas Schwab <schwab@redhat.com>
21921 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21924 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21925 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21927 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21928 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21930 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21933 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21936 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21938 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21940 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21942 * po/it.po: Update from translation team.
21944 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21949 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21951 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21953 2010-11-24 Andreas Schwab <schwab@redhat.com>
21955 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21957 (gaih_getanswer_slice): Likewise.
21959 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21963 2010-05-31 Petr Baudis <pasky@suse.cz>
21966 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21967 silently even in the chroot mode.
21969 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21971 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21972 last patch a bit. Pretty printing
21974 2010-05-31 Petr Baudis <pasky@suse.cz>
21977 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21978 initialization of skip_initgroups_dyn.
21980 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21982 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21983 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21985 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21987 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21989 2010-11-11 Andreas Schwab <schwab@redhat.com>
21991 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21992 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21993 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21994 ($(objpfx)tst-fnmatch-mem): New rule.
21995 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21996 * posix/tst-fnmatch.c (main): Call mtrace.
21998 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22001 Support Intel processor model 6 and model 0x2c.
22003 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22008 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22011 * string/test-strncasecmp.c (check_result): New function.
22012 (do_one_test): Use it.
22013 (check1): New function.
22014 (test_main): Use it.
22015 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22016 Support strcasecmp and strncasecmp.
22018 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22021 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22022 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22024 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22026 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22030 * sysdeps/x86_64/multiarch/bzero.S: New file.
22031 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22032 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22033 * sysdeps/x86_64/multiarch/memset.S: New file.
22034 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22036 Set bit_Prefer_SSE_for_memop for Intel processors.
22037 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22039 (index_Prefer_SSE_for_memop): Define.
22040 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22042 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22044 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22045 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22047 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22050 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22051 (__x86_64_raw_data_cache_size_half): Likewise.
22052 (__x86_64_raw_shared_cache_size): Likewise.
22053 (__x86_64_raw_shared_cache_size_half): Likewise.
22055 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22056 (__x86_64_raw_data_cache_size_half): Likewise.
22057 (__x86_64_raw_shared_cache_size): Likewise.
22058 (__x86_64_raw_shared_cache_size_half): Likewise.
22059 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22060 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22061 and __x86_64_raw_shared_cache_size_half. Round
22062 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22063 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22064 to multiple of 256 bytes.
22066 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22069 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22070 of inacessible symlinks. Verify result of symlink before returning it.
22071 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22072 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22074 2010-10-28 Erich Ritz <erichritz@gmail.com>
22076 * math/math.h (isinf): Fix typo in comment.
22078 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22080 * po/da.po: Update from translation team.
22082 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22084 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22085 is added to the list.
22087 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22088 Ulrich Drepper <drepper@gmail.com>
22090 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22091 the global list here. Move code to...
22092 (_dl_add_to_namespace_list): ...here. New function.
22093 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22094 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22095 * elf/dl-load.c (lose): Don't remove the element from the list.
22096 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22097 (_dl_map_object): Likewise.
22099 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22102 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22103 into all bytes of SSE register.
22104 Patch by Richard Li <richardpku@gmail.com>.
22106 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22109 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22112 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22114 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22115 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22122 2010-10-22 Andreas Schwab <schwab@redhat.com>
22124 * include/dlfcn.h (__RTLD_SECURE): Define.
22125 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22126 mode & __RTLD_SECURE instead.
22127 (open_path): Rename preloaded parameter to secure.
22128 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22129 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22130 * elf/dl-deps.c (openaux): Likewise.
22131 * elf/rtld.c (struct map_args): Remove is_preloaded.
22132 (map_doit): Don't use it.
22133 (dl_main): Likewise.
22134 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22135 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22137 2010-09-09 Andreas Schwab <schwab@redhat.com>
22139 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22140 (sysd-rules-targets): Remove duplicates.
22141 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22142 rtld-%.$o dependency.
22144 2010-10-18 Andreas Schwab <schwab@redhat.com>
22146 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22147 _dl_map_object do it.
22149 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22151 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22152 fast fma builtins, define the macros in the C99 standard.
22153 (FP_FAST_FMAF): Likewise.
22154 (FP_FAST_FMAL): Likewise.
22155 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22157 * bits/mathdef.h: Update copyright year.
22158 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22160 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22162 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22163 builtins, define the macros in the C99 standard.
22164 (FP_FAST_FMAF): Likewise.
22165 (FP_FAST_FMAL): Likewise.
22166 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22168 (FP_FAST_FMAF): Likewise.
22170 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22173 * math/libm-test.inc (fma_test): Some new testcases.
22174 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22175 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22176 y and infinite z. Do multiplication by C already in long double.
22177 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22179 y and infinite z. Do bitwise or of inexact bit into u.d.
22180 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22181 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22182 * sysdeps/i386/fpu/s_fma.S: Removed.
22183 * sysdeps/i386/fpu/s_fmal.S: Removed.
22185 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22188 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22190 computation is not scheduled after fetestexcept. Fix value
22191 of minimum denormal long double.
22193 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22196 * math/libm-test.inc (fma_test): Add some more tests.
22197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22200 2010-10-15 Andreas Schwab <schwab@redhat.com>
22202 * scripts/data/localplt-s390-linux-gnu.data: New file.
22203 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22205 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22208 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22209 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22211 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22213 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22215 if one of x and y is very large and the other is subnormal.
22216 * sysdeps/s390/fpu/s_fmaf.c: New file.
22217 * sysdeps/s390/fpu/s_fma.c: New file.
22218 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22219 * sysdeps/powerpc/fpu/s_fma.S: New file.
22220 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22221 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22222 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22224 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22227 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22230 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22231 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22232 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22233 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22234 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22237 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22240 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22241 * posix/bug-regex31.input: Add test case.
22243 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22245 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22246 * posix/bug-regex31.input: New file.
22249 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22250 (parse_sub_exp): Fix last change, use postorder.
22252 * posix/bug-regex31.c: New file.
22253 * posix/Makefile: Add rules to build and run bug-regex31.
22255 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22258 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22261 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22262 to have entries in sys_siglist.
22265 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22268 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22271 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22272 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22273 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22274 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22275 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22276 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22277 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22278 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22279 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22280 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22281 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22282 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22283 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22284 * math/ftestexcept.c (fetestexcept): Likewise.
22285 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22286 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22287 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22288 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22289 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22290 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22291 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22293 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22296 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22299 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22301 * string/bug-strstr1.c: New file.
22302 * string/Makefile: Add rules to build and run bug-strstr1.
22304 2010-10-05 Eric Blake <eblake@redhat.com>
22307 * string/str-two-way.h (two_way_long_needle): Always clear memory
22308 when skipping input due to the shift table.
22310 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22313 * malloc/mcheck.c: Handle large requests.
22316 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22317 for strncmp and strncasecmp.
22318 * string/stratcliff.c: Add tests for strcmp and strncmp.
22319 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22321 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22323 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22326 2010-09-30 Andreas Jaeger <aj@suse.de>
22328 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22329 (CGROUP_SUPER_MAGIC): Define.
22330 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22331 Handle btrfs and cgroup file systems.
22332 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22335 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22337 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22338 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22340 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22343 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22344 trying to locate the ELF header.
22346 2010-09-27 Andreas Schwab <schwab@redhat.com>
22349 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22350 Mask out sign-bit copies when constructing f_fsid.
22352 2010-09-24 Petr Baudis <pasky@suse.cz>
22354 * debug/stack_chk_fail_local.c: Add missing licence exception.
22355 * debug/warning-nop.c: Likewise.
22357 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22359 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22360 implementing getdents64 using getdents syscall, set d_type if
22361 __ASSUME_GETDENTS32_D_TYPE.
22363 2010-09-16 Andreas Schwab <schwab@redhat.com>
22365 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22366 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22368 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22371 * posix/unistd.h: Undo change of feature selection for ftruncate from
22374 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22376 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22379 2010-09-20 Andreas Schwab <schwab@redhat.com>
22381 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22383 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22385 2010-09-14 Andreas Schwab <schwab@redhat.com>
22387 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22388 variables after CHECK_SP call.
22389 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22391 2010-09-13 Andreas Schwab <schwab@redhat.com>
22392 Ulrich Drepper <drepper@redhat.com>
22394 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22395 re-relocationg ld.so.
22396 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22397 _dl_init_paths call.
22398 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22401 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22403 * resolv/res_init.c (__res_vinit): Count the default server we added.
22405 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22406 Ulrich Drepper <drepper@redhat.com>
22409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22410 (____longjmp_chk): Use %ebx for saving value across system call.
22413 2010-09-06 Andreas Schwab <schwab@redhat.com>
22415 * manual/Makefile: Don't mix pattern rules with normal rules.
22417 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22419 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22421 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22422 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22423 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22424 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22428 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22431 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22432 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22434 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22436 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22437 * sysdeps/x86_64/addmul_1.S: Likewise.
22438 * sysdeps/x86_64/lshift.S: Likewise.
22439 * sysdeps/x86_64/mul_1.S: Likewise.
22440 * sysdeps/x86_64/rshift.S: Likewise.
22441 * sysdeps/x86_64/sub_n.S: Likewise.
22442 * sysdeps/x86_64/submul_1.S: Likewise.
22444 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22446 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22447 Define __sched_param instead of SCHED_* and sched_param when
22448 <bits/sched.h> is included with __need_schedparam defined.
22449 * bits/sched.h [__need_schedparam]
22450 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22451 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22452 (__defined_schedparam): Define to 1.
22453 (__sched_param): New structure, identical to sched_param.
22454 (__need_schedparam): Undefine.
22456 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22458 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22459 (epoll_create1): Declare.
22461 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22463 2010-08-31 Andreas Schwab <schwab@redhat.com>
22466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22467 shifting retval into place.
22469 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22471 * nis/rpcsvc/nis.h: Update copyright notice.
22472 * nis/rpcsvc/nis.x: Likewise.
22473 * nis/rpcsvc/nis_callback.h: Likewise.
22474 * nis/rpcsvc/nis_callback.x: Likewise.
22475 * nis/rpcsvc/nis_object.x: Likewise.
22476 * nis/rpcsvc/nis_tags.h: Likewise.
22477 * nis/rpcsvc/yp.h: Likewise.
22478 * nis/rpcsvc/yp.x: Likewise.
22479 * nis/rpcsvc/ypupd.h: Likewise.
22480 * nis/yp_xdr.c: Likewise.
22481 * nis/ypupdate_xdr.c: Likewise.
22483 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22484 mainly the body of pmap_getport. Add parameters to specify timeouts.
22485 (pmap_getport): Use __libc_rpc_getport.
22486 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22487 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22488 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22490 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22495 2010-08-27 Roland McGrath <roland@redhat.com>
22497 * sysdeps/i386/i686/multiarch/Makefile
22498 (CFLAGS-varshift.c): New variable.
22500 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22502 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22503 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22505 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22507 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22509 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22511 * sysdeps/x86_64/strlen.S: Unroll the loop.
22512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22513 strlen-sse2 strlen-sse2-bsf.
22514 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22515 __strlen_no_bsf if bit_Slow_BSF is set.
22516 (__strlen_sse42): Removed.
22517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22518 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22520 2010-08-25 Roland McGrath <roland@redhat.com>
22522 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22523 * sysdeps/x86_64/multiarch/varshift.c: New file.
22524 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22525 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22526 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22527 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22529 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22532 strlen-sse2 strlen-sse2-bsf.
22533 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22534 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22535 (__strlen_sse2): Removed.
22536 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22537 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22539 bit_Slow_BSF for Atom.
22540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22541 (index_Slow_BSF): Define.
22542 (HAS_SLOW_BSF): Define.
22544 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22547 * resolv/res_init.c (__res_vinit): When no server address at all
22548 is given default to loopback.
22550 2010-08-24 Roland McGrath <roland@redhat.com>
22552 * configure.in: Remove config-name.h generation.
22553 * configure: Regenerated.
22554 * config-name.in: File removed.
22555 * scripts/config-uname.sh: New file.
22556 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22557 ($(objdir)config-name.h): New target.
22559 * sunrpc/rpc_parse.h: Avoid nested comment.
22561 2010-08-24 Richard Henderson <rth@redhat.com>
22562 Ulrich Drepper <drepper@redhat.com>
22563 H.J. Lu <hongjiu.lu@intel.com>
22565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22567 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22568 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22569 _mm_alignr_epi8 with _mm_loadu_si128.
22570 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22571 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22572 (__m128i_shift_right): Removed.
22573 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22574 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22575 * sysdeps/x86_64/multiarch/varshift.h: New file.
22576 * sysdeps/x86_64/multiarch/varshift.S: New file.
22578 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22580 * configure.in: Move assembler checks to before sysdep dir checking.
22582 2010-08-20 Petr Baudis <pasky@suse.cz>
22584 * LICENSES: Sync the sunrpc license.
22586 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22588 * sunrpc/auth_des.c: Update copyright notice once again.
22589 * sunrpc/auth_none.c: Likewise.
22590 * sunrpc/auth_unix.c: Likewise.
22591 * sunrpc/authdes_prot.c: Likewise.
22592 * sunrpc/authuxprot.c: Likewise.
22593 * sunrpc/bindrsvprt.c: Likewise.
22594 * sunrpc/clnt_gen.c: Likewise.
22595 * sunrpc/clnt_perr.c: Likewise.
22596 * sunrpc/clnt_raw.c: Likewise.
22597 * sunrpc/clnt_simp.c: Likewise.
22598 * sunrpc/clnt_tcp.c: Likewise.
22599 * sunrpc/clnt_udp.c: Likewise.
22600 * sunrpc/clnt_unix.c: Likewise.
22601 * sunrpc/des_crypt.c: Likewise.
22602 * sunrpc/des_soft.c: Likewise.
22603 * sunrpc/get_myaddr.c: Likewise.
22604 * sunrpc/getrpcport.c: Likewise.
22605 * sunrpc/key_call.c: Likewise.
22606 * sunrpc/key_prot.c: Likewise.
22607 * sunrpc/openchild.c: Likewise.
22608 * sunrpc/pm_getmaps.c: Likewise.
22609 * sunrpc/pm_getport.c: Likewise.
22610 * sunrpc/pmap_clnt.c: Likewise.
22611 * sunrpc/pmap_prot.c: Likewise.
22612 * sunrpc/pmap_prot2.c: Likewise.
22613 * sunrpc/pmap_rmt.c: Likewise.
22614 * sunrpc/rpc/auth.h: Likewise.
22615 * sunrpc/rpc/auth_unix.h: Likewise.
22616 * sunrpc/rpc/clnt.h: Likewise.
22617 * sunrpc/rpc/des_crypt.h: Likewise.
22618 * sunrpc/rpc/key_prot.h: Likewise.
22619 * sunrpc/rpc/netdb.h: Likewise.
22620 * sunrpc/rpc/pmap_clnt.h: Likewise.
22621 * sunrpc/rpc/pmap_prot.h: Likewise.
22622 * sunrpc/rpc/pmap_rmt.h: Likewise.
22623 * sunrpc/rpc/rpc.h: Likewise.
22624 * sunrpc/rpc/rpc_des.h: Likewise.
22625 * sunrpc/rpc/rpc_msg.h: Likewise.
22626 * sunrpc/rpc/svc.h: Likewise.
22627 * sunrpc/rpc/svc_auth.h: Likewise.
22628 * sunrpc/rpc/types.h: Likewise.
22629 * sunrpc/rpc/xdr.h: Likewise.
22630 * sunrpc/rpc_clntout.c: Likewise.
22631 * sunrpc/rpc_cmsg.c: Likewise.
22632 * sunrpc/rpc_common.c: Likewise.
22633 * sunrpc/rpc_cout.c: Likewise.
22634 * sunrpc/rpc_dtable.c: Likewise.
22635 * sunrpc/rpc_hout.c: Likewise.
22636 * sunrpc/rpc_main.c: Likewise.
22637 * sunrpc/rpc_parse.c: Likewise.
22638 * sunrpc/rpc_parse.h: Likewise.
22639 * sunrpc/rpc_prot.c: Likewise.
22640 * sunrpc/rpc_sample.c: Likewise.
22641 * sunrpc/rpc_scan.c: Likewise.
22642 * sunrpc/rpc_scan.h: Likewise.
22643 * sunrpc/rpc_svcout.c: Likewise.
22644 * sunrpc/rpc_tblout.c: Likewise.
22645 * sunrpc/rpc_util.c: Likewise.
22646 * sunrpc/rpc_util.h: Likewise.
22647 * sunrpc/rpcinfo.c: Likewise.
22648 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22649 * sunrpc/rpcsvc/key_prot.x: Likewise.
22650 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22651 * sunrpc/rpcsvc/mount.x: Likewise.
22652 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22653 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22654 * sunrpc/rpcsvc/rex.x: Likewise.
22655 * sunrpc/rpcsvc/rstat.x: Likewise.
22656 * sunrpc/rpcsvc/rusers.x: Likewise.
22657 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22658 * sunrpc/rpcsvc/spray.x: Likewise.
22659 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22660 * sunrpc/rtime.c: Likewise.
22661 * sunrpc/svc.c: Likewise.
22662 * sunrpc/svc_auth.c: Likewise.
22663 * sunrpc/svc_authux.c: Likewise.
22664 * sunrpc/svc_raw.c: Likewise.
22665 * sunrpc/svc_run.c: Likewise.
22666 * sunrpc/svc_simple.c: Likewise.
22667 * sunrpc/svc_tcp.c: Likewise.
22668 * sunrpc/svc_udp.c: Likewise.
22669 * sunrpc/svc_unix.c: Likewise.
22670 * sunrpc/svcauth_des.c: Likewise.
22671 * sunrpc/xcrypt.c: Likewise.
22672 * sunrpc/xdr.c: Likewise.
22673 * sunrpc/xdr_array.c: Likewise.
22674 * sunrpc/xdr_float.c: Likewise.
22675 * sunrpc/xdr_mem.c: Likewise.
22676 * sunrpc/xdr_rec.c: Likewise.
22677 * sunrpc/xdr_ref.c: Likewise.
22678 * sunrpc/xdr_sizeof.c: Likewise.
22679 * sunrpc/xdr_stdio.c: Likewise.
22681 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22684 2010-08-19 Andreas Schwab <schwab@redhat.com>
22686 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22688 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22690 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22691 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22692 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22693 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22694 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22695 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22696 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22697 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22698 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22699 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22700 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22701 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22702 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22703 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22705 2010-07-26 Anton Blanchard <anton@samba.org>
22707 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22708 * malloc/arena.c (heap_trim): Likewise.
22710 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22712 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22715 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22717 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22719 * sysdeps/i386/elf/Makefile: New file.
22721 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22723 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22724 from fanotify_init.
22725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22728 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22730 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22732 * sysdeps/multiarch/strcmp.S: Likewise.
22734 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22736 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22737 strncase_l-nonascii.
22738 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22739 Add strncase_l-ssse3.
22740 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22741 * sysdeps/x86_64/strcmp.S: Likewise.
22742 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22743 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22744 * sysdeps/x86_64/strncase.S: New file.
22745 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22746 * sysdeps/x86_64/strncase_l.S: New file.
22747 * string/Makefile (strop-tests): Add strncasecmp.
22748 * string/test-strncasecmp.c: New file.
22750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22753 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22754 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22756 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22758 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22760 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22762 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22763 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22764 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22766 2010-05-01 Alan Modra <amodra@gmail.com>
22768 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22769 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22770 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22771 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22772 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22773 tidying. Don't tail-call __sigjmp_save for static lib.
22774 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22776 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22777 (CALL_MCOUNT): Add eh info, and nop after bl.
22778 (TAIL_CALL_SYSCALL_ERROR): New macro.
22779 (PSEUDO_RET): Use it.
22780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22781 Correct save location of integer regs and cr.
22782 (_dl_profile_resolve): Correct cr save location. Delete nops
22783 after bl when SHARED. Reduce cfi size a little by better
22784 placement of cfi directives.
22785 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22786 make a stack frame. Instead use parm save area as a temp.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22788 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22790 Don't make a stack frame for parent, use parm save area.
22791 Increase child stack frame to 112 bytes. Don't save unused reg,
22792 and adjust reg usage. Set up cfi on error recovery and
22793 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22795 (__makecontext): Add dummy nop after jump to exit.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22797 Use correct parm save area and cr save, reduce stack frame.
22798 Correct cfi for possible PSEUDO_RET frame setup.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22800 Branch to local label emitted by PSEUDO_RET rather than
22803 2010-08-12 Andreas Schwab <schwab@redhat.com>
22806 * locale/programs/locale.c (print_assignment): New function.
22807 (show_locale_vars): Use it.
22809 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22811 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22813 (struct statfs64): Likewise.
22814 (_STATFS_F_FLAGS): Define.
22815 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22817 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22818 (ST_VALID): Define locally.
22819 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22820 __statvfs_getflags, use the provided value.
22821 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22822 __ASSUME_STATFS_F_FLAGS.
22824 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22826 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22827 Add sys/fanotify.h.
22828 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22829 fanotify_mask for GLIBC_2.13.
22830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22831 fanotify_init and fanotify_mark.
22832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22833 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22835 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22837 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22838 prlimit64 for GLIBC_2.13.
22839 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22841 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22844 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22845 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22846 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22849 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22852 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22853 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22855 * nss/Makefile: Add rules to build and run tst-nss-test1.
22856 * shlib-versions: Add entry for libnss_test1.
22857 * nss/nss_test1.c: New file.
22858 * nss/tst-nss-test1.c: New file.
22860 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22861 (__nss_configure_lookup): Set appropriate entry in
22862 __nss_configure_lookup to true.
22863 * nss/nsswitch.h: Define enum with indeces of databases in
22864 databases and __nss_database_custom arrays. Declare
22865 __nss_database_custom.
22866 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22867 to avoid using nscd when custom rules are installed.
22868 * nss/getXXbyYY_r.c: Likewise.
22869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22871 * nss/nss_files/files-parse.c: Whitespace fixes.
22873 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22876 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22877 * posix/fnmatch_loop.c: Likewise.
22879 2010-07-17 Andi Kleen <ak@linux.intel.com>
22881 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22882 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22883 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22884 * Versions.def [GLIBC_2.13]: Add.
22886 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22889 Also fail if tpwd after pwuid call is NULL.
22891 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22893 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22894 when converting to ms.
22896 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22898 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22899 EOPNOTSUPP errors with ENOTTY.
22900 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22901 EOPNOTSUPP errors with ENOTTY.
22903 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22905 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22906 Add strcasecmp_l-ssse3.
22907 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22909 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22910 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22911 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22913 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22915 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22917 * string/Makefile (strop-tests): Add strcasecmp.
22918 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22919 strcasecmp_l-nonascii.
22920 (gen-as-const-headers): Add locale-defines.sym.
22921 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22922 * sysdeps/x86_64/strcasecmp.S: New file.
22923 * sysdeps/x86_64/strcasecmp_l.S: New file.
22924 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22925 * sysdeps/x86_64/locale-defines.sym: New file.
22926 * string/test-strcasecmp.c: New file.
22928 * string/test-strcasestr.c: Test both ends of the range of characters.
22929 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22931 2010-07-29 Roland McGrath <roland@redhat.com>
22934 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22936 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22938 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22941 2010-07-27 Andreas Schwab <schwab@redhat.com>
22943 * manual/memory.texi (Malloc Tunable Parameters): Document
22946 2010-07-26 Roland McGrath <roland@redhat.com>
22949 * configure.in (-fgnu89-inline check): Set and substitute
22950 gnu89_inline, not libc_cv_gnu89_inline.
22951 * configure: Regenerated.
22952 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22954 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22956 * string/test-strnlen.c: New file.
22957 * string/Makefile (strop-tests): Add strnlen.
22958 * string/tester.c (test_strnlen): Add a few more test cases.
22959 * string/tst-strlen.c: Better error reporting.
22961 * sysdeps/x86_64/strnlen.S: New file.
22963 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22966 lower-latency instructions.
22968 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22970 * string/test-strcasestr.c: New file.
22971 * string/test-strstr.c: New file.
22972 * string/Makefile (strop-tests): Add strstr and strcasestr.
22973 * string/str-two-way.h: Don't undefine MAX.
22974 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22976 2010-07-21 Andreas Schwab <schwab@redhat.com>
22978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22979 strcasestr-nonascii.
22980 (CFLAGS-strcasestr-nonascii.c): Define.
22981 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22983 Remove unused attribute.
22985 2010-07-20 Roland McGrath <roland@redhat.com>
22987 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22988 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22989 ld.so.cache was broken. With it, there is no way to disable dsocaps
22990 like LD_HWCAP_MASK can disable hwcaps.
22992 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22994 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22996 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22998 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22999 call in strcasestr.
23000 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23001 __strcasestr_sse42_nonascii.
23002 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23003 strcasestr-nonascii.c.
23004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23006 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23013 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23015 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23018 2010-07-06 Andreas Schwab <schwab@redhat.com>
23021 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23024 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23026 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23027 _PC_PIPE_BUF using F_GETPIPE_SZ.
23029 2010-07-05 Roland McGrath <roland@redhat.com>
23031 * manual/arith.texi (Rounding Functions): Fix rint description
23032 implicit in round description.
23034 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23036 * elf/Makefile: Fix linking for a few tests to make recent linker
23039 2010-06-30 Andreas Schwab <schwab@redhat.com>
23041 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23042 $(common-objpfx)libc_nonshared.a.
23044 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23046 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23047 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23048 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23049 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23050 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23051 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23052 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23053 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23068 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23069 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23070 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23071 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23072 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23073 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23074 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23075 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23076 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23077 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23078 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23079 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23095 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23097 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23098 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23099 * string/memmove.c (memmove): Renamed to ...
23100 (MEMMOVE): ...this. Default to memmove.
23101 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23102 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23105 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23106 mempcpy-ssse3-back memmove-ssse3-back.
23107 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23108 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23110 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23111 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23112 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23113 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23114 * sysdeps/x86_64/multiarch/memmove.c: New file.
23115 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23116 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23117 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23118 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23119 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23120 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23122 (index_Fast_Copy_Backward): Define.
23123 (HAS_ARCH_FEATURE): Define.
23124 (HAS_FAST_REP_STRING): Define.
23125 (HAS_FAST_COPY_BACKWARD): Define.
23127 2010-06-21 Andreas Schwab <schwab@redhat.com>
23129 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23130 Restore proper fallback handling.
23132 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23135 * posix/group_member.c (__group_member): Correct checking loop.
23137 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23138 OOM in getpwuid_r correctly. Return error number when the caller
23139 should return, otherwise -1.
23140 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23141 call returning > 0 value.
23142 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23144 2010-06-07 Andreas Schwab <schwab@redhat.com>
23146 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23147 libc_nonshared.a from targets in modules-names.
23149 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23151 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23154 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23156 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23157 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23161 2010-06-02 Andreas Schwab <schwab@redhat.com>
23163 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23165 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23167 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23174 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23176 2010-06-14 Roland McGrath <roland@redhat.com>
23178 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23180 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23182 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23183 __REDIRECT followed by __THROW.
23184 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23185 * posix/getopt.h (getopt): Likewise.
23187 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23189 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23190 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23191 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23193 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23194 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23196 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23200 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23204 Properly check family and model.
23206 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23208 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23210 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23212 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23214 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23216 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23219 2010-05-19 Andreas Schwab <schwab@redhat.com>
23221 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23224 2010-05-21 Andreas Schwab <schwab@redhat.com>
23226 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23227 and internal_recvmmsg.
23228 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23229 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23230 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23231 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23233 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23234 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23235 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23237 2010-05-20 Andreas Schwab <schwab@redhat.com>
23239 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23241 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23243 POWER7 optimizations.
23244 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23245 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23247 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23249 * version.h: Update for 2.13 development version.
23251 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23253 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23254 exceptions. Return 0.
23256 2010-05-07 Roland McGrath <roland@redhat.com>
23258 * elf/ldconfig.c (main): Add a const.
23260 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23262 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23263 (args_options): Add no-idn option.
23264 (ahosts_keys_int): Add idn_flags to ai_flags.
23265 (parse_option): Handle 'i' option to clear idn_flags.
23267 * malloc/malloc.c (_int_free): Possible race in the most recently
23268 added check. Only act on the data if no current modification
23271 See ChangeLog.17 for earlier changes.