1 2012-12-13 David S. Miller <davem@davemloft.net>
3 * NEWS: Mention IFUNC testsuite enhancements.
5 * po/pl.po: Update from translation team.
8 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11 2012-12-11 David S. Miller <davem@davemloft.net>
13 * po/sv.po: Update from translation team.
15 * po/vi.po: Update from translation team.
17 * po/cs.po: Update from translation team.
19 * po/de.po: Update from translation team.
23 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26 * manual/argp.texi (Argp Helper Functions): Move node to follow
30 * manual/conf.texi (Limits on File System Capacity): Mention if
31 terminating null is included in the max size.
33 2012-12-10 Andreas Jaeger <aj@suse.de>
35 * po/cs.po: Update from translation team.
37 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40 void pointer and cast to uintptr_t.
41 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43 * sysdeps/s390/s390-64/memcpy.S: Likewise.
44 * sysdeps/s390/s390-64/memset.S: Likewise.
46 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
49 * menual/message.texi (Message Translation): Fix typos.
50 (Helper programs for gettext): Likewise.
52 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
55 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58 2012-12-07 David S. Miller <davem@davemloft.net>
60 * po/libc.pot: Update.
62 2012-12-07 Richard Henderson <rth@redhat.com>
65 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66 normal/normal case to before the switch.
69 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
70 Mike Frysinger <vapier@gentoo.org>
72 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73 check for __NR_fadvise64_64.
75 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
77 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
78 0, not just to plain "0" as a statement.
79 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
82 2012-12-06 Joseph Myers <joseph@codesourcery.com>
84 * NEWS: Use sourceware.org in Bugzilla URL.
86 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
89 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
91 * stdio-common/tst-put-error.c (do_test): Add newline to the
92 padded test to ensure flush.
94 2012-12-05 Jeff Law <law@redhat.com>
96 * sunrpc/etc.rpc (fedfs_admin): Add entry.
98 2012-12-05 Joseph Myers <joseph@codesourcery.com>
100 * README: Don't refer to ports add-on as distributed separately.
101 Mention AArch64 in list of systems supported in the ports add-on.
103 * LICENSES: Add more non-FSF copyright and license notices.
105 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
108 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
110 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
111 10000 as width of padded output.
113 2012-12-04 Joseph Myers <joseph@codesourcery.com>
115 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
117 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
118 variable LX with __attribute__ ((unused)).
119 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
121 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
123 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
124 with __attribute__ ((unused)).
126 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
128 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
130 2012-12-04 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
133 (CFLAGS-nldbl-acos.c): New variable.
134 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
146 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
147 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
148 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
149 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
150 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
169 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
170 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
171 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
172 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
173 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
174 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
175 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
176 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
177 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
178 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
179 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
180 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
181 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
182 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
183 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
184 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
185 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
186 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
187 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
188 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
189 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
190 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
191 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
192 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
193 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
194 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
195 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
196 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
197 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
198 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
199 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
200 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
201 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
202 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
203 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
233 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
237 whole low double instead of just low 47 bits when splitting values
240 2012-12-03 Allan McRae <allan@archlinux.org>
242 * manual/stdio.texi (Predefined Printf Handlers): Remove
243 @hsep and @vsep usage.
245 2012-12-03 Mike Frysinger <vapier@gentoo.org>
247 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
248 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
250 2012-12-03 Jeff Law <law@redhat.com>
252 * time/sys/time.h (settimeofday): Do not mark TV argument
255 2012-12-01 Mike Frysinger <vapier@gentoo.org>
257 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
258 when currently writing and seek to current position when not.
259 * libio/Makefile (tests): Remove bug-fclose1.
260 * libio/bug-fclose1.c: Delete.
262 2012-12-01 Joseph Myers <joseph@codesourcery.com>
264 * manual/arith.texi (feenableexcept): Fix typo.
265 (fedisableexcept): Likewise.
267 2012-11-30 Roland McGrath <roland@hack.frob.com>
269 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
270 second, differently-typed declaration, rather than a cast.
272 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
274 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
275 * include/rpc/svc.h: ... here.
277 2012-11-30 Aurelien Jarno <aurel32@debian.org>
280 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
281 depending n and resplen2 to catch cases where answer
284 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
286 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
287 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
289 2012-11-29 Mike Frysinger <vapier@gentoo.org>
291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
293 2012-11-29 Roland McGrath <roland@hack.frob.com>
295 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
297 2012-11-28 Jeff Law <law@redhat.com>
300 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
301 dataset_temporary. Track alloca usage into alloca_used.
302 If dataset is large allocate and release it via malloc/free.
304 2012-06-04 Florian Weimer <fweimer@redhat.com>
307 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
309 2012-11-28 David S. Miller <davem@davemloft.net>
311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
313 2012-11-28 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
317 of pi/2 rounded to nearest to 64 bits.
318 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
320 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
323 2012-11-28 Jeff Law <law@redhat.com>
324 Martin Osvald <mosvald@redhat.com>
327 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
328 * sunrpc/svc.c: Include time.h.
329 (__svc_accept_failed): New function.
330 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
331 any reason other than EINTR, call __svc_accept_failed.
332 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
333 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
335 2012-11-28 Andreas Schwab <schwab@suse.de>
337 * scripts/abilist.awk: Also handle indirect functions in .opd
340 2012-11-28 Joseph Myers <joseph@codesourcery.com>
343 * sysdeps/x86/fpu/powl_helper.c: New file.
344 * sysdeps/x86/fpu/Makefile: Likewise.
345 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
347 (__ieee754_powl): Use __powl_helper for finite arguments except
348 integer exponents below 8.
349 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
351 (__ieee754_powl): Use __powl_helper for finite arguments except
352 integer exponents below 8.
353 * math/libm-test.inc (pow_test): Add more tests and enable some
354 previously disabled tests.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
359 Carlos O'Donell <carlos_odonell@mentor.com>
361 * nss/makedb.c (is_prime): Assert that input is odd and greater
362 than 4. Note that fact in a comment too.
363 (next_prime): Add 4 to input.
365 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
368 * libio/Makefile (tests): Add test case tst-fwrite-error.
369 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
370 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
371 * libio/tst-fwrite-error.c: New test case.
373 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
375 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
376 before casting to void *.
377 * include/libc-internal.h (__pointer_type): New macro.
378 (__integer_if_pointer_type_sub): Likewise.
379 (__integer_if_pointer_type): Likewise.
380 (cast_to_integer): Likewise.
381 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
382 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
383 before casting to atomic64_t.
384 (atomic_exchange_acq): Likewise.
385 (__arch_exchange_and_add_body): Likewise.
386 (__arch_add_body): Likewise.
387 (atomic_add_negative): Likewise.
388 (atomic_add_zero): Likewise.
390 2012-11-26 Joseph Myers <joseph@codesourcery.com>
392 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
393 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
394 (add_fdes): Likewise.
395 (linear_search_fdes): Likewise.
396 (binary_search_unencoded_fdes): Likewise.
398 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
400 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
402 2012-11-24 Adam Conrad <adconrad@0c3.net>
404 * configure.in: Autodetect C++ header directories.
405 * configure: Regenerated.
407 2012-11-23 Mike Frysinger <vapier@gentoo.org>
409 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
411 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
415 2012-11-22 Joseph Myers <joseph@codesourcery.com>
417 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
418 LDBL_MANT_DIG == 106]: Disable some tests.
419 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
421 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
425 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
426 input for small inputs. Return +/- pi/2 for large inputs.
427 * math/libm-test.inc (atan_test): Add more tests.
429 * sysdeps/generic/unwind-dw2-fde-glibc.c
430 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
431 __attribute__ ((unused)).
434 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
435 x * y if x and y are nonzero and z is zero.
438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
439 nonzero exponents with absolute value below 0x1p-117 to +/-
443 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
444 up arguments below 2**-450, not just those below 2**-500.
445 * math/libm-test.inc (hypot_test): Add another test.
448 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
449 Return a+b for ratio over 2**120, not 2**60.
450 * math/libm-test.inc (hypot_test): Add another test.
452 * math/libm-test.inc (clog_test): Use
453 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
454 (clog10_test): Likewise.
457 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
459 2012-11-22 Andreas Schwab <schwab@suse.de>
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
465 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
466 printf output with newline.
468 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
471 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
472 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
473 -z nodlopen, -z initfirst and -z execstack support.
474 * configure: Regenerated.
476 * elf/elf.h (DF_1_NODIRECT): New macro.
477 (DF_1_IGNMULDEF): Likewise.
478 (DF_1_NOKSYMS): Likewise.
479 (DF_1_NOHDR): Likewise.
480 (DF_1_EDITED): Likewise.
481 (DF_1_NORELOC): Likewise.
482 (DF_1_SYMINTPOSE): Likewise.
483 (DF_1_GLOBAUDIT): Likewise.
484 (DF_1_SINGLETON): Likewise.
485 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
486 DT_1_SUPPORTED_MASK bits.
487 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
489 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
491 * sysdeps/unix/make-syscalls.sh: Document prefixes.
493 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
495 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
498 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
499 (sendmmsg): Move declarations...
500 * socket/sys/socket.h: ... here.
501 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
502 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
504 * socket/recvmmsg.c: ... this new file.
505 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
506 (sendmmsg): Rename to __sendmmsg, create weak alias and make
507 definition of __sendmmsg hidden.
508 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
509 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
510 Move ENOSYS stub into and include it from...
511 * socket/sendmmsg.c: ... this new file.
512 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
513 (sysdep_routines): Move recvmmsg and sendmmsg...
514 * socket/Makefile (routines): ... here.
515 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
516 (GLIBC_PRIVATE): Add __sendmmsg.
517 * include/sys/socket.h (__sendmmsg): Add declarations.
518 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
521 2012-11-20 Joseph Myers <joseph@codesourcery.com>
523 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
524 variable I1 with __attribute__ ((unused)).
525 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
527 2012-11-19 Joseph Myers <joseph@codesourcery.com>
529 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
530 DUMMY variables with __attribute__ ((unused)).
532 * bits/byteswap.h: Include <bits/types.h>.
533 (__bswap_64): Use __uint64_t instead of unsigned long long int.
535 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
537 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
538 string_t. Do not manually set errno.
539 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
540 length with __strnlen. Make sure to both set errno and return it on
543 2012-11-19 David S. Miller <davem@davemloft.net>
545 With help from Joseph Myers.
546 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
547 very large arguments properly.
548 * math/libm-test.inc (atan_test): New tests.
549 (atan2_test): New tests.
550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
553 2012-11-19 Joseph Myers <joseph@codesourcery.com>
556 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
559 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
560 [POSIX] (EADDRNOTAVAIL): Likewise.
561 [POSIX] (EAFNOSUPPORT): Likewise.
562 [POSIX] (EALREADY): Likewise.
563 [POSIX] (ECONNABORTED): Likewise.
564 [POSIX] (ECONNREFUSED): Likewise.
565 [POSIX] (ECONNRESET): Likewise.
566 [POSIX] (EDESTADDRREQ): Likewise.
567 [POSIX] (EDQUOT): Likewise.
568 [POSIX] (EHOSTUNREACH): Likewise.
569 [POSIX] (EIDRM): Likewise.
570 [POSIX] (EISCONN): Likewise.
571 [POSIX] (ELOOP): Likewise.
572 [POSIX] (EMULTIHOP): Likewise.
573 [POSIX] (ENETDOWN): Likewise.
574 [POSIX] (ENETUNREACH): Likewise.
575 [POSIX] (ENOBUFS): Likewise.
576 [POSIX] (ENODATA): Likewise.
577 [POSIX] (ENOLINK): Likewise.
578 [POSIX] (ENOMSG): Likewise.
579 [POSIX] (ENOPROTOOPT): Likewise.
580 [POSIX] (ENOSR): Likewise.
581 [POSIX] (ENOSTR): Likewise.
582 [POSIX] (ENOTCONN): Likewise.
583 [POSIX] (ENOTSOCK): Likewise.
584 [POSIX] (EOPNOTSUPP): Likewise.
585 [POSIX] (EOVERFLOW): Likewise.
586 [POSIX] (EPROTO): Likewise.
587 [POSIX] (EPROTONOSUPPORT): Likewise.
588 [POSIX] (EPROTOTYPE): Likewise.
589 [POSIX] (ESTALE): Likewise.
590 [POSIX] (ETIME): Likewise.
591 [POSIX] (ETXTBSY): Likewise.
592 [POSIX] (EWOULDBLOCK): Likewise.
593 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
594 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
595 [POSIX] (SEEK_CUR): Likewise.
596 [POSIX] (SEEK_END): Likewise.
597 [POSIX || UNIX98] (mode_t): Do not require.
598 [POSIX] (off_t): Likewise.
599 [POSIX] (pid_t): Likewise.
600 [POSIX] (sys/stat.h): Do not allow header.
601 [POSIX] (unistd.h): Likewise.
602 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
603 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
604 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
605 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
607 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
608 sigevent): Specify elements.
609 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
611 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
612 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
614 * conform/data/cpio.h-data [POSIX]: Disable whole file.
615 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
616 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
617 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
618 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
619 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
620 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
621 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
622 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
623 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
624 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
625 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
626 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
627 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
629 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
631 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
635 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
636 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
637 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
638 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
639 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
640 Specify lower bound on value.
641 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
642 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
643 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
644 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
645 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
646 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
647 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
648 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
650 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
652 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
653 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
654 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
655 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
656 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
657 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
658 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
659 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
660 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
661 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
662 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
663 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
664 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
665 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
666 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
667 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
669 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
671 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
672 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
673 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
674 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
675 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
676 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
678 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
679 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
680 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
681 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
682 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
683 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
686 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
687 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
688 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
689 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
690 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
691 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
693 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
694 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
695 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
696 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
697 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
698 [XPG3] (NL_LANGMAX): Likewise.
699 [POSIX || XPG3] (NL_MSGMAX): Likewise.
700 [POSIX || XPG3] (NL_NMAX): Likewise.
701 [POSIX || XPG3] (NL_SETMAX): Likewise.
702 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
703 [XPG3] (NZERO): Likewise.
704 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
705 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
706 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
707 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
708 (REG_ERANGE): Expect.
709 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
711 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
712 Use (void) in prototype.
713 [POSIX] (*_t): Allow.
714 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
715 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
716 (WRDE_BADVAL): Expect.
718 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
720 [XPG3 || XPG4] (O_RSYNC): Likewise.
721 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
723 [XPG3 || XPG4] (pthread_sigmask): Likewise.
724 [XPG3 || XPG4] (sigqueue): Likewise.
725 [XPG3 || XPG4] (sigtimedwait): Likewise.
726 [XPG3 || XPG4] (sigwaitinfo): Likewise.
727 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
728 [XPG3 || XPG4] (vsnprintf): Likewise.
729 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
731 [XPG3 || XPG4] (blksize_t): Likewise.
732 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
734 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
735 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
736 [XPG3 || XPG4] (struct itimerspec): Likewise.
737 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
738 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
739 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
740 [XPG3 || XPG4] (clockid_t): Likewise.
741 [XPG3 || XPG4] (timer_t): Likewise.
742 [XPG3 || XPG4] (clock_getres): Likewise.
743 [XPG3 || XPG4] (clock_gettime): Likewise.
744 [XPG3 || XPG4] (clock_settime): Likewise.
745 [XPG3 || XPG4] (nanosleep): Likewise.
746 [XPG3 || XPG4] (timer_create): Likewise.
747 [XPG3 || XPG4] (timer_delete): Likewise.
748 [XPG3 || XPG4] (timer_gettime): Likewise.
749 [XPG3 || XPG4] (timer_getoverrun): Likewise.
750 [XPG3 || XPG4] (timer_settime): Likewise.
751 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
752 [XPG3 || XPG4] (getlogin_r): Likewise.
753 [XPG3 || XPG4] (pread): Likewise.
754 [XPG3 || XPG4] (pthread_atfork): Likewise.
755 [XPG3 || XPG4] (pwrite): Likewise.
758 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
761 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
763 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
764 finalizing MALLSTREAM.
766 * sysdeps/mach/hurd/syncfs.c: New file.
768 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
771 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
772 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
773 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
774 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
775 (_nss_dns_gethostbyname4_r): Likewise.
776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
777 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
779 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
782 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
784 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
786 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
787 * elf/cache.c (print_entry): Print ",AArch64" for
790 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
791 * elf/cache.c (print_entry): Print ",hard-float" for
794 2012-11-18 David S. Miller <davem@davemloft.net>
796 With help from Joseph Myers.
797 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
799 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
801 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
802 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
804 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
805 * math/libm-test.inc (y0_test): New tests.
806 (y1_test): New tests.
807 * sysdeps/i386/fpu/libm-test-ulps: Update.
808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
811 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
813 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
815 * configure: Regenerated.
817 2012-11-17 David S. Miller <davem@davemloft.net>
820 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
821 nonzero exponents with absolute value below 0x1p-128 to +/-
824 2012-11-17 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
828 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
830 * posix/getconf-speclist.c: New file.
831 * posix/posix-envs.def: Likewise.
832 * posix/confstr.c (START_ENV_GROUP): New macro.
833 (END_ENV_GROUP): Likewise.
834 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
835 (KNOWN_PRESENT_ENV_STRING): Likewise.
836 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
837 (UNKNOWN_ENVIRONMENT): Likewise.
838 (confstr): Include posix-envs.def instead of handling
839 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
840 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
841 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
842 (END_ENV_GROUP): Likewise.
843 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
844 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
845 (UNKNOWN_ENVIRONMENT): Likewise.
846 (__sysconf): Include posix-envs.def instead of handling associated
848 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
849 preprocessing getconf-speclist.c rather than running getconf or
850 generating empty file.
852 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
854 * scripts/check-local-headers.sh: Ignore 'mach' headers.
856 2012-11-16 Andrej Lajovic <natrij@gmail.com>
859 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
861 2012-11-16 David S. Miller <davem@davemloft.net>
863 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
864 smaller than LDBL_EPSILON/2.0L, just return xm1.
866 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
868 * elf/tst-array1.c (init): Set constructor priority to 1000.
869 (fini): Set destructor priority to 1000.
870 * elf/tst-array2dep.c: Likewise.
872 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
875 * libio/fileops.c (_IO_new_file_write): Correctly return error.
876 (_IO_new_file_xsputn): Also return EOF if none of the input
877 data was written when overflow failed.
878 * libio/iopadn.c (_IO_padn): Likewise.
879 * libio/iowpadn.c (_IO_wpadn): Likewise.
880 * stdio-common/tst-put-error.c: Add copyright notice.
881 (do_test): Add case for printing padded string.
882 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
883 _IO_padn returned error.
884 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
885 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
888 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
890 * libio/libioP.h: Add comment note that the references to C++
891 bits are now obsolete.
893 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
895 * math/libm-test.inc (check_complex): Use asprintf.
897 2012-11-14 Joseph Myers <joseph@codesourcery.com>
899 * debug/pcprofiledump.c (print_version): Update copyright year.
900 * malloc/memusagestat.c (print_version): Likewise.
902 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
905 * elf/Makefile (tests): Add tst-audit8.
906 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
907 ($(objpfx)tst-audit8.out): New target.
908 (tst-audit8-ENV): New variable.
909 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
910 audit if l_reloc_result is NULL.
911 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
912 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
913 * elf/tst-audit8.c: New file.
915 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
917 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
918 * misc/Makefile (CFLAGS-select.c): Define.
919 * posix/Makefile (CFLAGS-pause.c): Define.
921 2012-11-13 David S. Miller <davem@davemloft.net>
923 * crypt/Makefile: Move test targets after toplevel Rules
924 inclusion. Grab any necessary sysdep routines when linking.
925 * crypt/md5.c (md5_process_block): Remove define, we will always
926 name it __md5_process_block.
927 (md5_finish_ctx): Update md5_process_block call.
928 (md5_stream): Likewise.
929 (md5_process_bytes): Likewise.
930 (md5_process_block): Rename to __md5_process_block and move to ...
931 * crypt/md5-block.c: ... here.
932 * crypt/sha256.c (sha256_process_block): Move to ...
933 * crypt/sha256-block.c: ... here.
934 * crypt/sha512.c (sha512_process_block): Move to ...
935 * crypt/sha512-block.c: ... here.
936 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
938 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
939 * sysdeps/sparc/sparc64/multiarch/Makefile
940 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
942 (localedef-aux): Add md5 crypto assembler when in locale subdir.
943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
945 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
946 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
947 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
948 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
949 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
950 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
951 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
952 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
953 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
956 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
958 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
960 2012-11-13 Joseph Myers <joseph@codesourcery.com>
962 * timezone/tzselect.ksh: Update from tzcode git revision
963 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
964 * timezone/zdump.c: Likewise.
965 * timezone/zic.c: Likewise.
966 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
967 in TZVERSION setting, not $(PKGVERSION).
968 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
969 REPORT_BUGS_TO settings.
972 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
975 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
977 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
978 detection to immediately after _FP_ROUND().
979 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
982 2012-11-11 David S. Miller <davem@davemloft.net>
984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
986 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
987 __close rather than their public counterparts.
989 2012-11-10 Joseph Myers <joseph@codesourcery.com>
991 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
993 [UNIX98] (sem_timedwait): Do not expect.
994 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
995 [XPG4 || UNIX98] (sockatmark): Do not expect.
996 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
997 (clock_getcpuclockid): Do not expect.
998 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
999 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1001 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1002 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1003 [UNIX98] (vwscanf): Likewise.
1004 [UNIX98] (vswscanf): Likewise.
1006 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1008 * timezone/version.h: Remove file.
1009 * timezone/README: Do not refer to version.h.
1010 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1012 ($(objpfx)zdump.o): Likewise.
1013 ($(objpfx)version.h): New target.
1015 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1017 * timezone/README: Don't mention modification to tzselect.ksh.
1018 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1019 work on unmodified tzselect.ksh. Substitute version numbers in
1022 * Makefile (format-me): Remove.
1023 (INSTALL): Adjust indentation. Use commands directly instead of
1026 * aclocal.m4 (ACX_PKGVERSION): New macro.
1027 (ACX_BUGURL): Likewise.
1028 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1029 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1030 (REPORT_BUGS_TO): Likewise.
1031 * configure: Regenerated.
1032 * config.h.in (PKGVERSION): New macro.
1033 (REPORT_BUGS_TO): Likewise.
1034 * config.make.in (PKGVERSION): New variable.
1035 (PKGVERSION_TEXI): Likewise.
1036 (REPORT_BUGS_TO): Likewise.
1037 (REPORT_BUGS_TEXI): Likewise.
1038 * Makefile (format-me): Use -I$(common-objpfx)manual.
1039 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1040 ($(common-objpfx)manual/%): New target.
1041 (manual/%): Remove target.
1042 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1043 (print_version): Use PKGVERSION.
1044 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1045 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1047 ($(objpfx)xtrace): Likewise.
1048 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1049 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1050 (print_version): Use PKGVERSION.
1051 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1052 (do_version): Use PKGVERSION.
1053 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1055 (common-ldd-rewrite): Likewise.
1056 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1057 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1058 (print_version): Use PKGVERSION.
1059 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1060 * elf/pldd.c (argp_program_bug_address): Remove variable.
1061 (more_help): New function.
1062 (argp): Use more_help.
1063 (print_version): Use PKGVERSION.
1064 * elf/sln.c (main): Use PKGVERSION.
1065 (usage): Use REPORT_BUGS_TO.
1066 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1067 (top level): Use PKGVERSION.
1068 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1069 (print_version): Use PKGVERSION.
1070 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1071 (print_version): Use PKGVERSION.
1072 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1073 (print_version): Use PKGVERSION.
1074 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1075 (print_version): Use PKGVERSION.
1076 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1077 (print_version): Use PKGVERSION.
1078 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1079 (print_version): Use PKGVERSION.
1080 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1082 ($(objpfx)memusage): Likewise.
1083 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1084 (do_version): Use PKGVERSION.
1085 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1086 (print_version): Use PKGVERSION.
1087 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1088 ($PKGVERSION): New variable.
1089 ($REPORT_BUGS_TO): Likewise.
1090 (usage): Use $REPORT_BUGS_TO.
1091 (top level): Use $PKGVERSION.
1092 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1093 ($(objpfx)pkgvers.texi): New rule.
1094 ($(objpfx)stamp-pkgvers): Likewise.
1095 * manual/install.texi: Include pkgvers.texi.
1096 (--with-pkgversion): Document new configure option.
1097 (--with-bugurl): Likewise.
1098 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1099 than necessarily for this particular distribution. Use
1100 REPORT_BUGS_TO for where to report bugs.
1101 * INSTALL: Regenerated.
1102 * manual/libc.texinfo: Include pkgvers.texi.
1103 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1104 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1105 (print_version): Use PKGVERSION.
1106 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1107 (print_version): Use PKGVERSION.
1108 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1109 (print_version): Use PKGVERSION.
1110 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1111 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1113 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1114 (print_version): Use PKGVERSION.
1115 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1116 (print_version): Use PKGVERSION.
1117 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1120 * timezone/checktab.awk: Update from tzcode 2012i.
1121 * timezone/ialloc.c: Likewise.
1122 * timezone/private.h: Likewise.
1123 * timezone/scheck.c: Likewise.
1124 * timezone/tzfile.h: Likewise.
1125 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1126 (TZVERSION): Hardcode tzcode version number.
1127 * timezone/zdump.c: Update from tzcode 2012i.
1128 * timezone/zic.c: Likewise.
1129 * timezone/version.h: New file.
1130 * timezone/README: Describe version.h. Update upstream location.
1133 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1134 (mktemp): Enable declaration.
1135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1152 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1153 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1154 for copies of such integer values.
1155 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1156 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1158 2012-11-09 Andreas Jaeger <aj@suse.de>
1160 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1161 definitions and declarations that are provided by
1162 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1164 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1166 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1167 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1168 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1171 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1173 * elf/elf.h: Update comment before AArch64 relocations.
1175 2012-11-07 David S. Miller <davem@davemloft.net>
1177 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1179 (__start_context): Declare.
1180 (__makecontext_ret): Delete.
1181 (__makecontext): Hook up __start_context instead of
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1184 (sysdep_routines): Add __start_context when in stdlib.
1186 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1188 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1189 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1190 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1192 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1193 (READELF): New variable. Use it instead of hardcoded "readelf".
1195 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1197 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1198 * sysdeps/x86/Makefile: Here.
1199 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1200 * sysdeps/x86/tst-xmmymm.sh: This.
1202 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1204 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1206 [UNIX98] (pthread_barrier_t): Do not expect.
1207 [UNIX98] (pthread_barrierattr_t): Likewise.
1208 [UNIX98] (pthread_spinlock_t): Likewise.
1209 [UNIX98] (pthread_barrier_destroy): Likewise.
1210 [UNIX98] (pthread_barrier_init): Likewise.
1211 [UNIX98] (pthread_barrier_wait): Likewise.
1212 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1213 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1214 [UNIX98] (pthread_barrierattr_init): Likewise.
1215 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1216 [UNIX98] (pthread_getcpuclockid): Likewise.
1217 [UNIX98] (pthread_mutex_timedlock): Likewise.
1218 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1219 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1220 [UNIX98] (pthread_sigmask): Likewise.
1221 [UNIX98] (pthread_spin_destroy): Likewise.
1222 [UNIX98] (pthread_spin_init): Likewise.
1223 [UNIX98] (pthread_spin_lock): Likewise.
1224 [UNIX98] (pthread_spin_trylock): Likewise.
1225 [UNIX98] (pthread_spin_unlock): Likewise.
1226 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1228 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1230 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1231 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1232 [XPG3 || XPG4] (pthread_key_t): Likewise.
1233 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1234 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1235 [XPG3 || XPG4] (pthread_once_t): Likewise.
1236 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1237 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1239 [XPG3 || XPG4] (pthread_t): Likewise.
1241 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1243 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1245 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1246 Change function return type to int.
1248 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1249 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1250 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1251 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1252 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1253 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1254 [!POSIX] (posix_madvise): Likewise.
1255 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1257 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1258 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1260 (posix_mem_offset): Likewise.
1261 (posix_typed_mem_get_info): Likewise.
1262 (posix_typed_mem_open): Likewise.
1264 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1265 Change condition to [XOPEN2K8].
1267 * conform/conformtest.pl: Preprocess allow-header data with -x c
1268 instead of from stdin.
1269 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1270 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1271 [C99-based standards] (cerfc): Likewise.
1272 [C99-based standards] (cexp2): Likewise.
1273 [C99-based standards] (cexpm1): Likewise.
1274 [C99-based standards] (clog10): Likewise.
1275 [C99-based standards] (clog1p): Likewise.
1276 [C99-based standards] (clog2): Likewise.
1277 [C99-based standards] (clgamma): Likewise.
1278 [C99-based standards] (ctgamma): Likewise.
1279 [C99-based standards] (cerff): Likewise.
1280 [C99-based standards] (cerfcf): Likewise.
1281 [C99-based standards] (cexp2f): Likewise.
1282 [C99-based standards] (cexpm1f): Likewise.
1283 [C99-based standards] (clog10f): Likewise.
1284 [C99-based standards] (clog1pf): Likewise.
1285 [C99-based standards] (clog2f): Likewise.
1286 [C99-based standards] (clgammaf): Likewise.
1287 [C99-based standards] (ctgammaf): Likewise.
1288 [C99-based standards] (cerfl): Likewise.
1289 [C99-based standards] (cerfcl): Likewise.
1290 [C99-based standards] (cexp2l): Likewise.
1291 [C99-based standards] (cexpm1l): Likewise.
1292 [C99-based standards] (clog10l): Likewise.
1293 [C99-based standards] (clog1pl): Likewise.
1294 [C99-based standards] (clog2l): Likewise.
1295 [C99-based standards] (clgammal): Likewise.
1296 [C99-based standards] (ctgammal): Likewise.
1297 * conform/data/inttypes.h-data [C99-based standards]: Include
1298 stdint.h-data. Remove all expectations for stdint.h contents.
1299 [C99-based standards] (PRI*): Do not allow.
1300 [C99-based standards] (SCN*): Likewise.
1301 [C99-based standards] (*_t): Likewise.
1302 [C99-based-standards] (PRId8): Expect macro.
1303 [C99-based-standards] (PRIi8): Likewise.
1304 [C99-based-standards] (PRIo8): Likewise.
1305 [C99-based-standards] (PRIu8): Likewise.
1306 [C99-based-standards] (PRIx8): Likewise.
1307 [C99-based-standards] (PRIX8): Likewise.
1308 [C99-based-standards] (SCNd8): Likewise.
1309 [C99-based-standards] (SCNi8): Likewise.
1310 [C99-based-standards] (SCNo8): Likewise.
1311 [C99-based-standards] (SCNu8): Likewise.
1312 [C99-based-standards] (SCNx8): Likewise.
1313 [C99-based-standards] (PRIdLEAST8): Likewise.
1314 [C99-based-standards] (PRIiLEAST8): Likewise.
1315 [C99-based-standards] (PRIoLEAST8): Likewise.
1316 [C99-based-standards] (PRIuLEAST8): Likewise.
1317 [C99-based-standards] (PRIxLEAST8): Likewise.
1318 [C99-based-standards] (PRIXLEAST8): Likewise.
1319 [C99-based-standards] (SCNdLEAST8): Likewise.
1320 [C99-based-standards] (SCNiLEAST8): Likewise.
1321 [C99-based-standards] (SCNoLEAST8): Likewise.
1322 [C99-based-standards] (SCNuLEAST8): Likewise.
1323 [C99-based-standards] (SCNxLEAST8): Likewise.
1324 [C99-based-standards] (PRIdFAST8): Likewise.
1325 [C99-based-standards] (PRIiFAST8): Likewise.
1326 [C99-based-standards] (PRIoFAST8): Likewise.
1327 [C99-based-standards] (PRIuFAST8): Likewise.
1328 [C99-based-standards] (PRIxFAST8): Likewise.
1329 [C99-based-standards] (PRIXFAST8): Likewise.
1330 [C99-based-standards] (SCNdFAST8): Likewise.
1331 [C99-based-standards] (SCNiFAST8): Likewise.
1332 [C99-based-standards] (SCNoFAST8): Likewise.
1333 [C99-based-standards] (SCNuFAST8): Likewise.
1334 [C99-based-standards] (SCNxFAST8): Likewise.
1335 [C99-based-standards] (PRId16): Likewise.
1336 [C99-based-standards] (PRIi16): Likewise.
1337 [C99-based-standards] (PRIo16): Likewise.
1338 [C99-based-standards] (PRIu16): Likewise.
1339 [C99-based-standards] (PRIx16): Likewise.
1340 [C99-based-standards] (PRIX16): Likewise.
1341 [C99-based-standards] (SCNd16): Likewise.
1342 [C99-based-standards] (SCNi16): Likewise.
1343 [C99-based-standards] (SCNo16): Likewise.
1344 [C99-based-standards] (SCNu16): Likewise.
1345 [C99-based-standards] (SCNx16): Likewise.
1346 [C99-based-standards] (PRIdLEAST16): Likewise.
1347 [C99-based-standards] (PRIiLEAST16): Likewise.
1348 [C99-based-standards] (PRIoLEAST16): Likewise.
1349 [C99-based-standards] (PRIuLEAST16): Likewise.
1350 [C99-based-standards] (PRIxLEAST16): Likewise.
1351 [C99-based-standards] (PRIXLEAST16): Likewise.
1352 [C99-based-standards] (SCNdLEAST16): Likewise.
1353 [C99-based-standards] (SCNiLEAST16): Likewise.
1354 [C99-based-standards] (SCNoLEAST16): Likewise.
1355 [C99-based-standards] (SCNuLEAST16): Likewise.
1356 [C99-based-standards] (SCNxLEAST16): Likewise.
1357 [C99-based-standards] (PRIdFAST16): Likewise.
1358 [C99-based-standards] (PRIiFAST16): Likewise.
1359 [C99-based-standards] (PRIoFAST16): Likewise.
1360 [C99-based-standards] (PRIuFAST16): Likewise.
1361 [C99-based-standards] (PRIxFAST16): Likewise.
1362 [C99-based-standards] (PRIXFAST16): Likewise.
1363 [C99-based-standards] (SCNdFAST16): Likewise.
1364 [C99-based-standards] (SCNiFAST16): Likewise.
1365 [C99-based-standards] (SCNoFAST16): Likewise.
1366 [C99-based-standards] (SCNuFAST16): Likewise.
1367 [C99-based-standards] (SCNxFAST16): Likewise.
1368 [C99-based-standards] (PRId32): Likewise.
1369 [C99-based-standards] (PRIi32): Likewise.
1370 [C99-based-standards] (PRIo32): Likewise.
1371 [C99-based-standards] (PRIu32): Likewise.
1372 [C99-based-standards] (PRIx32): Likewise.
1373 [C99-based-standards] (PRIX32): Likewise.
1374 [C99-based-standards] (SCNd32): Likewise.
1375 [C99-based-standards] (SCNi32): Likewise.
1376 [C99-based-standards] (SCNo32): Likewise.
1377 [C99-based-standards] (SCNu32): Likewise.
1378 [C99-based-standards] (SCNx32): Likewise.
1379 [C99-based-standards] (PRIdLEAST32): Likewise.
1380 [C99-based-standards] (PRIiLEAST32): Likewise.
1381 [C99-based-standards] (PRIoLEAST32): Likewise.
1382 [C99-based-standards] (PRIuLEAST32): Likewise.
1383 [C99-based-standards] (PRIxLEAST32): Likewise.
1384 [C99-based-standards] (PRIXLEAST32): Likewise.
1385 [C99-based-standards] (SCNdLEAST32): Likewise.
1386 [C99-based-standards] (SCNiLEAST32): Likewise.
1387 [C99-based-standards] (SCNoLEAST32): Likewise.
1388 [C99-based-standards] (SCNuLEAST32): Likewise.
1389 [C99-based-standards] (SCNxLEAST32): Likewise.
1390 [C99-based-standards] (PRIdFAST32): Likewise.
1391 [C99-based-standards] (PRIiFAST32): Likewise.
1392 [C99-based-standards] (PRIoFAST32): Likewise.
1393 [C99-based-standards] (PRIuFAST32): Likewise.
1394 [C99-based-standards] (PRIxFAST32): Likewise.
1395 [C99-based-standards] (PRIXFAST32): Likewise.
1396 [C99-based-standards] (SCNdFAST32): Likewise.
1397 [C99-based-standards] (SCNiFAST32): Likewise.
1398 [C99-based-standards] (SCNoFAST32): Likewise.
1399 [C99-based-standards] (SCNuFAST32): Likewise.
1400 [C99-based-standards] (SCNxFAST32): Likewise.
1401 [C99-based-standards] (PRId64): Likewise.
1402 [C99-based-standards] (PRIi64): Likewise.
1403 [C99-based-standards] (PRIo64): Likewise.
1404 [C99-based-standards] (PRIu64): Likewise.
1405 [C99-based-standards] (PRIx64): Likewise.
1406 [C99-based-standards] (PRIX64): Likewise.
1407 [C99-based-standards] (SCNd64): Likewise.
1408 [C99-based-standards] (SCNi64): Likewise.
1409 [C99-based-standards] (SCNo64): Likewise.
1410 [C99-based-standards] (SCNu64): Likewise.
1411 [C99-based-standards] (SCNx64): Likewise.
1412 [C99-based-standards] (PRIdLEAST64): Likewise.
1413 [C99-based-standards] (PRIiLEAST64): Likewise.
1414 [C99-based-standards] (PRIoLEAST64): Likewise.
1415 [C99-based-standards] (PRIuLEAST64): Likewise.
1416 [C99-based-standards] (PRIxLEAST64): Likewise.
1417 [C99-based-standards] (PRIXLEAST64): Likewise.
1418 [C99-based-standards] (SCNdLEAST64): Likewise.
1419 [C99-based-standards] (SCNiLEAST64): Likewise.
1420 [C99-based-standards] (SCNoLEAST64): Likewise.
1421 [C99-based-standards] (SCNuLEAST64): Likewise.
1422 [C99-based-standards] (SCNxLEAST64): Likewise.
1423 [C99-based-standards] (PRIdFAST64): Likewise.
1424 [C99-based-standards] (PRIiFAST64): Likewise.
1425 [C99-based-standards] (PRIoFAST64): Likewise.
1426 [C99-based-standards] (PRIuFAST64): Likewise.
1427 [C99-based-standards] (PRIxFAST64): Likewise.
1428 [C99-based-standards] (PRIXFAST64): Likewise.
1429 [C99-based-standards] (SCNdFAST64): Likewise.
1430 [C99-based-standards] (SCNiFAST64): Likewise.
1431 [C99-based-standards] (SCNoFAST64): Likewise.
1432 [C99-based-standards] (SCNuFAST64): Likewise.
1433 [C99-based-standards] (SCNxFAST64): Likewise.
1434 [C99-based-standards] (PRIdMAX): Likewise.
1435 [C99-based-standards] (PRIiMAX): Likewise.
1436 [C99-based-standards] (PRIoMAX): Likewise.
1437 [C99-based-standards] (PRIuMAX): Likewise.
1438 [C99-based-standards] (PRIxMAX): Likewise.
1439 [C99-based-standards] (PRIXMAX): Likewise.
1440 [C99-based-standards] (SCNdMAX): Likewise.
1441 [C99-based-standards] (SCNiMAX): Likewise.
1442 [C99-based-standards] (SCNoMAX): Likewise.
1443 [C99-based-standards] (SCNuMAX): Likewise.
1444 [C99-based-standards] (SCNxMAX): Likewise.
1445 [C99-based-standards] (PRIdPTR): Likewise.
1446 [C99-based-standards] (PRIiPTR): Likewise.
1447 [C99-based-standards] (PRIoPTR): Likewise.
1448 [C99-based-standards] (PRIuPTR): Likewise.
1449 [C99-based-standards] (PRIxPTR): Likewise.
1450 [C99-based-standards] (PRIXPTR): Likewise.
1451 [C99-based-standards] (SCNdPTR): Likewise.
1452 [C99-based-standards] (SCNiPTR): Likewise.
1453 [C99-based-standards] (SCNoPTR): Likewise.
1454 [C99-based-standards] (SCNuPTR): Likewise.
1455 [C99-based-standards] (SCNxPTR): Likewise.
1456 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1458 * conform/data/stdint.h-data: Update comments to clarify
1460 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1462 [C99-based standards] (INT8_MAX): Likewise.
1463 [C99-based standards] (INT16_MIN): Likewise.
1464 [C99-based standards] (INT16_MAX): Likewise.
1465 [C99-based standards] (INT32_MIN): Likewise.
1466 [C99-based standards] (INT32_MAX): Likewise.
1467 [C99-based standards] (INT64_MIN): Likewise.
1468 [C99-based standards] (INT64_MAX): Likewise.
1469 [C99-based standards] (UINT8_MAX): Likewise.
1470 [C99-based standards] (UINT16_MAX): Likewise.
1471 [C99-based standards] (UINT32_MAX): Likewise.
1472 [C99-based standards] (UINT64_MAX): Likewise.
1473 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1474 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1475 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1476 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1477 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1478 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1479 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1480 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1481 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1482 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1483 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1484 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1485 [C99-based standards] (INT_FAST8_MIN): Likewise.
1486 [C99-based standards] (INT_FAST8_MAX): Likewise.
1487 [C99-based standards] (INT_FAST16_MIN): Likewise.
1488 [C99-based standards] (INT_FAST16_MAX): Likewise.
1489 [C99-based standards] (INT_FAST32_MIN): Likewise.
1490 [C99-based standards] (INT_FAST32_MAX): Likewise.
1491 [C99-based standards] (INT_FAST64_MIN): Likewise.
1492 [C99-based standards] (INT_FAST64_MAX): Likewise.
1493 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1494 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1495 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1496 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1497 [C99-based standards] (INTPTR_MIN): Likewise.
1498 [C99-based standards] (INTPTR_MAX): Likewise.
1499 [C99-based standards] (UINTPTR_MAX): Likewise.
1500 [C99-based standards] (INTMAX_MIN): Likewise.
1501 [C99-based standards] (INTMAX_MAX): Likewise.
1502 [C99-based standards] (UINTMAX_MAX): Likewise.
1503 [C99-based standards] (PTRDIFF_MIN): Likewise.
1504 [C99-based standards] (PTRDIFF_MAX): Likewise.
1505 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1506 [C99-based standards] (SIZE_MAX): Likewise.
1507 [C99-based standards] (WCHAR_MAX): Likewise.
1508 [C99-based standards] (WINT_MAX): Likewise.
1509 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1510 constraint on value.
1511 [C99-based standards] (WCHAR_MIN): Likewise.
1512 [C99-based standards] (WINT_MIN): Likewise.
1513 [C99-based standards] (*_t): Allow.
1514 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1515 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1516 Include math.h-data and complex.h-data. Remove all expectations
1517 of math.h and complex.h contents.
1518 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1520 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1521 (struct tm): Expect tag.
1522 [C99-based-standards] (wcstof): Expect function.
1523 [C99-based-standards] (wcstold): Likewise.
1524 [C99-based-standards] (wcstoll): Likewise.
1525 [C99-based-standards] (wcstoull): Likewise.
1526 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1527 macro-int-constant. Specify type.
1528 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1529 constraint on value.
1530 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1532 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1534 [ISO C standards]: Do not allow headers.
1535 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1536 wcs[abcdefghijklmnopqrstuvwxyz]*.
1537 [ISO C standards] (*_t): Do not allow.
1538 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1540 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1541 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1543 [ISO C standards]: Do not allow headers.
1544 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1545 is[abcdefghijklmnopqrstuvwxyz]*.
1546 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1547 to[abcdefghijklmnopqrstuvwxyz]*.
1548 [ISO C standards] (*_t): Do not allow.
1549 * conform/data/stdalign.h-data: New file.
1550 * conform/data/stdbool.h-data: Likewise.
1551 * conform/data/stdnoreturn.h-data: Likewise.
1553 2012-11-07 Roland McGrath <roland@hack.frob.com>
1556 * manual/filesys.texi (Directory Entries): Typo fix.
1557 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1559 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1561 * elf/elf.h (EM_AARCH64): New macro.
1562 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1563 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1564 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1565 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1566 (R_AARCH64_TLSDESC): Likewise.
1567 (NT_ARM_TLS): Likewise.
1568 (NT_ARM_HW_BREAK): Likewise.
1569 (NT_ARM_HW_WATCH): Likewise.
1571 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1574 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1575 (__ieee754_powl): Saturate nonzero exponents with absolute value
1576 below 0x1p-79 to +/- 0x1p-79.
1577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1578 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1579 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1580 nonzero exponents with absolute value below 0x1p-32 to +/-
1582 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1583 (__ieee754_powl): Saturate nonzero exponents with absolute value
1584 below 0x1p-79 to +/- 0x1p-79.
1585 * math/libm-test.inc (pow_test): Add more tests.
1587 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1589 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1590 _dl_s390_cap_flags with kernel. Increase string length.
1591 (_dl_s390_platforms): Add z196 and zEC12.
1593 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1595 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1596 Change XOPEN21K to XOPEN2K.
1598 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1600 * string/memmove.c: Use memcpy when possible.
1602 2012-11-06 Andreas Jaeger <aj@suse.de>
1604 * po/eo.po: Update from translation team.
1606 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1610 exponent and small x and y exponents, scale x or y up. Increase
1611 by 2 the exponent used in scaling up.
1612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1614 * math/libm-test.inc (fma_test): Add more tests.
1615 (fma_test_towardzero): Likewise.
1616 (fma_test_downward): Likewise.
1617 (fma_test_upward): Likewise.
1619 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1622 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1626 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1627 namespace for names of struct fields.
1628 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1630 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1631 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1633 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1636 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1638 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1640 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1644 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1647 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1651 definitely overflow as x * y not x * y + z.
1652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1654 * math/libm-test.inc (fma_test): Add more tests.
1655 (fma_test_towardzero): Likewise.
1656 (fma_test_downward): Likewise.
1657 (fma_test_upward): Likewise.
1659 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1663 * include/stub-tag.h: Remove file.
1664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1666 * manual/maint.texi (Porting): Don't reference it.
1667 * Makerules ($(objpfx)stubs): Likewise.
1668 * dirent/closedir.c: Don't include <stub-tag.h>.
1669 * dirent/dirfd.c: Likewise.
1670 * dirent/fdopendir.c: Likewise.
1671 * dirent/getdents.c: Likewise.
1672 * dirent/getdents64.c: Likewise.
1673 * dirent/opendir.c: Likewise.
1674 * dirent/readdir.c: Likewise.
1675 * dirent/readdir64.c: Likewise.
1676 * dirent/readdir64_r.c: Likewise.
1677 * dirent/readdir_r.c: Likewise.
1678 * dirent/rewinddir.c: Likewise.
1679 * dirent/seekdir.c: Likewise.
1680 * dirent/telldir.c: Likewise.
1681 * gmon/profil.c: Likewise.
1682 * grp/setgroups.c: Likewise.
1683 * inet/if_index.c: Likewise.
1684 * io/access.c: Likewise.
1685 * io/chdir.c: Likewise.
1686 * io/chmod.c: Likewise.
1687 * io/chown.c: Likewise.
1688 * io/close.c: Likewise.
1689 * io/dup.c: Likewise.
1690 * io/dup2.c: Likewise.
1691 * io/dup3.c: Likewise.
1692 * io/euidaccess.c: Likewise.
1693 * io/faccessat.c: Likewise.
1694 * io/fchdir.c: Likewise.
1695 * io/fchmod.c: Likewise.
1696 * io/fchmodat.c: Likewise.
1697 * io/fchown.c: Likewise.
1698 * io/fchownat.c: Likewise.
1699 * io/fcntl.c: Likewise.
1700 * io/flock.c: Likewise.
1701 * io/fstatfs.c: Likewise.
1702 * io/fstatfs64.c: Likewise.
1703 * io/fstatvfs.c: Likewise.
1704 * io/fstatvfs64.c: Likewise.
1705 * io/futimens.c: Likewise.
1706 * io/fxstat.c: Likewise.
1707 * io/fxstat64.c: Likewise.
1708 * io/fxstatat.c: Likewise.
1709 * io/fxstatat64.c: Likewise.
1710 * io/getcwd.c: Likewise.
1711 * io/isatty.c: Likewise.
1712 * io/lchmod.c: Likewise.
1713 * io/lchown.c: Likewise.
1714 * io/link.c: Likewise.
1715 * io/linkat.c: Likewise.
1716 * io/lseek.c: Likewise.
1717 * io/lseek64.c: Likewise.
1718 * io/lxstat64.c: Likewise.
1719 * io/mkdir.c: Likewise.
1720 * io/mkdirat.c: Likewise.
1721 * io/mkfifo.c: Likewise.
1722 * io/mkfifoat.c: Likewise.
1723 * io/open.c: Likewise.
1724 * io/open64.c: Likewise.
1725 * io/openat.c: Likewise.
1726 * io/openat64.c: Likewise.
1727 * io/pipe.c: Likewise.
1728 * io/pipe2.c: Likewise.
1729 * io/poll.c: Likewise.
1730 * io/posix_fadvise.c: Likewise.
1731 * io/posix_fadvise64.c: Likewise.
1732 * io/posix_fallocate.c: Likewise.
1733 * io/posix_fallocate64.c: Likewise.
1734 * io/read.c: Likewise.
1735 * io/readlink.c: Likewise.
1736 * io/readlinkat.c: Likewise.
1737 * io/rmdir.c: Likewise.
1738 * io/sendfile.c: Likewise.
1739 * io/sendfile64.c: Likewise.
1740 * io/statfs.c: Likewise.
1741 * io/statfs64.c: Likewise.
1742 * io/statvfs.c: Likewise.
1743 * io/statvfs64.c: Likewise.
1744 * io/symlink.c: Likewise.
1745 * io/symlinkat.c: Likewise.
1746 * io/ttyname.c: Likewise.
1747 * io/ttyname_r.c: Likewise.
1748 * io/umask.c: Likewise.
1749 * io/unlink.c: Likewise.
1750 * io/unlinkat.c: Likewise.
1751 * io/utime.c: Likewise.
1752 * io/utimensat.c: Likewise.
1753 * io/write.c: Likewise.
1754 * io/xmknod.c: Likewise.
1755 * io/xmknodat.c: Likewise.
1756 * io/xstat.c: Likewise.
1757 * io/xstat64.c: Likewise.
1758 * login/getpt.c: Likewise.
1759 * login/grantpt.c: Likewise.
1760 * login/unlockpt.c: Likewise.
1761 * math/e_acoshl.c: Likewise.
1762 * math/e_acosl.c: Likewise.
1763 * math/e_asinl.c: Likewise.
1764 * math/e_atan2l.c: Likewise.
1765 * math/e_atanhl.c: Likewise.
1766 * math/e_coshl.c: Likewise.
1767 * math/e_expl.c: Likewise.
1768 * math/e_fmodl.c: Likewise.
1769 * math/e_gammal_r.c: Likewise.
1770 * math/e_hypotl.c: Likewise.
1771 * math/e_j0l.c: Likewise.
1772 * math/e_j1l.c: Likewise.
1773 * math/e_jnl.c: Likewise.
1774 * math/e_lgammal_r.c: Likewise.
1775 * math/e_log10l.c: Likewise.
1776 * math/e_log2l.c: Likewise.
1777 * math/e_logl.c: Likewise.
1778 * math/e_powl.c: Likewise.
1779 * math/e_rem_pio2l.c: Likewise.
1780 * math/e_sinhl.c: Likewise.
1781 * math/e_sqrtl.c: Likewise.
1782 * math/fclrexcpt.c: Likewise.
1783 * math/fedisblxcpt.c: Likewise.
1784 * math/feenablxcpt.c: Likewise.
1785 * math/fegetenv.c: Likewise.
1786 * math/fegetexcept.c: Likewise.
1787 * math/fegetround.c: Likewise.
1788 * math/feholdexcpt.c: Likewise.
1789 * math/fesetenv.c: Likewise.
1790 * math/fesetround.c: Likewise.
1791 * math/feupdateenv.c: Likewise.
1792 * math/fgetexcptflg.c: Likewise.
1793 * math/fraiseexcpt.c: Likewise.
1794 * math/fsetexcptflg.c: Likewise.
1795 * math/ftestexcept.c: Likewise.
1796 * math/k_cosl.c: Likewise.
1797 * math/k_rem_pio2l.c: Likewise.
1798 * math/k_sinl.c: Likewise.
1799 * math/k_tanl.c: Likewise.
1800 * math/s_asinhl.c: Likewise.
1801 * math/s_atanl.c: Likewise.
1802 * math/s_cbrtl.c: Likewise.
1803 * math/s_erfl.c: Likewise.
1804 * math/s_expm1l.c: Likewise.
1805 * math/s_log1pl.c: Likewise.
1806 * math/s_tanhl.c: Likewise.
1807 * misc/acct.c: Likewise.
1808 * misc/brk.c: Likewise.
1809 * misc/chflags.c: Likewise.
1810 * misc/chroot.c: Likewise.
1811 * misc/fchflags.c: Likewise.
1812 * misc/fgetxattr.c: Likewise.
1813 * misc/flistxattr.c: Likewise.
1814 * misc/fremovexattr.c: Likewise.
1815 * misc/fsetxattr.c: Likewise.
1816 * misc/fsync.c: Likewise.
1817 * misc/ftruncate.c: Likewise.
1818 * misc/futimes.c: Likewise.
1819 * misc/futimesat.c: Likewise.
1820 * misc/getdomain.c: Likewise.
1821 * misc/getdtsz.c: Likewise.
1822 * misc/gethostid.c: Likewise.
1823 * misc/gethostname.c: Likewise.
1824 * misc/getloadavg.c: Likewise.
1825 * misc/getpagesize.c: Likewise.
1826 * misc/getsysstats.c: Likewise.
1827 * misc/getxattr.c: Likewise.
1828 * misc/gtty.c: Likewise.
1829 * misc/ioctl.c: Likewise.
1830 * misc/lgetxattr.c: Likewise.
1831 * misc/listxattr.c: Likewise.
1832 * misc/llistxattr.c: Likewise.
1833 * misc/lremovexattr.c: Likewise.
1834 * misc/lsetxattr.c: Likewise.
1835 * misc/lutimes.c: Likewise.
1836 * misc/madvise.c: Likewise.
1837 * misc/mincore.c: Likewise.
1838 * misc/mlock.c: Likewise.
1839 * misc/mlockall.c: Likewise.
1840 * misc/mmap.c: Likewise.
1841 * misc/mprotect.c: Likewise.
1842 * misc/msync.c: Likewise.
1843 * misc/munlock.c: Likewise.
1844 * misc/munlockall.c: Likewise.
1845 * misc/munmap.c: Likewise.
1846 * misc/preadv.c: Likewise.
1847 * misc/preadv64.c: Likewise.
1848 * misc/ptrace.c: Likewise.
1849 * misc/pwritev.c: Likewise.
1850 * misc/pwritev64.c: Likewise.
1851 * misc/readv.c: Likewise.
1852 * misc/reboot.c: Likewise.
1853 * misc/remap_file_pages.c: Likewise.
1854 * misc/removexattr.c: Likewise.
1855 * misc/revoke.c: Likewise.
1856 * misc/select.c: Likewise.
1857 * misc/setdomain.c: Likewise.
1858 * misc/setegid.c: Likewise.
1859 * misc/seteuid.c: Likewise.
1860 * misc/sethostid.c: Likewise.
1861 * misc/sethostname.c: Likewise.
1862 * misc/setregid.c: Likewise.
1863 * misc/setreuid.c: Likewise.
1864 * misc/setxattr.c: Likewise.
1865 * misc/sstk.c: Likewise.
1866 * misc/stty.c: Likewise.
1867 * misc/swapoff.c: Likewise.
1868 * misc/swapon.c: Likewise.
1869 * misc/sync.c: Likewise.
1870 * misc/syncfs.c: Likewise.
1871 * misc/syscall.c: Likewise.
1872 * misc/truncate.c: Likewise.
1873 * misc/ualarm.c: Likewise.
1874 * misc/usleep.c: Likewise.
1875 * misc/ustat.c: Likewise.
1876 * misc/utimes.c: Likewise.
1877 * misc/vhangup.c: Likewise.
1878 * misc/writev.c: Likewise.
1879 * posix/_exit.c: Likewise.
1880 * posix/alarm.c: Likewise.
1881 * posix/execve.c: Likewise.
1882 * posix/fexecve.c: Likewise.
1883 * posix/fork.c: Likewise.
1884 * posix/fpathconf.c: Likewise.
1885 * posix/getaddrinfo.c: Likewise.
1886 * posix/getegid.c: Likewise.
1887 * posix/geteuid.c: Likewise.
1888 * posix/getgid.c: Likewise.
1889 * posix/getgroups.c: Likewise.
1890 * posix/getlogin.c: Likewise.
1891 * posix/getlogin_r.c: Likewise.
1892 * posix/getpgid.c: Likewise.
1893 * posix/getpid.c: Likewise.
1894 * posix/getppid.c: Likewise.
1895 * posix/getresgid.c: Likewise.
1896 * posix/getresuid.c: Likewise.
1897 * posix/getsid.c: Likewise.
1898 * posix/getuid.c: Likewise.
1899 * posix/glob64.c: Likewise.
1900 * posix/nanosleep.c: Likewise.
1901 * posix/pathconf.c: Likewise.
1902 * posix/pause.c: Likewise.
1903 * posix/posix_madvise.c: Likewise.
1904 * posix/pread.c: Likewise.
1905 * posix/pread64.c: Likewise.
1906 * posix/pwrite.c: Likewise.
1907 * posix/pwrite64.c: Likewise.
1908 * posix/sched_getaffinity.c: Likewise.
1909 * posix/sched_getp.c: Likewise.
1910 * posix/sched_gets.c: Likewise.
1911 * posix/sched_primax.c: Likewise.
1912 * posix/sched_primin.c: Likewise.
1913 * posix/sched_rr_gi.c: Likewise.
1914 * posix/sched_setaffinity.c: Likewise.
1915 * posix/sched_setp.c: Likewise.
1916 * posix/sched_sets.c: Likewise.
1917 * posix/sched_yield.c: Likewise.
1918 * posix/setgid.c: Likewise.
1919 * posix/setlogin.c: Likewise.
1920 * posix/setpgid.c: Likewise.
1921 * posix/setresgid.c: Likewise.
1922 * posix/setresuid.c: Likewise.
1923 * posix/setsid.c: Likewise.
1924 * posix/setuid.c: Likewise.
1925 * posix/sleep.c: Likewise.
1926 * posix/spawni.c: Likewise.
1927 * posix/sysconf.c: Likewise.
1928 * posix/times.c: Likewise.
1929 * posix/wait.c: Likewise.
1930 * posix/wait3.c: Likewise.
1931 * posix/wait4.c: Likewise.
1932 * posix/waitpid.c: Likewise.
1933 * resolv/gai_sigqueue.c: Likewise.
1934 * resource/getpriority.c: Likewise.
1935 * resource/getrlimit.c: Likewise.
1936 * resource/getrusage.c: Likewise.
1937 * resource/nice.c: Likewise.
1938 * resource/setpriority.c: Likewise.
1939 * resource/setrlimit.c: Likewise.
1940 * resource/ulimit.c: Likewise.
1941 * rt/aio_cancel.c: Likewise.
1942 * rt/aio_fsync.c: Likewise.
1943 * rt/aio_read.c: Likewise.
1944 * rt/aio_sigqueue.c: Likewise.
1945 * rt/aio_suspend.c: Likewise.
1946 * rt/aio_write.c: Likewise.
1947 * rt/clock_getres.c: Likewise.
1948 * rt/clock_gettime.c: Likewise.
1949 * rt/clock_nanosleep.c: Likewise.
1950 * rt/clock_settime.c: Likewise.
1951 * rt/lio_listio.c: Likewise.
1952 * rt/mq_close.c: Likewise.
1953 * rt/mq_getattr.c: Likewise.
1954 * rt/mq_notify.c: Likewise.
1955 * rt/mq_open.c: Likewise.
1956 * rt/mq_receive.c: Likewise.
1957 * rt/mq_send.c: Likewise.
1958 * rt/mq_setattr.c: Likewise.
1959 * rt/mq_timedreceive.c: Likewise.
1960 * rt/mq_timedsend.c: Likewise.
1961 * rt/mq_unlink.c: Likewise.
1962 * rt/shm_open.c: Likewise.
1963 * rt/shm_unlink.c: Likewise.
1964 * rt/timer_create.c: Likewise.
1965 * rt/timer_delete.c: Likewise.
1966 * rt/timer_getoverr.c: Likewise.
1967 * rt/timer_gettime.c: Likewise.
1968 * rt/timer_settime.c: Likewise.
1969 * setjmp/__longjmp.c: Likewise.
1970 * setjmp/setjmp.c: Likewise.
1971 * signal/kill.c: Likewise.
1972 * signal/killpg.c: Likewise.
1973 * signal/raise.c: Likewise.
1974 * signal/sigaction.c: Likewise.
1975 * signal/sigaltstack.c: Likewise.
1976 * signal/sigblock.c: Likewise.
1977 * signal/sigignore.c: Likewise.
1978 * signal/sigintr.c: Likewise.
1979 * signal/signal.c: Likewise.
1980 * signal/sigpause.c: Likewise.
1981 * signal/sigpending.c: Likewise.
1982 * signal/sigqueue.c: Likewise.
1983 * signal/sigreturn.c: Likewise.
1984 * signal/sigset.c: Likewise.
1985 * signal/sigsetmask.c: Likewise.
1986 * signal/sigstack.c: Likewise.
1987 * signal/sigsuspend.c: Likewise.
1988 * signal/sigtimedwait.c: Likewise.
1989 * signal/sigvec.c: Likewise.
1990 * signal/sigwait.c: Likewise.
1991 * signal/sigwaitinfo.c: Likewise.
1992 * signal/sysv_signal.c: Likewise.
1993 * socket/accept.c: Likewise.
1994 * socket/accept4.c: Likewise.
1995 * socket/bind.c: Likewise.
1996 * socket/connect.c: Likewise.
1997 * socket/getpeername.c: Likewise.
1998 * socket/getsockname.c: Likewise.
1999 * socket/getsockopt.c: Likewise.
2000 * socket/isfdtype.c: Likewise.
2001 * socket/listen.c: Likewise.
2002 * socket/recv.c: Likewise.
2003 * socket/recvfrom.c: Likewise.
2004 * socket/recvmsg.c: Likewise.
2005 * socket/send.c: Likewise.
2006 * socket/sendmsg.c: Likewise.
2007 * socket/sendto.c: Likewise.
2008 * socket/setsockopt.c: Likewise.
2009 * socket/shutdown.c: Likewise.
2010 * socket/sockatmark.c: Likewise.
2011 * socket/socket.c: Likewise.
2012 * socket/socketpair.c: Likewise.
2013 * stdio-common/ctermid.c: Likewise.
2014 * stdio-common/cuserid.c: Likewise.
2015 * stdio-common/remove.c: Likewise.
2016 * stdio-common/rename.c: Likewise.
2017 * stdio-common/renameat.c: Likewise.
2018 * stdio-common/tempname.c: Likewise.
2019 * stdlib/getcontext.c: Likewise.
2020 * stdlib/makecontext.c: Likewise.
2021 * stdlib/setcontext.c: Likewise.
2022 * stdlib/swapcontext.c: Likewise.
2023 * stdlib/system.c: Likewise.
2024 * streams/fattach.c: Likewise.
2025 * streams/fdetach.c: Likewise.
2026 * streams/getmsg.c: Likewise.
2027 * streams/getpmsg.c: Likewise.
2028 * streams/putmsg.c: Likewise.
2029 * streams/putpmsg.c: Likewise.
2030 * sysdeps/unix/bsd/getpt.c: Likewise.
2031 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2032 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2033 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2036 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2037 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2038 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2039 * sysvipc/msgctl.c: Likewise.
2040 * sysvipc/msgget.c: Likewise.
2041 * sysvipc/msgrcv.c: Likewise.
2042 * sysvipc/msgsnd.c: Likewise.
2043 * sysvipc/semctl.c: Likewise.
2044 * sysvipc/semget.c: Likewise.
2045 * sysvipc/semop.c: Likewise.
2046 * sysvipc/semtimedop.c: Likewise.
2047 * sysvipc/shmat.c: Likewise.
2048 * sysvipc/shmctl.c: Likewise.
2049 * sysvipc/shmdt.c: Likewise.
2050 * sysvipc/shmget.c: Likewise.
2051 * termios/tcdrain.c: Likewise.
2052 * termios/tcflow.c: Likewise.
2053 * termios/tcflush.c: Likewise.
2054 * termios/tcgetattr.c: Likewise.
2055 * termios/tcgetpgrp.c: Likewise.
2056 * termios/tcsendbrk.c: Likewise.
2057 * termios/tcsetattr.c: Likewise.
2058 * termios/tcsetpgrp.c: Likewise.
2059 * time/adjtime.c: Likewise.
2060 * time/clock.c: Likewise.
2061 * time/getitimer.c: Likewise.
2062 * time/gettimeofday.c: Likewise.
2063 * time/setitimer.c: Likewise.
2064 * time/settimeofday.c: Likewise.
2065 * time/stime.c: Likewise.
2066 * time/time.c: Likewise.
2068 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2070 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2073 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2075 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2077 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2081 FE_TONEAREST before applying Dekker multiplication and Knuth
2082 addition. Clear inexact exceptions and check for exact zero
2084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2085 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2087 * math/libm-test.inc (fma_test): Add more tests.
2088 (fma_test_towardzero): Likewise.
2089 (fma_test_downward): Likewise.
2090 (fma_test_upward): Likewise.
2091 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2093 (libc_fesetround): New macro.
2094 (libc_fesetroundf): Likewise.
2095 (libc_fesetroundl): Likewise.
2096 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2098 (libc_fesetround_387): Likewise.
2099 (libc_fesetroundf): New macro.
2100 (libc_fesetround): Likewise.
2101 (libc_fesetroundl): Likewise.
2102 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2104 (libc_fesetroundf): New macro.
2105 (libc_fesetround): Likewise.
2106 (libc_fesetroundl): Likewise.
2107 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2108 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2109 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2111 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2112 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2114 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2115 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2117 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2121 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2122 integer constant usable in #if and use that to give value to enum
2124 (FE_DIVBYZERO): Likewise.
2125 (FE_UNDERFLOW): Likewise.
2126 (FE_OVERFLOW): Likewise.
2127 (FE_INVALID): Likewise.
2128 (FE_INVALID_SNAN): Likewise.
2129 (FE_INVALID_ISI): Likewise.
2130 (FE_INVALID_IDI): Likewise.
2131 (FE_INVALID_ZDZ): Likewise.
2132 (FE_INVALID_IMZ): Likewise.
2133 (FE_INVALID_COMPARE): Likewise.
2134 (FE_INVALID_SOFTWARE): Likewise.
2135 (FE_INVALID_SQRT): Likewise.
2136 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2137 (FE_TONEAREST): Likewise.
2138 (FE_TOWARDZERO): Likewise.
2139 (FE_UPWARD): Likewise.
2140 (FE_DOWNWARD): Likewise.
2141 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2142 (FE_DIVBYZERO): Likewise.
2143 (FE_OVERFLOW): Likewise.
2144 (FE_UNDERFLOW): Likewise.
2145 (FE_INEXACT): Likewise.
2146 (FE_TONEAREST): Likewise.
2147 (FE_DOWNWARD): Likewise.
2148 (FE_UPWARD): Likewise.
2149 (FE_TOWARDZERO): Likewise.
2150 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2151 (FE_UNDERFLOW): Likewise.
2152 (FE_OVERFLOW): Likewise.
2153 (FE_DIVBYZERO): Likewise.
2154 (FE_INVALID): Likewise.
2155 (FE_TONEAREST): Likewise.
2156 (FE_TOWARDZERO): Likewise.
2157 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2158 (FE_OVERFLOW): Likewise.
2159 (FE_UNDERFLOW): Likewise.
2160 (FE_DIVBYZERO): Likewise.
2161 (FE_INEXACT): Likewise.
2162 (FE_TONEAREST): Likewise.
2163 (FE_TOWARDZERO): Likewise.
2164 (FE_UPWARD): Likewise.
2165 (FE_DOWNWARD): Likewise.
2166 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2167 (FE_DIVBYZERO): Likewise.
2168 (FE_OVERFLOW): Likewise.
2169 (FE_UNDERFLOW): Likewise.
2170 (FE_INEXACT): Likewise.
2171 (FE_TONEAREST): Likewise.
2172 (FE_DOWNWARD): Likewise.
2173 (FE_UPWARD): Likewise.
2174 (FE_TOWARDZERO): Likewise.
2176 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2178 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2180 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2182 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2183 commands. Quote $PWD.
2184 (blacklist_exports): Don't use remove_newlines. Replace "declare
2186 (remove_newlines): Remove.
2188 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2190 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2191 * stdlib/stdlib.h (atof): Moved to ...
2192 * include/bits/stdlib-float.h: Here. New file.
2193 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2194 * stdlib/bits/stdlib-float.h: New file.
2195 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2197 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2200 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2202 * conform/conformtest.pl (@headers): Add fenv.h.
2203 * conform/data/fenv.h-data: New file.
2204 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2205 include of <math/fenv.h>.
2207 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2208 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2209 && !UNIX98]. Enables tests for XOPEN2K8.
2210 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2211 POSIX2008]: Likewise.
2213 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2214 (struct rusage): Do not expect type or its members.
2217 * math/math.h (FP_NAN): Define macro to integer constant usable in
2218 #if and use that to give value to enum constant.
2219 (FP_INFINITE): Likewise.
2220 (FP_ZERO): Likewise.
2221 (FP_SUBNORMAL): Likewise.
2222 (FP_NORMAL): Likewise.
2224 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2226 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2227 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2230 2012-11-02 Roland McGrath <roland@hack.frob.com>
2232 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2233 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2234 autoconf-time if not.
2235 * configure.in: Remove AC_PREREQ.
2237 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2239 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2240 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2241 of the internal implementation.
2243 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2245 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2246 except include of <misc/sys/syslog.h>.
2248 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2251 function returns with a NULL context exit with zero.
2253 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2255 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2257 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2259 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2260 (run_program_cmd): This.
2261 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2262 (tst_langinfo): New variable. Use it.
2264 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2266 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2267 floating point opcodes.
2269 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2271 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2274 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2276 * sysdeps/mach/hurd/powerpc: Remove directory.
2277 * sysdeps/mach/powerpc: Likewise.
2279 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2281 * scripts/check-local-headers.sh: Ignore c++ headers.
2283 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2285 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2286 __libc_cleanup_region_start argument.
2288 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2293 x * y using scaling, not as x * y + z.
2294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2296 * math/libm-test.inc (fma_test): Add more tests.
2297 (fma_test_towardzero): Likewise.
2298 (fma_test_downward): Likewise.
2299 (fma_test_upward): Likewise.
2301 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2303 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2305 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2307 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2310 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2312 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2314 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2321 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2324 Fix the order of the list for glibc 2.17.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2328 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2332 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2335 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2336 for low part of x being zero before using __atanl (y).
2337 * math/libm-test.inc (atan2_test): Add another test.
2339 * manual/install.texi (Configuring and compiling): Document
2340 general use of test-wrapper and test-wrapper-env.
2341 * INSTALL: Regenerated.
2343 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2344 (__fma): Do not extract and scale down low bits on after-rounding
2345 systems when result rounded to normal precision would have normal
2347 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2348 (__fmal): Do not extract and scale down low bits on after-rounding
2349 systems when result rounded to normal precision would have normal
2351 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2352 (__fmal): Do not extract and scale down low bits on after-rounding
2353 systems when result rounded to normal precision would have normal
2355 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2357 (fma_test): Add more tests.
2358 (fma_test_towardzero): Likewise.
2359 (fma_test_downward): Likewise.
2360 (fma_test_upward): Likewise.
2362 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2364 * sysdeps/i386/tininess.h: Renamed to ...
2365 * sysdeps/x86/tininess.h: This.
2366 * sysdeps/x86_64/tininess.h: Removed.
2368 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2370 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2371 input. Use $(build-program-cmd).
2372 ($(objpfx)tst-array1-static.out): Likewise.
2373 ($(objpfx)tst-array2.out): Likewise.
2374 ($(objpfx)tst-array3.out): Likewise.
2375 ($(objpfx)tst-array4.out): Likewise.
2376 ($(objpfx)tst-array5.out): Likewise.
2377 ($(objpfx)tst-array5-static.out): Likewise.
2379 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2381 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2384 * nss/nsswitch.h (nss_interface_function): Provide new
2385 macro for use with NSS functions.
2386 * grp/initgroups.c: Use new macro.
2387 * nss/getXXbyYY.c: Likewise.
2388 * nss/getXXbyYY_r.c: Likewise.
2389 * nss/getXXent.c: Likewise.
2390 * nss/getXXent_r.c: Likewise.
2391 * sysdeps/posix/getaddrinfo.c: Likewise.
2393 2012-10-30 Andreas Jaeger <aj@suse.de>
2395 * po/ru.po: Update Russion translation from translation project.
2397 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2402 result and shift together with sticky bit instead of replicating
2403 round-to-nearest rounding.
2404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2406 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2407 missing underflow exceptions.
2408 (fma_test_towardzero): Add more tests.
2409 (fma_test_downward): Likewise.
2410 (fma_test_upward): Likewise.
2413 * sysdeps/generic/tininess.h: New file.
2414 * sysdeps/i386/tininess.h: Likewise.
2415 * sysdeps/sh/tininess.h: Likewise.
2416 * sysdeps/x86_64/tininess.h: Likewise.
2417 * stdlib/tst-strtod-underflow.c: Likewise.
2418 * stdlib/tst-tininess.c: Likewise.
2419 * stdlib/strtod_l.c: Include <tininess.h>.
2420 (round_and_return): Do not set errno for exact underflow cases.
2421 Force an underflow exception when setting errno for underflow.
2422 Determine underflow based on rounding to normal precision if
2423 TININESS_AFTER_ROUNDING.
2424 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2425 ERANGE for exact underflow cases.
2426 * stdlib/Makefile (tests): Add tst-tininess and
2427 tst-strtod-underflow.
2428 ($(objpfx)tst-tininess): Use $(link-libm).
2429 ($(objpfx)tst-strtod-underflow): Likewise.
2431 2012-10-30 Andreas Jaeger <aj@suse.de>
2434 * elf/Makefile (tests): Remove conditional for have-initfini-array
2435 since this is now always required and the variable does not exist
2437 (tests-static): Likewise.
2438 (modules-names): Likewise.
2440 * po/eo.po: Add Esperanto translation from translation project.
2442 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2443 merged with constructor/destructor.
2444 (init_array): Likewise.
2445 * elf/tst-array2dep.c (fini_array): Likewise.
2446 (init_array): Likewise.
2448 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2450 * manual/message.texi: Delete @cartouche tags.
2452 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2454 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2456 * sysdeps/mach/hurd/fsync.c: Likewise.
2458 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2459 [_POSIX_REALTIME_SIGNALS]: Change condition to
2460 [_POSIX_REALTIME_SIGNALS > 0].
2462 2012-10-27 Andreas Jaeger <aj@suse.de>
2464 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2465 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2467 [__WORDSIZE != 64]: Likewise.
2469 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2471 * iconvdata/tst-table.sh: Remove ${SHELL}.
2472 * iconvdata/tst-tables.sh: Likewise.
2474 2012-10-25 David S. Miller <davem@davemloft.net>
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2477 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2483 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2484 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2487 2012-10-25 Roland McGrath <roland@hack.frob.com>
2489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2490 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2493 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2494 Jim Blandy <jimb@codesourcery.com>
2496 * scripts/cross-test-ssh.sh: New file.
2497 * manual/install.texi (Configuring and compiling): Document use of
2499 * INSTALL: Regenerated.
2501 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2503 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2506 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2508 * Makeconfig (run-program-prefix): Fix comment.
2510 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2511 Jim Blandy <jimb@codesourcery.com>
2513 * Makeconfig (test-wrapper): New variable,
2514 (test-wrapper-env): Likewise.
2515 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2516 (run-built-tests): Define to yes.
2517 (run-program-prefix): Use $(test-wrapper).
2518 (built-program-cmd): Likewise.
2519 * Rules (make-test-out): Use $(test-wrapper-env) and
2520 $(host-built-program-cmd).
2521 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2522 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2524 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2525 $(test-wrapper-env) to tst-rtld-load-self.sh.
2526 ($(objpfx)order2.out): Use $(test-wrapper).
2527 ($(objpfx)tst-initorder.out): Likewise.
2528 ($(objpfx)tst-initorder2.out): Likewise.
2529 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2530 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2531 (test_wrapper_env): New variable. Use it to run ld.so.
2532 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2533 Use it to run ld.so.
2534 (test_wrapper_env): Likewise.
2535 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2536 $(test-wrapper) to run-iconv-test.sh.
2537 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2538 (ICONV): Use $test_wrapper.
2539 * posix/Makefile ($(objpfx)globtest.out): Pass
2540 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2541 globtest.sh, not $(run-program-prefix).
2542 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2543 (test_wrapper): Likewise.
2544 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2545 set together with run_via_rtld_prefix.
2546 (run_program_prefix): Define in terms of test_wrapper and
2547 run_via_rtld_prefix.
2549 2012-10-24 Roland McGrath <roland@hack.frob.com>
2551 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2552 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2556 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2557 Declare __clock_getres, __clock_gettime, __clock_settime,
2558 __clock_nanosleep, and __clock_getcpuclockid.
2559 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2560 Remove librt_hidden_def (clock_gettime).
2561 * sysdeps/unix/clock_gettime.c: Likewise.
2562 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2563 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2564 * rt/clock_getres.c: Define __clock_getres as an alias.
2565 * sysdeps/posix/clock_getres.c: Likewise.
2566 * rt/clock_settime.c: Define __clock_settime as an alias.
2567 * sysdeps/unix/clock_settime.c: Likewise.
2568 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2569 * sysdeps/unix/clock_nanosleep.c: Likewise.
2570 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2571 * rt/clock-compat.c: New file.
2572 * rt/Makefile (librt-routines): Add clock-compat and move
2573 $(clock-routines) to ...
2574 (routines): ... here, new variable.
2575 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2576 Don't add get_clockfreq here.
2577 * rt/Versions (libc: GLIBC_2.17): New version set.
2578 Add clock_* symbols here.
2579 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2581 (GLIBC_2.17): Add clock_* symbols.
2582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2593 * NEWS: Mention the move.
2595 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2596 Use __open, __read, __close rather than their public counterparts.
2597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2598 (__get_clockfreq_via_cpuinfo): Likewise.
2599 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2600 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2602 * config.h.in (HAVE_IFUNC): New #undef.
2603 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2605 * configure: Regenerated.
2607 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2609 * configure.in: Move READELF check to start of file.
2610 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2611 libc_cv_asm_gnu_indirect_function in the process.
2612 * configure: Regenerated.
2614 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2616 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2617 send the output to /dev/null.
2618 (libc_cv_cc_with_libunwind): Likewise.
2619 (libc_cv_as_noexecstack): Likewise.
2620 * configure: Regenerate.
2622 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2624 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2626 * posix/globtest.sh (TMPDIR): Do not set.
2627 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2628 (testout): Likewise.
2630 2012-10-24 Andreas Jaeger <aj@suse.de>
2632 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2633 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2634 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2635 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2636 posix_fadvise64, posix_fallocate64.
2638 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2639 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2640 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2642 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2644 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2647 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2648 <bits/fcntl-linux.h>.
2649 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2652 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2653 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2654 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2655 [__WORDSIZE != 64]: Likewise.
2657 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2659 * Makeconfig (run-built-tests): New variable.
2660 * Rules [$(cross-compiling) = yes]: Change condition to
2661 [$(run-built-tests) = no].
2662 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2663 to [$(run-built-tests) = yes].
2664 * elf/Makefile [$(cross-compiling) = no]: Likewise
2665 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2666 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2667 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2668 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2669 * io/Makefile [$(cross-compiling) = no]: Likewise.
2670 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2671 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2672 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2673 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2674 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2675 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2676 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2677 * string/Makefile [$(cross-compiling) = no]: Likewise.
2679 * posix/Makefile ($(objpfx)globtest.out): Pass
2680 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2681 $(rtld-installed-name).
2682 * posix/globtest.sh (elf_objpfx): Remove variable.
2683 (rtld_installed_name): Likewise.
2684 (library_path): Likewise.
2685 (run_program_prefix): New variable. Use for running globtest
2688 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2689 Joseph Myers <joseph@codesourcery.com>
2691 * Makeconfig (host-built-program-cmd): New variable.
2692 * elf/Makefile (tst-stackguard1-ARGS): Use
2693 $(host-built-program-cmd).
2694 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2695 (tst-spawn-ARGS): Likewise.
2696 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2698 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2699 Jim Blandy <jimb@codesourcery.com>
2701 * Makeconfig (run-via-rtld-prefix): New variable.
2702 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2703 (built-program-cmd): Likewise.
2705 2012-10-22 Andreas Jaeger <aj@suse.de>
2707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2708 __O_RSYNC if it exists, otherwise to O_SYNC.
2710 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2711 Joseph Myers <joseph@codesourcery.com>
2713 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2715 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2717 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2720 2012-10-22 Andreas Jaeger <aj@suse.de>
2722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2730 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2737 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2738 Joseph Myers <joseph@codesourcery.com>
2740 * config.make.in (NM): New variable.
2742 2012-10-21 Andreas Jaeger <aj@suse.de>
2744 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2745 definitions and declarations that are provided by
2746 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2748 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2751 * elf/Makefile (tests-static): Add tst-leaks1-static.
2752 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2753 ($(objpfx)tst-leaks1-static): New rule.
2754 ($(objpfx)tst-leaks1-static-mem): Likewise.
2755 (tst-leaks1-static-ENV): New macro.
2756 * elf/dl-open.c (dl_open_worker): Check the main application
2757 only if SHARED is defined.
2758 * elf/tst-leaks1-static.c: New file.
2760 2012-10-20 Andreas Jaeger <aj@suse.de>
2762 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2763 generic values for Linux.
2764 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2765 and declarations that are provided by <bits/fcntl-linux.h> and
2766 include <bits/fcntl-linux.h>.
2767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2770 2012-10-20 Roland McGrath <roland@hack.frob.com>
2772 * io/fcntl.h: Move include of <bits/types.h> to the top and
2773 include it unconditionally.
2775 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2777 * wcsmbs/Makefile (tests-ifunc): New variable.
2778 (tests): Add $(tests-ifunc).
2779 * wcsmbs/test-wcschr-ifunc.c: New file.
2780 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2781 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2782 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2783 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2784 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2786 * string/Makefile (tests-ifunc): New variable.
2787 (tests): Add $(tests-ifunc).
2788 * string/test-memccpy.c (TEST_NAME): New macro.
2789 * string/test-memchr.c (TEST_NAME): Likewise.
2790 * string/test-memcmp.c (TEST_NAME): Likewise.
2791 * string/test-memcpy.c (TEST_NAME): Likewise.
2792 * string/test-memmem.c (TEST_NAME): Likewise.
2793 * string/test-memmove.c (TEST_NAME): Likewise.
2794 * string/test-memset.c (TEST_NAME): Likewise.
2795 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2796 * string/test-stpcpy.c (TEST_NAME): Likewise.
2797 * string/test-stpncpy.c (TEST_NAME): Likewise.
2798 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2799 * string/test-strcasestr.c (TEST_NAME): Likewise.
2800 * string/test-strcat.c (TEST_NAME): Likewise.
2801 * string/test-strchr.c (TEST_NAME): Likewise.
2802 * string/test-strcmp.c(TEST_NAME): Likewise.
2803 * string/test-strcpy.c (TEST_NAME): Likewise.
2804 * string/test-strcspn.c (TEST_NAME): Likewise.
2805 * string/test-strlen.c (TEST_NAME): Likewise.
2806 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2807 * string/test-strncmp.c (TEST_NAME): Likewise.
2808 * string/test-strncpy.c (TEST_NAME): Likewise.
2809 * string/test-strnlen.c (TEST_NAME): Likewise.
2810 * string/test-strpbrk.c (TEST_NAME): Likewise.
2811 * string/test-strrchr.c (TEST_NAME): Likewise.
2812 * string/test-strspn.c (TEST_NAME): Likewise.
2813 * string/test-strstr.c (TEST_NAME): Likewise.
2814 * string/test-bcopy-ifunc.c: New file.
2815 * string/test-bzero-ifunc.c: Likewise.
2816 * string/test-memccpy-ifunc.c: Likewise.
2817 * string/test-memchr-ifunc.c: Likewise.
2818 * string/test-memcmp-ifunc.c: Likewise.
2819 * string/test-memcpy-ifunc.c: Likewise.
2820 * string/test-memmem-ifunc.c: Likewise.
2821 * string/test-memmove-ifunc.c: Likewise.
2822 * string/test-mempcpy-ifunc.c: Likewise.
2823 * string/test-memset-ifunc.c: Likewise.
2824 * string/test-rawmemchr-ifunc.c: Likewise.
2825 * string/test-stpcpy-ifunc.c: Likewise.
2826 * string/test-stpncpy-ifunc.c: Likewise.
2827 * string/test-strcasecmp-ifunc.c: Likewise.
2828 * string/test-strcasestr-ifunc.c: Likewise.
2829 * string/test-strcat-ifunc.c: Likewise.
2830 * string/test-strchr-ifunc.c: Likewise.
2831 * string/test-strchrnul-ifunc.c: Likewise.
2832 * string/test-strcmp-ifunc.c: Likewise.
2833 * string/test-strcpy-ifunc.c: Likewise.
2834 * string/test-strcspn-ifunc.c: Likewise.
2835 * string/test-strlen-ifunc.c: Likewise.
2836 * string/test-strncasecmp-ifunc.c: Likewise.
2837 * string/test-strncat-ifunc.c: Likewise.
2838 * string/test-strncmp-ifunc.c: Likewise.
2839 * string/test-strncpy-ifunc.c: Likewise.
2840 * string/test-strnlen-ifunc.c: Likewise.
2841 * string/test-strpbrk-ifunc.c: Likewise.
2842 * string/test-strrchr-ifunc.c: Likewise.
2843 * string/test-strspn-ifunc.c: Likewise.
2844 * string/test-strstr-ifunc.c: Likewise.
2846 * debug/Makefile (tests-ifunc): New variable.
2847 (tests): Add $(tests-ifunc).
2848 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2849 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2850 * debug/test-stpcpy_chk-ifunc.c: New file.
2851 * debug/test-strcpy_chk-ifunc.c: Likewise.
2853 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2856 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2857 header is not read in.
2859 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2861 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2862 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2863 directly. Pass built executable to script as
2864 $(built-program-cmd).
2865 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2866 $testprogram without using LD_LIBRARY_PATH and $ldso.
2868 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2869 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2870 $(rtld-installed-name).
2871 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2872 (rtld_installed_name): Likewise.
2873 (library_path): Likewise.
2874 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2875 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2876 $(run-program-prefix) to tst-tables.sh.
2877 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2878 it to run tst-table-from and tst-table-to.
2879 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2880 Pass it to tst-table.sh.
2881 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2882 $(run-program-prefix) to tst-gettext.sh.
2883 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2885 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2887 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2889 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2890 to run tst-gettext2.
2891 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2892 to run tst-translit.
2893 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2894 $(run-program-prefix) to tst-mtrace.sh.
2895 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2897 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2898 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2899 $(rtld-installed-name).
2900 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2901 (rtld_installed_name): Likewise.
2902 (run_program_prefix): New variable. Use it to run wordexp-test.
2904 * Makeconfig (ARCH): Remove all definitions.
2905 (machine): Likewise.
2906 [ARCH]: Remove conditional code.
2907 [!objdir]: Give error.
2908 [!objdir] (objpfx): Remove.
2909 [!objdir] (common-objpfx): Likewise.
2910 [!objdir] (common-objdir): Likewise.
2911 * configure.in (config_makefile): Remove. Hardcode Makefile in
2912 AC_CONFIG_FILES call.
2913 * configure: Regenerated.
2916 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2918 (testout): Likewise.
2920 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2921 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2922 $(rtld-installed-name).
2923 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2924 (rtld_installed_name): Likwise.
2925 (runit): Remove function.
2926 (run_getconf): New variable, Use it for running getconf binary.
2928 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2931 * string/test-memmem.c (check_result): New function.
2932 (do_one_test): Use it.
2933 (check1): New function.
2934 (test_main): Use it.
2936 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2938 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2940 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2942 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2943 (_G_LSEEK64): Likewise.
2944 (_G_MMAP64): Likewise.
2945 (_G_FSTAT64): Likewise.
2946 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2947 (_G_LSEEK64): Likewise.
2948 (_G_MMAP64): Likewise.
2949 (_G_FSTAT64): Likewise.
2950 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2951 unconditional. Call __mmap64 directly.
2952 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2953 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2955 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2956 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2958 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2959 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2961 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2962 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2964 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2965 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2967 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2968 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2969 __fxstat64 directly.
2970 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2971 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2973 (freopen64) [!_G_OPEN64]: Remove conditional code.
2974 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2976 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2977 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2979 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2980 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2982 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2983 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2985 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2986 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2988 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2989 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2991 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2992 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2994 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2996 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2999 * manual/memory.texi (Malloc Tunable Parameters): Add note
3000 about free list pointers overwriting some perturb bytes.
3001 Wording suggested by Roland McGrath.
3003 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3005 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3006 (lgamma_test): Likewise.
3007 (tgamma_test): Likewise.
3009 2012-10-16 Florian Weimer <fweimer@redhat.com>
3012 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3013 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3015 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3017 * NEWS: Mention BZ #14716.
3018 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3019 when removing AVAILABLE1_USES_J macro.
3021 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3023 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3024 (__bswap_64): __uint64_t for unsigned 64-bit int.
3026 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3028 * include/string.h (memmem): Declare libc hidden alias.
3029 * string/memmem.c (memmem): Define libc hidden alias.
3030 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3031 __read, __close instead of open, read, close.
3033 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3036 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3038 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3039 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3040 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3042 (__rawmemchr_sse2): Likewise.
3043 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3044 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3045 (__strchr_sse2): Likewise.
3046 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3047 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3048 (__strcasecmp_sse2): Likewise.
3049 (__strncasecmp_sse2): Likewise.
3050 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3051 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3052 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3053 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3054 (__strrchr_sse2): Likewise.
3055 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3057 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3058 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3059 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3061 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3062 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3063 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3064 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3065 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3066 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3067 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3068 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3069 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3070 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3071 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3072 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3073 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3074 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3075 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3076 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3077 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3078 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3079 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3080 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3081 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3082 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3083 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3084 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3085 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3086 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3090 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3091 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3092 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3093 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3095 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3097 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3098 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3099 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3100 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3102 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3115 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3116 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3117 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3118 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3120 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3136 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3144 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3145 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3146 * include/ifunc-impl-list.h: New file.
3147 * misc/ifunc-impl-list.c: Likewise.
3148 * misc/Makefile (routines): Add ifunc-impl-list.
3149 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3150 * string/test-string.h: Include <ifunc-impl-list.h>.
3151 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3152 impl_array): New variables.
3153 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3155 (test_init): Call __libc_ifunc_impl_list to initialize
3156 func_list if TEST_IFUNC and TEST_NAME are defined.
3158 * string/Makefile (strop-tests): Add bcopy and bzero.
3159 * string/test-bcopy.c: New file.
3160 * string/test-bzero.c: Likewise.
3161 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3163 * string/test-memset.c: Support bzero test if TEST_BZERO is
3165 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3167 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3169 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3172 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3174 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3175 * configure: Regenerated.
3177 * Makeconfig (+link-static-before-libc): Don't include
3178 $(link-static-libc).
3180 * libio/libio.h (_IO_pos_t): Remove.
3182 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3184 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3187 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3189 * crypt/crypt-entry.c: Include fips-private.h.
3190 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3191 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3192 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3193 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3195 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3197 * crypt/crypt-private.h: Include stdbool.h.
3198 (_ufc_setup_salt_r): Return bool.
3199 * crypt/crypt-entry.c: Include errno.h.
3200 (__crypt_r): Return NULL with EINVAL for bad salt.
3201 * crypt/crypt_util.c (bad_for_salt): New.
3202 (_ufc_setup_salt_r): Check that salt is long enough and within
3203 the specified alphabet.
3204 * crypt/badsalttest.c: New file.
3205 * crypt/Makefile (tests): Add it.
3206 ($(objpfx)badsalttest): New.
3208 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3210 * NEWS: Add entry for BZ #14602.
3212 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3214 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3216 * math/libm-test.inc: Update comment listing what functions and
3218 (isgreater_test): New function.
3219 (isgreaterequal_test): Likewise.
3220 (isless_test): Likewise.
3221 (islessequal_test): Likewise.
3222 (islessgreater_test): Likewise.
3223 (isunordered_test): Likewise.
3224 (main): Call the new functions.
3226 2012-10-09 Roland McGrath <roland@hack.frob.com>
3228 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3229 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3230 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3231 * sysdeps/i386/configure: Regenerated.
3232 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3233 * sysdeps/mach/configure: Regenerated.
3234 * sysdeps/mach/hurd/configure: Regenerated.
3235 * sysdeps/powerpc/configure: Regenerated.
3236 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3237 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3238 * sysdeps/s390/s390-32/configure: Regenerated.
3239 * sysdeps/s390/s390-64/configure: Regenerated.
3240 * sysdeps/sh/configure: Regenerated.
3241 * sysdeps/sparc/configure: Regenerated.
3242 * sysdeps/unix/sysv/linux/configure: Regenerated.
3243 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3244 * sysdeps/x86_64/configure: Regenerated.
3246 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3247 defined. Don't check if MAP is NULL.
3249 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3252 (_G_stat64): Likewise.
3253 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3254 (_G_stat64): Likewise.
3255 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3256 instead of struct _G_stat64.
3257 * libio/fileops.c (mmap_remap_check): Likewise.
3258 (decide_maybe_mmap): Likewise.
3259 (_IO_new_file_seekoff): Likewise.
3260 (_IO_file_stat): Likewise.
3261 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3263 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3264 instead of struct _G_stat64.
3265 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3267 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3270 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3272 (CHECK_EOL): New macro.
3273 (two_way_short_needle): Check beginning of haystack for EOL. Use
3275 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3276 Replace with CHECK_EOL.
3277 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3278 Replace with CHECK_EOL.
3280 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3282 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3284 * math/libm-test.inc: Update comment listing what functions and
3286 (finite_test): New function.
3287 (isinf_test): Likewise.
3288 (isnan_test): Likewise.
3289 (fpclassify_test): Test subnormal input.
3290 (isfinite_test): Likewise.
3291 (isnormal_test): Likewise.
3292 (main): Call the new functions.
3294 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3297 * Makerules (%.dynsym): Force C locale when running
3298 $(OBJDUMP) --dynamic-syms.
3300 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3302 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3305 2012-10-06 David S. Miller <davem@davemloft.net>
3307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3308 upper 32-bits of the length value in %o2 since we use branch-on-register
3309 tests which consider the entire 64-bit register.
3311 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3313 * string/test-strstr.c (check2): Add a test for page boundary.
3315 2012-10-05 David S. Miller <davem@davemloft.net>
3317 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3318 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3320 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3322 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3323 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3324 and bzero when HWCAP_SPARC_CRYPTO is present.
3326 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3329 * string/test-strstr.c (check2): New function.
3330 (test_main): Call check2.
3332 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3334 * string/bug-strcasestr1.c (do_test): Moved to ...
3335 * string/test-strcasestr.c (check1): Here. New function.
3336 (do_one_test): Break out result checking code into ...
3337 (check_result): This. New function.
3338 (do_one_test): Call check_result.
3339 (test_main): Call check1.
3340 * string/bug-strchr1.c (do_test): Moved to ...
3341 * string/test-strchr.c (check1): Here. New function.
3342 (do_one_test): Break out result checking code into ...
3343 (check_result): This. New function.
3344 (do_one_test): Call check_result.
3345 (test_main): Call check1.
3346 * string/bug-strstr1.c (main): Moved to ...
3347 * string/test-strchr.c (check1): Here. New function.
3348 (do_one_test): Break out result checking code into ...
3349 (check_result): This. New function.
3350 (do_one_test): Call check_result.
3351 (test_main): Call check1.
3352 * string/bug-strcasestr1.c: Removed.
3353 * string/bug-strchr1.c: Likewise.
3354 * string/bug-strstr1.c: Likewise.
3356 * elf/Makefile (dl-routines): Add hwcaps.
3357 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3358 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3359 (_dl_important_hwcaps): Moved to ...
3360 * elf/dl-hwcaps.c: Here. New file.
3361 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3364 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3365 if IS_IN_rtld isn't defined.
3367 * elf/dl-support.c (_dl_sysinfo_map): New.
3368 Include "get-dynamic-info.h" and "setup-vdso.h".
3369 (_dl_non_dynamic_init): Call setup_vdso.
3370 * elf/dynamic-link.h: Don't include <assert.h>.
3371 (elf_get_dynamic_info): Moved to ...
3372 * elf/get-dynamic-info.h: Here. New file.
3373 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3374 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3375 * elf/setup-vdso.h: Here. New file.
3376 * elf/rtld.c: Include "setup-vdso.h".
3377 (dl_main): Call setup_vdso.
3379 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3381 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3382 creal in comment listing functions tested. List finite, isinf,
3383 isnan, isless, islessequal, isgreater, isgreaterequal,
3384 islessgreater, isunordered, lgamma_r and pow10 as functions and
3385 macros not tested. Mention which functions not tested are aliases
3386 for other functions. Fix typo. Note that signs of NaNs are not
3389 * scripts/config.guess: Update from config.git.
3390 * scripts/config.sub: Likewise.
3392 2012-10-04 Roland McGrath <roland@hack.frob.com>
3394 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3395 * misc/madvise.c (madvise): Renamed to __madvise.
3396 Make madvise a weak alias.
3397 * include/sys/mman.h: Declare __madvise.
3398 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3399 * sysdeps/unix/syscalls.list
3400 (madvise): Make __madvise the strong name, and madvise a weak alias.
3401 * sysdeps/unix/sysv/linux/syscalls.list
3402 (madvise, mmap): Remove redundant entries.
3403 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3404 * malloc/malloc.c (mtrim): Likewise.
3405 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3407 2012-10-03 Roland McGrath <roland@hack.frob.com>
3409 * sysdeps/mach/hurd/dl-cache.c: File removed.
3410 * config.h.in (USE_LDCONFIG): New #undef.
3411 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3412 * configure: Regenerated.
3413 * elf/Makefile (dl-routines): Add dl-cache only under
3414 [$(use-ldconfig) = yes].
3415 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3416 cache on [USE_LDCONFIG].
3417 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3419 * elf/rtld.c (dl_main): Likewise.
3421 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3423 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3424 _SC_LEVEL4_CACHE_LINESIZE.
3426 2012-10-03 Roland McGrath <roland@hack.frob.com>
3428 * sysdeps/unix/bsd/confstr.h: File removed.
3430 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3432 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3435 2012-10-02 Roland McGrath <roland@hack.frob.com>
3437 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3438 Make 'mapoff' field ElfW(Off) rather than off_t.
3440 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3442 * nscd/Makefile: Remove nscd-cflags and all its users.
3443 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3444 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3447 * malloc.c (malloc_printerr): Clarify error message.
3449 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3453 Set bit_FMA_Usable if FMA is supported.
3454 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3456 (bit_FMA4_Usable): Updated.
3457 (index_FMA_Usable): New macro.
3458 (CPUID_FMA): Likewise
3459 (HAS_FMA): Defined with bit_FMA_Usable.
3461 2012-10-01 Roland McGrath <roland@hack.frob.com>
3463 * bits/types.h (__swblk_t): Type removed.
3464 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3465 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3467 (__SWBLK_T_TYPE): Likewise.
3468 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3469 (__SWBLK_T_TYPE): Likewise.
3470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3471 (__SWBLK_T_TYPE): Likewise.
3472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3473 (__SWBLK_T_TYPE): Likewise.
3475 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3476 Honza Horak <hhorak@redhat.com>
3478 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3479 (xdr_mapname): Use YPMAXMAP as maxsize.
3480 (xdr_peername): Use YPMAXPEER as maxsize.
3481 (xdr_keydat): Use YPAXRECORD as maxsize.
3482 (xdr_valdat): Use YPMAXRECORD as maxsize.
3484 2012-10-01 Roland McGrath <roland@hack.frob.com>
3486 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3488 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3489 * csu/init-first.c: ... here.
3490 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3491 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3492 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3493 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3494 * sysdeps/i386/init-first.c: File removed.
3495 * sysdeps/sh/init-first.c: File removed.
3497 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3501 if x * y might underflow to zero and z is zero.
3502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3504 * math/libm-test.inc (min_subnorm_value): New variable.
3505 (fma_test): Add more tests.
3506 (fma_test_towardzero): Likewise.
3507 (fma_test_downward): Likewise
3508 (fma_test_upward): Likewise.
3509 (initialize): Set min_subnorm_value.
3511 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3516 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3517 mode for addition resulting in exact zero.
3518 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3521 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3522 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3523 * math/libm-test.inc (fma_test): Add more tests.
3524 (fma_test_towardzero): New function.
3525 (fma_test_downward): Likewise.
3526 (fma_test_upward): Likewise.
3527 (main): Call the new functions.
3529 2012-09-28 David S. Miller <davem@davemloft.net>
3531 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3533 2012-09-28 Roland McGrath <roland@hack.frob.com>
3535 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3538 * sysdeps/gnu/_G_config.h: Moved to ...
3539 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3540 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3541 * sysdeps/generic/_G_config.h: ... here.
3543 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3545 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3547 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3548 Conditionalize target on [libnss_test1.so-version].
3550 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3552 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3553 (elfobjdir): Move out of conditionals.
3555 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3556 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3557 (__nss_lookup_function): Conditionalize label remove_from_tree on
3558 [!DO_STATIC_NSS || SHARED], matching its only use.
3560 2012-09-28 David S. Miller <davem@davemloft.net>
3562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3565 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3569 when HWCAP_SPARC_CRYPTO is present.
3571 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3573 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3575 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3578 * stdio-common/vfprintf.c (process_string_arg): Revert
3581 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3583 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3585 * stdio-common/tst-sprintf.c: Include <locale.h>
3586 (main): Test sprintf's handling of incomplete multibyte
3589 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3591 * elf/dl-runtime.c (VERSYMIDX): Removed.
3592 * elf/dl-version.c (VERSYMIDX): Likewise.
3593 * elf/do-rel.h (VERSYMIDX): Likewise.
3595 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3596 * elf/rtld.c (VALIDX): Likewise.
3597 (ADDRIDX): Likewise.
3598 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3599 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3600 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3601 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3603 (ADDRIDX): Likewise.
3605 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3607 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3609 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3612 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3614 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3615 addresses are in the same scope as 192.0.2/24.
3616 * posix/gai.conf: Document new scope table defaults.
3618 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3621 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3622 for ftell. Compute offsets from write pointers instead.
3623 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3625 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3628 * libio/Makefile (tests): New test case tst-fseek.
3629 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3630 combination works in wide mode.
3631 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3632 state when the external buffer state changes.
3634 2012-09-27 David S. Miller <davem@davemloft.net>
3637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3638 pass reloc->r_addend in as the 'high' argument to
3639 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3643 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3645 * rt/tst-aio2.c: Include <pthread.h>.
3646 * rt/tst-aio3.c: Likewise.
3648 2012-09-27 Steve Ellcey <sellcey@mips.com>
3650 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3652 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3654 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3655 contents on [SHARED].
3657 2012-09-26 Marek Polacek <polacek@redhat.com>
3661 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3662 for C++ and GCC <4.3 as well as for non GCC compilers.
3664 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3668 2012-09-25 Roland McGrath <roland@hack.frob.com>
3670 * Makefile.in (all, install): Declare with .PHONY.
3671 Reported by Michael Hope <michael.hope@linaro.org>.
3673 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3675 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3676 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3678 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3680 (sydep_routines): Add the new and the internal functions.
3681 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3682 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3684 (GLIBC_2.17): Add the new function.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3686 (GLIBC_2.17): Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3688 (GLIBC_2.17): Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3690 (GLIBC_2.17): Likewise.
3691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3693 2012-09-25 Alan Modra <amodra@gmail.com>
3695 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3696 Add release barrier before setting once_control to say
3697 initialisation is done. Add hints on lwarx. Use macro in
3699 (clear_once_control): Add release barrier.
3701 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3704 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3706 * math/s_clog10.c (__clog10): Likewise.
3707 * math/s_clog10f.c (__clog10f): Likewise.
3708 * math/s_clog10l.c (__clog10l): Likewise.
3709 * math/s_clogf.c (__clogf): Likewise.
3710 * math/s_clogl.c (__clogl): Likewise.
3711 * math/Makefile (libm-calls): Add x2y2m1.
3712 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3713 (__x2y2m1): Likewise.
3714 (__x2y2m1l): Likewise.
3715 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3716 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3719 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3720 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3721 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3722 * sysdeps/i386/fpu/libm-test-ulps: Update.
3723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3727 int as type of variable DEPTH.
3728 (glob): Use size_t instead of int as type of variables NEWCOUNT
3731 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3733 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3735 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3736 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3737 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3738 macros for using routine as __sincosf_ia32.
3739 Use macro for function declaration and weak_alias.
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3742 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3745 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3747 * math/s_cexpf.c (__cexpf): Likewise.
3748 * math/s_csinf.c (__csinf): Likewise.
3749 * math/s_csinhf.c (__csinhf): Likewise.
3750 * math/s_ctanf.c (__ctanf): Likewise.
3751 * math/s_ctanhf.c (__ctanhf): Likewise.
3752 * math/s_ccosh.c (__ccoshf): Likewise.
3753 * math/s_cexp.c (__cexpl): Likewise.
3754 * math/s_csin.c (__csin): Likewise.
3755 * math/s_csinh.c (__csinh): Likewise.
3756 * math/s_ctan.c (__ctan): Likewise.
3757 * math/s_ctanh.c (ctanh): Likewise.
3758 * math/s_ccoshl.c (__ccoshl): Likewise.
3759 * math/s_cexpl.c (__cexpl): Likewise.
3760 * math/s_csinl.c (__csinl): Likewise.
3761 * math/s_csinhl.c (__csinhl): Likewise.
3762 * math/s_ctanl.c (__ctanl): Likewise.
3763 * math/s_ctanhl.c (__ctanhl): Likewise.
3765 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3767 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3768 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3769 (_IO_off_t): Define to __off_t, not _G_off_t.
3770 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3771 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3772 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3773 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3774 type of __dummy and __dummy2 fields.
3775 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3776 (_G_ssize_t): Likewise.
3777 (_G_off_t): Likewise.
3778 (_G_pid_t): Likewise.
3779 (_G_uid_t): Likewise.
3780 (_G_wchar_t): Likewise.
3781 (_G_wint_t): Likewise.
3782 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3783 (_G_ssize_t): Likewise.
3784 (_G_off_t): Likewise.
3785 (_G_pid_t): Likewise.
3786 (_G_uid_t): Likewise.
3787 (_G_wchar_t): Likewise.
3788 (_G_wint_t): Likewise.
3789 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3790 (_G_ssize_t): Likewise.
3791 (_G_off_t): Likewise.
3792 (_G_pid_t): Likewise.
3793 (_G_uid_t): Likewise.
3794 (_G_wchar_t): Likewise.
3795 (_G_wint_t): Likewise.
3797 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3799 * malloc/arena.c: Include malloc-sysdep.h.
3800 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3801 is sufficient to shrink the heap or an unmap is needed.
3802 * sysdeps/generic/malloc-sysdep.h: New file. Define
3803 new function check_may_shrink_heap.
3804 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3805 new function check_may_shrink_heap.
3807 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3809 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3812 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3814 * catgets/test-gencat.sh: Add "set -e".
3815 * elf/tst-pathopt.sh: Likewise.
3816 * grp/tst_fgetgrent.sh: Likewise.
3817 * iconvdata/run-iconv-test.sh: Likewise.
3818 * intl/tst-gettext.sh: Likewise.
3819 * intl/tst-gettext2.sh: Likewise.
3820 * intl/tst-gettext4.sh: Likewise.
3821 * intl/tst-gettext6.sh: Likewise.
3822 * intl/tst-translit.sh: Likewise.
3823 * io/ftwtest-sh: Likewise.
3824 * libio/test-freopen.sh: Likewise.
3825 * malloc/tst-mtrace.sh: Likewise.
3826 * posix/globtest.sh: Likewise.
3827 * posix/tst-getconf.sh: Likewise.
3828 * posix/wordexp-tst.sh: Likewise.
3829 * stdio-common/tst-printf.sh: Likewise.
3830 * stdio-common/tst-unbputc.sh: Likewise.
3831 * stdlib/tst-fmtmsg.sh: Likewise.
3832 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3833 * catgets/Makefile: Do not specify -e option when running
3834 testsuite shell scripts.
3835 * elf/Makefile: Likewise.
3836 * grp/Makefile: Likewise.
3837 * iconvdata/Makefile: Likewise.
3838 * intl/Makefile: Likewise.
3839 * io/Makefile: Likewise.
3840 * libio/Makefile: Likewise.
3841 * malloc/Makefile: Likewise.
3842 * posix/Makefile: Likewise.
3843 * stdio-common/Makefile: Likewise.
3844 * stdlib/Makefile: Likewise.
3845 * sysdeps/x86_64/Makefile: Likewise.
3847 * io/ftwtest-sh: Add copyright header.
3848 * posix/globtest.sh: Likewise.
3849 * posix/tst-getconf.sh: Likewise.
3850 * posix/wordexp-tst.sh: Likewise.
3851 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3853 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3856 * Makeconfig (+link): Defined as $(+link-static) if
3857 $(build-shared) isn't yes.
3858 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3860 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3862 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3865 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3866 new chunk size with MALLOC_ALIGN_MASK.
3868 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3871 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3873 (__printf_fphex): Determine rounding using get_rounding_mode and
3875 * stdio-common/tst-printf-round.c (struct hex_test): New
3877 (hex_tests): New variable.
3878 (test_hex_in_one_mode): New function.
3879 (do_test): Also run tests for hex float output.
3881 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3883 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3884 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3885 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3886 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3887 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3888 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3889 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3890 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3892 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3894 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3895 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3896 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3897 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3899 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3902 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3904 * elf/tst-rtld-load-self.sh: New test.
3905 * elf/Makefile: Run it.
3907 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3909 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3910 (tst-writev-ENV): Remove.
3911 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3913 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3915 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3917 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3919 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3921 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3923 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3924 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3928 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3931 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3932 * config.make.in (have-cpp-asm-debuginfo): Removed.
3933 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3934 * configure: Regenerated.
3936 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3939 * stdio-common/printf_fp.c: Include <stdbool.h> and
3941 (___printf_fp): Determine rounding using get_rounding_mode and
3943 * stdio-common/tst-printf-round.c: New file.
3944 * stdio-common/Makefile (tests): Add tst-printf-round.
3945 (link-libm): New variable.
3946 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3948 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3951 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3952 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3954 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3957 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3959 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3960 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3961 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3964 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3967 * include/rounding-mode.h: New file.
3968 * sysdeps/generic/get-rounding-mode.h: Likewise.
3969 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3970 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3971 (MAX_VALUE): New macro.
3972 (MIN_VALUE): Likewise.
3973 (overflow_value): New function.
3974 (underflow_value): Likewise.
3975 (round_and_return): Use overflow_value and underflow_value to
3976 determine return values in overflow and underflow cases. Use
3977 round_away to determine rounding depending on rounding mode.
3978 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3979 determine return values in overflow and underflow cases.
3980 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3981 (struct test_results): New structure.
3982 (struct test): Use struct test_results to store expected results
3983 for all rounding modes.
3984 (TEST): Include expected results for all rounding modes.
3985 (test_in_one_mode): New function.
3986 (do_test): Use test_in_one_mode to compute and check results.
3987 Check results for all rounding modes.
3988 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3991 2012-12-09 Allan McRae <allan@archlinux.org>
3993 * sysdeps/i386/fpu/libm-test-ulps: Update
3995 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3997 * sysdeps/generic/_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.
4005 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4006 (_G_int32_t): Likewise.
4007 (_G_uint16_t): Likewise.
4008 (_G_uint32_t): Likewise.
4009 (_G_HAVE_BOOL): Likewise.
4010 (_G_HAVE_ATEXIT): Likewise.
4011 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4012 (_G_HAVE_IO_FILE_OPEN): Likewise.
4013 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4014 (_G_int32_t): Likewise.
4015 (_G_uint16_t): Likewise.
4016 (_G_uint32_t): Likewise.
4017 (_G_HAVE_BOOL): Likewise.
4018 (_G_HAVE_ATEXIT): Likewise.
4019 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4020 (_G_HAVE_IO_FILE_OPEN): Likewise.
4022 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4024 * csu/libc-tls.c: Update copyright years.
4026 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4028 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4029 [!_G_USING_THUNKS]: Remove conditional code.
4030 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4031 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4033 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4034 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4035 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4036 (_G_VTABLE_LABEL_PREFIX): Likewise.
4037 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4038 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4039 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4040 (_G_VTABLE_LABEL_PREFIX): Likewise.
4041 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4042 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4043 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4044 (_G_VTABLE_LABEL_PREFIX): Likewise.
4045 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4047 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4049 * libio/Makefile: Include ../Makeconfig before tests.
4050 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4051 only if $(build-shared) is yes.
4053 * iconv/gconv_db.c: Update copyright years.
4055 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4057 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4058 unwind info if defined PIC. Fix special cases description.
4059 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4061 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4063 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4065 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4067 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4069 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4072 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4073 (LDLIBS-tst-chk4): This.
4074 (LDFLAGS-tst-chk5): Renamed to ...
4075 (LDLIBS-tst-chk5): This.
4076 (LDFLAGS-tst-chk6): Renamed to ...
4077 (LDLIBS-tst-chk6): This.
4078 (LDFLAGS-tst-lfschk4): Renamed to ...
4079 (LDLIBS-tst-lfschk4): This.
4080 (LDFLAGS-tst-lfschk5): Renamed to ...
4081 (LDLIBS-tst-lfschk5): This.
4082 (LDFLAGS-tst-lfschk6): Renamed to ...
4083 (LDLIBS-tst-lfschk6): This.
4085 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4086 on $(common-objpfx)soversions.mk.
4088 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4091 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4094 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4096 * malloc/arena.c (arena_get_retry): New function that gets
4097 another arena for the caller to try its request on.
4098 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4099 current arena cannot fulfill the request.
4100 (__libc_memalign): Likewise.
4101 (__libc_memalign): Likewise.
4102 (__libc_pvalloc): Likewise.
4103 (__libc_calloc): Likewise.
4105 2012-09-05 John Tobey <john.tobey@gmail.com>
4108 * manual/arith.texi (Operations on Complex): Fix description
4111 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4114 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4118 * manual/memory.texi (Memory): Make order of menu items match
4121 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4123 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4124 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4125 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4127 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4129 * csu/libc-tls.c (static_dtv): Renamed to ...
4130 (_dl_static_dtv): This. Make it global.
4131 (_dl_initial_dtv): Removed.
4132 (__libc_setup_tls): Updated.
4133 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4134 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4137 2012-09-06 Petr Machata <pmachata@redhat.com>
4139 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4140 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4141 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4142 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4144 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4147 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4148 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4151 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4154 * Makeconfig (link-static-before-libc): Replace $(+prector)
4156 (link-static-after-libc): Replace $(+postctor) with
4158 (link-bounded): Replace $(+prector)/$(+postctor) with
4159 $(+prectorT)/$(+postctorT).
4160 (+prectorT): New macro.
4161 (+postctorT): Likewise.
4163 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4165 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4166 (round_str): Handle values above the maximum for IBM long double
4168 * stdlib/tst-strtod-round.c (tests): Regenerated.
4170 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4172 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4174 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4175 zarch_nohighgprs around the zarch optimized routines.
4176 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4177 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4178 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4181 2012-09-05 David S. Miller <davem@davemloft.net>
4183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4185 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4186 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4187 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4188 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4191 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4193 * malloc/arena.c: Fold copyright years.
4194 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4196 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4198 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4200 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4202 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4204 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4206 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4207 change internal state upon failure.
4209 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4211 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4212 * malloc/memusage.c (mmap): Likewise.
4213 (mmap64, mremap): Likewise. Adjust name in comment.
4215 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4217 * libio/fileops.c: Fix typos in comments.
4218 * libio/oldfileops.c: Likewise.
4219 * libio/wfileops.c: Likewise.
4221 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4224 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4225 (tst-malloc-usable-ENV): Set environment for test case.
4226 * malloc/hooks.c (malloc_check_get_size): New function to get
4228 * malloc/malloc.c (musable): Use malloc_check_get_size.
4229 * malloc/tst-malloc-usable.c: New test case.
4231 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4233 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4235 2012-09-05 Allan McRae <allan@archlinux.org>
4238 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4239 determine header location.
4240 * configure: Regenerated.
4242 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4244 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4246 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4247 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4251 2012-09-04 David S. Miller <davem@davemloft.net>
4253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4255 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4257 2012-09-04 Florian Weimer <fweimer@redhat.com>
4259 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4262 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4264 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4267 * libio/iogetdelim.c: Include <limits.h>.
4268 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4269 + len + 1 would overflow.
4271 2012-09-03 Andreas Jaeger <aj@suse.de>
4273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4274 * sysdeps/i386/fpu/libm-test-ulps: Update.
4276 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4278 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4279 Add s_sinf-sse2, s_conf-sse2.
4281 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4282 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4283 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4284 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4286 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4287 for using routine as __sinf_ia32.
4288 Use macro for function declaration and weak_alias.
4289 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4290 for using routine as __cosf_ia32.
4291 Use macro for function declaration and weak_alias.
4293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4294 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4296 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4297 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4300 * math/libm-test.inc (cos_test): Add more test cases.
4301 (sin_test): Likewise.
4302 (sincos_test): Likewise.
4304 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4306 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4307 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4311 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4314 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4315 first element of the GOT.
4316 (elf_machine_load_address): Return the difference between
4317 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4319 2012-09-01 Allan McRae <allan@archlinux.org>
4322 * configure.in (AWK): Require gawk version 3.0 or later.
4323 * configure: Regenerated.
4325 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4327 * sysdeps/unix/sysv/linux/kernel-features.h
4328 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4329 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4330 [__NR_clock_getres]: Make code unconditional.
4331 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4332 (clock_getcpuclockid): Remove code left unreachable by removal of
4334 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4336 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4337 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4338 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4339 Make code unconditional.
4340 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4341 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4342 * sysdeps/unix/sysv/linux/clock_settime.c
4343 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4345 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4346 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4348 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4351 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4352 scripts/test-installation.pl.
4354 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4355 and $ld_so_version if it is set.
4357 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4361 failure if reading from procfs failed.
4362 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4364 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4366 * sysdeps/unix/sysv/linux/kernel-features.h
4367 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4368 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4369 Remove conditional code.
4370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4371 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4372 Remove conditional code.
4373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4374 * sysdeps/unix/sysv/linux/i386/fxstat.c
4375 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4377 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4378 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4380 * sysdeps/unix/sysv/linux/i386/lxstat.c
4381 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4383 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4384 Remove conditional code.
4385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4386 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4387 Remove conditional code.
4388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4390 <kernel-features.h>.
4391 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4393 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4394 Remove conditional code.
4395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4396 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4399 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4402 * NEWS: Add fixed bug number.
4404 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4407 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4408 underflowing exponent in case of negative sign.
4409 * stdlib/tst-strtod-round-data: Add more tests.
4410 * stdlib/tst-strtod-round.c (tests): Regenerated.
4413 * stdlib/strtod_l.c (NDIG): Remove.
4414 (HEXNDIG): Likewise.
4415 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4416 smallest representable value.
4417 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4418 lie within an exact representation of 1/2 ulp of the result.
4419 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4421 (TENS_P9_IDX): Define unconditionally.
4422 (TENS_P9_SIZE): Likewise.
4423 (TENS_P10_IDX): Likewise.
4424 (TENS_P10_SIZE): Likewise.
4425 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4426 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4427 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4428 entries for 10^2^13 and 10^2^14.
4429 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4430 (TENS_P13_IDX): Define.
4431 (TENS_P13_SIZE): Likewise.
4432 (TENS_P14_IDX): Likewise.
4433 (TENS_P14_SIZE): Likewise.
4434 (_fpioconst_pow10): Change array size to
4435 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4437 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4438 1024]: Add entries for 10^2^13 and 10^2^14.
4439 [LAST_POW10 > _LAST_POW10]: Remove #error.
4440 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4441 (_fpioconst_pow10): Change array size to
4442 FPIOCONST_POW10_ARRAY_SIZE.
4443 * stdlib/gen-fpioconst.c: New file.
4444 * stdlib/gen-tst-strtod-round.c: Likewise.
4445 * stdlib/tst-strtod-round-data: Likewise.
4446 * stdlib/tst-strtod-round.c: Likewise.
4447 * stdlib/Makefile (tests): Add tst-strtod-round.
4450 * stdlib/strtod_l.c: Include <stdint.h>.
4451 (NDEBUG): Do not define.
4452 (round_and_return): Change EXPONENT parameter to type intmax_t.
4453 Rearrange calculations to avoid internal overflow possibilities.
4454 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4455 Rearrange calculations to avoid internal overflow possibilities.
4456 Assert that number fits inside MPNSIZE limbs.
4457 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4458 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4459 calculations and add assertions to avoid internal overflow
4460 possibilities. Add casts to avoid signed/unsigned operations.
4461 * stdlib/tst-strtod-overflow.c: New file.
4462 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4464 2012-08-25 Marek Polacek <polacek@redhat.com>
4466 * time/time.h: Fix some typos in comments.
4468 2012-08-23 Roland McGrath <roland@hack.frob.com>
4470 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4471 * posix/tst-rfc3484-2.c: Likewise.
4472 * posix/tst-rfc3484-3.c: Likewise.
4474 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4476 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4477 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4479 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4481 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4482 #include of fxstatat64.c.
4484 2012-08-22 Roland McGrath <roland@hack.frob.com>
4486 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4487 * shadow/getspent_r.c: Likewise.
4488 * shadow/getspnam.c: Likewise.
4489 * shadow/getspnam_r.c: Likewise.
4490 * gshadow/getsgent.c: Likewise.
4491 * gshadow/getsgent_r.c: Likewise.
4492 * gshadow/getsgnam.c: Likewise.
4493 * gshadow/getsgnam_r.c: Likewise.
4494 * inet/getnetbyad.c: Likewise.
4495 * inet/getnetbyad_r.c: Likewise.
4496 * inet/getnetbynm.c: Likewise.
4497 * inet/getnetbynm_r.c: Likewise.
4498 * inet/getnetent.c: Likewise.
4499 * inet/getnetent_r.c: Likewise.
4500 * inet/getproto.c: Likewise.
4501 * inet/getproto_r.c: Likewise.
4502 * inet/getprtent.c: Likewise.
4503 * inet/getprtent_r.c: Likewise.
4504 * inet/getprtname.c: Likewise.
4505 * inet/getprtname_r.c: Likewise.
4506 * inet/getrpcbyname.c: Likewise.
4507 * inet/getrpcbyname_r.c: Likewise.
4508 * inet/getrpcbynumber.c: Likewise.
4509 * inet/getrpcbynumber_r.c: Likewise.
4510 * inet/getrpcent.c: Likewise.
4511 * inet/getrpcent_r.c: Likewise.
4512 * inet/getaliasent.c: Likewise.
4513 * inet/getaliasent_r.c: Likewise.
4514 * inet/getaliasname.c: Likewise.
4515 * inet/getaliasname_r.c: Likewise.
4516 * nscd/getgrgid_r.c: Likewise.
4517 * nscd/getgrnam_r.c: Likewise.
4518 * nscd/gethstbyad_r.c: Likewise.
4519 * nscd/gethstbynm3_r.c: Likewise.
4520 * nscd/getpwnam_r.c: Likewise.
4521 * nscd/getpwuid_r.c: Likewise.
4522 * nscd/getsrvbynm_r.c: Likewise.
4523 * nscd/getsrvbypt_r.c: Likewise.
4524 * nscd/gai.c: Likewise.
4526 * configure.in (build_nscd): New substituted variable, set
4527 by --disable-build-nscd and defaults to $use_nscd.
4528 * configure: Regenerated.
4529 * config.make.in (build-nscd): New substituted variable.
4530 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4531 Change conditional to require [$(build-nscd) = yes] as well.
4532 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4535 * configure.in (use_nscd): New substituted variable, set by
4536 --disable-nscd. If enabled, define USE_NSCD.
4537 * configure: Regenerated.
4538 * config.h.in: Add USE_NSCD.
4539 * config.make.in (use-nscd): New substituted variable.
4540 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4541 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4542 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4543 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4544 (CFLAGS-getgrnam_r.c): Likewise.
4545 (CFLAGS-initgroups.c): Likewise.
4546 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4547 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4549 * inet/getnetgrent_r.c
4550 (nscd_setnetgrent): New function, broken out of ...
4551 (setnetgrent): ... here. Call it.
4552 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4553 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4554 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4555 * nscd/Makefile (routines, aux): Move definitions after include of
4556 Makeconfig. Conditionalize on [$(use-nscd) != no].
4557 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4558 Conditionalize on [USE_NSCD].
4559 (is_nscd, nscd_init_cb): Likewise.
4560 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4561 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4562 * nss/nss_db/db-init.c: Likewise.
4563 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4565 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4566 (make_request): Use it.
4567 (cache_valid_p): New function.
4568 (__check_pf): Use it.
4569 * NEWS: Add item for --disable-nscd.
4571 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4573 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4574 to support sed >= 4.2.1-20-ga9bf076.
4575 * configure: Regenerated.
4577 2012-08-22 Roland McGrath <roland@hack.frob.com>
4579 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4580 Conditionalize whole body on [IREL].
4582 2012-08-22 Jeff Law <law@redhat.com>
4585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4586 if the family is PF_UNSPEC.
4588 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4590 * Makerules (lib-version): Rename from V.
4591 (install-lib-nosubdir): Change V to lib-version.
4593 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4596 * powerpc32/power6/wcschr.c: New file.
4597 * powerpc32/power6/wcscpy.c: New file.
4598 * powerpc32/power6/wcsrchr.c: New file.
4599 * powerpc64/power6/wcschr.c: New file.
4600 * powerpc64/power6/wcscpy.c: New file.
4601 * powerpc64/power6/wcsrchr.c: New file.
4603 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4605 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4606 (two_way_short_needle): Use it.
4607 * string/strstr.c (AVAILABLE1_USES_J): Define.
4608 * string/strcasestr.c: Likewise.
4610 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4612 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4615 * NEWS: Add an entry.
4616 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4617 define their defaults.
4618 (two_way_short_needle): Detect end-of-string on-the-fly.
4619 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4620 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4621 * string/bug-strcasestr1.c: New test.
4622 * string/Makefile: Run it.
4624 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4627 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4628 the first character.
4630 2012-08-21 Roland McGrath <roland@hack.frob.com>
4632 * csu/elf-init.c (__libc_csu_irel): Function removed.
4633 * csu/libc-start.c (apply_irel): New function.
4634 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4636 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4638 * sysdeps/unix/sysv/linux/kernel-features.h
4639 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4640 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4641 <kernel-features.h>.
4642 [__NR_fadvise64_64]: Make code unconditional.
4643 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4644 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4645 !__NR_fadvise64_64)]: Likewise.
4646 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4647 !__NR_fadvise64_64))]: Likewise.
4648 [__NR_fadvise64]: Make code unconditional.
4649 [!__NR_fadvise64]: Remove conditional code.
4650 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4651 <kernel-features.h>.
4652 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4654 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4657 not include <kernel-features.h>.
4658 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4660 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4662 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4663 include <kernel-features.h>.
4664 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4666 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4669 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4671 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4672 slight instruction rearrangements per scrollpipe analysis.
4673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4675 2012-08-20 Roland McGrath <roland@hack.frob.com>
4677 * manual/syslog.texi (syslog; vsyslog, closelog):
4678 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4679 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4681 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4682 DSOCAPS to match condition on defining it.
4684 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4686 * sysdeps/unix/sysv/linux/kernel-features.h
4687 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4689 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4690 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4692 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4693 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4695 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4696 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4698 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4699 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4701 * sysdeps/unix/sysv/linux/kernel-features.h
4702 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4703 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4705 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4706 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4707 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4708 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4709 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4710 Make code unconditional.
4711 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4712 (__mmap64) [!__NR_mmap2]: Likewise.
4713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4714 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4715 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4717 [__NR_mmap2]: Make code unconditional.
4718 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4719 (__mmap64) [!__NR_mmap2]: Likewise.
4721 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4723 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4725 2012-08-18 Andreas Jaeger <aj@suse.de>
4727 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4729 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4731 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4732 * include/unistd.h (__have_sock_cloexec): Likewise.
4733 (__have_pipe2): Likewise.
4734 (__have_dup3): Likewise.
4736 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4739 * include/unistd.h (__have_pipe2): Change define into an extern int.
4740 (__have_dup3): Likewise.
4741 * socket/have_sock_cloexec.c: Include fcntl.h.
4742 (__have_pipe2): New variable.
4743 (__have_dup3): Likewise.
4745 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4747 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4749 2012-08-17 Marek Polacek <polacek@redhat.com>
4751 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4752 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4754 2012-08-17 Roland McGrath <roland@hack.frob.com>
4756 * configure.in: Add AC_SUBST for sysheaders.
4757 * configure: Regenerated.
4758 * config.make.in (sysheaders): New substituted variable.
4760 * sysdeps/unix/mkfifo.c: Moved ...
4761 * sysdeps/posix/mkfifo.c: ... here.
4762 * sysdeps/unix/mkfifoat.c: Moved ...
4763 * sysdeps/posix/mkfifoat.c: ... here.
4765 * sysdeps/unix/utime.c: Moved ...
4766 * sysdeps/posix/utime.c: ... here.
4768 * sysdeps/unix/time.c: Moved ...
4769 * sysdeps/posix/time.c: ... here.
4770 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4771 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4773 * sysdeps/unix/nice.c: Moved ...
4774 * sysdeps/posix/nice.c: ... here.
4776 * sysdeps/unix/alarm.c: Moved ...
4777 * sysdeps/posix/alarm.c: ... here.
4779 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4781 2012-08-17 Jeff Law <law@redhat.com>
4783 * intl/Makefile (codeset_mo): New variable.
4784 ($(codeset_mo)): New target.
4785 (tst-codeset.out): Depend on that. Remove explicit rule.
4786 (tst-gettext3.out, tst-gettext5.out): Likewise.
4787 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4788 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4789 * intl/tst-codeset.sh: Remove.
4790 * intl/tst-gettext3.sh: Likewise.
4791 * intl/tst-gettext5.sh: Likewise.
4793 2012-08-17 Roland McGrath <roland@hack.frob.com>
4795 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4796 * sysdeps/unix/syscalls.list: ... here.
4798 * sysdeps/posix/getaddrinfo.c
4799 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4800 (gaiconf_init, gaiconf_reload): Use them.
4802 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4803 Define using time_t rather than struct timespec.
4805 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4806 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4808 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4810 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4811 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4814 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4815 __libc_cleanup_push argument.
4817 * bits/param.h: New file.
4818 * misc/sys/param.h: New file.
4819 * include/sys/param.h: New file.
4820 * misc/Makefile (headers): Add bits/param.h.
4821 * sysdeps/generic/sys/param.h: File removed.
4822 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4823 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4824 * sysdeps/mach/hurd/bits/param.h: New file.
4825 * sysdeps/mach/hurd/sys/param.h: File removed.
4827 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4830 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4832 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4833 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4836 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4837 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4838 rather than -D_IO_MTSAFE_IO conditionally.
4839 * stdio-common/Makefile (CPPFLAGS): Likewise.
4840 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4841 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4842 Use $(libio-mtsafe).
4843 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4845 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4846 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4847 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4848 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4849 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4850 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4851 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4852 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4853 (CFLAGS-fread_u_chk.c): Likewise.
4854 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4855 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4856 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4857 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4858 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4859 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4860 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4861 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4862 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4864 * libio/Makefile: Test [$(libc-reentrant) = yes]
4865 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4868 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4869 * sysdeps/pthread/configure: File removed.
4870 * sysdeps/pthread/Makeconfig: New file.
4871 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4872 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4874 2012-08-16 Gary Benson <gbenson@redhat.com>
4876 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4877 unmapping the first object in a namespace.
4879 2012-08-16 Roland McGrath <roland@hack.frob.com>
4881 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4882 (__internal_setnetgrent): ... this. Add internal_function to
4883 definition. Add libc_hidden_def.
4884 (setnetgrent): Update caller.
4885 (internal_endnetgrent): Renamed to ...
4886 (__internal_endnetgrent): ... this. Add internal_function to
4887 definition. Add libc_hidden_def.
4888 (endnetgrent): Update caller.
4889 (internal_getnetgrent_r): Renamed to ...
4890 (__internal_getnetgrent_r): ... this. Add internal_function to
4891 definition. Add libc_hidden_def.
4892 (__getnetgrent_r): Update caller.
4893 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4895 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4897 * stdlib/longlong.h: Update from GCC.
4899 2012-08-16 Roland McGrath <roland@hack.frob.com>
4901 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4902 on _QL, which is set by umul_ppmm but never used.
4903 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4904 variables, which are set by GMP macros but never used.
4905 * stdio-common/_itowa.c (_itowa): Likewise.
4906 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4907 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4909 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4911 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4912 struct La_sh_regs is not constant.
4913 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4914 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4915 and struct La_sparc64_regs are not constant.
4917 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4919 * sysdeps/unix/sysv/linux/kernel-features.h
4920 (__ASSUME_POSIX_TIMERS): Remove.
4921 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4923 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4924 Make code unconditional.
4925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4926 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4927 Make code unconditional.
4928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4929 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4930 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4932 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4933 Make code unconditional.
4934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4935 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4936 (__libc_missing_posix_timers): Remove.
4938 2012-08-15 Roland McGrath <roland@hack.frob.com>
4940 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4941 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4943 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4945 * elf/dl-sym.c: Include <stdlib.h>.
4947 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4948 constants, which avoids warnings in 32-bit builds.
4950 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4951 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4953 * misc/lseek.c: File moved to ...
4954 * io/lseek.c: ... here.
4956 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4958 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4959 shifting LEN more than 31 bits at once.
4961 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4964 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4965 segmentation fault for a case of two empty input strings.
4966 * string/test-strncasecmp.c (check1): Renamed to...
4968 (bz14195): Add new testcase for two empty input strings and N > 0.
4969 (test_main): Call new testcase, adapt for renamed function.
4971 2012-08-15 Andreas Jaeger <aj@suse.de>
4974 * crypt/md5test2.c: New test, based on test supplied by Serge
4975 Belyshev <belyshev@depni.sinp.msu.ru>.
4976 * crypt/Makefile (xtests): Add md5test-giant..
4977 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4979 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4982 * crypt/md5.c (md5_process_block): Don't assume the buffer
4983 length is less than 2**32.
4984 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4985 length is less than 2**64.
4987 2012-08-15 Roland McGrath <roland@hack.frob.com>
4989 * string/str-two-way.h: Include <sys/param.h>.
4990 (MAX): Macro removed.
4992 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4993 Move #define and #undef of memmove to just before and after
4994 including <string.h>.
4996 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4997 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4998 and after including <string.h>. Move declarations of
4999 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5000 to before #include "string/memmove.c".
5002 * include/dirent.h: Declare __getdirentries.
5004 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5005 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5007 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5009 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5010 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5011 * sysdeps/i386/configure: Regenerated.
5012 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5013 STABS_CURRENT_FILE, and STABS_FUN.
5014 (END): Remove call to STABS_FUN_END.
5015 (STABS_CURRENT_FILE1): Delete.
5016 (STABS_CURRENT_FILE): Likewise.
5017 (STABS_FUN): Likewise.
5018 (STABS_FUN_END): Likewise.
5019 (STABS_FUN2): Likewise.
5020 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5021 * sysdeps/x86_64/configure: Regenerated.
5023 2012-08-14 Roland McGrath <roland@hack.frob.com>
5025 * elf/dl-open.c: Include <atomic.h>.
5026 * elf/dl-lookup.c: Likewise.
5028 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5030 * sysdeps/unix/sysv/linux/kernel-features.h
5031 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5032 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5034 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5036 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5037 condition on __ASSUME_CLONE_THREAD_FLAGS.
5039 2012-08-14 Andreas Jaeger <aj@suse.de>
5041 * sysdeps/i386/fpu/libm-test-ulps: Update.
5043 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5045 * include/atomic.h (atomic_exchange_and_add): Split into ...
5046 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5049 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5053 2012-08-13 Jeff Law <law@redhat.com>
5055 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5056 null byte in the output string.
5058 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5060 * sysdeps/unix/sysv/linux/kernel-features.h
5061 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5062 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5063 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5064 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5065 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5066 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5067 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5069 2012-08-09 Jeff Law <law@redhat.com>
5072 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5073 When avoid_arena is set, don't retry in the that arena. Pick the
5074 next one, whatever it might be.
5075 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5076 (arena_lock): Pass in new parameter to arena_get2.
5077 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5079 (__libc_malloc): Unify retrying after main arena failure with
5080 __libc_memalign version.
5081 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5083 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5086 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5087 to __redirect_strstr.
5088 (__strstr_sse42): Use typeof __redirect_strstr.
5089 (__strstr_ia32): Likewise.
5090 (__libc_strstr): New prototype.
5091 (strstr): Renamed to ...
5092 (__libc_strstr): This.
5093 (strstr): New strong alias of __libc_strstr.
5094 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5098 (__libc_time): New prototype.
5099 (time_ifunc): Replace time with __libc_time.
5100 (time): New strong alias and hidden definition of __libc_time.
5101 (__GI_time): Remove strong alias.
5102 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5104 (memmove): Redefined to __redirect_memmove.
5105 (__memmove_sse2): Use typeof __redirect_memmove.
5106 (__memmove_ssse3): Likewise.
5107 (__memmove_ssse3_back): Likewise.
5108 (__libc_memmove): New prototype.
5109 (memmove): Renamed to ...
5110 (__libc_memmove): This.
5111 (memmove): New strong alias of __libc_memmove.
5113 2012-08-08 Mark Salter <msalter@redhat.com>
5116 (R_MN10300_TLS_GD): Define.
5117 (R_MN10300_TLS_LD): Likewise.
5118 (R_MN10300_TLS_LDO): Likewise.
5119 (R_MN10300_TLS_GOTIE): Likewise.
5120 (R_MN10300_TLS_IE): Likewise.
5121 (R_MN10300_TLS_LE): Likewise.
5122 (R_MN10300_TLS_DTPMOD): Likewise.
5123 (R_MN10300_TLS_DTPOFF): Likewise.
5124 (R_MN10300_TLS_TPOFF): Likewise.
5125 (R_MN10300_SYM_DIFF): Likewise.
5126 (R_MN10300_ALIGN): Likewise.
5127 (R_MN10300_NUM): Update.
5129 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5134 2012-08-08 Roland McGrath <roland@hack.frob.com>
5136 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5138 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5139 sysdeps/unix -> sysdeps/posix move.
5140 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5142 2012-08-07 Allan McRae <allan@archlinux.org>
5145 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5146 (SUNOS_CPP): Likewise.
5147 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5149 (open_input): Call CPP using execvp.
5151 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5153 * sysdeps/unix/sysv/linux/kernel-features.h
5154 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5155 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5156 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5157 (__ASSUME_WAITID_SYSCALL): Likewise.
5158 * sysdeps/unix/sysv/linux/dl-execstack.c
5159 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5161 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5163 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5164 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5165 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5167 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5169 [__ASSUME_WAITID_SYSCALL]: Likewise.
5170 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5172 2012-08-07 Roland McGrath <roland@hack.frob.com>
5174 * sysdeps/unix/closedir.c: Renamed to ...
5175 * sysdeps/posix/closedir.c: ... here.
5176 * sysdeps/unix/dirfd.c: Renamed to ...
5177 * sysdeps/posix/dirfd.c: ... here.
5178 * sysdeps/unix/dirstream.h: Renamed to ...
5179 * sysdeps/posix/dirstream.h: ... here.
5180 * sysdeps/unix/fdopendir.c: Renamed to ...
5181 * sysdeps/posix/fdopendir.c: ... here.
5182 * sysdeps/unix/opendir.c: Renamed to ...
5183 * sysdeps/posix/opendir.c: ... here.
5184 * sysdeps/unix/readdir.c: Renamed to ...
5185 * sysdeps/posix/readdir.c: ... here.
5186 * sysdeps/unix/readdir_r.c: Renamed to ...
5187 * sysdeps/posix/readdir_r.c: ... here.
5188 * sysdeps/unix/rewinddir.c: Renamed to ...
5189 * sysdeps/posix/rewinddir.c: ... here.
5190 * sysdeps/unix/seekdir.c: Renamed to ...
5191 * sysdeps/posix/seekdir.c: ... here.
5192 * sysdeps/unix/telldir.c: Renamed to ...
5193 * sysdeps/posix/telldir.c: ... here.
5194 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5195 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5196 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5197 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5199 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5200 * bits/fcntl.h: ... here.
5202 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5204 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5205 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5206 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5207 (struct flock): Move l_start, l_len to the beginning.
5208 Use __pid_t for l_pid.
5209 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5210 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5211 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5212 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5213 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5214 [__USE_LARGEFILE64] (struct flock64): New type.
5215 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5217 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5218 * bits/dirent.h: ... here.
5220 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5221 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5223 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5226 Change from 2.6.0 to 2.6.16.
5227 * sysdeps/unix/sysv/linux/configure: Regenerated.
5228 * sysdeps/unix/sysv/linux/kernel-features.h
5229 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5230 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5232 (__ASSUME_UTIMES): Likewise.
5233 (__ASSUME_CLONE_STOPPED): Remove.
5234 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5235 architectures, not kernel version.
5236 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5237 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5238 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5239 (__ASSUME_WAITID_SYSCALL): Likewise.
5240 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5241 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5242 * README: State 2.6.16 as minimum Linux kernel version. Do not
5243 refer to older versions.
5245 2012-08-06 Roland McGrath <roland@hack.frob.com>
5247 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5248 Define alphasort64 as an alias.
5249 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5250 Define versionsort64 as an alias.
5251 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5252 Define scandir64 as an alias.
5253 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5254 Define scandirat64 as an alias.
5255 * dirent/alphasort64.c (alphasort64):
5256 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5257 * dirent/versionsort64.c: Likewise.
5258 * dirent/scandir64.c: Likewise.
5259 * dirent/scandirat64.c: Likewise.
5260 * sysdeps/wordsize-64/alphasort.c: File removed.
5261 * sysdeps/wordsize-64/alphasort64.c: File removed.
5262 * sysdeps/wordsize-64/scandir.c: File removed.
5263 * sysdeps/wordsize-64/scandir64.c: File removed.
5264 * sysdeps/wordsize-64/scandirat.c: File removed.
5265 * sysdeps/wordsize-64/scandirat64.c: File removed.
5266 * sysdeps/wordsize-64/versionsort.c: File removed.
5267 * sysdeps/wordsize-64/versionsort64.c: File removed.
5268 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5270 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5272 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5277 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5279 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5281 [defined __arch64__ || defined __sparcv9]
5282 (__INO_T_MATCHES_INO64_T): New macro.
5283 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5284 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5285 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5286 * sysdeps/unix/sysv/linux/bits/dirent.h
5287 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5288 (_DIRENT_MATCHES_DIRENT64): New macro.
5290 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5291 Define lockf64 as an alias.
5292 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5293 Define fseeko64 as an alias.
5294 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5295 Define ftello64 as an alias.
5296 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5297 Define _IO_fgetpos64 and fgetpos64 as aliases.
5298 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5299 Define _IO_fsetpos64 and fsetpos64 as aliases.
5300 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5301 Conditionalize body on this.
5302 * libio/fseeko64.c: Likewise.
5303 * libio/ftello64.c: Likewise.
5304 * libio/iofgetpos64.c: Likewise.
5305 * libio/iofsetpos64.c: Likewise.
5306 * sysdeps/wordsize-64/lockf.c: File removed.
5307 * sysdeps/wordsize-64/lockf64.c: File removed.
5308 * sysdeps/wordsize-64/fseeko.c: File removed.
5309 * sysdeps/wordsize-64/fseeko64.c: File removed.
5310 * sysdeps/wordsize-64/ftello.c: File removed.
5311 * sysdeps/wordsize-64/ftello64.c: File removed.
5312 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5313 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5314 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5315 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5316 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5318 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5320 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5322 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5324 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5327 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5329 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5331 [defined __arch64__ || defined __sparcv9]
5332 (__OFF_T_MATCHES_OFF64_T): New macro.
5333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5334 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5336 (__OFF_T_MATCHES_OFF64_T): New macro.
5338 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5340 * stdlib/secure-getenv.c (__secure_getenv): Replace
5341 GLIBC_2_16 with GLIBC_2_17.
5343 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5345 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5346 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5348 2012-08-03 David S. Miller <davem@davemloft.net>
5350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5352 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5356 (__ASSUME_CORRECT_SI_PID): Likewise.
5357 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5358 (__ASSUME_TMPFS_NAME): Likewise.
5359 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5360 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5361 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5362 (HAVE_AUX_SECURE): Make definition unconditional.
5363 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5364 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5366 2012-08-03 Roland McGrath <roland@hack.frob.com>
5368 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5369 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5370 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5371 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5372 __eloop_threshold instead of SYMLOOP_MAX.
5374 * sysdeps/generic/eloop-threshold.h: New file.
5375 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5377 * elf/chroot_canon.c (chroot_canon): Likewise.
5379 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5383 Change to 2.6.0 everywhere.
5384 * sysdeps/unix/sysv/linux/configure: Regenerated.
5385 * sysdeps/unix/sysv/linux/kernel-features.h
5386 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5387 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5389 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5390 (__ASSUME_FUTEX_REQUEUE): Remove.
5391 (__ASSUME_STATFS64): Define unconditionally.
5392 (__ASSUME_AT_SECURE): Likewise.
5393 (__ASSUME_CORRECT_SI_PID): Likewise.
5394 (__ASSUME_TGKILL): Define without depending on kernel version for
5396 (__ASSUME_UTIMES): Likewise.
5397 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5399 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5400 (__ASSUME_TMPFS_NAME): Likewise.
5401 * README: Update reference to Linux kernel versions.
5403 2012-08-02 Marek Polacek <polacek@redhat.com>
5406 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5407 libc_cv_asm_type_prefix with %.
5408 * configure: Regenerated.
5409 * include/libc-symbols.h: Remove comment about
5410 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5411 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5412 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5413 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5414 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5415 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5416 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5417 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5418 * elf/tst-unique2mod1.c: Likewise.
5419 * elf/tst-unique1mod2.c: Likewise.
5420 * elf/tst-unique1mod1.c: Likewise.
5421 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5422 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5423 Replace ASM_TYPE_DIRECTIVE with .type.
5424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5425 * sysdeps/i386/sysdep.h: Likewise.
5426 * sysdeps/x86_64/sysdep.h: Likewise.
5427 * sysdeps/sh/sysdep.h: Likewise.
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5429 Do not define ASM_TYPE_DIRECTIVE.
5430 * sysdeps/powerpc/sysdep.h: Likewise.
5431 * sysdeps/powerpc/powerpc32/sysdep.h:
5432 Replace ASM_TYPE_DIRECTIVE with .type.
5433 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5435 * sysdeps/i386/fpu/e_powf.S: Likewise.
5436 * sysdeps/i386/fpu/e_expl.S: Likewise.
5437 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5438 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5439 * sysdeps/i386/fpu/e_pow.S: Likewise.
5440 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5441 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5442 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5443 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5444 * sysdeps/i386/fpu/e_log2.S: Likewise.
5445 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5446 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5447 * sysdeps/i386/fpu/e_powl.S: Likewise.
5448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5449 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5450 * sysdeps/i386/fpu/e_logl.S: Likewise.
5451 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5452 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5453 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5454 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5455 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5456 * sysdeps/i386/fpu/e_log.S: Likewise.
5457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5458 * sysdeps/i386/fpu/e_logf.S: Likewise.
5459 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5460 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5461 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5462 * sysdeps/i386/fpu/e_log10.S: Likewise.
5463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5468 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5469 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5470 * sysdeps/i386/i686/strtok.S: Likewise.
5471 * sysdeps/i386/i386-mcount.S: Likewise.
5472 * sysdeps/i386/strtok.S: Likewise.
5473 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5474 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5476 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5477 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5478 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5479 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5480 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5481 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5482 * sysdeps/x86_64/_mcount.S: Likewise.
5483 * sysdeps/x86_64/strtok.S: Likewise.
5484 * sysdeps/sh/_mcount.S: Likewise.
5486 2012-08-01 Roland McGrath <roland@hack.frob.com>
5488 * libio/iofopen.c: Include <fcntl.h>.
5489 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5490 (_IO_fopen64, fopen64): Define as aliases.
5491 * libio/iofopen64.c: Include <fcntl.h>.
5492 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5493 Conditionalize body on this.
5494 * sysdeps/wordsize-64/iofopen.c: File removed.
5495 * sysdeps/wordsize-64/iofopen64.c: File removed.
5497 2012-08-01 Marek Polacek <polacek@redhat.com>
5499 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5500 Use dlfcn directly instead of a variable.
5501 (binfmt-subdir): Do not define.
5504 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5507 Remove all definitions.
5508 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5509 <kernel-features.h>.
5510 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5511 (miss_F_GETOWN_EX): Remove all definitions.
5512 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5514 [!__ASSUME_FCNTL64]: Remove conditional code.
5515 [__ASSUME_FCNTL64]: Make code unconditional.
5516 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5517 <kernel-features.h>.
5518 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5519 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5520 (lockf64) [__NR_fcntl64]: Make code unconditional.
5521 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5523 * sysdeps/unix/sysv/linux/kernel-features.h
5524 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5525 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5526 Make code unconditional.
5527 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5528 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5530 [__NR_vfork]: Make code unconditional.
5531 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5532 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5534 [__NR_vfork]: Make code unconditional.
5535 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5536 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5538 2012-08-01 Roland McGrath <roland@hack.frob.com>
5540 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5541 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5543 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5544 Define mkstemp64 as an alias.
5545 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5546 Define mkstemps64 as an alias.
5547 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5548 Define mkostemp64 as an alias.
5549 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5550 Define mkostemps64 as an alias.
5551 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5552 Conditionalize body on this.
5553 * misc/mkostemp64.c: Likewise.
5554 * misc/mkostemps64.c: Likewise.
5555 * misc/mkstemps64.c: Likewise.
5556 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5557 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5558 * sysdeps/wordsize-64/mkostemp.c: File removed.
5559 * sysdeps/wordsize-64/mkstemp.c: File removed.
5560 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5562 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5563 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5566 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5567 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5568 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5569 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5571 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5572 compat_symbol macros from <shlib-compat.h> rather than the underlying
5573 default_symbol_version and symbol_version macros, so that DEFAULT
5574 lines in shlib-versions are respected.
5575 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5577 2012-08-01 Florian Weimer <fweimer@redhat.com>
5579 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5580 Declare with warn_unused_result.
5581 (setgid, setregid, setegid, setresgid): Likewise.
5582 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5584 * WUR-REPORT: Remove set*id functions.
5586 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5588 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5590 2012-07-31 Roland McGrath <roland@hack.frob.com>
5592 * include/sys/socket.h (__libc_accept, __libc_accept4):
5593 Add attribute_hidden.
5594 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5596 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5598 * inet/getnetgrent_r.c (setup): Likewise.
5600 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5602 2012-07-31 David S. Miller <davem@davemloft.net>
5604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5606 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5609 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5610 value between 1.0 and 2.0 and smaller part has absolute value less
5612 * math/s_clog10.c (__clog10): Likewise.
5613 * math/s_clog10f.c (__clog10f): Likewise.
5614 * math/s_clog10l.c (__clog10l): Likewise.
5615 * math/s_clogf.c (__clogf): Likewise.
5616 * math/s_clogl.c (__clogl): Likewise.
5617 * math/libm-test.inc (clog_test): Add more tests.
5618 (clog10_test): Likewise.
5619 * sysdeps/i386/fpu/libm-test-ulps: Update.
5620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5622 2012-07-31 Florian Weimer <fweimer@redhat.com>
5624 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5625 Exit with zero in case no suitable GID is found, and write a
5626 message to standard error.
5628 2012-07-30 Roland McGrath <roland@hack.frob.com>
5630 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5632 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5633 (MAXPATHLEN): Removed.
5634 (NOGROUP, NODEV): New macros.
5635 (setbit, clrbit, isset, isclr): New macros.
5636 (howmany, roundup, powerof2): New macros.
5637 (DEV_BSIZE): New macro.
5639 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5640 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5642 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5643 definition on [!__NO_LONG_DOUBLE_MATH].
5645 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5646 PTR_MANGLE and PTR_DEMANGLE.
5648 * socket/accept4.c (accept4): Rename to __libc_accept4.
5649 Define accept4 as a weak alias.
5651 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5652 on [_DIRENT_HAVE_D_TYPE].
5653 * io/ftw.c (ftw_dir): Likewise.
5655 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5657 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5659 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5660 Use the BSD numbers rather than the arbitrary ones we had.
5661 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5662 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5663 (SIGXCPU, SIGXFSZ): New macros.
5666 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5667 initializer on [_LIBC_REENTRANT].
5669 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5670 definitions inside [_POSIX_MAPPED_FILES].
5672 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5674 * dirent/opendir.c: Include <fcntl.h>.
5676 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5677 (__libc_getspecific): Likewise.
5678 (__libc_key_create): Likewise.
5680 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5681 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5682 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5683 (tmpfile64): Define as alias.
5684 * sysdeps/wordsize-64/tmpfile.c: File removed.
5685 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5687 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5689 * stdio-common/vfscanf.c: Include <stdbool.h>.
5690 * nss/makedb.c: Likewise.
5691 * stdio-common/_i18n_number.h: Likewise.
5692 * argp/argp-help.c: Likewise.
5693 * posix/wordexp.c: Likewise.
5694 * sysdeps/posix/spawni.c: Likewise.
5695 * nss/nss_files/files-initgroups.c: Likewise.
5696 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5697 * nss/nss_files/files-initgroups.c: Likewise.
5698 * nss/nss_db/db-netgrp.c: Likewise.
5699 * nss/nss_db/db-initgroups.c: Likewise.
5700 * io/fchmodat.c: Include <sys/stat.h>.
5702 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5703 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5705 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5708 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5709 Add multiple inclusion protection.
5711 2012-07-27 David S. Miller <davem@davemloft.net>
5713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5715 2012-07-27 Gary Benson <gbenson@redhat.com>
5718 * elf/rtld.c: Include <stap-probe.h>.
5719 (dl_main): Added static probes "init_start" and "init_complete".
5720 * elf/dl-load.c: Include <stap-probe.h>.
5721 (lose): Take new parameter "nsid".
5722 Added static probe "map_failed".
5723 (_dl_map_object_from_fd): Pass namespace id to lose.
5724 Added static probe "map_start".
5725 (open_verify): Pass namespace id to lose.
5726 * elf/dl-open.c: Include <stap-probe.h>.
5727 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5728 and "reloc_complete".
5729 * elf/dl-close.c: Include <stap-probe.h>.
5730 (_dl_close_worker): Added static probes "unmap_start" and
5732 * elf/rtld-debugger-interface.txt: New file documenting the above.
5734 2012-07-26 Roland McGrath <roland@hack.frob.com>
5736 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5737 rather than a string variable.
5738 * sunrpc/rpc_main.c (h_output): Likewise.
5739 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5741 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5743 * inet/check_native.c: New file.
5745 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5748 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5749 if larger part has absolute value 1.0.
5750 * math/s_clog10.c (__clog10): Likewise.
5751 * math/s_clog10f.c (__clog10f): Likewise.
5752 * math/s_clog10l.c (__clog10l): Likewise.
5753 * math/s_clogf.c (__clogf): Likewise.
5754 * math/s_clogl.c (__clogl): Likewise.
5755 * math/libm-test.inc (clog_test): Add more tests.
5756 (clog10_test): Likewise.
5757 * sysdeps/i386/fpu/libm-test-ulps: Update.
5758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5760 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5761 (pltexit): Likewise.
5762 (La_regs): Likewise.
5763 (La_retval): Likewise.
5764 (int_retval): Likewise.
5765 Update #error for removed macros to refer only to definitions in
5767 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5769 (pltexit): Likewise.
5770 (La_regs): Likewise.
5771 (La_retval): Likewise.
5772 (int_retval): Likewise.
5773 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5775 (pltexit): Likewise.
5776 (La_regs): Likewise.
5777 (La_retval): Likewise.
5778 (int_retval): Likewise.
5779 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5781 (pltexit): Likewise.
5782 (La_regs): Likewise.
5783 (La_retval): Likewise.
5784 (int_retval): Likewise.
5785 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5787 (pltexit): Likewise.
5788 (La_regs): Likewise.
5789 (La_retval): Likewise.
5790 (int_retval): Likewise.
5791 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5793 (pltexit): Likewise.
5794 (La_regs): Likewise.
5795 (La_retval): Likewise.
5796 (int_retval): Likewise.
5797 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5799 (pltexit): Likewise.
5800 (La_regs): Likewise.
5801 (La_retval): Likewise.
5802 (int_retval): Likewise.
5803 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5804 macro definitions in tst-audit.h.
5805 * sysdeps/i386/tst-audit.h: New file.
5806 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5807 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5808 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5809 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5810 * sysdeps/sh/tst-audit.h: Likewise.
5811 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5812 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5813 * sysdeps/x86_64/tst-audit.h: Likewise.
5815 2012-07-26 Andreas Jaeger <aj@suse.de>
5817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5820 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5821 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5822 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5824 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5825 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5828 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5831 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5833 (si_call_addr, si_syscall, si_arch): Define new macro.
5834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5836 (si_call_addr, si_syscall, si_arch): Define new marcro.
5837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5839 (si_call_addr, si_syscall, si_arch): Define new macro.
5840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5842 (si_call_addr, si_syscall, si_arch): Define new macro.
5844 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5847 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5848 Change to 2.4.21 where previously 2.4.1.
5849 * sysdeps/unix/sysv/linux/configure: Regenerated.
5850 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5851 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5852 Linux kernel version.
5853 (__ASSUME_STD_AUXV): Remove.
5854 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5856 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5857 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5858 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5859 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5860 (__ASSUME_NETLINK_SUPPORT): Likewise.
5861 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5862 (__no_netlink_support): Remove conditional definition.
5863 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5865 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5866 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5867 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5868 (if_nameindex_ioctl): Remove.
5869 (if_nameindex_netlink): Do not handle __no_netlink_support.
5870 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5872 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5873 Remove conditional code.
5874 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5876 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5878 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5879 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5880 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5882 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5883 [!__ASSUME_STD_AUXV]: Remove conditional code.
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5885 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5886 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5888 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5889 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5891 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5893 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5894 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5896 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5898 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5901 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5904 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5906 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5908 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5910 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5913 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5915 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5918 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5920 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5922 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5924 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5927 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5929 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5931 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5933 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5936 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5938 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5939 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5940 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5941 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5942 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5943 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5944 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5945 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5946 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5947 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5948 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5949 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5950 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5951 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5955 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5956 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5958 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5959 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5962 2012-07-25 Florian Weimer <fweimer@redhat.com>
5964 * Versions.def: Add GLIBC_2.17.
5965 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5966 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5967 Introduce __libc_secure_getenv.
5968 * stdlib/Versions (2.17): Add secure_getenv
5969 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5970 * stdlib/secure-getenv.c: Rename __secure_getenv to
5971 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5972 symbol __secure_getenv for GLIBC_2.0.
5973 * stdlib/tst-secure-getenv.c: New.
5974 * stdlib/Makefile (tests): Add testcase.
5975 * manual/startup.texi (Environment Access): Document
5977 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5978 __libc_secure_getenv.
5979 * inet/ruserpass.c (ruserpass): Likewise.
5980 * malloc/mtrace.c (mtrace): Likewise.
5981 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5982 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5983 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5984 * sysdeps/posix/tempname.c: Likewise. Evaluate
5986 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5987 __secure_getenv to __libc_secure_getenv.
5988 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6001 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6003 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6004 (struct La_i86_retval): Likewise.
6005 (struct La_x86_64_regs): Likewise.
6006 (struct La_x86_64_retval): Likewise.
6007 (struct La_x32_regs): Likewise.
6008 (struct La_x32_retval): Likewise.
6009 (struct La_ppc32_regs): Likewise.
6010 (struct La_ppc32_retval): Likewise.
6011 (struct La_ppc64_regs): Likewise.
6012 (struct La_ppc64_retval): Likewise.
6013 (struct La_sh_regs): Likewise.
6014 (struct La_sh_retval): Likewise.
6015 (struct La_s390_32_regs): Likewise.
6016 (struct La_s390_32_retval): Likewise.
6017 (struct La_s390_64_regs): Likewise.
6018 (struct La_s390_64_retval): Likewise.
6019 (struct La_sparc32_regs): Likewise.
6020 (struct La_sparc32_retval): Likewise.
6021 (struct La_sparc64_regs): Likewise.
6022 (struct La_sparc64_retval): Likewise.
6023 (struct audit_ifaces): Remove architecture-specific pltenter and
6025 * sysdeps/i386/ldsodefs.h: New file.
6026 * sysdeps/powerpc/ldsodefs.h: Likewise.
6027 * sysdeps/s390/ldsodefs.h: Likewise.
6028 * sysdeps/sh/ldsodefs.h: Likewise.
6029 * sysdeps/sparc/ldsodefs.h: Likewise.
6030 * sysdeps/x86_64/ldsodefs.h: Likewise.
6032 2012-07-25 Marek Polacek <polacek@redhat.com>
6035 * math/libm-test.inc (yn_test): Add another test.
6036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6037 to ERANGE when the result is +-Inf.
6038 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6039 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6040 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6041 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6043 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6045 * conform/data/time.h-data (NULL): Use macro-constant. Require
6047 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6049 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6051 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6053 * configure.in <sysdeps resolving>: Correct printing
6055 * configure: Regenerate.
6057 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6059 * math/w_ilogb.c: Include <limits.h>.
6060 * math/w_ilogbl.c: Likewise.
6062 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6064 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6065 va_copy. Document allowing for unavailable va_copy only as
6066 pre-C99 compatibility.
6067 * manual/string.texi (Copying and Concatenation): Use va_copy
6068 instead of __va_copy in concat example.
6070 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6072 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6073 (__sendto): Use create_address_port. Initialize APORT and deallocate
6076 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6077 with O_NOLINK passed to __file_name_lookup.
6079 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6080 with O_NOLINK passed to __file_name_lookup.
6082 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6083 negative N or less than NGIDS.
6085 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6086 type to string_t. Set ERANGE as errno and return it if NAME is not big
6087 enough. Use memcpy instead of strncpy.
6089 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6091 * elf/Makefile (check-data): Remove.
6092 (localplt.data): New vpath directive.
6093 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6094 instead of $(check-data).
6095 * scripts/data/localplt-generic.data: Move to ...
6096 * sysdeps/generic/localplt.data: ... here.
6097 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6098 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6099 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6102 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6105 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6108 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6111 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6114 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6118 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6120 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6121 PPC32 and PPC64 files.
6122 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6123 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6125 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6127 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6128 __makecontext_ret to ...
6129 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6130 ... here and call exit if uc_link is NULL. New file.
6131 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6132 __makecontext_ret.S.
6133 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6134 __makecontext_ret to ...
6135 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6136 ... here and call exit if uc_link is NULL. New file.
6137 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6138 __makecontext_ret.S.
6140 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6142 * elf/elf.h (R_390_IRELATIVE): New definition.
6143 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6144 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6145 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6146 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6147 (elf_machine_lazy_rel): Likewise.
6148 * sysdeps/s390/dl-irel.h: New file.
6149 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6150 * sysdeps/s390/s390-64/memset.S: New asm code.
6151 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6152 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6154 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6155 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6156 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6158 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6159 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6160 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6161 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6162 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6163 * sysdeps/s390/s390-32/memset.S: New asm code.
6164 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6166 2012-07-17 Marek Polacek <polacek@redhat.com>
6169 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6170 * sysdeps/s390/s390-64/configure.in: Likewise.
6171 * sysdeps/sparc/configure.in: Likewise.
6172 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6173 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6174 * sysdeps/i386/configure.in: Likewise.
6175 * sysdeps/x86_64/configure.in: Likewise.
6176 * sysdeps/sh/configure.in: Likewise.
6177 * sysdeps/s390/s390-32/configure: Regenerated.
6178 * sysdeps/s390/s390-64/configure: Likewise.
6179 * sysdeps/x86_64/configure: Likewise.
6180 * sysdeps/sh/configure: Likewise.
6181 * sysdeps/powerpc/powerpc64/configure: Likewise.
6182 * sysdeps/powerpc/powerpc32/configure: Likewise.
6183 * sysdeps/sparc/configure: Likwise.
6184 * sysdeps/i386/configure: Likewise.
6186 * elf/dl-open.c: Comment fixes.
6188 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6190 * Makefile [CXX] (check-data): Remove.
6191 [CXX] (c++-types.data): New vpath directive.
6192 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6193 vpath. Do not allow for C++ type data being missing.
6194 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6195 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6196 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6197 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6198 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6199 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6200 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6203 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6206 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6209 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6212 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6215 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6218 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6221 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6224 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6225 definitions to architecture-specific files.
6229 * sysdeps/i386/tls-macros.h: New file.
6230 * sysdeps/powerpc/tls-macros.h: Likewise.
6231 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6232 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6233 * sysdeps/sh/tls-macros.h: Likewise.
6234 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6235 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6236 * sysdeps/x86_64/tls-macros.h: Likewise.
6238 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6240 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6241 zero value for regular exit case.
6243 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6244 (__start_context): Preserve zero value for regular exit case.
6246 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6247 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6249 * manual/setjmp.texi (setcontext): Clarify normal process
6250 termination when uc_link is the null pointer.
6251 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6254 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6256 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6257 preprocessor. Test for each exception mask separately.
6259 2012-07-16 Andreas Jaeger <aj@suse.de>
6261 * po/ru.po: Update from translation team.
6263 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6265 * conform/data/string.h-data (NULL): Use macro-constant. Require
6267 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6268 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6269 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6270 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6273 2012-07-13 Andreas Jaeger <aj@suse.de>
6275 * po/fr.po: Update from translation team.
6277 2012-07-12 Marek Polacek <polacek@redhat.com>
6280 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6284 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6288 Change to 2.4.1 where previously 2.4.0.
6289 * sysdeps/unix/sysv/linux/configure: Regenerated.
6290 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6291 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6293 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6294 (__ASSUME_AT_CLKTCK): Remove.
6295 (__ASSUME_AT_PAGESIZE): Likewise.
6296 (__ASSUME_AT_XID): Likewise.
6297 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6298 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6299 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6301 (HAVE_AUX_PAGESIZE): Likewise.
6302 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6303 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6304 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6306 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6310 the temporary buffer used to invoke __gethostbyname2_r,
6311 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6312 host_data / struct gaih_addrtuple.
6313 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6314 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6315 header file nss/nsswitch.h.
6316 * nss/nsswitch.h (global scope): Add definition of implementation
6317 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6318 resolv/nss_dns/dns-host.c).
6320 2012-07-11 Andreas Jaeger <aj@suse.de>
6322 * po/fr.po: Update from translation team.
6324 * po/sv.po: Update from translation team
6325 * po/fr.po: Another update from translation team.
6327 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6329 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6330 for subnormals or multiply small sinh result by itself.
6331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6334 2012-07-11 David S. Miller <davem@davemloft.net>
6336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6338 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6341 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6342 (INTERNAL_MARK): Shift it here.
6344 2012-07-10 Marek Polacek <polacek@redhat.com>
6347 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6348 libc_cv_asm_global_directive with .globl.
6349 * configure: Regenerated.
6350 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6352 * sysdeps/i386/configure: Regenerated.
6353 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6355 * sysdeps/x86_64/configure: Regenerated.
6356 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6357 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6358 * elf/tst-unique2mod2.c: Likewise.
6359 * elf/tst-unique2mod1.c: Likewise.
6360 * elf/tst-unique1mod2.c: Likewise.
6361 * elf/tst-unique1mod1.c: Likewise.
6362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6363 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6365 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6366 * sysdeps/mach/sysdep.h: Likewise.
6367 * sysdeps/i386/sysdep.h: Likewise.
6368 * sysdeps/i386/i386-mcount.S: Likewise.
6369 * sysdeps/x86_64/_mcount.S: Likewise.
6370 * sysdeps/x86_64/sysdep.h: Likewise.
6371 * sysdeps/sh/_mcount.S: Likewise.
6372 * sysdeps/sh/sysdep.h: Likewise.
6373 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6374 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6375 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6376 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6377 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6378 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6379 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6380 * locale/localeinfo.h: Likewise.
6381 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6382 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6384 2012-07-09 Roland McGrath <roland@hack.frob.com>
6387 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6389 * manual/message.texi (The Uniforum approach): Likewise.
6390 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6391 (glibc iconv Implementation): Likewise.
6393 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6396 * math/s_clog.c (__clog): Avoid scaling a value down where that
6397 could result in underflow.
6398 * math/s_clog10.c (__clog10): Likewise.
6399 * math/s_clog10f.c (__clog10f): Likewise.
6400 * math/s_clog10l.c (__clog10l): Likewise.
6401 * math/s_clogf.c (__clogf): Likewise.
6402 * math/s_clogl.c (__clogl): Likewise.
6403 * math/libm-test.inc (clog_test): Add more tests.
6404 (clog10_test): Likewise.
6405 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6408 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6411 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6412 by 7 not 8 to examine high bit of fractional part.
6415 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6416 for call to __mcount_internal.
6417 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6418 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6419 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6421 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6424 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6425 approximation for values within 0x1p-13f of an odd multiple of
6427 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6428 exception. Add more tests.
6429 * sysdeps/i386/fpu/libm-test-ulps: Update.
6432 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6433 inputs and return -1 for them. Do not check for +Inf in case not
6435 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6436 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6437 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6438 and return -1 for them. Do not check for +Inf in case not
6440 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6442 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6443 and return -1 for them. Do not check for +Inf in case not
6445 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6447 * sysdeps/i386/fpu/libm-test-ulps: Update.
6448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6450 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6452 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6454 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6458 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6459 could result in spurious underflow. Scale down values above
6460 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6461 * math/s_csqrtf.c (__csqrtf): Likewise.
6462 * math/s_csqrtl.c (__csqrtl): Likewise.
6463 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6465 * sysdeps/i386/fpu/libm-test-ulps: Update.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6468 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6470 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6472 * catgets/xopen-msg.awk: New file.
6473 * catgets/xopen-msg.sed: Removed.
6475 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6477 * intl/po2test.awk: New file.
6478 * intl/po2test.sed: Removed.
6480 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6483 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6484 or multiply small sinh result by itself.
6485 * math/s_ctanf.c (__ctanf): Likewise.
6486 * math/s_ctanh.c (__ctanh): Likewise.
6487 * math/s_ctanhf.c (__ctanhf): Likewise.
6488 * math/s_ctanhl.c (__ctanhl): Likewise.
6489 * math/s_ctanl.c (__ctanl): Likewise.
6490 * math/libm-test.inc (ctan_test_tonearest): New function.
6491 (ctan_test_towardzero): Likewise.
6492 (ctan_test_downward): Likewise.
6493 (ctan_test_upward): Likewise.
6494 (ctanh_test_tonearest): Likewise.
6495 (ctanh_test_towardzero): Likewise.
6496 (ctanh_test_downward): Likewise.
6497 (ctanh_test_upward): Likewise.
6498 (main): Call these new functions.
6499 * sysdeps/i386/fpu/libm-test-ulps: Update.
6500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6502 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6504 * .gitignore: Delete /ports entry.
6506 2012-07-03 Andreas Jaeger <aj@suse.de>
6508 * po/bg.po: Update from translation team.
6509 * po/cs.po: Likewise.
6510 * po/de.po: Likewise.
6511 * po/hr.po: Likewise.
6512 * po/nl.pl: Likewise.
6513 * po/pl.po: Likewise.
6514 * po/vi.po: Likewise.
6516 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6518 * Makeconfig [!+link] (+link-before-libc): New variable.
6519 [!+link] (+link-after-libc): Likewise.
6520 [!+link] (+link-tests): Likewise.
6521 [!+link] (+link): Define in terms of $(+link-before-libc) and
6522 $(+link-after-libc).
6523 [!+link-static] (+link-static-before-libc): New variable.
6524 [!+link-static] (+link-static-after-libc): Likewise.
6525 [!+link-static] (+link-static-tests): Likewise.
6526 [!+link-static] (+link-static): Define in terms of
6527 $(+link-static-before-libc) and $(+link-static-after-libc).
6528 [build-shared] (link-libc-before-gnulib): New variable.
6529 [build-shared] (link-libc-tests): Likewise.
6530 [build-shared] (link-libc): Define in terms of
6531 $(link-libc-before-gnulib).
6532 [!build-shared] (link-libc-tests): New variable.
6533 (link-libc-static-tests): New variable.
6534 [!gnulib] (gnulib-arch): New variable.
6535 [!gnulib] (gnulib-tests): Likewise.
6536 [!gnulib] (static-gnulib-arch): Likewise.
6537 [!gnulib] (static-gnulib-tests): Likewise.
6538 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6539 Define with "=" instead of ":=".
6540 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6541 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6542 * Rules (binaries-all-notests): New variable.
6543 (binaries-all-tests): Likewise.
6544 (binaries-static-notests): Likewise.
6545 (binaries-static-tests): Likewise.
6546 (binaries-all): Define using $(binaries-all-notests) and
6547 $(binaries-all-tests).
6548 (binaries-static): Define using $(binaries-static-notests) and
6549 $(binaries-static-tests).
6550 (binaries-shared-tests): New variable.
6551 (binaries-shared-notests): Likewise.
6552 (binaries-shared): Remove variable.
6553 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6554 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6555 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6556 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6557 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6558 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6559 * elf/Makefile (sln-modules): New variable.
6560 (extra-objs): Add $(sln-modules:=.o).
6561 (ldconfig-modules): Add static-stubs.
6562 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6563 * elf/static-stubs.c: New file.
6566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6567 by 7 not 8 to examine high bit of fractional part. Use volatile
6568 variables when splitting into final array of floats if
6569 __FLT_EVAL_METHOD__ != 0.
6570 * math/libm-test.inc (cos_test): Add another test.
6571 (sin_test): Likewise.
6572 * sysdeps/i386/fpu/libm-test-ulps: Update.
6575 * math/libm-test.inc (cosh_test): Add more tests.
6577 * version.h (RELEASE): Set to "development".
6578 (VERSION): Set to "2.16.90".
6580 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6582 * NEWS: Update copyright. Remove last-updated date.
6583 Mention math library bug fixes and timezone data changes.
6584 * README: Mention GNU/Hurd, x32, and HPPA support status.
6586 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6588 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6590 2012-06-27 Andreas Jaeger <aj@suse.de>
6592 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6594 2012-06-25 Andreas Jaeger <aj@suse.de>
6596 * sysdeps/s390/fpu/libm-test-ulps: Update.
6598 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6599 Thomas Schwinge <thomas@codesourcery.com>
6601 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6602 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6606 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6608 * sysdeps/mach/start.c: Remove file.
6609 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6610 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6611 * sysdeps/sh/init-first.c: Likewise.
6613 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6614 registers for frame unwinding purposes, add CFI directives.
6615 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6617 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6620 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6621 __fortify_fail returning.
6622 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6624 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6625 sysdeps/sh/____longjmp_chk.S.
6626 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6627 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6628 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6629 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6631 * sysdeps/sh/abort-instr.h: New file.
6632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6633 process in case exit returns.
6635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6636 initialize the GOT register before use.
6638 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6639 calculation of ARGC > 4.
6641 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6642 meaningful names to some local labels.
6644 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6645 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6647 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6648 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6649 (__arch_compare_and_exchange_val_16_acq): Likewise.
6650 (__arch_compare_and_exchange_val_32_acq): Likewise.
6651 (atomic_exchange_and_add): Fix gUSA sequence.
6652 (atomic_add): Likewise.
6653 (atomic_add_negative): Likewise.
6654 (atomic_add_zero): Likewise.
6655 (atomic_bit_test_set): Likewise.
6657 2012-06-22 Andreas Schwab <schwab@redhat.com>
6660 * include/link.h (struct link_map): Add l_free_initfini.
6661 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6663 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6664 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6665 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6668 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6670 * configure.in: Use AC_LANG_SOURCE.
6671 * configure: Regenerate.
6673 2012-06-22 Roland McGrath <roland@hack.frob.com>
6675 * configure.in (libc_cv_localstatedir): New substituted variable.
6676 * configure: Regenerated.
6677 * config.make.in (localstatedir): New variable, substituted from
6678 libc_cv_localstatedir.
6679 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6680 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6681 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6682 * sysdeps/gnu/configure: Regenerated.
6684 2012-06-21 Jeff Law <law@redhat.com>
6687 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6688 free. Simplify list management for _LIBC case.
6690 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6693 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6694 Clear sign bit of 64-bit integer value before comparing against
6697 * sysdeps/mach/configure: Regenerated.
6699 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6702 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6704 2012-06-21 Jeff Law <law@redhat.com>
6707 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6708 uint16_t for elements in the "seen" array to avoid char overflows.
6709 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6710 * elf/dl-open.c (dl_open_worker): Likewise.
6712 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6714 * scripts/list-sources.sh: Scan PORTS for translations.
6715 * po/libc.pot: Regenerated.
6717 2012-06-21 Andreas Jaeger <aj@suse.de>
6720 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6722 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6723 * bits/byteswap-16.h (__bswap_16): Likewise.
6724 * bits/byteswap.h (__bswap_constant_16): Likewise.
6726 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6729 * sysdeps/i386/fpu_control.h: Removed.
6730 * sysdeps/x86_64/fpu_control.h: Moved to ...
6731 * sysdeps/x86/fpu_control.h: Here.
6733 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6734 (_FPU_SETCW): Likewise.
6736 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6739 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6740 * sysdeps/x86/fpu/bits/mathinline.h: This.
6741 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6745 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6746 functions if __x86_64__ is defined.
6748 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6750 * string/endian.h: Add !__ASSEMBLER__ condition for including
6751 conversion interfaces.
6753 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6757 of ABS(x) in calculating zero to negative powers other than odd
6759 * math/libm-test.inc (pow_test): Add more tests.
6761 2012-06-15 Andreas Jaeger <aj@suse.de>
6763 * manual/contrib.texi (Contributors): Update entry of Liubov
6764 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6767 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6769 * string/string.h: Add __wur to GNU version of strerror_r.
6771 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6774 * string/Makefile (tests): Add tst-strtok_r.
6775 * string/tst-strtok_r.c: New file.
6776 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6777 RAX_LP/RDX_LP on SAVE_PTR.
6779 2012-06-14 Roland McGrath <roland@hack.frob.com>
6781 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6783 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6785 * libm_test.inc (csqrt_test): Allow more spurious underflow
6787 (j0_test): Likewise.
6788 (j1_test): Likewise.
6789 (y0_test): Likewise.
6790 (y1_test): Likewise.
6792 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6794 * po/Makefile (libc.pot): Use UTF-8 charset.
6796 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6799 Suppress sign-conversion warning from FD_SET.
6800 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6801 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6802 not unsigned long int.
6803 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6805 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6809 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6810 __extern_always_inline instead of __extern_inline.
6811 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6812 (__signbit): Likewise.
6813 (__signbitl): Support C++ namespace.
6814 (lrintf): New inline function.
6816 (llrintf): Likewise.
6828 (nearbyint): Likewise.
6829 (nearbyintf): Likewise.
6831 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6833 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6834 non-default versions.
6836 2012-06-11 Roland McGrath <roland@hack.frob.com>
6839 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6841 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6843 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6844 (FE_UPWARD, FE_DOWNWARD): Don't define.
6845 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6846 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6848 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6850 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6851 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6853 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6855 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6856 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6857 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6858 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6860 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6863 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6864 * sysdeps/i386/fpu/Implies: New file.
6865 * sysdeps/x86_64/fpu/Implies: Likewise.
6866 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6867 * sysdeps/x86/fpu/bits/fenv.h: This.
6869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6872 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6875 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6876 character 0xffff that matches the last element of the
6879 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6884 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6887 values higher than 25.6283.
6889 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6892 subnormal exponent extraction and add some __builtin_expect.
6893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6894 Fix for subnormal mantissa calculation.
6896 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6898 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6899 cpu2 is -1 and errno is not ENOSYS.
6901 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6904 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6905 * sysdeps/x86/bits/string.h: This.
6906 * sysdeps/x86_64/bits/string.h: Removed.
6908 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6909 if not compiling for x86-64, but compiling for >= i486.
6911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6912 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6914 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6915 New macro from Linux kernel 3.4.0.
6916 (FP_XSTATE_MAGIC2): Likewise.
6917 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6918 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6919 (struct _fpx_sw_bytes): New struct.
6920 (struct _xsave_hdr): Likewise.
6921 (struct _ymmh_state): Likewise.
6922 (struct _xstate): Likewise.
6924 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6925 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6926 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6927 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6928 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6929 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6931 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6933 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6934 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6935 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6936 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6938 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6941 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6942 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6943 (sysdep_headers): Include sys/platform/ppc.h.
6944 * sysdeps/powerpc/test-gettimebase.c: Test for
6945 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6946 * manual/Makefile (appendices): Include platform.texi.
6947 * manual/contrib.texi (Contributors): Update @node pointers.
6948 * manual/maint.texi (Maintenance): Likewise.
6949 (Platform): New node.
6950 * manual/platform.texi: New file. Document the new features.
6952 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6953 Jakub Jelinek <jakub@redhat.com>
6956 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6957 where __builtin_expect is unavailable.
6959 2012-06-03 David S. Miller <davem@davemloft.net>
6961 * stdlib/longlong.h: Updated from GCC.
6963 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6966 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6967 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6970 (GLIBC_2.16): Likewise.
6972 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6974 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6976 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6979 (default-abi): New variable.
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6981 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6985 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6987 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6990 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6991 definition. Document in comment.
6993 2012-06-01 David S. Miller <davem@davemloft.net>
6995 * stdlib/longlong.h: Updated from GCC.
6997 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7000 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7001 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7002 sys/debugreg.h sys/io.h here.
7003 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7004 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7006 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7007 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7008 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7009 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7010 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7011 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7013 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7014 Define only if __x86_64__ is defined.
7016 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7020 Use int64_t for variable i.
7021 * math/libm-test.inc (fmod_test): Add more tests.
7023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7024 z computation is not scheduled after fetestexcept.
7025 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7026 Use math_force_eval instead of asm to ensure calculation scheduled
7027 before exception test.
7028 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7029 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7031 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7034 computation is not scheduled after fetestexcept.
7036 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7039 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7040 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7042 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7044 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7045 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7047 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7050 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7052 (__WCHAR_MIN): Support __WORDSIZE == 64.
7053 (__WCHAR_MAX): Likewise.
7055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7059 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7060 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7063 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7064 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7066 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7067 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7070 Defined to 1 if __x86_64__ isn't defined.
7071 (_STAT_VER_LINUX_OLD): New.
7072 (st_atime): Remove duplicate.
7073 (st_mtime): Likewise.
7074 (st_ctime): Likewise.
7076 2012-05-31 David S. Miller <davem@davemloft.net>
7078 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7081 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7083 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7087 * elf/dl-reloc.c: Include <_itoa.h>.
7088 (_dl_reloc_bad_type): Remove use of INTUSE.
7089 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7090 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7091 * stdio-common/psiginfo.c (psiginfo): Likewise.
7092 * stdio-common/psignal.c (psignal): Likewise.
7093 * string/strsignal.c (strsignal): Likewise.
7094 * include/signal.h (_sys_siglist): Declare hidden proto.
7095 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7096 INTVARDEF with libc_hidden_data_def.
7097 * stdio-common/itoa-udigits.c: Likewise.
7098 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7099 (_itoa_lower_digits_internal): Remove declaration.
7100 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7101 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7102 (_sys_sigabbrev_internal): Remove aliases.
7103 (_sys_siglist): Define hidden alias.
7105 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7110 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7113 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7114 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7116 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7117 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7118 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7119 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7121 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7123 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7125 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7135 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7137 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7139 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7140 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7142 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7143 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7144 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7147 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7149 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7150 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7156 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7157 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7159 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7161 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7162 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7163 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7165 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7167 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7169 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7171 * math/math.h (M_El): Use two more decimal places.
7172 (M_LOG2El): Likewise.
7173 (M_LOG10El): Likewise.
7175 (M_LN10l): Likewise.
7177 (M_PI_2l): Likewise.
7178 (M_PI_4l): Likewise.
7179 (M_1_PIl): Likewise.
7180 (M_2_PIl): Likewise.
7181 (M_2_SQRTPIl): Likewise.
7182 (M_SQRT2l): Likewise.
7183 (M_SQRT1_2l): Likewise.
7185 2012-05-31 David S. Miller <davem@davemloft.net>
7187 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7188 values between float registers.
7189 * sysdeps/sparc/sparc64/memset.S: Likewise.
7190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7192 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7194 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7195 -D_FORTIFY_SOURCE=1.
7196 (CPPFLAGS-tst-longjmp_chk.c): Define.
7197 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7198 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7199 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7200 CFLAGS-tst-wchar-h.c.
7202 2012-05-31 Marek Polacek <polacek@redhat.com>
7205 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7206 __endmntent_internal): Remove declaration.
7207 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7208 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7209 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7211 2012-05-30 David S. Miller <davem@davemloft.net>
7213 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7214 (___Q_simulate_exceptions): Use real FP ops rather than writing
7216 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7219 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7222 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7223 * sysdeps/x86/bits/xtitypes.h: This.
7225 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7226 * sysdeps/x86/bits/wordsize.h: This.
7228 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7229 * sysdeps/x86/bits/huge_vall.h: This.
7231 * sysdeps/i386/bits/select.h: Removed.
7232 * sysdeps/x86_64/bits/select.h: Renamed to ...
7233 * sysdeps/x86/bits/select.h: This.
7235 * sysdeps/i386/bits/setjmp.h: Removed.
7236 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7237 * sysdeps/x86/bits/setjmp.h: This.
7239 * sysdeps/i386/bits/mathdef.h: Removed.
7240 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7241 * sysdeps/x86/bits/mathdef.h: This.
7243 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7246 * include/sys/socket.h (__connect_internal)
7247 (__libc_sa_len_internal): Remove declaration.
7248 (__connect, __libc_sa_len): Declare hidden_proto.
7249 (SA_LEN): Remove use of INTUSE.
7250 * socket/connect.c: Add libc_hidden_def.
7251 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7252 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7253 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7255 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7256 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7257 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7258 of adding _internal alias.
7260 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7263 * sysdeps/i386/bits/link.h: Removed.
7264 * sysdeps/i386/bits/linkmap.h: Likewise.
7265 * sysdeps/x86_64/bits/link.h: Renamed to ...
7266 * sysdeps/x86/bits/link.h: This.
7267 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7268 * sysdeps/x86/bits/linkmap.h: This.
7270 * sysdeps/i386/bits/endian.h: Removed.
7271 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7272 * sysdeps/x86/bits/endian.h: This.
7274 * sysdeps/i386/bits/byteswap.h: Removed.
7275 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7276 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7277 * sysdeps/x86/bits/byteswap.h: This.
7278 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7279 * sysdeps/x86/bits/byteswap-16.h: This.
7280 * sysdeps/i386/Implies: Add x86.
7281 * sysdeps/x86_64/Implies: Likewise.
7283 2012-05-30 David S. Miller <davem@davemloft.net>
7285 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7286 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7287 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7288 (FP_TRAPPING_EXCEPTIONS): Define.
7289 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7290 (FP_TRAPPING_EXCEPTIONS): Define.
7291 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7292 subnormals only when inexact has been signalled or underflow
7293 exceptions are enabled.
7294 (_FP_PACK_CANONICAL): Likewise.
7296 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7300 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7302 2012-05-30 Richard Henderson <rth@twiddle.net>
7304 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7305 with #ifndef NOT_IN_libc.
7307 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7308 marked to avoid plt entry.
7310 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7313 * Makeconfig (default-abi): New macro.
7314 (abi-includes): Likewise.
7315 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7316 $(abi-$(default-abi)-lib-soname) for soname if defined.
7317 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7319 * Makefile (installed-stubs): Likewise.
7320 * include/stubs-biarch.h: Removed.
7321 * scripts/lib-names.awk: Only handle one library at a time.
7322 * scripts/soversions.awk: Remove WORDSIZE support.
7323 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7325 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7327 (syscall-list-default-condition): Likewise.
7328 (syscall-list-default-condition): Likewise.
7329 (syscall-list-includes): Likewise.
7330 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7331 syscall-list-* with abi-*. Handle undefined abi-variants.
7332 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7333 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7334 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7335 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7336 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7337 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7339 (syscall-list-32-options): Likewise.
7340 (syscall-list-32-condition): Likewise.
7341 (syscall-list-64-options): Likewise.
7342 (syscall-list-64-condition): Likewise.
7343 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7345 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7348 (abi-64-ld-soname): New macro.
7349 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7353 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7354 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7356 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7358 * sysdeps/unix/sysv/linux/kernel-features.h
7359 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7360 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7361 include <kernel-features.h>.
7362 [!__NR_ftruncate64]: Remove conditional code.
7363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7364 [__NR_ftruncate64]: Make code unconditional.
7365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7366 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7367 include <kernel-features.h>.
7368 [!__NR_ftruncate64]: Remove conditional code.
7369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7370 [__NR_ftruncate64]: Make code unconditional.
7371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7373 include <kernel-features.h>.
7374 [!__NR_ftruncate64]: Remove conditional code.
7375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7376 [__NR_ftruncate64]: Make code unconditional.
7377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7379 include <kernel-features.h>.
7380 [!__NR_ftruncate64]: Remove conditional code.
7381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7382 [__NR_ftruncate64]: Make code unconditional.
7383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7385 * configure.in (libc_cv_fpie): Weaken to a compile test using
7387 * configure: Regenerated.
7389 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7404 2012-05-27 David S. Miller <davem@davemloft.net>
7406 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7408 (__Q_simulate_exceptions): Return void. Change to simulate
7409 exceptions by writing into the %fsr.
7410 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7411 (__Qp_handle_exceptions): Likewise.
7413 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7414 __Qp_handle_exceptions.
7415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7416 __Qp_handle_exceptions.
7417 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7418 as unused and give dummy FP_RND_NEAREST initializer.
7419 (FP_INHIBIT_RESULTS): Define.
7420 (___Q_simulate_exceptions): Update declaration.
7421 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7424 as unused and give dummy FP_RND_NEAREST initializer.
7425 (__Qp_handle_exceptions): Update declaration.
7426 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7429 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7431 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7432 the temporary FPU control word.
7433 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7434 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7436 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7437 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7438 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7439 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7441 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7442 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7443 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7445 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7447 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7450 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7452 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7453 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7454 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7455 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7457 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7458 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7461 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7463 * po/h.po: Update from translation team.
7465 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7467 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7469 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7470 handling of denormals.
7471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7472 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7474 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7480 2012-05-26 Marek Polacek <polacek@redhat.com>
7483 * math/libm-test.inc (fma_test): Don't always expect underflow
7486 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7489 * elf/tst-execstack.c: Include stackinfo.h.
7490 (do_test): Adjust test case to ensure that pthread_getattr_np
7491 behaviour remains the same after marking stack executable.
7493 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7495 * sysdeps/unix/sysv/linux/kernel-features.h
7496 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7497 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7499 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7500 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7501 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7503 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7504 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7506 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7508 * configure.in: Define the default includes to being none.
7509 * configure: Regenerated.
7511 2012-05-25 Roland McGrath <roland@hack.frob.com>
7513 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7514 * sysdeps/x86_64/setjmp.S: Likewise.
7515 * sysdeps/i386/bsd-setjmp.S: Likewise.
7516 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7517 * sysdeps/i386/setjmp.S: Likewise.
7518 * sysdeps/i386/__longjmp.S: Likewise.
7519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7520 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7522 * include/stap-probe.h: New file.
7523 * configure.in: Handle --enable-systemtap.
7524 * configure: Regenerated.
7525 * config.h.in (USE_STAP_PROBE): New #undef.
7526 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7527 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7528 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7530 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7534 to 2.4.0 where earlier.
7535 * sysdeps/unix/sysv/linux/configure: Regenerated.
7536 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7537 <kernel-features.h>.
7538 [__ASSUME_32BITUIDS]: Make code unconditional.
7539 [!__ASSUME_32BITUIDS]: Remove conditional code.
7540 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7541 <kernel-features.h>.
7542 [__ASSUME_32BITUIDS]: Make code unconditional.
7543 [!__ASSUME_32BITUIDS]: Remove conditional code.
7544 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7545 [__ASSUME_32BITUIDS]: Make code unconditional.
7546 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7547 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
7572 <kernel-features.h>.
7573 [__ASSUME_32BITUIDS]: Make code unconditional.
7574 [!__ASSUME_32BITUIDS]: Remove conditional code.
7575 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7576 <kernel-features.h>.
7577 [__ASSUME_32BITUIDS]: Make code unconditional.
7578 [!__ASSUME_32BITUIDS]: Remove conditional code.
7579 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7580 <kernel-features.h>.
7581 [__ASSUME_32BITUIDS]: Make code unconditional.
7582 [!__ASSUME_32BITUIDS]: Remove conditional code.
7583 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7584 <kernel-features.h>.
7585 [__ASSUME_32BITUIDS]: Make code unconditional.
7586 [!__ASSUME_32BITUIDS]: Remove conditional code.
7587 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7588 <kernel-features.h>.
7589 [__NR_setresgid] (__setresgid): Do not declare.
7590 [__ASSUME_32BITUIDS]: Make code unconditional.
7591 [!__ASSUME_32BITUIDS]: Remove conditional code.
7592 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7593 <kernel-features.h>.
7594 [__NR_setresuid] (__setresuid): Do not declare.
7595 [__ASSUME_32BITUIDS]: Make code unconditional.
7596 [!__ASSUME_32BITUIDS]: Remove conditional code.
7597 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
7622 <kernel-features.h>.
7623 [__ASSUME_32BITUIDS]: Make code unconditional.
7624 [!__ASSUME_32BITUIDS]: Remove conditional code.
7625 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7626 <kernel-features.h>.
7627 [__ASSUME_32BITUIDS]: Make code unconditional.
7628 [!__ASSUME_32BITUIDS]: Remove conditional code.
7629 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7630 <kernel-features.h>.
7631 [__ASSUME_32BITUIDS]: Make code unconditional.
7632 [!__ASSUME_32BITUIDS]: Remove conditional code.
7633 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7634 <kernel-features.h>.
7635 [__ASSUME_32BITUIDS]: Make code unconditional.
7636 [!__ASSUME_32BITUIDS]: Remove conditional code.
7637 * sysdeps/unix/sysv/linux/kernel-features.h
7638 (__ASSUME_SETRESUID_SYSCALL): Remove.
7639 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7640 (__ASSUME_32BITUIDS): Likewise.
7641 (__ASSUME_LDT_WORKS): Likewise.
7642 (__ASSUME_O_DIRECTORY): Likewise.
7643 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7644 architecture but not kernel version.
7645 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7646 (__ASSUME_MMAP2_SYSCALL): Likewise.
7647 (__ASSUME_STAT64_SYSCALL): Likewise.
7648 (__ASSUME_IPC64): Likewise.
7649 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7650 <kernel-features.h>.
7651 [__ASSUME_32BITUIDS]: Make code unconditional.
7652 [!__ASSUME_32BITUIDS]: Remove conditional code.
7653 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7654 <kernel-features.h>.
7655 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7656 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7657 132096]: Remove conditional code.
7658 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7659 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7660 <kernel-features.h>.
7661 [__ASSUME_32BITUIDS]: Make code unconditional.
7662 [!__ASSUME_32BITUIDS]: Remove conditional code.
7663 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7664 <kernel-features.h>.
7665 [__ASSUME_32BITUIDS]: Make code unconditional.
7666 [!__ASSUME_32BITUIDS]: Remove conditional code.
7667 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7668 <kernel-features.h>.
7669 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7671 (__setresgid): Do not declare.
7672 [__ASSUME_32BITUIDS]: Make code unconditional.
7673 [!__ASSUME_32BITUIDS]: Remove conditional code.
7674 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7675 <kernel-features.h>.
7676 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7678 (__setresuid): Do not declare.
7679 [__ASSUME_32BITUIDS]: Make code unconditional.
7680 [!__ASSUME_32BITUIDS]: Remove conditional code.
7681 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7682 <kernel-features.h>.
7683 [__ASSUME_32BITUIDS]: Make code unconditional.
7684 [!__ASSUME_32BITUIDS]: Remove conditional code.
7685 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7686 <kernel-features.h>.
7687 [__ASSUME_32BITUIDS]: Make code unconditional.
7688 [!__ASSUME_32BITUIDS]: Remove conditional code.
7690 2012-05-25 Richard Henderson <rth@twiddle.net>
7692 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7693 dl_hwcap to ifunc resolver.
7694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7696 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7697 dl_hwcap to ifunc resolver.
7698 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7700 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7703 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7704 for |x| <= 2**-26, not 2**-57.
7705 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7708 2012-05-24 Jeff Law <law@redhat.com>
7710 * stdio-common/Makefile (tests): Add bug25.
7711 * stdio-common/bug25.c: New test.
7713 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7716 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7717 multiple of MALLOC_ALIGNMENT in size.
7718 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7720 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7722 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7724 (FILENAME_MAX): Use macro-int-constant.
7725 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7726 (_IOFBF): Use macro-int-constant.
7729 (SEEK_CUR): Likewise.
7730 (SEEK_END): Likewise.
7731 (SEEK_SET): Likewise.
7732 (TMP_MAX): Likewise.
7733 (EOF): Use macro-int-constant. Require < 0.
7734 (NULL): Use macro-constant. Require == 0.
7735 (stdin): Require type to be FILE *.
7738 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7740 (EXIT_SUCCESS): Likewise.
7741 (NULL): Use macro-constant. Require == 0.
7742 (RAND_MAX): Use macro-int-constant.
7743 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7744 [C99-based standards] (strtof): Require function.
7745 [C99-based standards] (strtold): Likewise.
7746 [C99-based standards] (strtoll): Likewise.
7747 [C99-based standards] (strtoull): Likewise.
7748 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7749 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7750 [ISO || ISO99 || ISO11] (math.h): Likewise.
7751 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7752 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7755 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7758 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7759 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7760 * intl/dgettext.c (DCGETTEXT): Likewise.
7761 * intl/gettext.c (DCGETTEXT): Likewise.
7762 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7763 * posix/regex_internal.h (gettext): Likewise.
7764 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7766 * include/argz.h (__argz_count_internal)
7767 (__argz_stringify_internal): Remove declaration.
7768 (__argz_count, __argz_stringify): Declare hidden proto.
7769 * intl/dcgettext.c: Remove use of INTDEF.
7770 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7771 * string/argz-stringify.c: Likewise.
7772 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7773 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7774 Declare hidden proto.
7775 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7776 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7777 Declare hidden proto.
7778 * include/stdio.h (__asprintf_internal): Don't declare.
7779 (__asprintf): Don't define as macro. Declare hidden proto.
7780 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7781 (__fsetlocking): Declare hidden proto.
7782 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7783 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7785 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7786 (_IO_setlinebuf): Remove use of INTUSE.
7787 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7788 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7789 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7791 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7792 (_IO_do_flush): Remove use of INTUSE.
7793 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7794 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7795 (_IO_adjust_column, _IO_least_wmarker)
7796 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7797 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7798 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7799 (_IO_default_doallocate, _IO_wdefault_doallocate)
7800 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7801 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7802 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7803 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7804 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7805 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7806 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7807 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7808 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7809 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7810 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7811 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7812 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7814 (_IO_flush_all_internal, _IO_adjust_column_internal)
7815 (_IO_default_uflow_internal, _IO_default_finish_internal)
7816 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7817 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7818 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7819 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7820 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7821 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7822 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7823 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7824 (_IO_file_close_internal, _IO_file_close_it_internal)
7825 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7826 (_IO_file_init_internal, _IO_file_attach_internal)
7827 (_IO_file_fopen_internal, _IO_file_read_internal)
7828 (_IO_file_sync_internal, _IO_file_seek_internal)
7829 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7830 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7831 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7832 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7833 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7834 (_IO_list_all_internal, _IO_link_in_internal)
7835 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7836 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7837 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7838 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7839 (_IO_do_write_internal, _IO_padn_internal)
7840 (_IO_getline_info_internal, _IO_getline_internal)
7841 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7842 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7843 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7844 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7845 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7846 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7847 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7848 with libc_hidden_ver, remove use of INTUSE.
7849 * libio/genops.c: Likewise.
7850 * libio/freopen.c: Likewise.
7851 * libio/freopen64.c: Likewise.
7852 * libio/iofclose.c: Likewise.
7853 * libio/iofdopen.c: Likewise.
7854 * libio/iofflush.c: Likewise.
7855 * libio/iofflush_u.c: Likewise.
7856 * libio/iofgets.c: Likewise.
7857 * libio/iofgets_u.c: Likewise.
7858 * libio/iofopen.c: Likewise.
7859 * libio/iofopncook.c: Likewise.
7860 * libio/iofread.c: Likewise.
7861 * libio/iofread_u.c: Likewise.
7862 * libio/ioftell.c: Likewise.
7863 * libio/iofwrite.c: Likewise.
7864 * libio/iogetline.c: Likewise.
7865 * libio/iogets.c: Likewise.
7866 * libio/iogetwline.c: Likewise.
7867 * libio/iopadn.c: Likewise.
7868 * libio/iopopen.c: Likewise.
7869 * libio/ioseekoff.c: Likewise.
7870 * libio/ioseekpos.c: Likewise.
7871 * libio/iosetbuffer.c: Likewise.
7872 * libio/iosetvbuf.c: Likewise.
7873 * libio/ioungetc.c: Likewise.
7874 * libio/ioungetwc.c: Likewise.
7875 * libio/iovdprintf.c: Likewise.
7876 * libio/iovsprintf.c: Likewise.
7877 * libio/iovsscanf.c: Likewise.
7878 * libio/memstream.c: Likewise.
7879 * libio/obprintf.c: Likewise.
7880 * libio/oldfileops.c: Likewise.
7881 * libio/oldiofclose.c: Likewise.
7882 * libio/oldiofdopen.c: Likewise.
7883 * libio/oldiofopen.c: Likewise.
7884 * libio/oldiopopen.c: Likewise.
7885 * libio/oldstdfiles.c: Likewise.
7886 * libio/putc.c: Likewise.
7887 * libio/setbuf.c: Likewise.
7888 * libio/setlinebuf.c: Likewise.
7889 * libio/stdfiles.c: Likewise.
7890 * libio/strops.c: Likewise.
7891 * libio/vasprintf.c: Likewise.
7892 * libio/vscanf.c: Likewise.
7893 * libio/vsnprintf.c: Likewise.
7894 * libio/vswprintf.c: Likewise.
7895 * libio/wfiledoalloc.c: Likewise.
7896 * libio/wfileops.c: Likewise.
7897 * libio/wgenops.c: Likewise.
7898 * libio/wmemstream.c: Likewise.
7899 * libio/wstrops.c: Likewise.
7900 * libio/__fpurge.c: Likewise.
7901 * libio/__fsetlocking.c: Likewise.
7902 * assert/assert.c: Likewise.
7903 * debug/fgets_chk.c: Likewise.
7904 * debug/fgets_u_chk.c: Likewise.
7905 * debug/fread_chk.c: Likewise.
7906 * debug/fread_u_chk.c: Likewise.
7907 * debug/gets_chk.c: Likewise.
7908 * debug/obprintf_chk.c: Likewise.
7909 * debug/vasprintf_chk.c: Likewise.
7910 * debug/vdprintf_chk.c: Likewise.
7911 * debug/vsnprintf_chk.c: Likewise.
7912 * debug/vsprintf_chk.c: Likewise.
7913 * malloc/mtrace.c: Likewise.
7914 * misc/error.c: Likewise.
7915 * misc/syslog.c: Likewise.
7916 * stdio-common/asprintf.c: Likewise.
7917 * stdio-common/fxprintf.c: Likewise.
7918 * stdio-common/getw.c: Likewise.
7919 * stdio-common/isoc99_fscanf.c: Likewise.
7920 * stdio-common/isoc99_scanf.c: Likewise.
7921 * stdio-common/isoc99_vfscanf.c: Likewise.
7922 * stdio-common/isoc99_vscanf.c: Likewise.
7923 * stdio-common/isoc99_vsscanf.c: Likewise.
7924 * stdio-common/printf-prs.c: Likewise.
7925 * stdio-common/printf_fp.c: Likewise.
7926 * stdio-common/printf_fphex.c: Likewise.
7927 * stdio-common/printf_size.c: Likewise.
7928 * stdio-common/putw.c: Likewise.
7929 * stdio-common/scanf.c: Likewise.
7930 * stdio-common/sprintf.c: Likewise.
7931 * stdio-common/tmpfile.c: Likewise.
7932 * stdio-common/vfprintf.c: Likewise.
7933 * stdio-common/vfscanf.c: Likewise.
7934 * stdlib/strfmon_l.c: Likewise.
7935 * sunrpc/openchild.c: Likewise.
7936 * sunrpc/xdr_stdio.c: Likewise.
7937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7938 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7940 2012-05-24 Roland McGrath <roland@hack.frob.com>
7942 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7944 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7945 in the third column, to generate for the shared library an IFUNC
7946 that uses _dl_vdso_vsym.
7947 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7948 * Makeconfig (object-suffixes-noshared): New variable.
7950 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7951 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7952 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7953 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7956 * include/sys/time.h (__gettimeofday): Remove macro.
7957 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7958 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7960 (__gettimeofday): Add libc_hidden_def.
7961 (gettimeofday): Add libc_hidden_weak.
7962 * sysdeps/mach/gettimeofday.c: Likewise.
7963 * sysdeps/posix/gettimeofday.c: Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7965 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7966 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7967 (__gettimeofday_internal): Remove strong_alias.
7968 (__gettimeofday): Add libc_hidden_def.
7969 (gettimeofday): Add libc_hidden_weak.
7970 * sysdeps/unix/syscalls.list (gettimeofday):
7971 Remove __gettimeofday_internal alias.
7973 2012-05-24 Daniel Jacobowitz <drow@false.org>
7974 H.J. Lu <hongjiu.lu@intel.com>
7977 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7978 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7979 (largebin_index_32_big): New.
7980 (largebin_index): Use it for 16-byte alignment.
7981 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7982 correction with front_misalign.
7984 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8012 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8013 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8015 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8019 * math/libm-test.inc (exp_test): Add test from bug 14036.
8020 (pow_test): Add test from bug 10846.
8022 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8024 (special_function): Do not include flags in test name.
8025 (parse_args): Likewise.
8026 * sysdeps/i386/fpu/libm-test-ulps: Update.
8027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8028 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8029 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8034 * math/libm-test.inc ("Philosophy"): Update comment about
8036 (UNDERFLOW_EXCEPTION): New macro.
8037 (UNDERFLOW_EXCEPTION_OK): Likewise.
8038 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8039 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8040 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8041 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8042 (INVALID_EXCEPTION_OK): Update value.
8043 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8044 (OVERFLOW_EXCEPTION_OK): Likewise.
8045 (IGNORE_ZERO_INF_SIGN): Likewise.
8046 (test_exceptions): Handle underflow exceptions.
8047 (acos_test): Update for underflow exception expectations.
8048 (cexp_test): Likewise.
8049 (clog_test): Likewise.
8050 (clog10_test): Likewise.
8051 (csqrt_test): Likewise.
8052 (ctan_test): Likewise.
8053 (ctanh_test): Likewise.
8054 (exp_test): Likewise.
8055 (exp10_test): Likewise.
8056 (exp2_test): Likewise.
8057 (expm1_test): Likewise.
8058 (fma_test): Likewise.
8059 (j0_test): Likewise.
8060 (jn_test): Likewise.
8061 (nexttoward_test): Likewise.
8062 (pow_test): Likewise.
8063 (scalbn_test): Likewise.
8064 (scalbln_test): Likewise.
8065 (tan_test): Likewise.
8066 (y1_test): Likewise.
8067 * sysdeps/i386/fpu/libm-test-ulps: Update.
8068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8070 2012-05-23 David S. Miller <davem@davemloft.net>
8072 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8073 (__libc_sigaction): Remove unused local variables.
8075 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8077 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8079 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8081 mktime: avoid signed integer overflow
8082 * time/mktime.c (__mktime_internal): Do not mishandle the case
8083 where diff == INT_MIN.
8085 mktime: simplify computation of average
8086 * time/mktime.c (ranged_convert): Use new time_t_avg function
8087 instead of rolling our own (probably-slower) code.
8089 mktime: do not assume signed right shift propagates sign bit
8090 * time/mktime.c (isdst_differ): New static function.
8091 (__mktime_internal): No need to normalize tm_isdst now.
8092 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8095 mktime: merge another wrapv change from gnulib
8096 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8097 from some compilers.
8099 mktime: remove incorrect attempt at unusual arithmetics
8100 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8101 The code didn't really work on such machines anyway.
8102 (TYPE_MINIMUM): Assume two's complement.
8103 (twos_complement_arithmetic): Verify that long_int and time_t
8104 are two's complement (or unsigned, in the latter case).
8106 mktime: check signed shifts on long_int and time_t, too
8107 * time/mktime.c (SHR): Check that shifts work as desired
8108 on the types long_int and time_t too, as SHR is used on
8111 mktime: do not assume 'long' is wide enough
8112 * time/mktime.c (verify): Move decl up.
8113 (long_int): New type.
8114 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8115 to remove assumption in the code that 'long' is wide enough to
8116 store year values. This assumption is not true on x32 and on
8117 some non-glibc platforms.
8119 mktime: merge wrapv change from gnulib
8120 * time/mktime.c (WRAPV): New macro.
8121 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8122 (guess_time_tm, __mktime_internal): Do not assume that signed
8123 integer overflow wraps around; modern compilers generate code
8124 where this assumption is no longer valid.
8126 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8128 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8129 Replace "jmp L(pseudo_end)" with "ret".
8130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8133 2012-05-23 Andreas Jaeger <aj@suse.de>
8135 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8136 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8138 2012-05-23 Andreas Jaeger <aj@suse.de>
8139 Maximilian Attems <max@stro.at>
8141 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8144 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8146 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8147 code so that pseudo_end is just ret and the stack pointer is
8148 correct also for static library in error case.
8150 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8152 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8153 move to syscalls.list.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8159 * manual/install.texi (Running make install): Do not mention Linux
8160 kernel version for which pt_chown is not needed.
8161 (Linux): Do not mention problems with nscd with 2.0 kernels.
8162 * INSTALL: Regenerated.
8164 2012-05-23 Andreas Jaeger <aj@suse.de>
8166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8167 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8169 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8170 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8171 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8172 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8173 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8174 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8177 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8179 * sysdeps/unix/sysv/linux/bits/in.h
8180 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8182 2012-05-22 Roland McGrath <roland@hack.frob.com>
8184 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8185 (PREPARE_VERSION): Just use assert instead, it will be elided
8186 under [NDEBUG] anyway.
8188 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8190 * sysdeps/unix/sysv/linux/Makefile: Include
8191 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8192 (sysdep_routines): Remove sysctl.
8193 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8194 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8195 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8196 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8197 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8199 2012-05-22 Andreas Jaeger <aj@suse.de>
8201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8202 that pseudo_end is just ret and the stack pointer is correct also
8203 for static library in error case.
8205 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8208 * nss/nsswitch.c (defconfig_entries): New variable.
8209 (__nss_database_lookup): Don't leak defconfig entries.
8210 (nss_parse_service_list): Don't leak on error paths.
8211 (free_database_entries): New function.
8212 (free_defconfig): New function.
8213 (free_mem): Move common code to free_database_entries.
8215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8217 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8219 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8221 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8222 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8225 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8226 (INTERNAL_SYSCALL_TYPES): Likewise.
8227 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8228 (LOAD_REGS_TYPES_[1-6]): Likewise.
8229 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8230 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8232 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8235 copysignl for GLIBC_2_0.
8236 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8237 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8239 logbl for GLIBC_2_0.
8240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8241 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8243 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8246 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8248 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8251 * time/mktime.c: Update copyright years.
8253 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8255 mktime: merge comment-quoting-style change from gnulib
8256 * time/mktime.c: Quote 'like this' in comments.
8257 The GNU coding standards suggest that we no longer quote `like this',
8258 as "`" and "'" are typically rendered asymmetrically nowadays.
8259 The typical gnulib style is to quote 'like this' when quoting
8260 code, and "like this" when quoting English.
8262 * time/mktime.c (compile-command): Add "-I.".
8264 mktime: merge mktime-internal.h change from gnulib
8265 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8267 mktime: merge time_r change from gnulib
8268 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8270 mktime: merge DEBUG change from gnulib
8271 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8272 case system <time.h> has a #define.
8274 mktime: merge <sys/types.h> change from gnulib
8275 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8276 since <time.t> is now guaranteed to define time_t.
8278 mktime: merge HAVE_CONFIG_H change from gnulib
8279 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8281 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8286 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8288 (struct rusage): Use anonymous union to pad each field to
8291 2012-05-21 David S. Miller <davem@davemloft.net>
8293 * Makefules (o-iterator): Remove .s cases.
8294 (compile-command.s): Delete.
8295 (COMPILE.s): Delete.
8296 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8298 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8300 * configure.in (libc_cv_predef_stack_protector): Only consider
8301 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8302 * configure: Regenerated.
8304 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8307 New macro. Use R*LP on int and pointer.
8308 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8313 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8314 [__WORDSIZE_TIME64_COMPAT32] instead of
8315 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8316 (struct utmp): Likewise.
8317 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8318 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8320 (__WORDSIZE_TIME64_COMPAT32): This.
8321 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8322 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8323 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8324 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8325 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8326 (__WORDSIZE_TIME64_COMPAT32): New macro.
8328 2012-05-21 Andreas Jaeger <aj@suse.de>
8330 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8331 only if [SHARED]. Add prototype for __wcschr_ia32.
8333 2012-05-21 Roland McGrath <roland@hack.frob.com>
8335 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8336 of %rbp unmolested in the jmp_buf while mangling the low bits.
8337 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8338 unmolested high bits of %rbp while demangling the low bits.
8339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8341 2012-05-21 Andreas Jaeger <aj@suse.de>
8343 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8344 * sunrpc/svc_simple.c: Use it for registerrpc.
8345 * sunrpc/xcrypt.c: Use it for passwd2des.
8347 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8349 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8351 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8352 Don't define if [__SYSCALL_WORDSIZE != 32].
8353 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8356 2012-05-21 Bruno Haible <bruno@clisp.org>
8357 Andreas Jaeger <aj@suse.de>
8359 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8360 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8361 inptr and inend for must_buffer_ch.
8362 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8363 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8364 * stdio-common/Makefile (tests): Remove bug15.
8365 (bug15-ENV): Remove macro.
8366 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8369 2012-05-19 Andreas Jaeger <aj@suse.de>
8370 Roland McGrath <roland@hack.frob.com>
8372 * manual/contrib.texi: Completely rewritten. It contains now an
8373 alphabetical list of contributors and their contributions.
8375 2012-05-21 Richard Henderson <rth@twiddle.net>
8377 * misc/getauxval.c (__getauxval): Use unsigned long int.
8378 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8379 (getauxval): Use unsigned long int.
8381 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8383 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8385 2012-05-21 Roland McGrath <roland@hack.frob.com>
8387 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8388 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8389 __alignof__ (long double).
8391 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8395 2012-05-20 Richard Henderson <rth@twiddle.net>
8397 * misc/getauxval.c: New file.
8398 * misc/sys/auxv.h: New file.
8399 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8400 (routines): Add getauxval.
8401 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8402 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8403 * elf/dl-sysdep.c (_dl_auxv): Remove.
8404 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8405 * elf/dl-support.c (_dl_auxv): New variable.
8406 (_dl_aux_init): Initialize it.
8407 * manual/startup.texi (Auxiliary Vector): New node.
8408 * sysdeps/generic/bits/hwcap.h: New file.
8409 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8410 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8411 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8412 * sysdeps/sparc/sysdep.h: ... here. Include it.
8413 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8426 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8430 2012-05-19 David S. Miller <davem@davemloft.net>
8432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8434 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8437 * math/s_ccosh.c: Include <float.h>
8438 (__ccosh): Avoid internal overflow calculating sinh and cosh
8439 values before multiplying by sin and cos values.
8440 * math/s_ccoshf.c: Likewise.
8441 * math/s_ccoshl.c: Likewise.
8442 * math/s_csin.c: Likewise.
8443 * math/s_csinf.c: Likewise.
8444 * math/s_csinl.c: Likewise.
8445 * math/s_csinh.c: Likewise.
8446 * math/s_csinhf.c: Likewise.
8447 * math/s_csinhl.c: Likewise.
8448 * math/libm-test.inc (ccos_test): Add more tests.
8449 (ccosh_test): Likewise.
8450 (csin_test): Likewise.
8451 (csinh_test): Likewise.
8452 * sysdeps/i386/fpu/libm-test-ulps: Update.
8453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8455 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8457 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8458 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8460 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8462 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8464 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8465 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8466 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8467 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8468 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8469 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8470 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8471 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8472 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8473 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8474 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8475 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8476 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8477 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8478 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8479 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8480 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8481 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8482 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8483 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8484 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8485 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8486 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8487 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8488 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8489 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8490 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8491 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8492 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8493 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8494 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8496 2012-05-18 Andreas Jaeger <aj@suse.de>
8498 * csu/.gitignore: Delete.
8500 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8502 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8503 (timex): Use __syscall_slong_t.
8505 2012-05-18 Andreas Jaeger <aj@suse.de>
8506 Carlos O'Donell <carlos_odonell@mentor.com>
8508 * manual/install.texi (Configuring and compiling): Update
8509 description about files modified in the source directory.
8510 * INSTALL: Regenerated.
8512 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8514 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8515 value. Use "or" to set return value to -1.
8516 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8517 negate return value.
8519 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8521 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8522 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8523 failure if the compiler has Graphite support disabled.
8524 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8526 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8527 CFLAGS-memmove.c): Likewise.
8528 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8531 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8533 * sysdeps/x86_64/x32/_itoa.h: New file.
8535 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8536 getdents system call only if kernel and user dirents have the
8537 same d_ino and d_off.
8539 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8540 LLONG_MAX != LONG_MAX.
8541 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8542 (_fitoa_word): Likewise.
8544 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8546 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8547 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8548 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8550 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8551 include <bits/wordsize.h>. Check __x86_64__ instead of
8553 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8554 if __x86_64__ is defined. Use anonymous union on fpstate.
8556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8559 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8561 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8562 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8563 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8564 Refer to _rtld_local_ro instead of _rtld_global_ro.
8565 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8567 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8569 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8571 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8572 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8573 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8575 * sysdeps/powerpc/powerpc32/dl-machine.c
8576 (__elf_machine_runtime_setup) [PROF]: Don't reference
8579 2012-05-18 Andreas Jaeger <aj@suse.de>
8581 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8582 function only available for GCCs before 3.4 since GCC 3.4
8583 introduced a builtin.
8585 (llrintf): Likewise.
8593 (nearbyint): Likewise.
8594 (nearbyintf): Likewise.
8600 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8602 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8603 on both fields and cast pointer to __syscall_ulong_t.
8605 * bits/types.h (__fsword_t): New type.
8606 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8607 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8609 (__FSWORD_T_TYPE): Likewise.
8610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8611 (__FSWORD_T_TYPE): Likewise.
8612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8613 (__FSWORD_T_TYPE): Likewise.
8614 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8615 (__FSWORD_T_TYPE): Likewise.
8616 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8617 __SWORD_TYPE with __fsword_t.
8618 (statfs64): Likewise.
8620 2012-05-17 David S. Miller <davem@davemloft.net>
8622 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8624 2012-05-17 Andreas Jaeger <aj@suse.de>
8626 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8629 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8631 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8633 2012-05-17 Andreas Jaeger <aj@suse.de>
8635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8638 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8640 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8642 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8644 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8645 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8647 2012-05-17 Andreas Jaeger <aj@suse.de>
8648 Carlos O'Donell <carlos_odonell@mentor.com>
8651 * sysdeps/x86_64/multiarch/init-arch.h
8652 (bit_YMM_Usable): Rename to...
8653 (bit_AVX_Usable): ... this.
8654 (bit_FMA4_Usable): New macro.
8655 (bit_XMM_state): New macro.
8656 (bit_YMM_state): New macro.
8657 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8658 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8659 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8660 (CPUID_OSXSAVE): New macro.
8661 (CPUID_AVX): New macro.
8662 (CPUID_FMA4): New macro.
8663 (index_YMM_Usable): Rename to...
8664 (index_AVX_Usable): ... this.
8665 (HAS_AVX): Use HAS_ARCH_FEATURE.
8666 (HAS_FMA4): Likewise.
8667 (HAS_YMM_USABLE): Remove.
8668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8669 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8671 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8672 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8673 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8674 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8675 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8677 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8679 * math/libm-test.c: Support platforms without multiple rounding modes.
8680 * math/bug-nextafter.c: Support platforms without FP exceptions.
8681 * math/bug-nexttoward.c: Likewise.
8682 * math/test-fenv.c: Likewise.
8683 * math/test-misc.c: Likewise.
8684 * stdlib/bug-getcontext.c: Likewise.
8686 2012-05-17 Andreas Jaeger <aj@suse.de>
8688 * manual/examples/search.c (critter_cmp): Change signature to
8690 * manual/string.texi (Collation Functions): Likewise.
8692 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8694 * bits/types.h: Fold copyright years.
8695 * bits/typesizes.h: Likewise.
8696 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8698 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8700 * time/time.h: Likewise.
8702 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8705 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8706 in instead of returning them. Return void.
8707 (__libc_mallinfo): Accumulate over all arenas.
8708 (__malloc_stats): Adjust for change in int_mallinfo interface.
8710 2012-05-16 Roland McGrath <roland@hack.frob.com>
8713 * configure.in (NM): Add AC_CHECK_TOOL for it.
8714 (libc_extra_cflags): New substituted variable.
8715 Check for -fstack-protector being used implicitly.
8716 * configure: Regenerated.
8717 * config.make.in (config-extra-cflags): New variable,
8718 gets @libc_extra_cflags@.
8719 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8722 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8723 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8724 * configure: Regenerated.
8725 * config.make.in (CPPUNDEFS): New substituted variable.
8726 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8727 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8728 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8730 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8732 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8733 (mq_attr): Use __syscall_slong_t.
8735 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8737 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8738 Check __x86_64__ instead of __WORDSIZE.
8739 (_STAT_VER_LINUX): Likewise.
8740 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8741 __syscall_ulong_t and __syscall_slong_t.
8744 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8748 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8750 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8754 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8757 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8758 include <bits/wordsize.h>. Check __x86_64__ instead of
8760 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8762 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8764 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8765 include <bits/wordsize.h>. Check __x86_64__ instead of
8767 (user_regs_struct): Use "__extension__ unsigned long long"
8768 instead of "unsigned long" if __x86_64__ is defined.
8769 (user): Likewise. Pad after pointer field if __ILP32__ is
8772 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8774 * configure.in (makeinfo): Require version 4.5 or later. Allow
8776 * configure: Regenerated.
8777 * manual/install.texi (texinfo): Increase version requirement to
8779 * INSTALL: Regenerated.
8781 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8785 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8787 * sysdeps/x86_64/x32/ffs.c: New file.
8789 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8791 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8792 defined. Use __syscall_ulong_t.
8793 (shminfo): Use __syscall_ulong_t.
8794 (shm_info): Likewise.
8796 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8799 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8801 (msgqnum_t): Use __syscall_ulong_t.
8802 (msglen_t): Likewise.
8803 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8806 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8807 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8809 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8811 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8812 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8814 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8817 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8818 include <bits/wordsize.h>. Check __x86_64__ instead of
8821 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8822 "unsigned long long int" if __x86_64__ is defined.
8823 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8826 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8827 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8829 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8831 (GET_PC): Cast to uintptr_t first.
8832 (GET_FRAME): Likewise.
8833 (GET_STACK): Likewise.
8835 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8836 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8837 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8839 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8841 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8842 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8843 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8844 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8847 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8850 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8851 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8859 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8861 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8865 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8867 * Makerules (+depfiles): Also collect depfiles from .oS in
8869 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8870 .oS, $(libnldbl-routines)).
8872 * Makerules (native-compile-mkdep-flags): Define.
8873 * sunrpc/Makefile (extra-objs): Add $(addprefix
8874 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8875 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8876 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8877 calling $(make-target-directory).
8879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8881 * bits/types.h (__snseconds_t): Removed.
8882 * time/time.h (struct timespec): Replace __snseconds_t with
8884 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8885 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8888 (__SNSECONDS_T_TYPE): Likewise.
8889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8890 (__SNSECONDS_T_TYPE): Likewise.
8891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8892 (__SNSECONDS_T_TYPE): Likewise.
8894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8896 * sysdeps/mach/hurd/bits/typesizes.h
8897 (__SYSCALL_SLONG_TYPE): New macro.
8898 (__SYSCALL_ULONG_TYPE): Likewise.
8900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8902 * bits/types.h (__syscall_slong_t): New type.
8903 (__syscall_ulong_t): Likewise.
8905 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8906 (__SYSCALL_ULONG_TYPE): Likewise.
8907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8908 (__SYSCALL_SLONG_TYPE): Likewise.
8909 (__SYSCALL_ULONG_TYPE): Likewise.
8910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8911 (__SYSCALL_SLONG_TYPE): Likewise.
8912 (__SYSCALL_ULONG_TYPE): Likewise.
8913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8914 (__SYSCALL_SLONG_TYPE): Likewise.
8915 (__SYSCALL_ULONG_TYPE): Likewise.
8917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8919 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8920 Add sigaltstack-offsets.sym.
8921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8922 <sigaltstack-offsets.h>.
8923 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8924 longjmp_msg pointer.
8925 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8926 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8928 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8930 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8932 * elf/stackguard-macros.h: Remove file.
8933 * sysdeps/generic/stackguard-macros.h: New file.
8934 * sysdeps/i386/stackguard-macros.h: Likewise.
8935 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8936 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8937 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8938 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8939 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8940 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8941 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8942 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8943 <elf/stackguard-macros.h>.
8946 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8947 __aligned__ in attribute.
8948 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8949 (gregset_t): Likewise.
8951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8953 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8954 * sysdeps/x86_64/64/Implies-after: Here. New file.
8955 * sysdeps/x86_64/x32/Implies-after: New file.
8957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8959 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8960 and access return value for _dl_profile_fixup. Use R10_LP to
8963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8965 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8969 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8970 * sysdeps/x86_64/x32/sysdep.h: New file.
8972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8974 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8975 * sysdeps/x86_64/setjmp.S: Likewise.
8977 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8980 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8981 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8982 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8983 remove unused global constant.
8985 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8987 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8988 include of <not-cancel.h>.
8990 2012-05-15 Roland McGrath <roland@hack.frob.com>
8992 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8994 2012-05-15 Jeff Law <law@redhat.com>
8995 Andreas Jaeger <aj@suse.de>
8998 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9000 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9001 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9002 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9003 code changing __hst_map_handle.map.
9005 2012-05-15 Roland McGrath <roland@hack.frob.com>
9007 * configure.in (sysnames): Look for Implies-before and Implies-after
9009 * configure: Regenerated.
9011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9013 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9014 8-byte data alignment with LP_SIZE alignment.
9016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9018 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9023 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9027 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9028 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9031 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9035 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9036 (stackinfo_sub_sp): Likewise.
9038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9055 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9059 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9060 into R11_LP and load __x86_64_shared_cache_size_half into
9063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9065 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9068 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9076 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9077 powerpc32/power7/fpu/s_logb.c via #include.
9078 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9079 powerpc32/power7/fpu/s_logbf.c via #include.
9080 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9081 powerpc32/power7/fpu/s_logbl.c via #include.
9083 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9085 * README.libm: Remove file.
9087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9089 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9090 count for x32. Use R*_LP and omit operand-size suffix.
9092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9094 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9095 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9096 * sysdeps/x86_64/x32/shlib-versions: New file.
9098 2012-05-14 Roland McGrath <roland@hack.frob.com>
9100 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9101 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9102 Use _dl_fatal_printf instead.
9104 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9106 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9107 set if not set by the user. Do not allow for being unset.
9108 * sysdeps/unix/sysv/linux/configure: Regenerated.
9110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9112 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9113 the `q' suffix from lea and replace .quad with ASM_ADDR.
9115 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9118 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9120 (PTR_DEMANGLE): Likewise.
9122 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9124 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9126 (ASM_ADDR): Likewise.
9144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9146 * sysdeps/x86_64/x32/dl-machine.h: New file.
9148 2012-05-14 Andreas Jaeger <aj@suse.de>
9150 * manual/Makefile (subdir): Remove export of subdir.
9151 (all): Remove target.
9152 (.PHONY): Remove all from list.
9153 (mkinstalldirs): Remove.
9154 (.PHONY): Remove installdirs from list.
9155 ($(inst_infodir)/libc.info): Use make-target-directory.
9156 (installdirs): Remove.
9158 (glibc-targets): Remove.
9161 ($(objpfx)stubs ../po/manual.pot): Remove.
9162 ($(objpfx)stamp%): Remove.
9163 (make-target-directory): Remove.
9164 (subdir_install): Remove.
9172 * manual/.gitignore: Remove, it's not needed anymore.
9173 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9175 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9177 (texis): Renamed to $(objpfx)texis.
9178 (texis-path): New, contains path to generated files.
9179 (chapters.%): Use texis-path for complete path, add extra argument
9181 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9182 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9183 (summary,texi, stamp-summary): Use complete path of
9184 files. Generate files in build dir.
9185 (dir-add.texi): Build in build dir.
9186 (libm-err.texi,stamp-libm-err): Likewise.
9187 (version.texi, stamp-version): Likewise.
9188 (.%c.texi): Likewise.
9189 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9190 (mostlyclean): Remove target.
9191 (realclean): Remove target.
9192 (generated): Add new variable with contents from mostlyclean and
9193 realclean, remove entries duplicated in common-mostlyclean, add
9194 stamp-libm-err and stamp-version.
9195 (generated-dirs): Add libc directory.
9196 ($(inst_infodir)/libc.info): Install files from build dir.
9198 * manual/install.texi (Configuring and compiling): Adjust since
9199 the info files are not part of the tar ball anymore.
9201 2012-05-14 Andreas Jaeger <aj@suse.de>
9203 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9206 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9210 to 2.2.0 where earlier.
9211 * sysdeps/unix/sysv/linux/configure: Regenerated.
9212 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9213 Remove conditional code.
9214 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9215 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9216 Remove conditional code.
9217 [!__NR_lchown]: Likewise.
9218 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9219 [__NR_lchown]: Likewise.
9220 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9221 comment referencing __ASSUME_LCHOWN_SYSCALL.
9222 * sysdeps/unix/sysv/linux/i386/sigaction.c
9223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9225 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9226 Remove conditional code.
9227 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9228 (__protocol_available): Remove #if 0 code.
9229 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9231 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9232 * sysdeps/unix/sysv/linux/kernel-features.h
9233 (__ASSUME_GETCWD_SYSCALL): Don't define.
9234 (__ASSUME_REALTIME_SIGNALS): Likewise.
9235 (__ASSUME_PREAD_SYSCALL): Likewise.
9236 (__ASSUME_PWRITE_SYSCALL): Likewise.
9237 (__ASSUME_POLL_SYSCALL): Likewise.
9238 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9239 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9241 (__ASSUME_SIOCGIFNAME): Don't define.
9242 (__ASSUME_MSG_NOSIGNAL): Likewise.
9243 (__ASSUME_SENDFILE): Define unconditionally.
9244 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9245 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9247 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9248 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9249 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9250 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9251 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9252 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9253 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9278 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9279 Remove conditional code.
9280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9281 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9282 Remove conditional code.
9283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9284 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9285 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9286 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9287 Remove conditional code.
9288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9289 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9290 Remove conditional code.
9291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9292 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9293 Remove conditional code.
9294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9295 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9296 Remove conditional code.
9297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9298 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9299 Remove conditional code.
9300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9301 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9304 * sysdeps/unix/sysv/linux/sigaction.c
9305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9307 * sysdeps/unix/sysv/linux/sigpending.c
9308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9310 * sysdeps/unix/sysv/linux/sigprocmask.c
9311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9313 * sysdeps/unix/sysv/linux/sigsuspend.c
9314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9317 (__libc_missing_rt_sigs): Remove.
9318 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9319 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9320 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9321 Remove conditional code.
9322 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9323 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9326 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9328 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9330 2012-05-14 Andreas Jaeger <aj@suse.de>
9332 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9333 it's not used in glibc.
9334 (__coshm1): Likewise.
9335 (__acosh1p): Likewise.
9338 * manual/string.texi (Copying and Concatenation): Add missing
9339 variable in concat example.
9340 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9345 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9346 __builtin_clzl with __builtin_clzll.
9348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9351 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9354 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9356 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9357 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9358 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9359 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9361 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9363 * NEWS: Update ia64 info.
9365 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9367 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9370 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9372 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9373 * sysdeps/unix/syscalls.list (dup3): Likewise.
9374 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9375 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9377 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9379 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9380 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9382 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9384 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9386 (TLS_IE): Use mov/add instead of movq/addq to load thread
9388 (TLS_GD_PREFIX): New.
9391 2012-05-11 David S. Miller <davem@davemloft.net>
9393 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9394 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9395 (_FPU_SETCW): Likewise.
9397 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9399 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9402 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9405 * iconvdata/gb18030.c: Update tables.
9406 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9407 characters specially.
9408 (BODY for TO_LOOP): Add encoding of missing ranges.
9410 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9413 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9414 * sysdeps/mach/hurd/dup3.c: Likewise.
9415 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9416 * sysdeps/powerpc/memmove.c:: Likewise.
9418 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9421 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9423 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9425 * elf/elf.h (R_X86_64_RELATIVE64): New.
9426 (R_X86_64_NUM): Updated.
9427 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9428 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9429 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9430 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9431 tst-quad1pie tst-quad2pie
9432 (modules-names): Add tst-quadmod1 tst-quadmod2.
9433 ($(objpfx)tst-quad1): New dependency.
9434 ($(objpfx)tst-quad2): Likewise.
9435 ($(objpfx)tst-quad1pie): Likewise.
9436 ($(objpfx)tst-quad2pie): Likewise.
9437 * sysdeps/x86_64/tst-quad1.c: New file.
9438 * sysdeps/x86_64/tst-quad1pie.c: New file.
9439 * sysdeps/x86_64/tst-quad2.c: Likewise.
9440 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9441 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9442 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9443 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9444 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9446 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9448 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9449 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9450 * streams/stropts.h (t_scalar_t): Define type.
9452 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9453 (_PATH_PRESERVE): Set to "/var/lib".
9454 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9456 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9459 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9460 if __dir_mkfile succeeded.
9462 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9463 checking for _hurd_dtablesize. Unlock it right after having
9464 finished _hurd_dtable allocation.
9466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9468 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9469 * sysdeps/mach/hurd/configure: Regenerated.
9470 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9471 special-casing to...
9472 * sysdeps/gnu/configure.in: ... this new file.
9473 * sysdeps/unix/sysv/linux/configure: Regenerated.
9474 * sysdeps/gnu/configure: New generated file.
9476 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9477 for Linux: use nsec instead of usec, as well as:
9478 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9479 members of type struct timespec.
9480 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9482 (struct stat64): Likewise.
9483 (_STATBUF_ST_NSEC): New macro.
9484 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9486 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9487 __strtoul_internal rather than strtoul.
9489 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9491 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9496 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9497 which preserves existing values.
9498 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9500 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9502 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9503 TIMEOUT values. Return EINVAL for NFDS values either negative or
9504 greater than FD_SETSIZE.
9506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9508 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9509 allocated, call __vm_protect to finish enabling the existing space, and
9510 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9511 allocate the remainder.
9513 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9515 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9516 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9520 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9521 sysdeps/mach/hurd/readlink.c.
9523 * posix/tst-sysconf.c (posix_options): Only use
9524 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9525 _POSIX_SYNCHRONIZED_IO when they are defined
9526 * sysdeps/mach/hurd/bits/posix_opt.h:
9527 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9528 (_XOPEN_REALTIME): Undefine macro.
9529 (_XOPEN_REALTIME_THREADS): Undefine macro.
9530 (_XOPEN_SHM): Undefine macro.
9531 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9533 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9535 (_POSIX_ASYNC_IO): Undefine macro.
9536 (_POSIX_PRIORITIZED_IO): Undefine macro.
9537 (_POSIX_SPIN_LOCKS): Define macro to -1.
9539 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9540 SA_NODEFER, SA_RESETHAND.
9541 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9542 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9547 * elf/Makefile (pldd-modules): Define unconditionally.
9549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9551 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9555 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9556 Return ENOENT when name is empty.
9557 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9561 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9563 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9567 Fix mlock in all cases except non-readable pages.
9568 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9569 instead of VM_PROT_ALL as parameter to __vm_wire function.
9571 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9572 (__mkdir): When path is `/', just fail with EEXIST.
9573 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9577 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9578 <sys/uio.h> (for writev).
9579 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9580 and <sys/param.h> (for MIN).
9582 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9584 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9585 REQUESTED_TIME. Properly set the remaining time and return EINTR
9588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9590 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9591 Depend on against $(link-rpcuserlibs).
9593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9595 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9596 (__libc_stack_end): Do not use attribute_relro.
9597 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9598 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9599 to libthread-provided value.
9600 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9606 * bits/libc-lock.h (__libc_once_get): New macro.
9607 * sysdeps/mach/bits/libc-lock.h: Likewise.
9608 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9610 instead of using implementation details.
9612 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9613 * libio/freopen.c: Likewise.
9614 * libio/freopen64.c: Likewise.
9615 * misc/syslog.c: Likewise.
9616 * nscd/connections.c: Likewise.
9617 * nscd/netgroupcache.c: Likewise.
9618 * sysdeps/posix/getcwd.c: Likewise.
9620 2012-05-10 Roland McGrath <roland@hack.frob.com>
9622 * math/w_ilogbf.c: Add #include <limits.h>.
9624 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9626 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9627 path instead of returning without unlocking.
9629 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9630 immediate-write ioctls.
9631 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9635 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9636 __builtin_frame_address instead of making assumptions about the
9637 location of the return address relative to DATA. Force early load of
9639 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9640 __builtin_frame_address.
9643 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9644 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9645 implement dup3 and do some further code clean-ups.
9646 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9647 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9651 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9653 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9654 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9655 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9656 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9657 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9660 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9661 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9662 when handler == SIG_ERR, not when handler != SIG_ERR.
9664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9666 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9667 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9670 accept4 for GNU Hurd.
9671 * include/sys/socket.h (__libc_accept4): New prototype.
9672 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9673 to implement __libc_accept4.
9674 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9676 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9678 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9679 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9680 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9685 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9689 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9690 assertion on O_CLOEXEC flag.
9691 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9692 * hurd/intern-fd.c: Likewise.
9693 * hurd/port2fd.c: Likewise.
9695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9698 * bits/in.h (IPV6_PKTINFO): Define new macro.
9699 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9701 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9706 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9708 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9709 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9711 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9712 * math/libm-test.inc (logb_test) : Additional logb tests.
9714 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9715 Andreas Jaeger <aj@suse.de>
9717 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9718 * configure: Regenerated.
9719 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9720 * config.make.in (link-obsolete-rpc): New substituted variable.
9721 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9722 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9723 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9724 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9725 so that libc.a contains the symbols.
9726 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9727 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9728 * sunrpc/auth_none.c: Likewise.
9729 * sunrpc/auth_unix.c: Likewise.
9730 * sunrpc/authdes_prot.c: Likewise.
9731 * sunrpc/authuxprot.c: Likewise.
9732 * sunrpc/clnt_gen.c: Likewise.
9733 * sunrpc/clnt_perr.c: Likewise.
9734 * sunrpc/clnt_raw.c: Likewise.
9735 * sunrpc/clnt_simp.c: Likewise.
9736 * sunrpc/clnt_tcp.c: Likewise.
9737 * sunrpc/clnt_udp.c: Likewise.
9738 * sunrpc/clnt_unix.c: Likewise.
9739 * sunrpc/des_crypt.c: Likewise.
9740 * sunrpc/des_soft.c: Likewise.
9741 * sunrpc/get_myaddr.c: Likewise.
9742 * sunrpc/key_call.c: Likewise.
9743 * sunrpc/key_prot.c: Likewise.
9744 * sunrpc/netname.c: Likewise.
9745 * sunrpc/pm_getmaps.c: Likewise.
9746 * sunrpc/pm_getport.c: Likewise.
9747 * sunrpc/pmap_clnt.c: Likewise.
9748 * sunrpc/pmap_prot.c: Likewise.
9749 * sunrpc/pmap_prot2.c: Likewise.
9750 * sunrpc/pmap_rmt.c: Likewise.
9751 * sunrpc/publickey.c: Likewise.
9752 * sunrpc/rpc_cmsg.c: Likewise.
9753 * sunrpc/rpc_common.c: Likewise.
9754 * sunrpc/rpc_dtable.c: Likewise.
9755 * sunrpc/rpc_prot.c: Likewise.
9756 * sunrpc/rpc_thread.c: Likewise.
9757 * sunrpc/rtime.c: Likewise.
9758 * sunrpc/svc.c: Likewise.
9759 * sunrpc/svc_auth.c: Likewise.
9760 * sunrpc/svc_raw.c: Likewise.
9761 * sunrpc/svc_run.c: Likewise.
9762 * sunrpc/svc_tcp.c: Likewise.
9763 * sunrpc/svc_udp.c: Likewise.
9764 * sunrpc/svc_unix.c: Likewise.
9765 * sunrpc/svcauth_des.c: Likewise.
9766 * sunrpc/xcrypt.c: Likewise.
9767 * sunrpc/xdr.c: Likewise.
9768 * sunrpc/xdr_array.c: Likewise.
9769 * sunrpc/xdr_float.c: Likewise.
9770 * sunrpc/xdr_intXX_t.c: Likewise.
9771 * sunrpc/xdr_mem.c: Likewise.
9772 * sunrpc/xdr_rec.c: Likewise.
9773 * sunrpc/xdr_ref.c: Likewise.
9774 * sunrpc/xdr_sizeof.c: Likewise.
9775 * sunrpc/xdr_stdio.c: Likewise.
9777 2012-05-10 Roland McGrath <roland@hack.frob.com>
9779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9780 change. Update copyright years.
9782 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9784 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9786 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9787 Joseph Myers <joseph@codesourcery.com>
9788 Paul Pluzhnikov <ppluzhnikov@google.com>
9791 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9793 [cross-compiling] (extra-libs): Likewise.
9794 [cross-compiling] (extra-libs-others): Likewise.
9795 [cross-compiling] (librpcsvc-routines): Likewise.
9796 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9797 [cross-compiling] (omit-deps): Likewise.
9798 (sunrpc-CPPFLAGS): New variable.
9799 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9800 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9801 (cross-rpcgen-objs): New variable.
9802 (extra-objs): Append $(cross-rpcgen-objs).
9803 ($(cross-rpcgen-objs)): New rule.
9804 ($(objpfx)cross-rpcgen): Likewise.
9805 (rpcgen-cmd): Define to use $(built-program-file). Expand
9807 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9808 ($(objpfx)x%.stmp): Likewise.
9809 * sunrpc/proto.h [IS_IN_build] (_): Define.
9810 [IS_IN_build] (_libc_intl_domainname): Likewise.
9812 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9815 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9816 and R_X86_64_TPOFF64.
9818 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9820 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9821 sysdeps/unix/sysv/syscalls.list.
9824 * sysdeps/unix/sysv/syscalls.list: Remove file.
9826 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9829 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9830 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9831 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9832 (__LC_IDENTIFICATION): Make these macros useful in #if
9833 expressions, as required by C99.
9835 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9837 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9838 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9841 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9843 * stdlib/longlong.h: Updated from GCC.
9845 2012-05-09 Andreas Jaeger <aj@suse.de>
9847 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9848 default is first entry.
9849 (run_mode): Set type.
9850 (main): Remove informal message about syslog.
9851 (options): Fix typo.
9854 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9857 (llrintf): Likewise.
9861 (nearbyint): Likewise.
9862 (nearbyintf): Likewise.
9864 2012-05-09 Andreas Jaeger <aj@suse.de>
9865 Pedro Alves <palves@redhat.com>
9867 * nscd/nscd.c (run_mode): Use enum.
9868 (main): Cleanup coding style issue.
9870 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9871 Andreas Jaeger <aj@suse.de>
9873 * nscd/nscd.c (go_background): Replaced with...
9874 (run_mode): ... this.
9875 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9876 (options): Add -F --foreground.
9877 (main): Implement it.
9878 (parse_opt): Parse it.
9880 2012-05-09 Andreas Jaeger <aj@suse.de>
9883 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9884 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9885 -Wconversion warning.
9886 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9889 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9891 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9893 (LC_ALL): Use macro-int-constant.
9894 (LC_COLLATE): Likewise.
9895 (LC_CTYPE): Likewise.
9896 (LC_MESSAGES): Likewise.
9897 (LC_MONETARY): Likewise.
9898 (LC_NUMERIC): Likewise.
9899 (LC_TIME): Likewise.
9900 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9901 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9903 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9905 [C99-based standards] (float_t): Expect type.
9906 [C99-based standards] (double_t): Expect type.
9907 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9909 [C99-based standards] (HUGE_VALL): Likewise.
9910 [C99-based standards] (INFINITY): Likewise.
9911 [C99-based standards] (NAN): Likewise.
9912 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9913 [C99-based standards] (FP_NAN): Likewise.
9914 [C99-based standards] (FP_NORMAL): Likewise.
9915 [C99-based standards] (FP_SUBNORMAL): Likewise.
9916 [C99-based standards] (FP_ZERO): Likewise.
9917 [C99-based standards] (FP_FAST_FMA): Use
9918 optional-macro-int-constant. Specify type. Require == 1.
9919 [C99-based standards] (FP_FAST_FMAF): Likewise.
9920 [C99-based standards] (FP_FAST_FMAL): Likewise.
9921 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9922 [C99-based standards] (FP_ILOGBNAN): Likewise.
9923 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9925 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9926 [C99-based standards] (math_errhandling): Specify type.
9927 [ISO99 || ISO11] (signgam): Do not allow.
9928 [non-C99-based standards] (copysignf): Do not allow.
9929 [non-C99-based standards] (exp2f): Likewise.
9930 [non-C99-based standards] (log2f): Likewise.
9931 [non-C99-based standards] (modff): Allow.
9932 [non-C99-based standards] (erff): Do not allow.
9933 [non-C99-based standards] (erfcf): Likewise.
9934 [non-C99-based standards] (gammaf): Likewise.
9935 [non-C99-based standards] (hypotf): Likewise.
9936 [non-C99-based standards] (j0f): Likewise.
9937 [non-C99-based standards] (j1f): Likewise.
9938 [non-C99-based standards] (jnf): Likewise.
9939 [non-C99-based standards] (lgammaf): Likewise.
9940 [non-C99-based standards] (tgammaf): Likewise.
9941 [non-C99-based standards] (y0f): Likewise.
9942 [non-C99-based standards] (y1f): Likewise.
9943 [non-C99-based standards] (ynf): Likewise.
9944 [non-C99-based standards] (isnanf): Likewise.
9945 [non-C99-based standards] (acoshf): Likewise.
9946 [non-C99-based standards] (asinhf): Likewise.
9947 [non-C99-based standards] (atanhf): Likewise.
9948 [non-C99-based standards] (cbrtf): Likewise.
9949 [non-C99-based standards] (expm1f): Likewise.
9950 [non-C99-based standards] (ilogbf): Likewise.
9951 [non-C99-based standards] (log1pf): Likewise.
9952 [non-C99-based standards] (logbf): Likewise.
9953 [non-C99-based standards] (nextafterf): Likewise.
9954 [non-C99-based standards] (remainderf): Likewise.
9955 [non-C99-based standards] (rintf): Likewise.
9956 [non-C99-based standards] (scalbf): Likewise.
9957 [non-C99-based standards] (copysignl): Likewise.
9958 [non-C99-based standards] (exp2l): Likewise.
9959 [non-C99-based standards] (log2l): Likewise.
9960 [non-C99-based standards] (modfl): Allow.
9961 [non-C99-based standards] (erfl): Do not allow.
9962 [non-C99-based standards] (erfcl): Likewise.
9963 [non-C99-based standards] (gammal): Likewise.
9964 [non-C99-based standards] (hypotl): Likewise.
9965 [non-C99-based standards] (j0l): Likewise.
9966 [non-C99-based standards] (j1l): Likewise.
9967 [non-C99-based standards] (jnl): Likewise.
9968 [non-C99-based standards] (lgammal): Likewise.
9969 [non-C99-based standards] (tgammal): Likewise.
9970 [non-C99-based standards] (y0l): Likewise.
9971 [non-C99-based standards] (y1l): Likewise.
9972 [non-C99-based standards] (ynl): Likewise.
9973 [non-C99-based standards] (isnanl): Likewise.
9974 [non-C99-based standards] (acoshl): Likewise.
9975 [non-C99-based standards] (asinhl): Likewise.
9976 [non-C99-based standards] (atanhl): Likewise.
9977 [non-C99-based standards] (cbrtl): Likewise.
9978 [non-C99-based standards] (expm1l): Likewise.
9979 [non-C99-based standards] (ilogbl): Likewise.
9980 [non-C99-based standards] (log1pl): Likewise.
9981 [non-C99-based standards] (logbl): Likewise.
9982 [non-C99-based standards] (nextafterl): Likewise.
9983 [non-C99-based standards] (remainderl): Likewise.
9984 [non-C99-based standards] (rintl): Likewise.
9985 [non-C99-based standards] (scalbl): Likewise.
9986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9987 [non-C99-based standards] (FP_*): Do not allow.
9988 [C99-based standards] (FP_*): Change to
9989 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9990 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9992 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9993 (SIG_ERR): Likewise.
9994 [X/Open-based standards] (SIG_HOLD): Likewise.
9995 (SIG_IGN): Likewise.
9996 (SIGABRT): Use macro-int-constant. Specify type. Require
10000 (SIGINT): Likewise.
10001 (SIGSEGV): Likewise.
10002 (SIGTER): Likewise.
10003 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10004 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10005 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10006 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10007 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10008 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10009 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10010 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10011 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10012 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10013 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10014 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10015 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10016 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10017 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10018 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10019 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10020 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10021 [X/Open-based standards] (SIGTRAP): Likewise.
10022 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10023 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10024 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10025 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10026 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10029 2012-05-08 Ian Wienand <ianw@vmware.com>
10032 * time/tzset.c (__tzset_parse_tz): Update default rules for
10033 daylight time changes in the Energy Policy Act of 2005.
10035 2012-05-09 Andreas Jaeger <aj@suse.de>
10038 * elf/ldconfig.c (parse_conf): Change string to make clear that
10039 ldconfig only issued a warning if ld.so.conf does not exist.
10041 2012-05-08 David S. Miller <davem@davemloft.net>
10043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10044 movxtod instead of popping the value on the stack.
10046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10048 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10050 * config.h.in: Add HAVE_ARM_PCS_VFP.
10052 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10055 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10056 checking but the checks are disabled for any reason.
10058 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10060 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10061 and ELF64_R_TYPE with ELFW(R_TYPE).
10063 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10065 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10066 (ulimit): Likewise.
10068 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10069 (settimeofday): Likewise.
10071 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10073 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10074 a struct th_u2 inside the union, and move tu_block/tu_code into
10075 a new th_u3 union of tu_block/tu_code inside of that. Move
10076 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10077 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10078 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10079 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10080 (th_stuff): Change to th_u1.tu_stuff.
10082 (th_msg): Change to th_u1.th_u2.tu_data.
10084 2012-05-07 David S. Miller <davem@davemloft.net>
10086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10089 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10090 (SETUP_PIC_REG): Use it.
10091 (SETUP_PIC_REG_LEAF): Use it.
10093 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10097 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10099 (EXPL_FINITE): Likewise.
10100 (FLDLOG): Likewise.
10101 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10102 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10106 (EXPL_FINITE): Likewise.
10107 (FLDLOG): Likewise.
10108 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10109 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10111 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10112 test of -max_value argument for long double.
10113 * sysdeps/i386/fpu/libm-test-ulps: Update.
10114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10116 2012-05-06 David S. Miller <davem@davemloft.net>
10118 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10119 quad soft-float symbols whose references which are compiler
10121 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10123 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10127 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10129 (EXPL_FINITE): Likewise.
10130 (FLDLOG): Likewise.
10133 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10134 Adjust comments for base varying.
10135 (__expl_finite): Change alias to EXPL_FINITE.
10136 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10138 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10139 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10141 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10142 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10144 (EXPL_FINITE): Likewise.
10145 (FLDLOG): Likewise.
10148 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10149 Adjust comments for base varying.
10150 (__expl_finite): Change alias to EXPL_FINITE.
10151 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10156 * math/libm-test.inc (check_float_internal): Correct ulp
10157 calculation for subnormal expected results.
10159 2012-05-06 Andreas Jaeger <aj@suse.de>
10161 * Makeconfig (+math-flags): New, set to -frounding-math.
10162 (+cflags): Add +math-flags so that all of glibc gets compiled with
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10167 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10169 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10175 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10176 (__ieee754_expl): Allow for and saturate large arguments.
10177 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10178 (u_threshold): Likewise.
10179 (__exp): Call __ieee754_exp before checking for overflow and
10181 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10182 (u_threshold): Likewise.
10183 (__expf): Call __ieee754_expf before checking for overflow and
10185 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10186 (u_threshold): Likewise.
10187 (__expl): Call __ieee754_expl before checking for overflow and
10189 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10190 (__ieee754_expl): Allow for and saturate large arguments.
10191 * math/libm-test.inc (exp_test): Add another test. Do not allow
10192 missing overflow exception on overflow.
10193 (expm1_test): Do not allow missing overflow exception on overflow.
10195 * sysdeps/i386/fpu/e_expl.c: Move to ...
10196 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10197 rather than using inline asm.
10198 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10199 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10200 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10202 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10205 (signal): Likewise.
10209 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10211 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10212 sysdeps/unix/common/syscalls.list.
10213 (fchmod): Likewise.
10214 (fchown): Likewise.
10215 (ftruncate): Likewise.
10216 (getrusage): Likewise.
10217 (gettimeofday): Likewise.
10218 (setpgid): Likewise.
10219 (setregid): Likewise.
10220 (setreuid): Likewise.
10221 (sigaction): Likewise.
10222 (truncate): Likewise.
10223 (vhangup): Likewise.
10224 * sysdeps/unix/common/syscalls.list: Remove file.
10225 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10226 * sysdeps/unix/sysv/linux/Implies: Likewise.
10228 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10230 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10232 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10236 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10239 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10242 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10245 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10248 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10251 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10254 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10258 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10262 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10265 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10269 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10273 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10275 * sysdeps/unix/common/bits/dirent.h: Remove file.
10276 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10278 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10279 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10280 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10281 * sysdeps/unix/bsd/isatty.c: Likewise.
10282 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10283 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10284 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10286 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10290 long double comparison inaccuracies.
10291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10294 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10296 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10299 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10303 nonzero digits before rounding a hex value.
10304 * stdlib/tst-strtod.c (tests): Add another test.
10306 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10308 * sysdeps/s390/fpu/libm-test-ulps: Update.
10310 2012-05-03 Andreas Jaeger <aj@suse.de>
10312 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10313 does not get optimized out.
10314 (malloc_opt_barrier): New.
10316 2012-05-03 Andreas Jaeger <aj@suse.de>
10317 Roland McGrath <roland@hack.frob.com>
10319 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10320 intermediate file deletion.
10321 (generated): Add .symlist files.
10323 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10326 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10327 Redirect under this condition.
10328 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10329 [__USE_GNU] (__dprintf_chk): Not under this condition.
10330 [__USE_GNU] (__vdprintf_chk): Likewise.
10331 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10332 under this condition.
10333 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10334 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10335 [__USE_XOPEN2K8] (vdprintf): Likewise.
10336 [__USE_GNU] (__dprintf_chk): Not under this condition.
10337 [__USE_GNU] (__vdprintf_chk): Likewise.
10338 [__USE_GNU] (dprintf): Likewise.
10339 [__USE_GNU] (vdprintf): Likewise.
10341 2012-05-03 Roland McGrath <roland@hack.frob.com>
10343 * elf/Makefile (common-generated): Set this instead of generated for
10344 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10345 $(all-built-dso)-derived lists.
10347 2012-05-03 Andreas Jaeger <aj@suse.de>
10349 * sysdeps/i386/fpu/libm-test-ulps: Update.
10352 * FAQ.in: Likewise.
10353 * scripts/gen-FAQ.pl: Likewise.
10354 * manual/install.texi (Installation): Point to online location of
10356 * Makefile (files-for-dist): Remove FAQ.
10359 2012-05-02 Allan McRae <allan@archlinux.org>
10361 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10362 (LDFLAGS-reldepmod5.so): Likewise.
10363 (LDFLAGS-reldep6mod1.so): Likewise.
10364 (LDFLAGS-reldep6mod4.so): Likewise.
10365 (LDFLAGS-reldep8mod3.so): Likewise.
10366 (LDFLAGS-unload4mod1.so): Likewise.
10367 (LDFLAGS-unload4mod2.so): Likewise.
10368 (LDFLAGS-tst-initorder): Likewise.
10369 (LDFLAGS-tst-initordera2.so): Likewise.
10370 (LDFLAGS-tst-initordera3.so): Likewise.
10371 (LDFLAGS-tst-initordera4.so): Likewise.
10372 (LDFLAGS-tst-initorderb2.so): Likewise.
10373 (LDFLAGS-noload): Likewise.
10374 (LDFLAGS-next): Likewise.
10375 (LDFLAGS-order2mod1.so): Likewise.
10376 (LDFLAGS-order2mod2.so): Likewise.
10377 (LDFLAGS-tst-initorder2): Likewise.
10378 (LDFLAGS-tst-initorder2a.so): Likewise.
10379 (LDFLAGS-tst-initorder2b.so): Likewise.
10380 (LDFLAGS-tst-initorder2c.so): Likewise.
10381 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10383 2012-05-02 David S. Miller <davem@davemloft.net>
10385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10387 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10390 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10392 2012-05-02 Andreas Jaeger <aj@suse.de>
10394 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10395 since we manipulate rounding mode.
10396 (CPPFLAGS-test-idouble.c): Likewise.
10397 (CPPFLAGS-test-ifloat.c): Likewise.
10398 (CFLAGS-test-ldouble.c): Likewise.
10399 (CFLAGS-test-double.c): Likewise.
10400 (CFLAGS-test-float.c): Likewise.
10401 (CFLAGS-test-misc.c): Likewise.
10402 (CFLAGS-test-test-fenv.c): Likewise.
10404 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10409 comparisons to determine direction to adjust input.
10411 2012-05-01 Roland McGrath <roland@hack.frob.com>
10413 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10414 output to the target.
10416 * scripts/localplt.awk: New file.
10417 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10418 (check-localplt-CFLAGS): Variable removed.
10419 ($(all-built-dso:=.jmprel)): New static pattern rule.
10420 (generated): Add those targets.
10421 (localplt-built-dso): New variable.
10422 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10424 * elf/check-localplt.c: File removed.
10426 * scripts/check-execstack.awk: New file.
10427 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10428 (check-execstack-CFLAGS): Variable removed.
10429 ($(objpfx)check-execstack.h): Target removed.
10430 ($(objpfx)execstack-default): New target.
10431 (generated): Add that instead of check-execstack.h.
10432 ($(all-built-dso:=.phdr)): New static pattern rule.
10433 (generated): Add those targets.
10434 * elf/check-execstack.c: File removed.
10436 * scripts/check-textrel.awk: New file.
10437 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10438 (check-textrel-CFLAGS): Variable removed.
10439 (all-built-dso): Use := to define.o
10440 ($(all-built-dso:=.dyn)): New static pattern rule.
10441 (generated): Add those targets.
10442 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10443 * config.make.in (READELF): New substituted variable.
10444 * elf/check-textrel.c: File removed.
10446 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10448 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10450 * conform/data/ctype.h-data [C99-based standards] (isblank):
10452 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10453 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10455 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10456 Specify type. Require positive value.
10457 (EILSEQ): Likewise.
10458 (ERANGE): Likewise.
10459 [ISO || POSIX] (EILSEQ): Do not expect.
10460 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10461 Specify type. Require positive value.
10462 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10504 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10536 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10537 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10538 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10540 (FLT_ROUNDS): Expect as macro, not constant.
10541 (FLT_MANT_DIG): Use macro-int-constant.
10542 (DBL_MANT_DIG): Likewise.
10543 (LDBL_MANT_DIG): Likewise.
10544 (FLT_DIG): Likewise.
10545 (DBL_DIG): Likewise.
10546 (LDBL_DIG): Likewise.
10547 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10548 (DBL_MIN_EXP): Likewise.
10549 (LDBL_MIN_EXP): Likewise.
10550 (FLT_MAX_EXP): Use macro-int-constant.
10551 (DBL_MAX_EXP): Likewise.
10552 (LDBL_MAX_EXP): Likewise.
10553 (FLT_MAX_10_EXP): Likewise.
10554 (DBL_MAX_10_EXP): Likewise.
10555 (LDBL_MAX_10_EXP): Likewise.
10556 (FLT_MAX): Use macro-constant.
10557 (DBL_MAX): Likewise.
10558 (LDBL_MAX): Likewise.
10559 (FLT_EPSILON): Use macro-constant. Give upper bound.
10560 (DBL_EPSILON): Likewise.
10561 (LDBL_EPSILON): Likewise.
10562 (FLT_MIN): Likewise.
10563 (DBL_MIN): Likewise.
10564 (LDBL_MIN): Likewise.
10565 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10566 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10567 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10568 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10569 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10570 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10571 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10572 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10573 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10574 [ISO11] (FLT_TRUE_MIN): Likewise.
10575 [ISO11] (LDBL_TRUE_MIN): Likewise.
10576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10577 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10578 (SCHAR_MIN): Use macro-int-constant. Specify type.
10579 (SCHAR_MAX): Likewise.
10580 (UCHAR_MAX): Likewise.
10581 (CHAR_MIN): Likewise.
10582 (CHAR_MAX): Likewise.
10583 (MB_LEN_MAX): Use macro-int-constant.
10584 (SHRT_MIN): Use macro-int-constant. Specify type.
10585 (SHRT_MAX): Likewise.
10586 (USHRT_MAX): Likewise.
10587 (INT_MAX): Likewise.
10588 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10590 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10592 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10594 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10595 bound negative. Suffix upper bound with "L".
10596 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10598 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10600 [C99-based standards] (LLONG_MAX): Likewise.
10601 [C99-based standards] (ULLONG_MAX): Likewise.
10602 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10604 [ISO11] (max_align_t): Require type.
10605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10607 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10608 from $CFLAGS, without defining away __attribute__ calls.
10609 (checknamespace): Use $CFLAGS_namespace.
10611 * conform/conformtest.pl (@keywords): Only include C99 keywords
10612 for standards based on C99 or C11.
10614 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10616 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10619 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10620 usability of symbols in #if.
10622 * conform/conformtest.pl: If macro or constant types start
10623 "promoted:", expect the symbol to be of the following type
10624 promoted by the integer promotions.
10626 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10627 in one place. Also handle "macro-constant".
10629 * conform/conformtest.pl: Only accept expected macro values with
10630 "==". Parse all "macro" lines in one place.
10631 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10633 * conform/conformtest.pl: Handle braced types on "constant" lines
10634 instead of handling "typed-constant".
10635 * conform/data/signal.h-data: Use "constant" instead of
10638 * conform/conformtest.pl: Handle "optional-" at start of lines in
10639 one place rather than duplicating several cases. Handle each
10640 format of "macro" line with initial "optional-".
10642 * conform/conformtest.pl: Only accept expected constant or
10643 optional-constant values with "==". Parse all "constant" lines in
10644 one place. Parse all "optional-constant" lines in one place.
10645 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10646 * conform/data/fmtmsg.h-data: Likewise.
10647 * conform/data/netinet/in.h-data: Likewise.
10648 * conform/data/tar.h-data: Likewise.
10649 * conform/data/limits.h-data: Use "==" form on "constant" and
10650 "optional-constant" lines.
10652 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10653 Use -std=c99 for XOPEN2K.
10654 (@knownproblems): Remove.
10655 (newtoken): Don't check %isknown.
10657 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10658 Do not expect macro.
10659 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10671 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10672 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10689 [XPG3] (acosh): Likewise.
10690 [XPG3] (asinh): Likewise.
10691 [XPG3] (atanh): Likewise.
10692 [XPG3] (cbrt): Likewise.
10693 [XPG3] (expm1): Likewise.
10694 [XPG3] (ilogb): Likewise.
10695 [XPG3] (log1p): Likewise.
10696 [XPG3] (logb): Likewise.
10697 [XPG3] (nextafter): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10700 [XPG3] (remainder): Likewise.
10701 [XPG3] (rint): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10709 [UNIX98 || XOPEN2K] (scalb): Expect.
10710 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10711 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10848 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10849 _XOPEN_SOURCE_EXTENDED for XPG4.
10851 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10853 * Makeconfig (localtime): Remove variable.
10854 (inst_localtime-file): Likewise.
10856 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10877 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10881 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10882 comparisons to determine direction to adjust input.
10883 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10884 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10885 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10887 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10889 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10891 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10892 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10894 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10896 * math/libm-test.inc (nexttoward_test): Add more tests.
10898 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10901 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10902 in version GLIBC_2.1, not GLIBC_2.0.
10903 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10906 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10909 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10911 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10912 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10913 * math/libm-test.inc (acos_test): Add more tests.
10914 (asin_test): Likewise.
10915 * sysdeps/i386/fpu/libm-test-ulps: Update.
10916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10919 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10921 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10922 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10923 * math/libm-test.inc (acos_test_tonearest): New function.
10924 (acos_test_towardzero): Likewise.
10925 (acos_test_downward): Likewise.
10926 (acos_test_upward): Likewise.
10927 (asin_test_tonearest): Likewise.
10928 (asin_test_towardzero): Likewise.
10929 (asin_test_downward): Likewise.
10930 (asin_test_upward): Likewise.
10931 (main): Call the new functions.
10932 * sysdeps/i386/fpu/libm-test-ulps: Update.
10933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10937 * math/e_exp10.c: Include <float.h>.
10938 (__ieee754_exp10): Handle underflow here rather than multiplying
10939 large negative argument by M_LN10.
10940 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10942 * math/e_exp10l.c: Include <float.h>.
10943 (__ieee754_exp10l): Handle underflow here rather than multiplying
10944 large negative argument by M_LN10l.
10945 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10946 spurious overflow exception on underflow.
10948 2012-04-29 Marek Polacek <polacek@redhat.com>
10950 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10951 (__fortify_function): New macro.
10952 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10953 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10954 __extern_always_inline.
10955 * libio/bits/stdio2.h: Likewise.
10956 * libio/bits/stdio.h: Likewise.
10957 * string/string.h: Likewise.
10958 * string/bits/string3.h: Likewise.
10959 * include/stdio.h: Likewise.
10960 * stdlib/bits/stdlib.h: Likewise.
10961 * stdlib/stdlib.h: Likewise.
10962 * rt/bits/mqueue2.h: Likewise.
10963 * rt/mqueue.h: Likewise.
10964 * posix/bits/unistd.h: Likewise.
10965 * posix/unistd.h: Likewise.
10966 * io/bits/poll2.h: Likewise.
10967 * io/bits/fcntl2.h: Likewise.
10968 * io/fcntl.h: Likewise.
10969 * io/sys/poll.h: Likewise.
10970 * misc/bits/syslog.h: Likewise.
10971 * misc/bits/syslog-ldbl.h: Likewise.
10972 * misc/sys/syslog.h: Likewise.
10973 * socket/bits/socket2.h: Likewise.
10974 * socket/sys/socket.h: Likewise.
10975 * debug/tst-chk1.c: Likewise.
10976 * wcsmbs/bits/wchar2.h: Likewise.
10977 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10978 * wcsmbs/wchar.h: Likewise.
10980 2012-04-29 Andreas Jaeger <aj@suse.de>
10982 * Makerules (tests): Remove enable-check-abi protection.
10983 (check-abi-warn): Remove.
10984 (check-abi-%): Remove check-abi-warn usage.
10986 * configure.in: Remove check-abi configure option.
10987 * configure: Regenerated.
10988 * config.make.in (enable-check-abi): Remove.
10990 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10993 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10994 double functions to double *_finite functions.
10997 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10998 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11000 * stdio-common/Makefile (tests): Add tst-sprintf3.
11001 * stdio-common/tst-sprintf3.c: New file.
11003 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11004 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11006 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11008 * conform/conformtest.pl: Remove duplicate typed-constant
11011 2012-04-28 David S. Miller <davem@davemloft.net>
11013 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11014 (check-abi-%): Remove AWK script prerequisite and explicit
11016 (check-abi): Rewrite to just diff the symlist with the abilist.
11017 (config-tls, config-abi-config): Delete, no longer used.
11018 (update-abi-%): Remove AWK script and explicit abilist directory.
11019 (update-abi): Rewrite to simply compare and conditionally copy the
11020 symlist and the sysdep abilist file. Remove update-abi-config
11022 * abilist/ld.abilist: Remove.
11023 * abilist/libBrokenLocale.abilist: Remove.
11024 * abilist/libanl.abilist: Remove.
11025 * abilist/libcrypt.abilist: Remove.
11026 * abilist/libdl.abilist: Remove.
11027 * abilist/librt.abilist: Remove.
11028 * abilist/libthread_db.abilist: Remove.
11029 * abilist/libutil.abilist: Remove.
11030 * scripts/extract-abilist.awk: Remove.
11031 * scripts/merge-abilist.awk: Remove.
11032 * sysdeps/generic/libcidn.abilist: New file.
11033 * sysdeps/generic/libnss_compat.abilist: New file.
11034 * sysdeps/generic/libnss_db.abilist: New file.
11035 * sysdeps/generic/libnss_dns.abilist: New file.
11036 * sysdeps/generic/libnss_files.abilist: New file.
11037 * sysdeps/generic/libnss_hesiod.abilist: New file.
11038 * sysdeps/generic/libnss_nis.abilist: New file.
11039 * sysdeps/generic/libnss_nisplus.abilist: New file.
11040 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11041 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11042 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11044 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11045 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11046 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11047 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11048 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11049 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11050 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11051 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11052 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11054 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11055 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11056 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11057 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11059 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11060 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11061 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11062 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11063 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11064 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11066 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11067 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11068 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11070 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11174 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11175 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11178 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11179 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11180 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11181 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11182 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11183 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11184 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11185 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11186 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11238 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11240 * conform/conformtest.pl: Fix typo in handling typed-constant from
11243 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11245 * README: Cut down references to pre-2.6 Linux kernels and
11246 Linuxthreads. Update lists of configurations in libc and ports
11247 and sort alphabetically. Say "or newer" with Linux kernel version
11250 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11252 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11255 * math/libm-test.inc (logb_test_downward): New test to expose
11256 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11259 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11262 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11264 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11265 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11267 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11269 * sysdeps/unix/i386/brk.S: Remove file.
11270 * sysdeps/unix/i386/dl-brk.S: Likewise.
11271 * sysdeps/unix/i386/pipe.S: Likewise.
11272 * sysdeps/unix/i386/sigreturn.S: Likewise.
11273 * sysdeps/unix/i386/syscall.S: Likewise.
11274 * sysdeps/unix/i386/vfork.S: Likewise.
11275 * sysdeps/unix/i386/wait.S: Likewise.
11277 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11278 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11280 * configure.in (arm*-none*): Do not allow without
11281 --enable-hacker-mode.
11282 (netbsd*): Remove case setting base_os.
11283 (386bsd*): Likewise.
11284 (freebsd*): Likewise.
11287 (sunos*): Likewise.
11288 (ultrix*): Likewise.
11289 (newsos*): Likewise.
11290 (dynix*): Likewise.
11296 (minix*): Likewise.
11297 (irix4*): Likewise.
11298 (irix6*): Likewise.
11299 (solaris[2-9]*): Likewise.
11301 * configure: Regenerated.
11303 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11306 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11307 overflow or cancellation in calculating denominator.
11308 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11310 down expression to avoid unexpected rounding in newer GCCs.
11311 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11313 2012-04-26 David S. Miller <davem@davemloft.net>
11315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11316 long-double compat symbols.
11317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11331 2012-04-25 David S. Miller <davem@davemloft.net>
11333 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11334 HWCAP_* values only after the memory barriers have been defined.
11335 (atomic_full_barrier): Define.
11336 (atomic_read_barrier): Define.
11337 (atomic_write_barrier): Define.
11339 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11341 * shlib-versions: Add libgcc_s version information.
11342 * sysdeps/generic/libgcc_s.h: Remove.
11343 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11345 * sysdeps/gnu/unwind-resume.c: Likewise.
11346 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11348 2012-04-25 David S. Miller <davem@davemloft.net>
11350 * sysdeps/unix/sparc/brk.S: Delete.
11351 * sysdeps/unix/sparc/dl-brk.S: Delete.
11352 * sysdeps/unix/sparc/pipe.S: Delete.
11353 * sysdeps/unix/sparc/sysdep.S: Delete.
11354 * sysdeps/unix/sparc/sysdep.h: Delete.
11355 * sysdeps/unix/sparc/vfork.S: Delete.
11356 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11357 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11359 ret_ERRVAL, r0, r1, MOVE): Define.
11360 (JUMPTARGET): Remove.
11361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11362 sysdeps/unix/sparc/sysdep.h
11363 (ENTRY, END): Remove.
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11366 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11368 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11369 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11372 * timezone/README: Update upstream location and email address for
11374 * timezone/zdump.c: Update from tzcode 2012b.
11375 * timezone/zic.c: Likewise.
11377 * configure.in (libc_cv_as_needed): Remove test.
11378 * configure: Regenerated.
11379 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11380 conditional definition.
11381 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11382 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11383 * config.make.in (have-as-needed): Remove variable.
11385 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11386 Paul Pluzhnikov <ppluzhnikov@google.com>
11388 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11391 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11393 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11394 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11395 * sysdeps/sh/strlen.S: Likewise.
11397 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11399 * sysdeps/unix/fork.S: Remove file.
11400 * sysdeps/unix/i386/fork.S: Likewise.
11401 * sysdeps/unix/sparc/fork.S: Likewise.
11403 * sysdeps/unix/system.c: Remove file.
11404 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11406 * sysdeps/unix/getegid.S: Remove file.
11407 * sysdeps/unix/geteuid.S: Likewise.
11409 2012-04-24 Roland McGrath <roland@hack.frob.com>
11411 * scripts/check-localplt.awk: New file.
11412 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11414 * scripts/data/localplt-generic.data: Add a comment.
11416 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11417 NODE when __dir_mkfile failed.
11418 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11419 Reported by Ludovic Courtès <ludo@gnu.org>.
11421 2012-04-24 Andreas Jaeger <aj@suse.de>
11423 * Makerules (common-clean): Also remove gen-as-const-headers
11426 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11428 * Makerules (native-compile): Do not change working directory for
11429 build. Use $(OUTPUT_OPTION) in command.
11430 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11432 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11435 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11436 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11437 * math/libm-test.inc (floor_test): Add more tests.
11438 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11440 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11442 * sysdeps/unix/getdents.c: Remove file.
11443 * sysdeps/unix/sysv/getdents.c: Likewise.
11444 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11446 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11447 sysdeps/unix/mman/syscalls.list.
11449 (mprotect): Likewise.
11451 (munmap): Likewise.
11452 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11453 * sysdeps/unix/mman/syscalls.list: Remove.
11454 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11456 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11457 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11458 * configure: Regenerated.
11459 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11460 $(libgcc_s_suffix).
11461 * config.make.in (libgcc_s_suffix): Remove variable.
11463 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11465 * sysdeps/unix/sysv/gethostname.c: Move to ...
11466 * sysdeps/posix/gethostname.c: ... here.
11468 * sysdeps/unix/execve.S: Remove file.
11470 * sysdeps/unix/_exit.S: Remove file.
11472 2012-04-23 Andreas Jaeger <aj@suse.de>
11475 * manual/Makefile: Remove make dist support, there's no
11476 need for a stand-alone documentation tar ball.
11477 (TEXI2DVI): Define always, it's not in Makeconfig.
11480 (edition): Removed.
11481 (glibc-doc-$(edition).tar): Removed
11485 (ETAGS): Remove, it's in Makeconfig.
11486 (move-if-change): Remove, it's in Makeconfig.
11488 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11491 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11492 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11493 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11494 (strtod_l, strtof_l, strtold_l): Remove __wur.
11495 It is not necessarily an error to ignore strtol's return value.
11496 One can reliably look at the stored endptr to decide whether
11497 the number had valid syntax.
11499 2012-04-21 Andreas Jaeger <aj@suse.de>
11502 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11504 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11507 * sysdeps/unix/sysv/Versions: Remove file.
11509 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11514 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11518 version from __vm86.
11520 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11522 * sysdeps/unix/common/lxstat.c: Remove file.
11523 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11525 * sysdeps/unix/sysv/Makefile: Remove file.
11527 * sysdeps/unix/sysv/direct.h: Remove file.
11529 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11530 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11531 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11532 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11533 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11534 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11535 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11537 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11539 * sysdeps/unix/xmknod.c: Remove file.
11540 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11542 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11544 * sysdeps/unix/sysv/i386/time.S: Remove file.
11546 * sysdeps/unix/fxstat.c: Remove file.
11547 * sysdeps/unix/xstat.c: Likewise.
11548 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11550 * sysdeps/unix/sysv/sigaction.c: Remove file.
11552 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11553 (sysdep_headers): Remove variable.
11554 [termio.h not in sysdep_headers] (generated): Likewise.
11555 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11556 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11557 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11558 * sysdeps/unix/sysv/tcflow.c: Likewise.
11559 * sysdeps/unix/sysv/tcflush.c: Likewise.
11560 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11561 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11562 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11563 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11564 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11566 * sysdeps/unix/siglist.c: Remove file.
11568 * sysdeps/unix/getppid.S: Remove file.
11570 * sysdeps/unix/mkdir.c: Remove file.
11571 * sysdeps/unix/rmdir.c: Likewise.
11573 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11575 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11577 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11578 errlist-compat value.
11580 2012-04-18 David S. Miller <davem@davemloft.net>
11582 * sysdeps/generic/memcopy.h (reg_char): Delete.
11583 * debug/strcat_chk.c: Use char, not reg_char.
11584 * debug/strcpy_chk.c: Likewise.
11585 * debug/strncat_chk.c: Likewise.
11586 * debug/strncpy_chk.c: Likewise.
11587 * string/memchr.c: Likewise.
11588 * string/memrchr.c: Likewise.
11589 * string/rawmemchr.c: Likewise.
11590 * string/strcat.c: Likewise.
11591 * string/strchr.c: Likewise.
11592 * string/strchrnul.c: Likewise.
11593 * string/strcmp.c: Likewise.
11594 * string/strcpy.c: Likewise.
11595 * string/strncat.c: Likewise.
11596 * string/strncmp.c: Likewise.
11597 * string/strncpy.c: Likewise.
11599 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11601 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11602 __builtin_memcopy is called when src and dest ranges are known to not
11605 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11607 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11608 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11609 fwd_align_merge macro call.
11610 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11611 bwd_align_merge macro call.
11612 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11614 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11616 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11617 bwd_align_merge macros.
11618 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11619 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11620 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11622 2012-04-18 David S. Miller <davem@davemloft.net>
11624 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11626 2012-04-18 Andreas Jaeger <aj@suse.de>
11629 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11630 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11633 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11634 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11635 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11637 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11638 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11639 Adjust for changed ldbl-128 files.
11641 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11642 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11645 2012-04-17 David S. Miller <davem@davemloft.net>
11647 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11649 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11651 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11652 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11653 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11654 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11655 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11656 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11658 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11661 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11662 * math/libm-test.inc: Add ilogb errno and exception tests.
11663 * math/w_ilogb.c: New file: ilogb wrapper.
11664 * math/w_ilogbf.c: New file: ilogbf wrapper.
11665 * math/w_ilogbl.c: New file: ilogbl wrapper.
11666 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11667 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11668 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11669 exception being thrown with 0.0 as argument.
11670 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11671 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11672 exception being thrown with 0.0 as argument.
11673 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11674 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11675 exception being thrown with 0.0 as argument.
11676 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11677 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11678 exception being thrown with 0.0 as argument.
11679 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11680 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11681 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11682 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11684 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11685 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11686 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11687 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11689 2012-04-17 Petr Baudis <pasky@ucw.cz>
11691 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11694 2012-04-16 Marek Polacek <polacek@redhat.com>
11696 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11698 2012-04-16 Marek Polacek <polacek@redhat.com>
11700 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11701 operands of fdivp instruction.
11703 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11705 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11706 * elf/tst-auditmod3b.c: Likewise.
11707 * elf/tst-auditmod4b.c: Likewise.
11708 * elf/tst-auditmod5b.c: Likewise.
11709 * elf/tst-auditmod6b.c: Likewise.
11710 * elf/tst-auditmod6c.c: Likewise.
11711 * elf/tst-auditmod7b.c: Likewise.
11712 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11713 * sysdeps/x86_64/preconfigure.in: Likewise.
11714 * sysdeps/x86_64/preconfigure: Regenerated.
11716 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11718 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11721 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11724 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11726 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11729 * locale/iso-639.def: Fix gl language name. Spotted by
11732 2012-04-12 Roland McGrath <roland@hack.frob.com>
11735 * libio/libio.h (__io_write_fn): Update comment.
11737 2012-04-12 Petr Baudis <pasky@ucw.cz>
11740 * stdio.texi (Hook Functions): The user provided writer function
11741 is not allowed to return -1.
11743 2012-04-11 David S. Miller <davem@davemloft.net>
11745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11747 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11749 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11750 Add a leading slash to rtkaio.
11752 2012-04-11 Jim Meyering <meyering@redhat.com>
11755 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11756 It is not necessarily an error to ignore fwrite's return
11757 value. One can reliably use ferror to test for errors after
11760 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11762 * bits/types.h (__snseconds_t): New type.
11763 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11765 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11767 (__SNSECONDS_T_TYPE): Likewise.
11768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11769 (__SNSECONDS_T_TYPE): Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11771 (__SNSECONDS_T_TYPE): Likewise.
11773 2012-04-10 Andreas Jaeger <aj@suse.de>
11776 * manual/time.texi (Processor Time): Return type of times is
11777 elapsed real time since an arbitrary point in the past.
11778 (CPU Time): Move CLK_TCK from here...
11779 (Processor Time): ...to here. Correct description.
11780 * manual/conf.texi (Constants for Sysconf): Correct description of
11783 2012-04-10 David S. Miller <davem@davemloft.net>
11786 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11787 where the is a gap between DT_REL(A) and DT_JMPREL.
11789 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11791 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11792 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11793 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11795 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11797 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11798 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11799 (dl_main): Handle --inhibit-cache.
11800 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11802 * elf/dl-load.c (_dl_map_object): Use it.
11803 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11805 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11808 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11809 (__ieee754_powl): Saturate large exponents rather than testing for
11810 overflow of y*log2(x).
11811 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11812 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11816 * math/s_ctan.c: Include <float.h>.
11817 (__ctan): Avoid internal overflow or cancellation in calculating
11819 * math/s_ctanf.c: Likewise.
11820 * math/s_ctanl.c: Likewise.
11821 * math/s_ctanh.c: Likewise.
11822 * math/s_ctanhf.c: Likewise.
11823 * math/s_ctanhl.c: Likewise.
11824 * math/libm-test.inc (ctan_test): Add more tests.
11825 (ctanh_test): Likewise.
11826 * sysdeps/i386/fpu/libm-test-ulps: Update.
11827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11829 2012-04-09 Andreas Jaeger <aj@suse.de>
11832 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11833 is an optional BSD extension.
11836 * manual/stdio.texi (Opening Streams): Document additional fopen
11839 2012-04-09 Roland McGrath <roland@hack.frob.com>
11841 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11842 %eax without telling the compiler.
11844 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11847 * manual/install.texi: Use sourceware.org.
11849 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11852 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11853 (__ieee754_pow): Generate overflow and underflow using huge*huge
11854 and tiny*tiny rather than just returning constant infinity or zero
11855 for large exponents.
11856 * math/libm-test.inc (pow_test): Require overflow exceptions for
11857 applicable cases of large exponents.
11860 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11861 (__ieee754_pow): Use iterative multiplication algorithm only for
11862 integer exponents with absolute value below 1024. Check for odd
11863 integer exponents when using algorithm for real exponents.
11864 * math/libm-test.inc (pow_test): Add more tests.
11865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11867 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11870 * math/libm-test.inc (exp_test): Do not allow overflow exception
11873 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11876 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11877 instead of __kernel_standard_f.
11879 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11881 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11882 * sysdeps/x86_64/memset_chk.S: Likewise.
11884 2012-04-08 Andreas Jaeger <aj@suse.de>
11887 * manual/startup.texi (Environment Access): Describe return value
11888 for putenv and setenv.
11891 * manual/filesys.texi (Directory Entries): Add description for
11895 * manual/filesys.texi (Directory Entries): Clarify that it's file
11896 system not operating system in the description of DT_UNKNOWN.
11899 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11901 2012-04-08 Stephen Compall <s11@member.fsf.org>
11904 * manual/llio.texi (Opening and Closing Files): Add cross
11905 reference to explain mode argument.
11907 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11909 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11910 * sysdeps/x86_64/memset_chk.S: Likewise.
11912 2012-04-07 David S. Miller <davem@davemloft.net>
11914 * elf/elf.h (R_SPARC_WDISP10): Define.
11915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11918 R_SPARC_SIZE64 and R_SPARC_H34.
11920 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11922 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11923 conditions and remove no longer applicable assertion.
11925 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11927 * bits/byteswap.h: Include <features.h>.
11928 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11929 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11931 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11933 * bits/byteswap.h (__bswap_16): Removed.
11934 Include <bits/byteswap-16.h> to get __bswap_16.
11935 * sysdeps/i386/bits/byteswap.h: Likewise.
11936 * sysdeps/s390/bits/byteswap.h: Likewise.
11937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11938 * bits/byteswap-16.h: New file.
11939 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11940 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11941 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11942 * string/Makefile (headers): Add bits/byteswap-16.h.
11944 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11947 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11949 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11950 * nss/tst-nss-static.c: New.
11952 2012-04-06 Robert Millan <rmh@gnu.org>
11955 * manual/llio.texi (File Position Primitive): lseek
11956 refers to WHENCE when it really means OFFSET.
11958 2012-04-06 Andreas Jaeger <aj@suse.de>
11960 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11961 strncmp declarations.
11963 * abilist/libc.abilist: Add __poll and __ppoll.
11965 2012-04-05 David S. Miller <davem@davemloft.net>
11967 * scripts/check-local-headers.sh: Accept a host triplet in the
11968 path matched by the exclude regexp.
11970 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11972 * sysdeps/powerpc/powerpc32/dl-machine.h
11973 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11974 * sysdeps/s390/s390-32/dl-machine.h
11975 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11976 * sysdeps/sparc/sparc32/dl-machine.h
11977 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11978 * sysdeps/sparc/sparc64/dl-machine.h
11979 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11981 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11983 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11984 undefined symbol errors.
11986 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11989 2012-04-05 Michael Matz <matz@suse.de>
11992 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11994 2012-04-05 Andreas Jaeger <aj@suse.de>
11997 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12000 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12003 which ROUND is no valid rounding mode.
12005 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12007 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12009 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12011 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12013 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12014 an exception using FPU order intentionally.
12016 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12018 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12019 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12020 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12021 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12023 2012-04-05 Simon Josefsson <simon@josefsson.org>
12026 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12027 EINVAL when BUFLEN is too smal.
12029 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12032 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12033 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12035 2012-04-03 Andreas Jaeger <aj@suse.de>
12038 * manual/setjmp.texi (System V contexts): Fix sentence.
12041 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12042 New macro for this case.
12043 [!__GNUC__] (__bswap_64): New inline function for this case.
12044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12045 * bits/byteswap.h: Likewise.
12046 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12047 ull, guard with __GLIBC_HAVE_LONG_LONG.
12049 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12050 __GLIBC_HAVE_LONG_LONG.
12052 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12053 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12055 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12058 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12059 inptr and inend, rather than using last_ch.
12061 2012-04-02 David S. Miller <davem@davemloft.net>
12063 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12064 * stdio-common/printf-parse.h (read_int): Change return type to
12065 'int', return -1 on INT_MAX overflow.
12066 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12067 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12068 overflows INT_MAX. Check for overflow of in-format-string precision
12069 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12070 SIZE_MAX not INT_MAX for integer overflow test.
12071 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12072 skip the construct in the format string but do not record anything.
12073 * stdio-common/bug22.c: Adjust to test both width/prevision
12074 INT_MAX overflow as well as total length INT_MAX overflow. Check
12075 explicitly for proper errno values.
12077 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12079 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12081 * string/test-strcmp.c [! WIDE]: Likewise.
12082 * time/tst-mktime2.c: Likewise for INT_MAX.
12083 * string/test-string.h: #include <sys/param.h> for MIN.
12085 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12086 * sysdeps/i386/init-first.c (init): Likewise.
12087 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12088 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12089 * sysdeps/sh/init-first.c (init): Likewise.
12091 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12093 * po/ru.po: Update from translation team.
12094 * po/vi.po: Likewise.
12096 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12098 * resolv/nss_dns/dns-host.c: Merge copyright years.
12100 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12102 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12103 Optimize memcpy with prefetch if
12104 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12105 src, dst pointers have unequal 16 byte alignments.
12107 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12110 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12111 from a CNAME entry and return the minimum ttl for the query.
12112 (gaih_getanswer_slice): Likewise.
12114 2012-03-30 Jeff Law <law@redhat.com>
12116 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12118 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12119 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12121 * resolv/nss_dns/dns-host.c: Update copyright year.
12123 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12125 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12126 requests to save a system call. Fix check that all bytes are sent.
12128 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12129 comments for sendmmsg.
12131 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12134 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12135 with only 1 character between 0x0041 and 0x01b0.
12136 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12137 * wcsmbs/tst-mbsnrtowcs.c: New file.
12139 2012-03-29 David S. Miller <davem@davemloft.net>
12141 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12142 small copies by hand.
12144 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12147 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12148 _nss_compat_initgroups_dyn): Fall back to malloc/free
12149 for large group memberships.
12151 2012-03-28 David S. Miller <davem@davemloft.net>
12153 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12154 that branches into memcpy.
12155 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12156 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12158 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12161 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12162 implementation too.
12163 * sysdeps/sparc/mempcpy.S: New file.
12165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12166 the IFUNC routine in the libc case.
12167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12169 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12170 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12171 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12172 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12173 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12174 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12175 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12176 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12178 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12179 loop to 256 bytes instead of 64 bytes and fix test signedness.
12181 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12182 * sysdeps/sparc/sparc32/Makefile: rather than here...
12183 * sysdeps/sparc/sparc64/Makefile: and here.
12185 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12187 * malloc/mallocbug.c: Avoid warnings about unused variables.
12189 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12192 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12193 in the right place. Discard and retry query if response is
12194 larger than input buffer size.
12196 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12201 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12202 x for large integer exponent.
12203 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12204 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12205 sign of result as needed afterwards.
12206 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12207 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12208 result for underflowing pow the same as for overflow.
12209 (__kernel_standard_l): Handle powl overflow and underflow here
12210 rather than calling __kernel_standard.
12211 * math/libm-test.inc (pow_test): Add more tests.
12226 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12227 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12228 (__kernel_standard_l): New function.
12229 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12231 * math/w_acosl.c (__acosl): Likewise.
12232 * math/w_asinl.c (__asinl): Likewise.
12233 * math/w_atan2l.c (__atan2l): Likewise.
12234 * math/w_atanhl.c (__atanhl): Likewise.
12235 * math/w_coshl.c (__coshl): Likewise.
12236 * math/w_exp10l.c (__exp10l): Likewise.
12237 * math/w_exp2l.c (__exp2l): Likewise.
12238 * math/w_fmodl.c (__fmodl): Likewise.
12239 * math/w_hypotl.c (__hypotl): Likewise.
12240 * math/w_j0l.c (__j0l, __y0l): Likewise.
12241 * math/w_j1l.c (__j1l, __y1l): Likewise.
12242 * math/w_jnl.c (__jnl, __ynl): Likewise.
12243 * math/w_lgammal.c (__lgammal): Likewise.
12244 * math/w_log10l.c (__log10l): Likewise.
12245 * math/w_log2l.c (__log2l): Likewise.
12246 * math/w_logl.c (__logl): Likewise.
12247 * math/w_powl.c (__powl): Likewise.
12248 * math/w_remainderl.c (__remainderl): Likewise.
12249 * math/w_scalbl.c (sysv_scalbl): Likewise.
12250 * math/w_sinhl.c (__sinhl): Likewise.
12251 * math/w_sqrtl.c (__sqrtl): Likewise.
12252 * math/w_tgammal.c (__tgammal): Likewise.
12253 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12254 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12255 * math/libm-test.inc (acos_test): Add more tests.
12256 (acosh_test): Likewise.
12257 (asin_test): Likewise.
12258 (atanh_test): Likewise.
12259 (exp_test): Likewise.
12260 (exp10_test): Likewise.
12261 (exp2_test): Likewise.
12262 (expm1_test): Likewise.
12263 (lgamma_test): Likewise.
12264 (log_test): Likewise.
12265 (log10_test): Likewise.
12266 (log1p_test): Likewise.
12267 (log2_test): Likewise.
12268 (pow_test): Do not allow some spurious overflow exceptions.
12269 (sqrt_test): Add more tests.
12270 (tgamma_test): Likewise.
12271 (y0_test): Likewise.
12272 (y1_test): Likewise.
12273 (yn_test): Likewise.
12275 2012-03-27 Anton Blanchard <anton@samba.org>
12277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12279 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12280 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12283 2012-03-27 David S. Miller <davem@davemloft.net>
12285 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12287 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12288 have-as-vis3 check.
12290 2012-03-27 Andreas Jaeger <aj@suse.de>
12292 * sysdeps/x86_64/elf/configure.in: Moved to ...
12293 * sysdeps/x86_64/configure.in: ... here.
12294 * sysdeps/x86_64/elf/start.S: Moved to ...
12295 * sysdeps/x86_64/start.S: ... here.
12296 * sysdeps/x86_64/elf/configure: Delete.
12298 * sysdeps/x86_64/configure.in: Merge contents from
12299 sysdeps/i386/configure.in (without i686 check).
12301 * sysdeps/i386/elf/Versions: Merge into ...
12302 * sysdeps/i386/Versions: ... this.
12303 * sysdeps/i386/elf/Versions: Delete file.
12304 * sysdeps/i386/elf/start.S: Moved to ...
12305 * sysdeps/i386/start.S: ...here.
12306 * sysdeps/i386/elf/configure.in: Merge into...
12307 * sysdeps/i386/configure.in: ...here.
12308 * sysdeps/i386/elf/configure.in: Delete file.
12309 * sysdeps/i386/elf/configure: Delete file.
12311 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12312 * debug/backtracesyms.c: ... here.
12313 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12314 * debug/backtracesymsfd.c: ... here.
12315 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12316 * sysdeps/generic/ifunc-sel.h: ... here.
12318 * sysdeps/unix/i386/start.c: Delete file.
12319 * sysdeps/unix/sparc/start.c: Delete file.
12320 * sysdeps/unix/start.c: Delete file.
12322 * sysdeps/sh/elf/configure.in: Moved to ...
12323 * sysdeps/sh/configure.in: ... here.
12324 * sysdeps/sh/elf/start.S: Moved to ...
12325 * sysdeps/sh/start.S: ... here.
12326 * sysdeps/sh/elf/configure: Delete file.
12328 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12329 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12330 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12331 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12332 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12333 * sysdeps/powerpc/powerpc64/start.S: here.
12334 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12335 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12336 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12337 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12338 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12340 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12341 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12342 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12343 * sysdeps/powerpc/powerpc32/start.S: ... here.
12344 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12345 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12346 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12348 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12349 * sysdeps/powerpc/ifunc-sel.h: ... here.
12350 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12351 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12353 * sysdeps/sparc/elf/configure.in: Moved to ...
12354 * sysdeps/sparc/configure.in: ... here.
12355 * sysdeps/sparc/elf/configure: Delete file.
12356 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12357 * sysdeps/sparc/sparc32/start.S: ... here.
12358 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12359 * sysdeps/sparc/sparc64/start.S: ... here.
12360 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12361 * sysdeps/sparc/sparc32/Makefile: ... this.
12362 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12363 * sysdeps/sparc/sparc64/Makefile: ... this.
12365 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12366 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12367 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12368 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12369 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12370 * sysdeps/s390/s390-32/setjmp.S: ... here.
12371 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12372 * sysdeps/s390/s390-32/configure.in: ... here.
12373 * sysdeps/s390/s390-32/elf/configure: Delete file.
12374 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12375 * sysdeps/s390/s390-32/start.S: ... here.
12377 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12378 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12379 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12380 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12381 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12382 * sysdeps/s390/s390-64/setjmp.S: ... here.
12383 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12384 * sysdeps/s390/s390-64/configure.in: ... here
12385 * sysdeps/s390/s390-64/elf/configure: Delete file.
12386 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12387 * sysdeps/s390/s390-64/start.S: ... here.
12388 * sysdeps/s390/s390-64/elf/configure: Delete.
12390 * configure.in: Remove support for elf directories in sysdeps.
12392 * configure: Regenerated.
12393 * sysdeps/i386/configure: Regenerated.
12394 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12395 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12396 * sysdeps/s390/s390-32/configure: Regenerated.
12397 * sysdeps/s390/s390-64/configure: Regenerated.
12398 * sysdeps/sh/configure: Regenerated.
12399 * sysdeps/sparc/configure: Regenerated.
12400 * sysdeps/x86_64/configure: Regenerated.
12402 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12407 denormal result into account.
12409 2012-03-25 Roland McGrath <roland@hack.frob.com>
12411 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12412 Reported by Allan McRae <allan@archlinux.org>.
12414 2012-03-23 Jeff Law <law@redhat.com>
12416 * nss/getnssent.c (__nss_getent): Fix typo.
12418 2012-03-23 David S. Miller <davem@davemloft.net>
12420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12422 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12424 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12425 to pad to uint64_t for each field.
12426 (dl_tls_index): Replace unsigned long with uint64_t.
12428 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12429 Paul Pluzhnikov <ppluzhnikov@google.com>
12432 * grp/Makefile (otherlibs): Don't set it.
12433 * inet/Makefile (otherlibs): Likewise.
12434 * login/Makefile (otherlibs): Likewise.
12435 * nscd/Makefile (otherlibs): Likewise.
12436 * posix/Makefile (otherlibs): Likewise.
12437 * pwd/Makefile (otherlibs): Likewise.
12438 * rt/Makefile (otherlibs): Likewise.
12439 * sunrpc/Makefile (otherlibs): Likewise.
12440 * nss/Makefile (otherlibs): Likewise.
12441 Add libnss_files to routines and static-only-routines.
12442 ($(objpfx)getent): Remove rule.
12443 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12444 static-only-routines.
12446 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12449 * math/s_cexp.c: Include <float.h>.
12450 (__cexp): Handle exp result overflowing not necessarily
12451 overflowing both real and imaginary parts of result.
12452 * math/s_cexpf.c: Likewise.
12453 * math/s_cexpl.c: Likewise.
12454 * math/libm-test.inc (cexp_test): Add more tests.
12455 * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12458 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12460 * include/link.h (ELFW): New macro.
12461 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12462 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12464 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12466 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12469 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12471 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12473 (struct La_x32_retval): Likewise.
12475 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12477 * sysdeps/x86_64/preconfigure.in: New file.
12478 * sysdeps/x86_64/preconfigure: New generated file.
12480 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12483 * math/e_exp2l.c: Include <float.h>.
12484 (__ieee754_exp2l): Handle overflow and underflow cases
12485 separately. Only pass fractional part of argument to
12487 * math/libm-test.inc (exp2_test): Add more tests.
12489 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12490 negating x to take absolute value.
12491 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12496 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12497 computing low part if x was negated.
12498 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12500 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12502 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12503 la_x32_gnu_pltexit.
12504 (pltexit): Cast int_retval to ptrdiff_t.
12505 * elf/tst-auditmod3b.c: Likewise.
12506 * elf/tst-auditmod4b.c: Likewise.
12507 * elf/tst-auditmod5b.c: Likewise.
12508 * elf/tst-auditmod6b.c: Likewise.
12509 * elf/tst-auditmod6c.c: Likewise.
12510 * elf/tst-auditmod7b.c: Likewise.
12512 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12513 and x32_gnu_pltexit.
12515 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12516 __ELF_NATIVE_CLASS.
12517 (La_x32_regs): New macro.
12518 (La_x32_retval): Likewise.
12519 (la_x32_gnu_pltenter): New function prototype.
12520 (la_x32_gnu_pltexit): Likewise.
12522 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12529 * configure.in (libc_cv_cc_nofma): Check for option to disable
12530 generation of FMA instructions.
12531 * configure: Regenerate.
12532 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12533 * sysdeps/ieee754/dbl-64/Makefile: New file.
12534 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12535 Remove brandred-fma4.
12536 (CFLAGS-brandred-fma4.c): Remove.
12537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12538 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12540 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12543 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12545 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12546 LLONG_MAX != LONG_MAX.
12547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12548 (_fitoa_word): Likewise.
12549 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12550 LLONG_MAX != LONG_MAX.
12551 * stdio-common/_itowa.h: Include <_itoa.h>.
12552 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12553 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12554 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12555 only if not defined.
12556 (_ITOA_WORD_TYPE): Likewise.
12557 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12558 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12560 2012-03-21 David S. Miller <davem@davemloft.net>
12562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12564 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12566 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12567 of x86_64 when setting libc_cv_slibdir, libdir and
12569 * sysdeps/unix/sysv/linux/configure: Regenerated.
12571 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12573 * manual/lang.texi (Old Varargs): Remove section.
12574 (How Variadic): Update menu.
12575 (va_start): Do not mention varargs.h.
12577 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12578 Joseph Myers <joseph@codesourcery.com>
12580 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12582 * configure: Regenerated.
12584 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12586 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12587 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12590 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12593 * Makefile (files-for-dist): Remove NOTES.
12594 (NOTES): Remove rule.
12595 * README: Don't refer to NOTES.
12596 * manual/creature.texi: Don't include macros.texi.
12597 * manual/intro.texi (creature.texi): Remove comment referring to
12600 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12601 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12602 * configure: Regenerated.
12603 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12604 LIBC_TRY_CC_OPTION.
12605 (libc_cv_as_i686): Likewise.
12606 (libc_cv_cc_avx): Likewise.
12607 (libc_cv_cc_sse2avx): Likewise.
12608 (libc_cv_cc_fma4): Likewise.
12609 (libc_cv_cc_novzeroupper): Likewise.
12610 * sysdeps/i386/configure: Regenerated.
12613 * sysdeps/i386/fpu/s_cexp.S: Remove.
12614 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12615 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12616 * math/libm-test.inc (cexp_test): Add more tests.
12617 * sysdeps/i386/fpu/libm-test-ulps: Update.
12618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12620 2012-03-21 Allan McRae <allan@archlinux.org>
12622 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12624 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12627 * math/w_exp2.c: Do not include <float.h>.
12628 (o_threshold, u_threshold): Remove.
12629 (__exp2): Calculate result before checking finiteness and calling
12631 * math/w_exp2f.c: Likewise.
12632 * math/w_exp2l.c: Likewise.
12633 * math/libm-test.inc (exp2_test): Require overflow exception for
12637 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12638 range of signed 64-bit integers before using fistpll. Remove
12639 checks for whether integers fit in mantissa bits.
12640 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12641 the range of signed 32-bit integers before using fistpl. Remove
12642 checks for whether integers fit in mantissa bits.
12643 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12644 (__ieee754_powl): Test for y outside the range of signed 64-bit
12645 integers before using fistpll. Reduce 64-bit values to 63-bit
12647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12648 divide-by-zero is raised for zero to large negative powers.
12649 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12650 (__ieee754_powl): Test for y outside the range of signed 64-bit
12651 integers before using fistpll. Reduce 64-bit values to 63-bit
12653 * math/libm-test.inc (pow_test): Add more tests.
12655 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12657 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12658 <stdio-common/_itoa.h>.
12659 * debug/segfault.c: Likewise.
12660 * elf/dl-cache.c: Likewise.
12661 * elf/dl-minimal.c: Likewise.
12662 * elf/dl-misc.c: Likewise.
12663 * elf/dl-sysdep.c: Likewise.
12664 * elf/dl-version.c: Likewise.
12665 * elf/rtld.c: Likewise.
12666 * hurd/hurdsock.c: Likewise.
12667 * hurd/lookup-retry.c: Likewise.
12668 * malloc/malloc.c: Likewise.
12669 * malloc/mtrace.c: Likewise.
12670 * nscd/nscd_getgr_r.c: Likewise.
12671 * nscd/nscd_getpw_r.c: Likewise.
12672 * nscd/nscd_getserv_r.c: Likewise.
12673 * posix/getopt_init.c: Likewise.
12674 * posix/wordexp.c: Likewise.
12675 * stdio-common/_itoa.c: Likewise.
12676 * stdio-common/printf_fphex.c: Likewise.
12677 * stdio-common/vfprintf.c: Likewise.
12678 * string/_strerror.c: Likewise.
12679 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12680 * sysdeps/i386/i686/hp-timing.h: Likewise.
12681 * sysdeps/mach/_strerror.c: Likewise.
12682 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12683 * sysdeps/mach/hurd/sethostid.c: Likewise.
12684 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12685 * sysdeps/mach/xpg-strerror.c: Likewise.
12686 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12687 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12688 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12689 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12690 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12691 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12693 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12694 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12695 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12696 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12697 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12699 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12700 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12701 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12703 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12704 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12705 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12706 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12708 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12710 * stdio-common/_itoa.h: Moved to ...
12711 * sysdeps/generic/_itoa.h: Here.
12713 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12715 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12716 instead of "_itoa.h" and "_itowa.h".
12717 * stdio-common/vfprintf.: Likewise.
12719 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12721 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12723 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12724 (__signbit): Likwise.
12725 (llrintf): Likwise.
12728 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12730 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12733 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12735 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12736 OVERFLOW_EXCEPTION_OK.
12737 * math/libm-test.inc ("Philosophy"): Update comment about
12739 (OVERFLOW_EXCEPTION): Define.
12740 (OVERFLOW_EXCEPTION_OK): Likewise.
12741 (INVALID_EXCEPTION_OK): Renumber.
12742 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12743 (IGNORE_ZERO_INF_SIGN): Likewise.
12744 (test_exceptions): Handle FE_OVERFLOW.
12745 (exp10_test): Expect overflow exceptions.
12746 (exp2_test): Likewise.
12747 (expm1_test): Likewise.
12748 (nextafter_test): Likewise.
12749 (pow_test): Likewise.
12750 (scalbn_test): Likewise.
12751 (scalbln_test): Likewise.
12753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12755 * sysdeps/x86_64/bits/atomic.h
12756 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12758 (atomic_exchange_acq): Likewise.
12759 (__arch_exchange_and_add_body): Likewise.
12760 (__arch_add_body): Likewise.
12761 (atomic_add_negative): Likewise.
12762 (atomic_add_zero): Likewise.
12764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12766 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12767 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12769 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12771 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12772 Check __x86_64__ instead of __WORDSIZE.
12774 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12776 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12778 2012-03-19 David S. Miller <davem@davemloft.net>
12780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12782 * sysdeps/sparc/fpu/fenv_private.h: New file.
12783 * sysdeps/sparc/fpu/math_private.h: Use it.
12784 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12786 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12787 (libc_feholdexcept_setroundl): Remove.
12788 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12790 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12791 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12793 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12795 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12796 int64_t instead of long int.
12797 (INSERT_WORDS64): Likwise.
12799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12801 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12802 _Unwind_GetCFA return to _Unwind_Ptr first.
12804 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12807 * math/s_clog.c: Include <float.h>.
12808 (__clog): Scale large or subnormal inputs.
12809 * math/s_clogf.c: Likewise.
12810 * math/s_clogl.c: Likewise.
12811 * math/s_clog10.c: Include <float.h>.
12812 (M_LOG10_2): Define.
12813 (__clog10): Scale large or subnormal inputs.
12814 * math/s_clog10f.c: Likewise.
12815 * math/s_clog10l.c: Likewise.
12816 * math/libm-test.inc (clog_test): Add more tests.
12817 (clog10_test): Likewise.
12818 * sysdeps/i386/fpu/libm-test-ulps: Update.
12819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12822 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12824 * math/libm-test.inc (atan2_test): Add another test.
12826 * Makerules (common-objdir-compile): Remove.
12827 * sysdeps/unix/Makefile (config-generated): Do not add
12828 $(unix-generated) to variable.
12829 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12830 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12832 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12834 [generic bits/local_lim.h] (before-compile): Do not append to
12836 [generic bits/local_lim.h] (common-generated): Likewise.
12837 [generic sys/param.h] (before-compile): Do not append to variable.
12838 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12839 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12840 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12841 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12843 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12844 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12845 [generic sys/param.h] ($(addprefix
12846 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12847 [generic sys/param.h] (common-generated): Do not append to
12849 [generic sys/param.h] (sysdep_headers): Likewise.
12850 [generic bits/errno.h] (before-compile): Do not append to
12852 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12854 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12855 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12856 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12857 [generic bits/errno.h] (common-generated): Do not append to
12859 [generic bits/ioctls.h] (before-compile): Do not append to
12861 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12863 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12864 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12865 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12867 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12868 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12869 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12870 [generic bits/ioctls.h] (common-generated): Do not append to
12872 [generic sys/syscall.h] (syscall.h): Remove variable.
12873 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12875 [generic sys/syscall.h] (before-compile): Do not append to
12877 [generic sys/syscall.h] (common-generated): Likewise.
12878 * sysdeps/unix/errnos-tmpl.c: Remove file.
12879 * sysdeps/unix/errnos.awk: Likewise.
12880 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12881 * sysdeps/unix/ioctls.awk: Likewise.
12882 * sysdeps/unix/mk-local_lim.c: Likewise.
12883 * sysdeps/unix/snarf-ioctls: Likewise.
12885 2012-03-19 Richard Henderson <rth@twiddle.net>
12887 * sysdeps/i386/fpu/fenv_private.h: New file.
12888 * sysdeps/i386/fpu/math_private.h: Use it.
12889 (math_opt_barrier, math_force_eval): Remove.
12890 (libc_feholdexcept_setround_53bit): Remove.
12891 (libc_feupdateenv_53bit): Remove.
12892 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12893 (math_opt_barrier, math_force_eval): Remove.
12894 (libc_feholdexcept): Remove.
12895 (libc_feholdexcept_setround): Remove.
12896 (libc_fetestexcept, libc_fesetenv): Remove.
12897 (libc_feupdateenv_test): Remove.
12898 (libc_feupdateenv, libc_feholdsetround): Remove.
12899 (libc_feresetround): Remove.
12901 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12902 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12904 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12905 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12906 (libc_feupdateenv_testl): New.
12907 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12908 (libc_feupdateenv_testf): New.
12909 (libc_feupdateenv): Use libc_feupdateenv_test.
12910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12913 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12914 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12915 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12916 (libc_feresetround_noex): New.
12917 (libc_feresetround_noexf): New.
12918 (libc_feresetround_noexl): New.
12919 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12920 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12921 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12922 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12925 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12927 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12928 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12929 SET_RESTORE_ROUND_NOEX.
12930 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12931 SET_RESTORE_ROUND_NOEXF.
12932 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12933 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12934 (libc_feholdsetroundf): New.
12935 (libc_feresetround, libc_feresetroundf): New.
12937 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12938 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12939 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12941 * sysdeps/generic/math_private.h: Include <fenv.h>.
12942 (default_libc_feholdexcept): New.
12943 (default_libc_feholdexcept_setround): New.
12944 (default_libc_fesetenv, default_libc_feupdateenv): New.
12945 (libc_feholdexcept): Only define if undefined.
12946 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12947 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12948 (libc_feholdexcept_setroundl): Likewise.
12949 (libc_feholdexcept_setround_53bit): Likewise.
12950 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12951 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12952 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12953 (libc_feupdateenv_53bit): Likewise.
12954 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12955 (libc_feholdexcept): Convert from macro to inline function.
12956 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12957 (libc_fesetenv, libc_feupdateenv): Likewise.
12959 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12960 not previously defined.
12961 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12962 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12963 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12964 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12965 * sysdeps/ieee754/flt-32/math_private.h: New file.
12966 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12967 math_private.h below SET_FLOAT_WORD.
12968 (__isnan, __isinf_ns, __finite): Remove.
12969 (__isnanf, __isinf_nsf, __finitef): Remove.
12971 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12975 2012-03-17 David S. Miller <davem@davemloft.net>
12978 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12981 2012-03-16 David S. Miller <davem@davemloft.net>
12983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12987 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12989 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12990 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12991 sysdep_routines when subdir is sysvipc.
12992 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12993 __getshmlba helper.
12995 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12997 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12999 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13002 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13004 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13005 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13006 (__lround): Renamed to ...
13007 (__llround): This. Replace long int with long long int.
13008 Define lround functions as aliases of llround functions.
13009 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13011 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13013 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13014 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13015 adresses to uintptr_t. Replace "long int" and "unsigned long
13016 int" with "greg_t" on va_arg.
13018 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13020 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13021 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13023 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13024 Move e_machine check before EI_CLASS check. Handle x32
13025 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13026 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13027 SKIP_EM_IA_64 and include
13028 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13030 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13031 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13032 (add_system_dir): New macro.
13034 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13035 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13037 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13048 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13050 * math/w_j0f.c (j0f): Likewise.
13052 * math/w_j0l.c (__j0l): Likewise.
13054 * math/w_j1.c (j1): Likewise.
13056 * math/w_j1f.c (j1f): Likewise.
13058 * math/w_j1l.c (__j1l): Likewise.
13060 * math/w_jn.c (jn): Likewise.
13062 * math/w_jnf.c (jnf): Likewise.
13064 * math/w_jnl.c (__jnl): Likewise.
13066 * math/libm-test.inc (j0_test): Add more tests.
13067 (j1_test): Likewise.
13068 (jn_test): Likewise. Add trailing semicolon to existing test.
13069 (y0_test): Likewise.
13070 (y1_test): Likewise.
13071 * sysdeps/i386/fpu/libm-test-ulps: Update.
13072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13077 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13078 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13080 (__tanl): Set errno for infinite argument.
13081 * sysdeps/i386/fpu/mptan.c: Remove.
13082 * sysdeps/i386/fpu/s_tan.S: Likewise.
13083 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13084 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13085 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13086 * math/libm-test.inc (tan_test): Add more tests and enable more
13087 tests for double and long double.
13088 * sysdeps/i386/fpu/libm-test-ulps: Update.
13089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13091 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13093 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13094 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13096 2012-03-16 Roland McGrath <roland@hack.frob.com>
13098 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13099 * configure.in: Use it for both main tree and add-ons.
13100 * configure: Regenerated.
13102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13104 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13106 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13108 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13112 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13113 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13118 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13120 != 0 for prec == 2.
13121 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13122 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13123 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13124 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13125 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13126 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13127 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13128 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13129 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13130 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13131 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13132 * math/libm-test.inc (cos_test): Add more tests and enable more
13133 tests for long double.
13134 (sin_test): Likewise.
13135 (sincos_test): Likewise.
13136 * sysdeps/i386/fpu/libm-test-ulps: Update.
13137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13139 2012-03-16 David S. Miller <davem@davemloft.net>
13141 * sysdeps/sparc/fpu/math_private.h: New file.
13143 2012-03-15 David S. Miller <davem@davemloft.net>
13145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13159 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13160 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13162 * sysdeps/sparc/sparc-ifunc.h: New file.
13163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13208 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13210 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13214 2012-03-15 Andreas Jaeger <aj@suse.de>
13217 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13218 ieee754/flt-32 implementation for sin, cos and sincos.
13219 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13220 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13221 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13222 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13223 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13224 ieee754/flt-32 implementation for tan.
13226 * math/libm-test.inc (cos_test): Enable some large input tests for
13228 (sin_test): Likewise.
13229 (sincos_test): Likewise.
13230 (tan_test): Add tests for large input.
13232 * sysdeps/i386/fpu/libm-test-ulps: Update.
13234 2012-03-15 Andreas Jaeger <aj@suse.de>
13237 * math/libm-test.inc (cos_test): Add more test cases.
13238 (sin_test): Likewise.
13239 (sincos_test): Likewise.
13241 2012-03-15 Andreas Jaeger <aj@suse.de>
13244 * math/libm-test.inc (cos_test): Add a test case for large input
13246 (sin_test): Likewise.
13247 (sincos_test): Likewise.
13249 2012-03-15 Andreas Jaeger <aj@suse.de>,
13250 Joseph Myers <joseph@codesourcery.com>
13253 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13254 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13255 * sysdeps/i386/fpu/branred.c: Likewise.
13256 * sysdeps/i386/fpu/dosincos.c: Likewise.
13257 * sysdeps/i386/fpu/mpa.c: Likewise.
13258 * sysdeps/i386/fpu/s_cos.S: Likewise.
13259 * sysdeps/i386/fpu/s_sin.S: Likewise.
13260 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13261 * sysdeps/i386/fpu/sincos32.c: Likewise.
13263 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13265 (libc_feupdateenv_53bit): Define.
13266 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13268 (libc_feupdateenv_53bit): Define.
13270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13271 53 bit (without extend i386 double precision).
13273 * math/libm-test.inc (sincos_test): Add tests for large input.
13277 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13279 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13283 2012-03-15 David S. Miller <davem@davemloft.net>
13285 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13286 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13287 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13288 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13313 fmin/fmax sysdep routines.
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13316 2012-03-14 David S. Miller <davem@davemloft.net>
13318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13390 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13395 * sysdeps/sparc/configure.in: New file.
13396 * sysdeps/sparc/configure: Generate.
13397 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13398 * configure: Regenerate.
13399 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13400 * config.make.in (have-as-vis3): New.
13401 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13402 available use -Av9d instead of -Av9a.
13403 * sysdeps/sparc/sparc64/Makefile: Likewise.
13404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13419 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13420 fzeros/fnegs to load 0x80000000 into a float register instead of
13422 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13424 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13428 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13429 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13430 ($(inst_includedir)/bits/syscall.h): Remove rule.
13431 ($(objpfx)bits/syscall.d): Include instead of
13432 $(objpfx)syscall-list.d.
13433 (generated): Change syscall-list.h and syscall-list.d to
13434 bits/syscall.h and bits/syscall.d.
13436 2012-03-14 Roland McGrath <roland@hack.frob.com>
13439 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13441 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13444 * math/s_csqrt.c: Include <float.h>.
13445 (__csqrt): Scale large or subnormal inputs.
13446 * math/s_csqrtf.c: Likewise.
13447 * math/s_csqrtl.c: Likewise.
13448 * math/libm-test.inc (csqrt_test): Add more tests.
13449 * sysdeps/i386/fpu/libm-test-ulps: Update.
13450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453 * math/libm-test.inc (hypot_test): Add more tests.
13455 2012-03-13 David S. Miller <davem@davemloft.net>
13458 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13459 double-precision for the calculation instead of scaling.
13461 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13463 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13464 manipulate bits before adding and subtracting TWO52[sx].
13465 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13470 2012-03-13 David S. Miller <davem@davemloft.net>
13472 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13473 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13475 rtld-global-offsets.h
13476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13478 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13481 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13483 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13484 'err' in the ifdef scope in which it is actually used.
13486 * nss/nss_db/db-init.c: Include string.h
13488 2012-03-12 David S. Miller <davem@davemloft.net>
13490 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13491 masking out of the most significant byte of random value used.
13492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13493 Fix coding style in previous change.
13495 * sysdeps/unix/sysv/linux/kernel-features.h
13496 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13497 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13499 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13502 2012-03-11 David S. Miller <davem@davemloft.net>
13504 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13505 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13507 for 'resultvar' otherwise things get truncated on 64-bit.
13509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13510 Fix masking out of the most significant byte of random value used.
13512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13514 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13518 2012-03-09 David S. Miller <davem@davemloft.net>
13520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13521 variables with appropriate CPP guards.
13522 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13523 frame pointer, not the stack pointer. Correct layout comments. Fix test
13524 on resulting framesize and the management of the outregs buffer for pltexit.
13525 Preserve floating point return values across _dl_call_pltexit call.
13526 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13527 framesize and the management of the outregs buffer for pltexit.
13528 Preserve floating point return values across _dl_call_pltexit
13530 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13531 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13532 (print_exit): Fix format string for return register value.
13534 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13536 * sunrpc/Makefile (others): Add rpcgen.
13537 ($(objpfx)rpcgen): Remove special build rule and dependency on
13539 * sunrpc/rpcgen.c: New file.
13541 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13544 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13545 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13546 * sysdeps/i386/crti.S: Likewise.
13547 * sysdeps/i386/crtn.S: Likewise.
13548 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13549 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13550 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13551 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13552 * sysdeps/sh/crti.S: Likewise.
13553 * sysdeps/sh/crtn.S: Likewise.
13554 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13557 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13559 * locale/programs/locfile-kw.gperf: Likewise.
13560 * locale/programs/charmap-kw.h: Regenerated.
13561 * locale/programs/locfile-kw.h: Likewise.
13564 * intl/plural.y: Replace FSF snail mail address with URL.
13565 * intl/plural.c: Regenerated.
13567 2012-03-09 Richard Henderson <rth@twiddle.net>
13569 * include/math_private.h: Remove file.
13570 * math/math_private.h: Move file ...
13571 * sysdeps/generic/math_private.h: ... here.
13573 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13574 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13575 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13577 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13578 and <math_private.h>.
13579 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13580 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13581 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13582 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13583 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13619 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13620 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13621 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13627 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13629 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13630 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13631 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13632 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13633 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13634 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13635 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13636 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13637 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13640 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13643 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13647 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13648 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13650 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13652 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13667 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13670 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13672 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13673 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13674 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13675 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13676 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13677 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13678 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13679 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13680 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13681 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13682 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13683 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13684 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13685 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13686 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13687 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13688 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13689 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13690 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13691 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13692 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13693 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13696 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13697 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13698 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13699 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13700 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13701 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13702 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13715 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13718 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13719 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13720 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13721 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13722 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13723 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13724 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13725 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13726 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13727 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13728 * sysdeps/ieee754/k_standard.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13844 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13848 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13849 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13851 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13856 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13861 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13877 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13878 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13879 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13889 * sysdeps/ieee754/s_lib_version.c: Likewise.
13890 * sysdeps/ieee754/s_matherr.c: Likewise.
13891 * sysdeps/ieee754/s_signgam.c: Likewise.
13892 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13893 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13894 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13895 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13896 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13897 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13898 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13899 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13900 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13901 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13902 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13903 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13904 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13906 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13907 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13908 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13909 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13910 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13914 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13916 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13917 * sunrpc/rpc_main.c: Likewise.
13918 * sunrpc/rpc_svcout.c: Likewise.
13920 2012-03-09 David S. Miller <davem@davemloft.net>
13922 * include/math_private.h: New file.
13924 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13926 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13927 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13928 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13929 from <bits/socket_type.h>.
13930 (enum __socket_type): Don't define here.
13931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13933 bits/socket_type.h.
13936 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13937 checking __USE_GNU.
13939 * Makerules ($(inst_includedir)/%.h): New rule.
13940 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13941 (install-others): Remove variable setting.
13942 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13944 2012-03-08 Richard Henderson <rth@twiddle.net>
13946 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13947 from macro to inline function; merge with the
13948 !__LIBC_INTERNAL_MATH_INLINES version.
13949 (__ieee754_sqrtf): Likewise.
13951 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13952 to inline function.
13953 (__rintf, __floor, __floorf): Likewise.
13955 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13956 macro to inline function.
13957 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13959 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13960 not <math/math_private.h>.
13962 2012-03-08 David S. Miller <davem@davemloft.net>
13964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13966 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13968 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13970 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13972 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13973 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13975 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13977 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13978 be defined individually, they must be defined as a block. Define
13979 S for printing a string instead of hidint the different by using a
13980 macro for adding the 'l'.
13981 * stdio-common/tst-fphex-wide.c: Adjust.
13983 2012-03-07 Marek Polacek <polacek@redhat.com>
13985 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13987 2012-03-08 Marek Polacek <polacek@redhat.com>
13990 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13991 * stdio-common/tst-fphex.c: Define a few macros to make the
13992 test reusable. Use them.
13993 * stdio-common/tst-fphex-wide.c: New file.
13995 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13998 * manual/macros.texi (gnusystems): New macro.
13999 (nongnusystems): Likewise.
14000 (gnulinuxhurdsystems): Likewise.
14001 (gnuhurdsystems): Likewise..
14002 (gnulinuxsystems): Likewise.
14003 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14004 variants of the GNU system, not "GNU system".
14005 * manual/conf.texi: Likewise.
14006 * manual/errno.texi: Likewise. Update example of errno macro
14008 * manual/filesys.texi: Likewise.
14009 (getumask): Document as specific to GNU/Hurd.
14010 * manual/install.texi: Likewise. Reword some references to
14012 * manual/intro.texi: Likewise.
14013 * manual/io.texi: Likewise.
14014 (File Name Portability): Detail which constraints are inapplicable
14015 to all GNU systems and which are only inapplicable to GNU/Hurd.
14016 * manual/job.texi: Likewise.
14017 * manual/llio.texi: Likewise.
14018 (O_NOCTTY): Document as present on GNU/Linux.
14019 * manual/maint.texi: Likewise.
14020 * manual/memory.texi: Likewise.
14021 * manual/pattern.texi: Likewise.
14022 * manual/pipe.texi: Likewise.
14023 * manual/process.texi: Likewise.
14024 * manual/resource.texi: Likewise.
14025 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14027 * manual/setjmp.texi: Likewise.
14028 * manual/signal.texi: Likewise.
14029 * manual/startup.texi: Likewise.
14030 * manual/stdio.texi: Likewise.
14031 * manual/terminal.texi: Likewise.
14032 (ONLCR): Document as POSIX.
14033 (OXTABS): Document availability on GNU/Linux as XTABS.
14034 (ONOEOT): Document availability separately from other bits.
14035 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14036 * manual/time.texi: Likewise.
14037 * manual/users.texi: Likewise.
14038 * INSTALL: Regenerated.
14039 * sysdeps/gnu/errlist.c: Regenerated.
14041 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14042 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14043 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14045 * configure: Regenerated.
14047 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14049 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14050 default includes instead of AC_HEADER_CHECK.
14051 * sysdeps/i386/configure: Regenerated.
14054 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14055 * math/s_cacoshf.c (__cacoshf): Likewise.
14056 * math/s_cacoshl.c (__cacoshl): Likewise.
14057 * math/s_casinh.c (__casinh): Set signs of result from argument.
14058 * math/s_casinhf.c (__casinhf): Likewise.
14059 * math/s_casinhl.c (__casinhl): Likewise.
14060 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14061 (casinh_test): Add more tests.
14062 * sysdeps/i386/fpu/libm-test-ulps: Update.
14063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14065 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14067 * po/zh_TW.po: Update from translation team.
14069 * login/Makefile (distribute): Remove variable.
14070 * catgets/Makefile: Likewise.
14071 * mach/Makefile: Likewise.
14072 * malloc/Makefile: Likewise.
14073 * misc/Makefile: Likewise.
14074 * iconv/Makefile: Likewise.
14075 * nscd/Makefile: Likewise.
14076 * hurd/Makefile: Likewise.
14077 * manual/Makefile: Likewise.
14078 * locale/Makefile: Likewise.
14079 * intl/Makefile: Likewise.
14080 * conform/Makefile: Likewise.
14081 * nss/Makefile: Likewise.
14082 * time/Makefile: Likewise.
14083 * soft-fp/Makefile: Likewise.
14084 * dirent/Makefile: Likewise.
14085 * gmon/Makefile: Likewise.
14086 * po/Makefile: Likewise.
14087 * rt/Makefile: Likewise.
14088 * socket/Makefile: Likewise.
14089 * math/Makefile: Likewise.
14090 * signal/Makefile: Likewise.
14091 * debug/Makefile: Likewise.
14092 * elf/Makefile: Likewise.
14093 * timezone/Makefile: Likewise.
14094 * stdlib/Makefile: Likewise.
14095 * iconvdata/Makefile: Likewise.
14096 * sunrpc/Makefile: Likewise.
14097 * io/Makefile: Likewise.
14098 * argp/Makefile: Likewise.
14099 * inet/Makefile: Likewise.
14100 * hesiod/Makefile: Likewise.
14101 * grp/Makefile: Likewise.
14102 * csu/Makefile: Likewise.
14103 * wctype/Makefile: Likewise.
14104 * crypt/Makefile: Likewise.
14105 * libio/Makefile: Likewise.
14106 * string/Makefile: Likewise.
14107 * nis/Makefile: Likewise.
14108 * resolv/Makefile: Likewise.
14109 * stdio-common/Makefile: Likewise.
14110 * wcsmbs/Makefile: Likewise.
14111 * dlfcn/Makefile: Likewise.
14112 * posix/Makefile: Likewise.
14115 * timezone/Makefile: Don't install timezone files, just the programs
14118 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14120 * nss/databases.def: Add missing gshadow entry.
14122 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14124 2012-03-06 Marek Polacek <polacek@redhat.com>
14127 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14128 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14129 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14130 * stdio-common/tst-long-dbl-fphex.c: New file.
14132 2012-03-06 David S. Miller <davem@davemloft.net>
14134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14135 (set_obp_int): New function.
14136 (get_obp_int): New function.
14137 (__get_clockfreq_via_dev_openprom): Likewise.
14138 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14139 Avoid unused variable warnings on 'val' and use builtin_expect.
14140 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14142 (INLINE_CLONE_SYSCALL): Likewise.
14144 2012-03-05 David S. Miller <davem@davemloft.net>
14146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14148 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14153 only for |x| >= 40.
14154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14156 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14159 Replace gettimeofday with __vdso_gettimeofday.
14161 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14162 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14163 __vdso_clock_gettime and __vdso_getcpu.
14165 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14166 time with __vdso_time.
14168 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14170 * manual/lang.texi (size_t): Note types to which size_t may be
14171 equivalent with the GNU C Library, but do not describe when
14172 differences between them are significant.
14174 2012-03-05 Andreas Jaeger <aj@suse.de>
14176 * sysdeps/i386/fpu/libm-test-ulps: Update.
14178 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14182 (__ieee754_pow): Save and restore rounding mode and use
14183 round-to-nearest for main computations.
14184 * math/libm-test.inc (pow_test_tonearest): New function.
14185 (pow_test_towardzero): Likewise.
14186 (pow_test_downward): Likewise.
14187 (pow_test_upward): Likewise.
14188 (main): Call the new functions.
14189 * sysdeps/i386/fpu/libm-test-ulps: Update.
14190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193 * math/libm-test.inc (cosh_test_tonearest): New function.
14194 (cosh_test_towardzero): Likewise.
14195 (cosh_test_downward): Likewise.
14196 (cosh_test_upward): Likewise.
14197 (sinh_test_tonearest): Likewise.
14198 (sinh_test_towardzero): Likewise.
14199 (sinh_test_downward): Likewise.
14200 (sinh_test_upward): Likewise.
14201 (main): Call the new functions.
14202 * sysdeps/i386/fpu/libm-test-ulps: Update.
14203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14205 2012-03-05 Tom de Vries <tom@codesourcery.com>
14207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14208 default stack guard is set in last bytes.
14209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14211 2012-03-05 Kees Cook <keescook@chromium.org>
14213 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14216 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14217 possibly allocate from heap instead of stack.
14218 * stdio-common/bug-vfprintf-nargs.c: New file.
14219 * stdio-common/Makefile (tests): Add nargs overflow test.
14221 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14225 2012-03-03 Marek Polacek <polacek@redhat.com>
14227 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14228 * math/math_private.h: Likewise.
14229 * stdlib/tst-strtod.c: Likewise.
14230 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14231 * sysdeps/x86_64/bits/atomic.h: Likewise.
14233 2012-03-02 David S. Miller <davem@davemloft.net>
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14239 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14240 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14241 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14242 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14244 2012-03-02 Roland McGrath <roland@hack.frob.com>
14247 * manual/examples/README: New file, says the example source files
14248 can be used under GPL>=2.
14249 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14250 line containing just "*/".
14251 * manual/examples/add.c: Add copyright header (GPL>=2).
14252 * manual/examples/argp-ex1.c: Likewise.
14253 * manual/examples/argp-ex2.c: Likewise.
14254 * manual/examples/argp-ex3.c: Likewise.
14255 * manual/examples/argp-ex4.c: Likewise.
14256 * manual/examples/atexit.c: Likewise.
14257 * manual/examples/db.c: Likewise.
14258 * manual/examples/dir.c: Likewise.
14259 * manual/examples/dir2.c: Likewise.
14260 * manual/examples/execinfo.c: Likewise.
14261 * manual/examples/filecli.c: Likewise.
14262 * manual/examples/filesrv.c: Likewise.
14263 * manual/examples/fmtmsgexpl.c: Likewise.
14264 * manual/examples/genpass.c: Likewise.
14265 * manual/examples/inetcli.c: Likewise.
14266 * manual/examples/inetsrv.c: Likewise.
14267 * manual/examples/isockad.c: Likewise.
14268 * manual/examples/longopt.c: Likewise.
14269 * manual/examples/memopen.c: Likewise.
14270 * manual/examples/memstrm.c: Likewise.
14271 * manual/examples/mkfsock.c: Likewise.
14272 * manual/examples/mkisock.c: Likewise.
14273 * manual/examples/mygetpass.c: Likewise.
14274 * manual/examples/pipe.c: Likewise.
14275 * manual/examples/popen.c: Likewise.
14276 * manual/examples/rprintf.c: Likewise.
14277 * manual/examples/search.c: Likewise.
14278 * manual/examples/select.c: Likewise.
14279 * manual/examples/setjmp.c: Likewise.
14280 * manual/examples/sigh1.c: Likewise.
14281 * manual/examples/sigusr.c: Likewise.
14282 * manual/examples/stpcpy.c: Likewise.
14283 * manual/examples/strdupa.c: Likewise.
14284 * manual/examples/strftim.c: Likewise.
14285 * manual/examples/strncat.c: Likewise.
14286 * manual/examples/subopt.c: Likewise.
14287 * manual/examples/swapcontext.c: Likewise.
14288 * manual/examples/termios.c: Likewise.
14289 * manual/examples/testopt.c: Likewise.
14290 * manual/examples/testpass.c: Likewise.
14291 * manual/examples/timeval_subtract.c: Likewise.
14294 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14296 * manual/timeval_subtract.c.texi: ... here, new file.
14298 2012-03-02 David S. Miller <davem@davemloft.net>
14300 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14302 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14305 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14306 (__sin): Save and restore rounding mode and use round-to-nearest
14307 for all computations.
14308 (__cos): Save and restore rounding mode and use round-to-nearest
14309 for all computations.
14310 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14312 (tan): Save and restore rounding mode and use round-to-nearest for
14314 * math/libm-test.inc (cos_test_tonearest): New function.
14315 (cos_test_towardzero): Likewise.
14316 (cos_test_downward): Likewise.
14317 (cos_test_upward): Likewise.
14318 (sin_test_tonearest): Likewise.
14319 (sin_test_towardzero): Likewise.
14320 (sin_test_downward): Likewise.
14321 (sin_test_upward): Likewise.
14322 (tan_test_tonearest): Likewise.
14323 (tan_test_towardzero): Likewise.
14324 (tan_test_downward): Likewise.
14325 (tan_test_upward): Likewise.
14326 (main): Call the new functions.
14327 * sysdeps/i386/fpu/libm-test-ulps: Update.
14328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14332 small n, then large n, before computing and testing k+n.
14333 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14338 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14339 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14340 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14341 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14344 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14346 * math/libm-test.inc (scalbn_test): Add more tests.
14347 (scalbln_test): Likewise.
14349 * manual/filesys.texi (mode_t): Describe constraints on size and
14350 signedness, not exact equivalence to a particular type.
14352 (ino64_t): Likewise.
14354 (nlink_t): Likewise.
14355 (blkcnt_t): Likewise.
14356 (blkcnt64_t): Likewise.
14357 * manual/llio.texi (off_t): Likewise.
14360 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14361 (__ieee754_exp): Save and restore rounding mode and use
14362 round-to-nearest for all computations.
14363 * math/libm-test.inc (exp_test_tonearest): New function.
14364 (exp_test_towardzero): Likewise.
14365 (exp_test_downward): Likewise.
14366 (exp_test_upward): Likewise.
14367 (main): Call the new functions.
14368 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371 2012-03-01 Chris Demetriou <cgd@google.com>
14373 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14374 have predictable order.
14376 2012-03-01 David S. Miller <davem@davemloft.net>
14378 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14380 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14381 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14382 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14383 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14385 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14386 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14387 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14389 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14390 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14391 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14392 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14393 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14397 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14398 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14399 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14401 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14402 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14403 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14404 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14405 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14408 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14409 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14410 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14411 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14415 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14417 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14418 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14419 * sysdeps/sparc/elf/configure: Regenerated.
14421 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14423 * configure.in (AS, LD): Require binutils 2.20 or later.
14424 * configure: Regenerated.
14425 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14426 as required minimum version.
14427 * INSTALL: Regenerated.
14431 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14432 before squaring exponent.
14433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14434 bottom long double and 27 bits of top long double before squaring
14436 * math/libm-test.inc (erfc_test): Add more tests.
14437 * sysdeps/i386/fpu/libm-test-ulps: Update.
14438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441 2012-03-01 Kai Tietz <ktietz@redhat.com>
14443 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14444 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14445 containing bit-fields.
14446 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14447 * soft-fp/single.h (_FP_UNION_S): Likewise.
14448 * soft-fp/double.h (_FP_UNION_D): Likewise.
14450 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14453 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14454 not include ../strcmp.S.
14455 [USE_AS_STRNCASECMP_L]: Likewise.
14456 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14457 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14458 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14459 (__strncasecmp_l_ia32): Define as alias to
14460 __strncasecmp_l_nonascii.
14463 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14464 * sysdeps/i386/fpu/libm-test-ulps: Update.
14465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14467 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14470 2012-02-29 Jeff Law <law@redhat.com>
14472 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14473 out of bounds read.
14475 2012-02-29 Marek Polacek <polacek@redhat.com>
14478 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14479 * elf/Makefile: Add rules to run tst-unused-dep.out.
14481 2012-02-28 David S. Miller <davem@davemloft.net>
14483 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14484 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14487 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14488 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14490 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14492 * math/libm-test.inc (llround_test): Move one test from
14493 lround_test. Use TEST_f_L in moved test.
14494 (lround_test): Move misplaced test to llround_test. Add testcase
14497 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14499 * sysdeps/x86_64/fpu/e_expf.S: New file.
14500 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14502 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14505 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14506 of remain_len that may cause incomplete multi-byte character and
14508 * posix/bug-regex33.c: New file.
14509 * posix/Makefile (tests): Add bug-regex33.
14511 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14513 * manual/macros.texi: New file.
14514 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14515 * manual/libc.texinfo: Include macros.texi.
14516 * manual/creatute.texi: Likewise.
14517 * manual/install.texi: Likewise.
14518 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14519 @glibcadj{} in references to the GNU C Library.
14520 * manual/charset.texi: Likewise.
14521 * manual/conf.texi: Likewise.
14522 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14523 when not using those macros.
14524 * manual/creature.texi: Likewise.
14525 * manual/crypt.texi: Likewise.
14526 * manual/errno.texi: Likewise.
14527 * manual/filesys.texi: Likewise.
14528 * manual/header.texi: Likewise.
14529 * manual/install.texi: Likewise.
14530 * manual/intro.texi: Likewise.
14531 * manual/io.texi: Likewise.
14532 * manual/job.texi: Likewise.
14533 * manual/lang.texi: Likewise.
14534 * manual/libc.texiinfo: Likewise.
14535 * manual/llio.texi: Likewise.
14536 * manual/locale.texi: Likewise.
14537 * manual/maint.texi: Likewise.
14538 * manual/math.texi: Likewise.
14539 * manual/memory.texi: Likewise.
14540 * manual/message.texi: Likewise.
14541 * manual/nss.texi: Likewise.
14542 * manual/pattern.texi: Likewise.
14543 * manual/process.texi: Likewise.
14544 * manual/resource.texi: Likewise.
14545 * manual/search.texi: Likewise.
14546 * manual/setjmp.texi: Likewise.
14547 * manual/signal.texi: Likewise.
14548 * manual/socket.texi: Likewise.
14549 * manual/startup.texi: Likewise.
14550 * manual/stdio.texi: Likewise.
14551 * manual/string.texi: Likewise.
14552 * manual/sysinfo.texi: Likewise.
14553 * manual/syslog.texi: Likewise.
14554 * manual/terminal.texi: Likewise.
14555 * manual/time.texi: Likewise.
14556 * manual/users.texi: Likewise.
14557 * INSTALL: Regenerated.
14558 * NOTES: Regenerated.
14559 * sysdeps/gnu/errlist.c: Regenerated.
14561 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14563 * include/dirent.h: Include <dirstream.h> before
14566 2012-02-28 David S. Miller <davem@davemloft.net>
14568 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14569 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14570 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14571 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14573 2012-02-27 David S. Miller <davem@davemloft.net>
14575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14577 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14578 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14581 frame pointer instead of stack pointer relative arg slot.
14582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14586 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14589 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14591 2012-02-27 David S. Miller <davem@davemloft.net>
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14599 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14600 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14602 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14604 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14605 later. Allow versions 5-9.
14606 * configure: Regenerated.
14607 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14608 required minimum version and 4.6 as recommended version. Do not
14609 mention bugs in GCC 2.7 and 2.8.
14610 * INSTALL: Regenerated.
14612 2012-02-27 David S. Miller <davem@davemloft.net>
14614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14618 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14619 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14620 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14621 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14624 manipulate bits before adding and subtracting TWO112[sx].
14625 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14627 2012-02-27 Roland McGrath <roland@hack.frob.com>
14630 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14631 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14632 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14633 being in POSIX, because they are in 1003.1-2008.
14635 * rt/tst-aio.c: Include <fcntl.h>.
14636 * rt/tst-aio7.c: Likewise.
14637 * rt/tst-aio64.c: Likewise.
14639 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14641 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14643 * manual/install.texi (--with-headers): Describe headers as
14644 interface headers, not private headers.
14645 (Specific advice for GNU/Linux systems): Describe use of headers
14646 from "make headers_install", not private headers from older
14648 * INSTALL: Regenerated.
14649 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14651 * sysdeps/unix/sysv/linux/configure: Regenerated.
14653 * manual/llio.texi (fclean): Remove documentation.
14655 * manual/Makefile (libc-texi-generated): New variable. Include
14657 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14658 $(libc-texi-generated), not duplicated list of files.
14659 (version.texi, stamp-version): New rules.
14660 (realclean): Remove $(libc-texi-generated), not individual files
14661 from that list. Do not remove dir-add.texinfo.
14662 * manual/libc.texinfo: Comment out uses of edition numbers and
14663 references to printed manual. Remove last-updated dates.
14664 (EDITION): Comment out.
14666 (VERSION, UPDATED): Remove.
14667 (version.texi): Include.
14669 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14671 * sysdeps/posix/spawni.c: Include <signal.h>.
14672 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14673 * sysdeps/pthread/aio_fsync.c: Likewise.
14675 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14677 * conform/Makefile (tests): Run only when not cross-compiling and
14678 when fast-check is not defined.
14680 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14681 * conform/data/limits.h-data: Fixes for POSIX2008.
14682 * conform/run-conformtest.sh: Run all tests.
14683 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14685 * include/bits/dlfcn.h: Likewise.
14686 * include/langinfo.h: Likewise.
14687 * include/monetary.h: Likewise.
14688 * include/sys/poll.h: Likewise.
14690 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14692 * posix/spawn.h: Define __need_sigset_t.
14693 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14694 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14695 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14696 to get sigevent_t only.
14697 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14698 only for __USE_GNU.
14699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14701 process_vm_writev only for __USE_GNU.
14702 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14704 * conform/Makefile: For now ignore errors from run-conformtest.
14705 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14706 POSIX to avoid namespace pollution. Don't prepend headers.
14707 * conform/data/aio.h-data: Fixes for POSIX testing.
14708 * conform/data/fcntl.h-data: Likewise.
14709 * conform/data/glob.h-data: Likewise.
14710 * conform/data/grp.h-data: Likewise.
14711 * conform/data/pthread.h-data: Likewise.
14712 * conform/data/pwd.h-data: Likewise.
14713 * conform/data/signal.h-data: Likewise.
14714 * conform/data/spawn.h-data: Likewise.
14715 * conform/data/stdio.h-data: Likewise.
14716 * conform/data/stdlib.h-data: Likewise.
14717 * conform/data/stropts.h-data: Likewise.
14718 * conform/data/sys/mman.h-data: Likewise.
14719 * conform/data/sys/stat.h-data: Likewise.
14720 * conform/data/sys/types.h-data: Likewise.
14721 * conform/data/sys/wait.h-data: Likewise.
14722 * conform/data/time.h-data: Likewise.
14723 * conform/data/unistd.h-data: Likewise.
14724 * conform/data/utime.h-data: Likewise.
14726 * io/sys/stat.h: fchmod was always in POSIX.
14727 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14728 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14729 * rt/aio.h: Define __need_timespec before including <time.h>.
14730 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14731 struct. Add forward declaration of pthread_attr_t and use it in
14733 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14735 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14736 always remove CLK_TCK definition.
14738 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14740 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14742 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14744 * conform/run-conformtest.sh: New file.
14745 * conform/Makefile: Run run-conformtest for tests.
14746 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14749 * conform/data/uchar.h-data: New file.
14750 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14751 * conform/data/arpa/inet.h-data: Likewise.
14752 * conform/data/assert.h-data: Likewise.
14753 * conform/data/complex.h-data: Likewise.
14754 * conform/data/cpio.h-data: Likewise.
14755 * conform/data/ctype.h-data: Likewise.
14756 * conform/data/dirent.h-data: Likewise.
14757 * conform/data/dlfcn.h-data: Likewise.
14758 * conform/data/errno.h-data: Likewise.
14759 * conform/data/fcntl.h-data: Likewise.
14760 * conform/data/float.h-data: Likewise.
14761 * conform/data/fmtmsg.h-data: Likewise.
14762 * conform/data/fnmatch.h-data: Likewise.
14763 * conform/data/ftw.h-data: Likewise.
14764 * conform/data/glob.h-data: Likewise.
14765 * conform/data/grp.h-data: Likewise.
14766 * conform/data/iconv.h-data: Likewise.
14767 * conform/data/inttypes.h-data: Likewise.
14768 * conform/data/langinfo.h-data: Likewise.
14769 * conform/data/libgen.h-data: Likewise.
14770 * conform/data/limits.h-data: Likewise.
14771 * conform/data/locale.h-data: Likewise.
14772 * conform/data/math.h-data: Likewise.
14773 * conform/data/monetary.h-data: Likewise.
14774 * conform/data/mqueue.h-data: Likewise.
14775 * conform/data/ndbm.h-data: Likewise.
14776 * conform/data/net/if.h-data: Likewise.
14777 * conform/data/netdb.h-data: Likewise.
14778 * conform/data/netinet/in.h-data: Likewise.
14779 * conform/data/nl_types.h-data: Likewise.
14780 * conform/data/poll.h-data: Likewise.
14781 * conform/data/pthread.h-data: Likewise.
14782 * conform/data/pwd.h-data: Likewise.
14783 * conform/data/regex.h-data: Likewise.
14784 * conform/data/sched.h-data: Likewise.
14785 * conform/data/search.h-data: Likewise.
14786 * conform/data/semaphore.h-data: Likewise.
14787 * conform/data/setjmp.h-data: Likewise.
14788 * conform/data/signal.h-data: Likewise.
14789 * conform/data/spawn.h-data: Likewise.
14790 * conform/data/stdarg.h-data: Likewise.
14791 * conform/data/stdio.h-data: Likewise.
14792 * conform/data/stdlib.h-data: Likewise.
14793 * conform/data/string.h-data: Likewise.
14794 * conform/data/strings.h-data: Likewise.
14795 * conform/data/stropts.h-data: Likewise.
14796 * conform/data/sys/ipc.h-data: Likewise.
14797 * conform/data/sys/mman.h-data: Likewise.
14798 * conform/data/sys/msg.h-data: Likewise.
14799 * conform/data/sys/resource.h-data: Likewise.
14800 * conform/data/sys/select.h-data: Likewise.
14801 * conform/data/sys/sem.h-data: Likewise.
14802 * conform/data/sys/shm.h-data: Likewise.
14803 * conform/data/sys/socket.h-data: Likewise.
14804 * conform/data/sys/stat.h-data: Likewise.
14805 * conform/data/sys/statvfs.h-data: Likewise.
14806 * conform/data/sys/time.h-data: Likewise.
14807 * conform/data/sys/timeb.h-data: Likewise.
14808 * conform/data/sys/times.h-data: Likewise.
14809 * conform/data/sys/types.h-data: Likewise.
14810 * conform/data/sys/uio.h-data: Likewise.
14811 * conform/data/sys/un.h-data: Likewise.
14812 * conform/data/sys/utsname.h-data: Likewise.
14813 * conform/data/sys/wait.h-data: Likewise.
14814 * conform/data/syslog.h-data: Likewise.
14815 * conform/data/tar.h-data: Likewise.
14816 * conform/data/termios.h-data: Likewise.
14817 * conform/data/utime.h-data: Likewise.
14818 * conform/data/utmpx.h-data: Likewise.
14819 * conform/data/varargs.h-data: Likewise.
14820 * conform/data/wchar.h-data: Likewise.
14821 * conform/data/wctype.h-data: Likewise.
14822 * conform/data/wordexp.h-data: Likewise.
14824 * include/stropts.h: New file.
14825 * include/uchar.h: New file.
14826 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14827 * include/assert.h: Likewise.
14828 * include/ctype.h: Likewise.
14829 * include/dirent.h: Likewise.
14830 * include/dlfcn.h: Likewise.
14831 * include/fcntl.h: Likewise.
14832 * include/fnmatch.h: Likewise.
14833 * include/glob.h: Likewise.
14834 * include/grp.h: Likewise.
14835 * include/libio.h: Likewise.
14836 * include/locale.h: Likewise.
14837 * include/math.h: Likewise.
14838 * include/net/if.h: Likewise.
14839 * include/netdb.h: Likewise.
14840 * include/netinet/in.h: Likewise.
14841 * include/pthread.h: Likewise.
14842 * include/pwd.h: Likewise.
14843 * include/regex.h: Likewise.
14844 * include/sched.h: Likewise.
14845 * include/search.h: Likewise.
14846 * include/setjmp.h: Likewise.
14847 * include/signal.h: Likewise.
14848 * include/stdio.h: Likewise.
14849 * include/stdlib.h: Likewise.
14850 * include/string.h: Likewise.
14851 * include/sys/cdefs.h: Likewise.
14852 * include/sys/mman.h: Likewise.
14853 * include/sys/msg.h: Likewise.
14854 * include/sys/resource.h: Likewise.
14855 * include/sys/select.h: Likewise.
14856 * include/sys/socket.h: Likewise.
14857 * include/sys/stat.h: Likewise.
14858 * include/sys/statvfs.h: Likewise.
14859 * include/sys/time.h: Likewise.
14860 * include/sys/times.h: Likewise.
14861 * include/sys/uio.h: Likewise.
14862 * include/sys/utsname.h: Likewise.
14863 * include/sys/wait.h: Likewise.
14864 * include/termios.h: Likewise.
14865 * include/time.h: Likewise.
14866 * include/ulimit.h: Likewise.
14867 * include/unistd.h: Likewise.
14868 * include/utime.h: Likewise.
14869 * include/wchar.h: Likewise.
14870 * include/wctype.h: Likewise.
14871 * include/wordexp.h: Likewise.
14873 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14875 * time/time.h: TIME_UTC must be a macro.
14876 Make timespec_get available for ISO C11 only as well.
14878 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14880 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14881 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14883 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14885 * configure.in: Use -o not -a in test for unsupported multi-arch.
14887 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14889 * manual/texinfo.tex: Update to version 2012-01-19.16.
14891 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14893 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14895 2012-02-24 Roland McGrath <roland@hack.frob.com>
14898 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14899 * manual/fdl-1.3.texi: New file.
14900 * manual/fdl-1.1.texi: File removed.
14903 * manual/libc.texinfo (FDL_VERSION): New @set.
14904 Use it for mention of FDL in cover text.
14905 (Documentation License): Use it in @include file name.
14907 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14908 Roland McGrath <roland@hack.frob.com>
14911 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14912 not LONG_LONG_MAX and LONG_LONG_MIN.
14913 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14914 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14916 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14918 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14923 manipulate bits before adding and subtracting TWO23[sx].
14924 * math/libm-test.inc (nearbyint_test): Add more tests.
14926 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14929 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14930 bits before adding and subtracting TWO23[sx].
14931 * math/libm-test.inc (rint_test): Add more tests.
14932 (rint_test_tonearest): Likewise.
14933 (rint_test_towardzero): Likewise.
14934 (rint_test_downward): Likewise.
14935 (rint_test_upward: Likewise.
14937 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14940 * include/stdc-predef.h: New file. Extracted from features.h.
14941 * include/features.h: Include stdc-predef.h.
14942 * Makefile (headers): Add stdc-predef.h.
14943 * CONFORMANCE (Compiler limitations): Update.
14945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14947 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14949 2012-02-21 David S. Miller <davem@davemloft.net>
14951 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14954 2012-02-20 David S. Miller <davem@davemloft.net>
14956 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14957 using a normal save/restore sequence, rather than allocating a
14958 dummy stack frame just to store a frame pointer and restore.
14959 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14961 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14963 * manual/install.texi: Fix stray word in line-wrapped comment.
14965 2012-02-20 David S. Miller <davem@davemloft.net>
14967 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14968 both binutils and gcc support GOTDATA.
14970 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14971 "rd %pc" in the PIC register setup sequences.
14973 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14974 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14976 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14977 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14982 (SYSCALL_ERROR_HANDLER): Likewise.
14983 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14984 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14986 (SYSCALL_ERROR_HANDLER): Likewise.
14988 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14989 (HAVE_GCC_GOTDATA): New.
14990 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14991 relocation support in both binutils and gcc.
14992 * sysdeps/sparc/elf/configure: Regenerate.
14994 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14995 * sysdeps/sparc/sparc32/elf/configure: Delete.
14996 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14997 * sysdeps/sparc/sparc64/elf/configure: Delete.
14998 * sysdeps/sparc/elf/configure.in: New file.
14999 * sysdeps/sparc/elf/configure: Generate.
15001 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15002 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15004 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15005 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15007 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15009 * manual/install.texi: Do not mention specific glibc version
15011 * manual/libc.texinfo (VERSION, UPDATED): Update.
15012 (@copying): Use @copyright{} and range of years.
15014 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15017 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15018 [crti.S not in sysdirs] (generated): Do not append.
15019 [crti.S not in sysdirs] (omit-deps): Likewise.
15020 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15021 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15022 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15023 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15024 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15026 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15027 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15028 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15029 * csu/defs.awk: Remove file.
15030 * sysdeps/generic/initfini.c: Likewise.
15031 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15033 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15036 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15038 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15039 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15041 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15042 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15043 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15045 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15046 (__EPOLL_PACKED): Define to empty if not defined by
15048 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15052 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15054 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15055 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15059 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15063 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15065 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15068 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15069 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15072 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15074 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15077 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15079 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15080 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15082 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15084 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15087 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15089 * math/w_acos.c: Use non-signaling floating-point comparisons.
15090 * math/w_acosf.c: Likewise.
15091 * math/w_acosh.c: Likewise.
15092 * math/w_acoshf.c: Likewise.
15093 * math/w_acoshl.c: Likewise.
15094 * math/w_acosl.c: Likewise.
15095 * math/w_asin.c: Likewise.
15096 * math/w_asinf.c: Likewise.
15097 * math/w_asinl.c: Likewise.
15098 * math/w_atanh.c: Likewise.
15099 * math/w_atanhf.c: Likewise.
15100 * math/w_atanhl.c: Likewise.
15101 * math/w_exp2.c: Likewise.
15102 * math/w_exp2f.c: Likewise.
15103 * math/w_exp2l.c: Likewise.
15104 * math/w_j0.c: Likewise.
15105 * math/w_j0f.c: Likewise.
15106 * math/w_j0l.c: Likewise.
15107 * math/w_j1.c: Likewise.
15108 * math/w_j1f.c: Likewise.
15109 * math/w_j1l.c: Likewise.
15110 * math/w_jn.c: Likewise.
15111 * math/w_jnf.c: Likewise.
15112 * math/w_log.c: Likewise.
15113 * math/w_log10.c: Likewise.
15114 * math/w_log10f.c: Likewise.
15115 * math/w_log10l.c: Likewise.
15116 * math/w_log2.c: Likewise.
15117 * math/w_log2f.c: Likewise.
15118 * math/w_log2l.c: Likewise.
15119 * math/w_logf.c: Likewise.
15120 * math/w_logl.c: Likewise.
15121 * math/w_sqrt.c: Likewise.
15122 * math/w_sqrtf.c: Likewise.
15123 * math/w_sqrtl.c: Likewise.
15124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15125 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15127 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15130 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15133 * manual/string.texi (strnlen): Use correct parameter name in
15134 equivalent expression.
15136 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15139 * manual/users.texi (seteuid): Consistently use neweuid for
15142 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15145 * manual/nss.texi (Services in the NSS configuration): Correct
15146 list of services in example configuration file.
15148 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15151 * manual/arith.texi: Remove statements about negative zero
15152 behaving identically to zero.
15154 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15157 * manual/install.texi: Do not document upgrading from libc5.
15159 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15162 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15164 2012-02-18 David S. Miller <davem@davemloft.net>
15166 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15167 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15168 %o7 across the call.
15169 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15172 SETUP_PIC_REG_LEAF.
15173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15174 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15175 * sysdeps/sparc/crtn.S: Likewise.
15177 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15179 * aout/Makefile: Remove.
15181 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15184 * manual/examples/argp-ex1.c (main): Format definition in GNU
15186 * manual/examples/argp-ex2.c (main): Likewise.
15187 * manual/examples/argp-ex3.c (main): Likewise.
15188 * manual/examples/argp-ex4.c (main): Likewise.
15189 * manual/examples/longopt.c (main): Use new-style prototype
15191 * manual/examples/strncat.c (main): Specify return type and use
15192 (void) for arguments.
15193 * manual/examples/subopt.c (main): Use char **argv argument.
15195 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15198 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15201 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15204 * manual/string.texi (strchr): Change when strchrnul is
15207 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15210 * manual/locale.texi (setlocale): Document LOCPATH.
15212 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15215 * manual/process.texi (execle): Move @dots{} before last argument.
15217 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15220 * manual/charset.texi (Generic Charset Conversion): Fix typo
15221 (LC_TYPE -> LC_CTYPE).
15223 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15226 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15227 (scalbnf): Likewise.
15228 (scalbnl): Likewise.
15229 (scalbln): Likewise.
15230 (scalblnf): Likewise.
15231 (scalblnl): Likewise.
15232 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15233 (vwarnx): Likewise.
15236 * manual/filesys.texi (telldir): Use braces around return type.
15237 * manual/llio.texi (mmap): Add space after comma.
15238 (mmap64): Likewise.
15239 * manual/math.texi (jn): Use @var{} on parameter names.
15245 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15247 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15249 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15250 (sched_get_priority_max): Likewise.
15251 * manual/signal.texi (sigvec): Add space after comma.
15252 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15254 (if_indextoname): Likewise.
15255 (if_freenameindex): Likewise.
15256 (sendto): Use ',' instead of '.' in prototype.
15257 * manual/startup.texi (syscall): Use @dots{} instead of literal
15259 * manual/stdio.texi (__fpending): Separate initial words of
15260 paragraph from @deftypefun line.
15261 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15263 (vsyslog): Use @var{} on parameter names.
15264 * manual/terminal.texi (stty): Use @var{} on parameter names.
15265 * manual/users.texi (getutmp): Use @var{} on parameter names.
15266 (getutmpx): Likewise.
15268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15271 * manual/stdio.texi (fopen): Fix typos in description of
15274 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15277 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15278 get clock_id definition.
15280 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15283 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15284 (madvise): Cast every argument to void on its own.
15286 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15289 * manual/startup.texi (Exit Status): Fix typo.
15291 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15294 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15295 * manual/examples/argp-ex2.c: Likewise.
15296 * manual/examples/argp-ex3.c: Likewise.
15298 2012-02-16 Richard Henderson <rth@redhat.com>
15300 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15301 * sysdeps/s390/s390-32/initfini.c: Remove.
15302 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15303 * sysdeps/s390/s390-64/initfini.c: Remove.
15305 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15307 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15308 compiler output for sysdeps/generic/initfini.c.
15309 * sysdeps/sh/elf/initfini.c: Remove file.
15311 2012-02-16 David S. Miller <davem@davemloft.net>
15314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15316 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15317 * sysdeps/sparc/crti.S: New file.
15318 * sysdeps/sparc/crtn.S: New file.
15319 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15320 * sysdeps/sparc/sparc64/Makefile: Likewise.
15322 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15325 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15327 2012-02-15 Roland McGrath <roland@hack.frob.com>
15330 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15332 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15333 (write, read, close): Likewise.
15334 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15336 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15338 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15339 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15340 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15341 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15343 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15347 2012-02-14 Marek Polacek <polacek@redhat.com>
15349 * sysdeps/x86_64/crti.S: New file.
15350 * sysdeps/x86_64/crtn.S: New file.
15351 * sysdeps/x86_64/elf/initfini.c: Remove file.
15353 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15355 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15356 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15357 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15358 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15360 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15364 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15366 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15367 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15368 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15369 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15371 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15375 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15377 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15378 __feraiseexcept instead of feraiseexcept.
15380 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15381 nanosleep invocations.
15382 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15383 strings, and add error checking for a nanosleep invocations.
15385 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15387 Replace FSF snail mail address with URLs, as per GNU coding standards.
15388 Most of the snail mail addresses were wrong anyway, and omitting
15389 them makes the source code easier to maintain. Almost all of the
15390 changes are to license notices and to locale LC_IDENTIFICATION
15391 addresses, except for this one:
15392 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15393 not its snail mail address.
15395 2012-02-09 Richard Henderson <rth@twiddle.net>
15397 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15398 of kernel-features.h.
15400 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15402 2012-02-08 Marek Polacek <polacek@redhat.com>
15404 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15405 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15406 * sysdeps/gnu/_G_config.h: Likewise.
15407 * sysdeps/generic/_G_config.h: Likewise.
15409 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15411 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15415 * sysdeps/powerpc/powerpc32/crti.S: New file.
15416 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15417 * sysdeps/powerpc/powerpc64/crti.S: New file.
15418 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15420 * Makeconfig (have-initfini): Don't set.
15421 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15422 * configure.in (nopic_initfini): Don't substitute.
15423 * config.h.in (HAVE_INITFINI): Don't #undef.
15424 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15425 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15427 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15429 Support crti.S and crtn.S provided directly by architectures.
15430 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15431 [crti.S in sysdirs] (omit-deps): Likewise.
15432 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15433 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15434 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15435 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15436 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15437 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15438 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15439 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15440 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15441 compiler output for sysdeps/generic/initfini.c.
15442 * sysdeps/i386/elf/Makefile: Remove file.
15443 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15445 2012-02-07 Marek Polacek <polacek@redhat.com>
15447 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15448 * sysdeps/gnu/_G_config.h: Likewise.
15449 * sysdeps/mach/hurd/_G_config.h: Likewise.
15451 2012-02-07 Marek Polacek <polacek@redhat.com>
15453 * math/Makefile (tests): Add tst-CMPLX2.
15454 * math/tst-CMPLX2.c: New file.
15456 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15460 * math/libm-test.inc (jn_test): Add missing L suffix.
15462 2012-02-06 Marek Polacek <polacek@redhat.com>
15464 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15465 * sysdeps/i386/fpu/e_powf.S: Likewise.
15466 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15467 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15468 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15469 * sysdeps/i386/fpu/e_pow.S: Likewise.
15470 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15472 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15473 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15474 * sysdeps/i386/fpu/e_log2.S: Likewise.
15475 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15477 * sysdeps/i386/fpu/e_powl.S: Likewise.
15478 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15479 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15480 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15481 * sysdeps/i386/fpu/e_logl.S: Likewise.
15482 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15483 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15484 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15485 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15486 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15487 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15488 * sysdeps/i386/fpu/e_log.S: Likewise.
15489 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15490 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15491 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15492 * sysdeps/i386/fpu/e_logf.S: Likewise.
15493 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15494 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15495 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15496 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15497 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15498 * sysdeps/i386/fpu/e_log10.S: Likewise.
15499 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15500 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15501 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15502 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15503 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15504 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15505 * sysdeps/i386/asm-syntax.h: Likewise.
15506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15508 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15509 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15510 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15512 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15513 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15514 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15515 * sysdeps/powerpc/sysdep.h: Likewise.
15516 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15517 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15519 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15522 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15524 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15526 * sysdeps/i386/sysdep.h: Include <features.h>.
15527 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15530 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15534 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15537 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15539 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15540 (SETUP_PIC_REG): Use GET_PC_THUNK.
15541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15544 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15546 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15547 for non-PIC compilation.
15548 (SETUP_PIC_REG): Add .p2align directive.
15549 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15550 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15551 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15552 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15554 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15555 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15557 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15558 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15559 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15560 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15561 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15563 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15564 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15565 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15566 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15567 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15591 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15593 * math/tst-CMPLX.c: Include <stdio.h>.
15595 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15597 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15599 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15600 * sysdeps/sparc/bits/mathdef.h: Likewise.
15602 2012-01-31 Marek Polacek <polacek@redhat.com>
15604 * libio/libio.h: Don't define _PARAMS.
15605 * locale/programs/config.h: Don't define PARAMS.
15606 * stdlib/strtol_l.c: Likewise.
15607 (__strtol_l): Remove PARAMS from the prototype.
15609 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15611 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15612 names. Just use the correct names. Remove unnecessary wrapper
15614 * malloc/arena.c: Likewise.
15615 * malloc/hooks.c: Likewise.
15617 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15618 ARENA_TEST says not to. Simplify test for creation of a new arena.
15619 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15621 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15623 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15625 (update_get_addr): New function.
15626 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15627 GET_ADDR_MODULE parameter.
15629 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15631 * crypt/cert.c: Remove __STDC__ conditionals.
15632 * crypt/crypt-entry.c: Likewise.
15633 * crypt/crypt_util.c: Likewise.
15634 * libio/filedoalloc.c: Likewise.
15635 * libio/fileops.c: Likewise.
15636 * libio/genops.c: Likewise.
15637 * libio/iofclose.c: Likewise.
15638 * libio/iofdopen.c: Likewise.
15639 * libio/iofopen.c: Likewise.
15640 * libio/iofopen64.c: Likewise.
15641 * libio/iogetdelim.c: Likewise.
15642 * libio/iopopen.c: Likewise.
15643 * libio/obprintf.c: Likewise.
15644 * libio/oldfileops.c: Likewise.
15645 * libio/oldiofclose.c: Likewise.
15646 * libio/oldiofdopen.c: Likewise.
15647 * libio/oldiofopen.c: Likewise.
15648 * libio/oldiopopen.c: Likewise.
15649 * libio/wfiledoalloc.c: Likewise.
15650 * libio/wgenops.c: Likewise.
15651 * locale/programs/xmalloc.c: Likewise.
15652 * misc/syslog.c: Likewise.
15653 * stdio-common/xbug.c: Likewise.
15654 * string/memchr.c: Likewise.
15655 * string/memcmp.c: Likewise.
15656 * string/memrchr.c: Likewise.
15657 * string/rawmemchr.c: Likewise.
15658 * sysdeps/posix/getcwd.c: Likewise.
15659 * time/strftime_l.c: Likewise.
15661 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15663 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15664 * config.make.in (config-cflags-sse2avx): Define.
15665 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15668 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15670 * scripts/config.guess: Update from upstream config git repository.
15671 * scripts/config.sub: Likewise.
15673 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15675 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15677 (R_TILEPRO_*, R_TILEGX_*): New macros.
15679 * scripts/firstversions.awk: Fix bug in version range handling.
15681 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15683 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15685 * include/sys/epoll.h: New file.
15686 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15689 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15691 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15692 Avoid unnecessary __WORDSIZE == 64 test.
15693 (fmaxf): Use VEX format if possible.
15698 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15699 * math/math_private.h: Remove libc_fegetround* and
15701 * sysdeps/i386/configure.in: Check for -msse2avx.
15702 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15703 also if SSE2AVX is defined.
15704 Remove libc_fegetround* and libc_fesetround*.
15705 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15706 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15710 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15715 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15717 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15721 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15723 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15726 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15728 * Makeconfig (libm): Define.
15729 * elf/Makefile: Add rules to build and run tst-relsort1.
15730 * elf/tst-relsort1.c: New file.
15731 * elf/tst-relsort1mod1.c: New file.
15732 * elf/tst-relsort1mod2.c: New file.
15734 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15736 * math/s_ldexp.c: Remove __STDC__ conditionals.
15737 * math/s_ldexpf.c: Likewise.
15738 * math/s_ldexpl.c: Likewise.
15739 * math/s_nextafter.c: Likewise.
15740 * math/s_nexttowardf.c: Likewise.
15741 * math/s_significand.c: Likewise.
15742 * math/s_significandf.c: Likewise.
15743 * math/s_significandl.c: Likewise.
15744 * math/w_jnl.c: Likewise.
15745 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15746 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15747 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15748 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15749 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15754 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15755 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15756 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15760 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15764 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15765 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15766 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15767 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15769 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15770 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15771 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15772 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15773 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15774 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15775 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15776 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15777 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15778 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15780 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15781 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15782 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15783 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15784 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15785 * sysdeps/ieee754/k_standard.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15824 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15825 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15826 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15827 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15831 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15835 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15844 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15847 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15850 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15852 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15861 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15865 * sysdeps/ieee754/s_matherr.c: Likewise.
15866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15871 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15873 * crypt/md5.h: Remove __STDC__ conditionals.
15874 * libio/libioP.h: Likewise.
15875 * locale/programs/config.h: Likewise.
15876 * sysdeps/generic/sysdep.h: Likewise.
15877 * sysdeps/i386/asm-syntax.h: Likewise.
15878 * sysdeps/s390/asm-syntax.h: Likewise.
15879 * sysdeps/unix/sysdep.h: Likewise.
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15883 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15885 * libio/libio.h: Remove __STDC__ conditionals.
15886 * malloc/obstack.h: Likewise.
15887 * math/complex.h: Likewise.
15888 * math/math.h: Likewise.
15889 * sysdeps/generic/_G_config.h: Likewise.
15890 * sysdeps/gnu/_G_config.h: Likewise.
15891 * sysdeps/mach/hurd/_G_config.h: Likewise.
15892 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15893 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15894 * sysdeps/sparc/bits/mathdef.h: Likewise.
15896 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15899 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15900 Clean up HAS_* macros.
15901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15902 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15906 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15907 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15912 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15914 * elf/tst-unique3.cc (gets): Remove declaration.
15915 * elf/tst-unique3lib.cc (gets): Likewise.
15916 * elf/tst-unique3lib2.cc (gets): Likewise.
15917 * elf/tst-unique4.cc (gets): Likewise.
15919 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15921 * include/stdio.h: Add C++ protection. Add gets declarations and
15923 * debug/tst-chk1.c: Don't declare gets here.
15924 * stdio-common/tst-gets.c: Likewise.
15926 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15928 * posix/glob: Remove directory.
15930 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15932 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15934 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15936 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15937 of the non-standard EPFNOSUPPORT.
15939 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15941 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15942 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15943 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15945 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15947 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15949 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15951 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15953 * nscd/grpcache.c (cache_addgr): Likewise.
15954 * nscd/hstcache.c (cache_addhst): Likewise.
15955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15956 * nscd/pwdcache.c (cache_addpw): Likewise.
15957 * nscd/servicescache.c (cache_addserv): Likewise.
15959 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15961 * malloc/malloc.c: Various cleanups.
15962 * malloc/hooks.c: Likewise.
15964 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15965 * stdlib/bug-fmtmsg1.c: New file.
15967 * stdlib/fmtmsg.c (init): Add missing unlock.
15968 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15970 2012-01-12 Marek Polacek <polacek@redhat.com>
15972 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15975 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15977 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15978 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15979 macro to ensure uniqueness of label name.
15980 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15981 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15983 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15987 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15988 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15992 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15994 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15996 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15997 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15998 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16000 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16003 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16004 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16007 * math/bits/math-finite.h: Add ldexp support.
16009 2012-01-10 Marek Polacek <polacek@redhat.com>
16011 * locale/programs/localedef.h (show_archive_content): Add noreturn
16014 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16016 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16018 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16020 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16022 * io/Makefile (headers): Add bits/poll2.h.
16024 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16027 typo #include statement.
16029 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16031 * include/sys/cdefs.h: Define __attribute_alloc_size.
16032 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16033 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16034 * elf/pldd.c: Likewise.
16035 * iconv/iconv_charmap.c: Likewise.
16036 * iconv/iconvconfig.c: Likewise.
16037 * iconv/strtab.c: Likewise.
16038 * locale/programs/locale.c: Likewise.
16039 * locale/programs/localedef.h: Likewise.
16040 * locale/programs/simple-hash.c: Likewise.
16041 * nscd/nscd.h: Likewise.
16042 * nss/makedb.c: Likewise.
16043 * sysdeps/generic/ldconfig.h: Likewise.
16044 * locale/programs/localedef.c: Remove xmalloc prototype.
16045 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16047 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16052 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16054 * math/Makefile (tests): Add tst-CMPLX.
16055 * math/tst-CMPLX.c: New file.
16057 * math/complex.h (CMPLXL): Fix typo.
16059 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16060 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16062 * debug/tst-chk1.c: Add poll and ppoll tests.
16063 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16064 * include/sys/poll.h: Add hidden proto for ppoll.
16065 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16066 * sysdeps/mach/hurd/ppoll.c: Likewise.
16067 * io/ppoll.c: Likewise.
16068 * debug/poll_chk.c: New file.
16069 * debug/ppoll_chk.c: New file.
16070 * include/bits/poll2.h: New file.
16071 * io/bits/poll2.h: New file.
16074 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16076 * configure.in: static is always set to yes. Remove.
16077 * config.make.in: Don't set build-static.
16078 * Makeconfig: Remove use of build-static.
16079 * dlfcn/Makefile: Likewise.
16080 * elf/Makefile: Likewise.
16081 * math/Makefile: Likewise.
16082 * misc/Makefile: Likewise.
16083 * nptl/Makefile: Likewise.
16084 * sysdeps/mach/hurd/Makefile: Likewise.
16086 * configure.in: PWD_P is not used anymore.
16087 * config.make.in: Remove PWD_P entry.
16089 * configure.in: Remove last remnants of RANLIB.
16090 No need to check for signed size_t anymore.
16091 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16093 Remove __builtin_expect test because we require at least gcc 3.4.
16094 * aclocal.m4: Likewise.
16096 * wcsmbs/mbrtoc16.c: Implement using towc function.
16097 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16098 * wcsmbs/wcsmbsload.c: Likewise.
16099 * iconv/gconv_simple.c: Likewise.
16100 * iconv/gconv_int.h: Likewise.
16101 * iconv/gconv_builtin.h: Likewise.
16102 * iconv/iconv_prog.c: Remove CHAR16 handling.
16104 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16106 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16108 * configure.in: Remove --with-elf and --enable-bounded options.
16109 Dont set base_machine for ia64. More non-ELF conditions removed.
16110 Remove testing and setting of leading underscore information.
16111 * config.make.in (build-bounded): Set to no.
16112 * config.h.in: Remove NO_UNDERSCORES entry.
16113 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16115 * csu/start.c: Remove !NO_UNDERSCORE code.
16116 * locale/localeinfo.h: Likewise.
16117 * sysdeps/generic/machine-gmon.h: Likewise.
16118 * sysdeps/generic/sysdep.h: Likewise.
16119 * sysdeps/i386/sysdep.h: Likewise.
16120 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16121 * sysdeps/mach/sysdep.h: Likewise.
16122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16124 * sysdeps/sh/sysdep.h: Likewise.
16125 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16126 * sysdeps/unix/i386/sysdep.S: Likewise.
16127 * sysdeps/unix/sparc/start.c: Likewise.
16128 * sysdeps/unix/sparc/sysdep.S: Likewise.
16129 * sysdeps/unix/sparc/sysdep.h: Likewise.
16130 * sysdeps/unix/start.c: Likewise.
16131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16132 * sysdeps/x86_64/sysdep.h: Likewise.
16134 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16137 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16139 * argp/argp-fmtstream.h: Use const instead __const.
16140 * argp/argp.h: Likewise.
16141 * assert/assert.h: Likewise.
16142 * bits/fenv.h: Likewise.
16143 * bits/sched.h: Likewise.
16144 * bits/sigset.h: Likewise.
16145 * bits/sigthread.h: Likewise.
16146 * catgets/nl_types.h: Likewise.
16147 * conform/data/pthread.h-data: Likewise.
16148 * crypt/crypt-private.h: Likewise.
16149 * crypt/crypt.h: Likewise.
16150 * crypt/crypt_util.c: Likewise.
16151 * ctype/ctype.h: Likewise.
16152 * debug/execinfo.h: Likewise.
16153 * debug/mbsnrtowcs_chk.c: Likewise.
16154 * debug/mbsrtowcs_chk.c: Likewise.
16155 * debug/wcsnrtombs_chk.c: Likewise.
16156 * debug/wcsrtombs_chk.c: Likewise.
16157 * debug/wcstombs_chk.c: Likewise.
16158 * dirent/dirent.h: Likewise.
16159 * dlfcn/dlfcn.h: Likewise.
16160 * elf/neededtest4.c: Likewise.
16161 * grp/grp.h: Likewise.
16162 * gshadow/gshadow.h: Likewise.
16163 * iconv/gconv.h: Likewise.
16164 * iconv/gconv_int.h: Likewise.
16165 * iconv/gconv_simple.c: Likewise.
16166 * iconv/iconv.h: Likewise.
16167 * iconv/loop.c: Likewise.
16168 * iconv/skeleton.c: Likewise.
16169 * include/aio.h: Likewise.
16170 * include/aliases.h: Likewise.
16171 * include/argz.h: Likewise.
16172 * include/arpa/inet.h: Likewise.
16173 * include/assert.h: Likewise.
16174 * include/dirent.h: Likewise.
16175 * include/dlfcn.h: Likewise.
16176 * include/execinfo.h: Likewise.
16177 * include/fcntl.h: Likewise.
16178 * include/fenv.h: Likewise.
16179 * include/glob.h: Likewise.
16180 * include/grp.h: Likewise.
16181 * include/libintl.h: Likewise.
16182 * include/mntent.h: Likewise.
16183 * include/netdb.h: Likewise.
16184 * include/pwd.h: Likewise.
16185 * include/rpc/netdb.h: Likewise.
16186 * include/sched.h: Likewise.
16187 * include/search.h: Likewise.
16188 * include/shadow.h: Likewise.
16189 * include/signal.h: Likewise.
16190 * include/stdio.h: Likewise.
16191 * include/stdlib.h: Likewise.
16192 * include/string.h: Likewise.
16193 * include/sys/socket.h: Likewise.
16194 * include/sys/stat.h: Likewise.
16195 * include/sys/statfs.h: Likewise.
16196 * include/sys/statvfs.h: Likewise.
16197 * include/sys/syslog.h: Likewise.
16198 * include/sys/time.h: Likewise.
16199 * include/sys/uio.h: Likewise.
16200 * include/time.h: Likewise.
16201 * include/unistd.h: Likewise.
16202 * include/utmp.h: Likewise.
16203 * include/wchar.h: Likewise.
16204 * include/wctype.h: Likewise.
16205 * inet/aliases.h: Likewise.
16206 * inet/arpa/inet.h: Likewise.
16207 * inet/netinet/ether.h: Likewise.
16208 * inet/netinet/in.h: Likewise.
16209 * intl/libintl.h: Likewise.
16210 * io/bits/fcntl2.h: Likewise.
16211 * io/fcntl.h: Likewise.
16212 * io/ftw.h: Likewise.
16213 * io/sys/poll.h: Likewise.
16214 * io/sys/stat.h: Likewise.
16215 * io/sys/statfs.h: Likewise.
16216 * io/sys/statvfs.h: Likewise.
16217 * io/utime.h: Likewise.
16218 * libio/bits/stdio.h: Likewise.
16219 * libio/bits/stdio2.h: Likewise.
16220 * libio/libio.h: Likewise.
16221 * libio/libioP.h: Likewise.
16222 * libio/stdio.h: Likewise.
16223 * locale/lc-ctype.c: Likewise.
16224 * locale/locale.h: Likewise.
16225 * login/utmp.h: Likewise.
16226 * malloc/arena.c: Likewise.
16227 * malloc/malloc.c: Likewise.
16228 * malloc/malloc.h: Likewise.
16229 * malloc/mcheck.c: Likewise.
16230 * malloc/mtrace.c: Likewise.
16231 * math/bits/mathcalls.h: Likewise.
16232 * math/fenv.h: Likewise.
16233 * math/math_private.h: Likewise.
16234 * misc/bits/error.h: Likewise.
16235 * misc/bits/syslog.h: Likewise.
16236 * misc/err.h: Likewise.
16237 * misc/error.h: Likewise.
16238 * misc/fstab.h: Likewise.
16239 * misc/mntent.h: Likewise.
16240 * misc/regexp.h: Likewise.
16241 * misc/search.h: Likewise.
16242 * misc/sgtty.h: Likewise.
16243 * misc/sys/mman.h: Likewise.
16244 * misc/sys/syslog.h: Likewise.
16245 * misc/sys/uio.h: Likewise.
16246 * misc/sys/xattr.h: Likewise.
16247 * misc/ttyent.h: Likewise.
16248 * nis/rpcsvc/ypclnt.h: Likewise.
16249 * nss/nss.h: Likewise.
16250 * posix/bits/unistd.h: Likewise.
16251 * posix/fnmatch.h: Likewise.
16252 * posix/glob.h: Likewise.
16253 * posix/sched.h: Likewise.
16254 * posix/spawn.h: Likewise.
16255 * posix/sys/wait.h: Likewise.
16256 * posix/unistd.h: Likewise.
16257 * posix/wordexp.h: Likewise.
16258 * pwd/pwd.h: Likewise.
16259 * resolv/netdb.h: Likewise.
16260 * resource/sys/resource.h: Likewise.
16261 * rt/aio.h: Likewise.
16262 * rt/bits/mqueue2.h: Likewise.
16263 * rt/mqueue.h: Likewise.
16264 * shadow/shadow.h: Likewise.
16265 * signal/signal.h: Likewise.
16266 * socket/send.c: Likewise.
16267 * socket/sendto.c: Likewise.
16268 * socket/sys/socket.h: Likewise.
16269 * stdio-common/printf.h: Likewise.
16270 * stdlib/bits/stdlib.h: Likewise.
16271 * stdlib/fmtmsg.h: Likewise.
16272 * stdlib/monetary.h: Likewise.
16273 * stdlib/stdlib.h: Likewise.
16274 * stdlib/ucontext.h: Likewise.
16275 * streams/stropts.h: Likewise.
16276 * string/argz.h: Likewise.
16277 * string/bits/string2.h: Likewise.
16278 * string/string.h: Likewise.
16279 * string/strings.h: Likewise.
16280 * sunrpc/rpc/auth.h: Likewise.
16281 * sunrpc/rpc/auth_des.h: Likewise.
16282 * sunrpc/rpc/clnt.h: Likewise.
16283 * sunrpc/rpc/netdb.h: Likewise.
16284 * sunrpc/rpc/pmap_clnt.h: Likewise.
16285 * sunrpc/rpc/xdr.h: Likewise.
16286 * sysdeps/generic/inttypes.h: Likewise.
16287 * sysdeps/generic/net/if.h: Likewise.
16288 * sysdeps/generic/sys/swap.h: Likewise.
16289 * sysdeps/gnu/net/if.h: Likewise.
16290 * sysdeps/gnu/utmpx.h: Likewise.
16291 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16292 * sysdeps/i386/i486/bits/string.h: Likewise.
16293 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16294 * sysdeps/s390/bits/string.h: Likewise.
16295 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16296 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16297 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16298 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16299 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16300 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16301 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16302 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16303 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16304 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16305 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16306 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16307 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16308 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16309 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16310 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16311 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16314 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16317 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16318 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16319 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16320 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16321 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16323 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16324 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16325 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16326 * sysvipc/sys/ipc.h: Likewise.
16327 * sysvipc/sys/msg.h: Likewise.
16328 * sysvipc/sys/sem.h: Likewise.
16329 * sysvipc/sys/shm.h: Likewise.
16330 * termios/termios.h: Likewise.
16331 * time/sys/time.h: Likewise.
16332 * time/time.h: Likewise.
16333 * wcsmbs/bits/wchar2.h: Likewise.
16334 * wcsmbs/uchar.h: Likewise.
16335 * wcsmbs/wchar.h: Likewise.
16336 * wctype/wctype.h: Likewise.
16339 * Makeconfig: Remove all but ELF support including AIX support.
16340 * Makerules: Likewise.
16341 * config.h.in: Likewise.
16342 * config.make.in: Likewise.
16343 * configure: Likewise.
16344 * configure.in: Likewise.
16345 * csu/Makefile: Likewise.
16346 * csu/version.c: Likewise.
16347 * debug/Makefile: Likewise.
16348 * dlfcn/Makefile: Likewise.
16349 * elf/Makefile: Likewise.
16350 * extra-lib.mk: Likewise.
16351 * iconv/Makefile: Likewise.
16352 * include/libc-symbols.h: Likewise.
16353 * include/shlib-compat.h: Likewise.
16354 * resolv/Makefile: Likewise.
16355 * resolv/res_libc.c: Likewise.
16356 * rt/Makefile: Likewise.
16357 * sysdeps/i386/asm-syntax.h: Likewise.
16358 * sysdeps/i386/sysdep.h: Likewise.
16359 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16360 * sysdeps/mach/sysdep.h: Likewise.
16361 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16362 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16363 * sysdeps/s390/asm-syntax.h: Likewise.
16364 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16365 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16366 * sysdeps/sh/sysdep.h: Likewise.
16367 * sysdeps/unix/sparc/sysdep.h: Likewise.
16368 * sysdeps/wordsize-32/divdi3.c: Likewise.
16369 * sysdeps/x86_64/sysdep.h: Likewise.
16371 * argp/Versions: Remove _argp_unlock_xxx.
16374 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16375 * abilist/libBrokenLocale.abilist: Likewise.
16376 * abilist/libanl.abilist: Likewise.
16377 * abilist/libc.abilist: Likewise.
16378 * abilist/libcrypt.abilist: Likewise.
16379 * abilist/libdl.abilist: Likewise.
16380 * abilist/libm.abilist: Likewise.
16381 * abilist/libnsl.abilist: Likewise.
16382 * abilist/libpthread.abilist: Likewise.
16383 * abilist/libresolv.abilist: Likewise.
16384 * abilist/librt.abilist: Likewise.
16385 * abilist/libthread_db.abilist: Likewise.
16386 * abilist/libutil.abilist: Likewise.
16387 * abilist/libnss_db.abilist: New file.
16389 * scripts/abilist.awk: Add support for indirect functions.
16391 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16393 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16395 * shlib-versions: Remove entries for ports architectures.
16397 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16399 * elf/stackguard-macros.h: Remove support for IA-64.
16400 * elf/tst-auditmod1.c: Likewise.
16401 * sysdeps/generic/ldsodefs.h: Likewise.
16403 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16404 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16408 * configure.in: Remove --enable-omitfp support.
16410 * config.make.in: Likewise.
16411 * Makeconfig: Likewise.
16412 * manual/install.texi: Likewise.
16414 In case anyone cares, the IA-64 architecture could move to ports.
16415 * sysdeps/ia64/*: Removed.
16416 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16417 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16420 * configure.in: Remove entries for unsupported architectures.
16423 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16424 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16426 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16427 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16428 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16429 fall back to using wcrtomb.
16430 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16431 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16433 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16434 * wcsmbs/tst-c16c32-1.c: New file.
16436 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16439 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16441 * elf/tst-unique3.cc: Add explicit declaration of gets.
16442 * elf/tst-unique3lib.cc: Likewise.
16443 * elf/tst-unique3lib2.cc: Likewise.
16444 * elf/tst-unique4.cc: Likewise.
16446 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16448 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16451 * assert/assert.h (static_assert): Don't define for C++.
16452 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16453 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16455 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16457 * iconv/loop.c (single loop): Fix assertion in storing of
16460 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16462 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16464 * posix/getconf.c: Update copyright year.
16465 * nss/getent.c: Likewise.
16466 * nss/makedb.c: Likewise.
16467 * iconv/iconvconfig.c: Likewise.
16468 * iconv/iconv_prog.c: Likewise.
16469 * elf/ldconfig.c: Likewise.
16470 * elf/pldd.c: Likewise.
16471 * elf/sotruss.ksh: Likewise.
16472 * catgets/gencat.c: Likewise.
16473 * csu/version.c: Likewise.
16474 * elf/ldd.bash.in: Likewise.
16475 * elf/sprof.c (print_version): Likewise.
16476 * locale/programs/locale.c: Likewise.
16477 * locale/programs/localedef.c: Likewise.
16478 * login/programs/pt_chown.c: Likewise.
16479 * nscd/nscd.c (print_version): Likewise.
16480 * debug/xtrace.sh: Likewise.
16481 * malloc/memusage.sh: Likewise.
16482 * malloc/mtrace.pl: Likewise.
16483 * debug/catchsegv.sh: Likewise.
16485 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16487 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16490 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16493 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16494 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16496 * iconv/gconv_int.h: Likewise.
16497 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16498 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16499 from libc for GLIBC_2.16.
16500 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16501 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16502 * wcsmbs/uchar.h: Really define mbstate_t.
16503 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16504 * wcsmbs/c16rtomb.c: New file.
16505 * wcsmbs/mbrtoc16.c: New file.
16506 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16507 for C/POSIX locale.
16508 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16509 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16511 * wcsmbs/wchar.h: Add missing __restrict.
16513 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16516 * time/Makefile (routines): Add timespec_get.
16517 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16518 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16519 timespec for ISO C11.
16520 * time/timespec_get.c: New file.
16521 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16522 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16525 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16526 * stdlib/stdlib.h: Declare aligned_alloc.
16527 * Versions.def: Add GLIBC_2.16 for libc.
16528 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16531 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16534 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16538 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16541 * assert/assert.h (static_assert): Define.
16543 * version.h: Update for 2.16 development version.
16546 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16549 * version.h (RELEASE): Bump for 2.15 release.
16550 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16552 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16553 Patch by Marek Polacek <mpolacek@redhat.com>.
16555 * bits/byteswap.h: Protect long long constants with __extension__.
16556 * sysdeps/i386/bits/byteswap.h: Likewise.
16557 * sysdeps/ia64/bits/byteswap.h: Likewise.
16558 * sysdeps/s390/bits/byteswap.h: Likewise.
16559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16561 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16565 destination buffer.
16566 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16568 2011-12-23 Marek Polacek <polacek@redhat.com>
16570 * elf/dl-addr.c (determine_info): Add inline keyword.
16571 * elf/tst-auditmod4b.c (check_avx): Likewise.
16572 * elf/tst-auditmod6b.c (check_avx): Likewise.
16573 * elf/tst-auditmod6c.c (check_avx): Likewise.
16574 * elf/tst-auditmod7b.c (check_avx): Likewise.
16576 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16578 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16581 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16584 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16585 processing for last bytes.
16587 2011-08-06 Bruno Haible <bruno@clisp.org>
16590 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16591 U+0385, not to U+1FEE.
16594 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16595 entry for U+00A5 U+0301.
16597 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16600 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16601 buffer for the output is too small.
16603 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16607 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16608 SSE flags if possible.
16610 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16614 processing for last bytes.
16616 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16618 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16619 (syscall-list-default-options, syscall-list-default-condition)
16620 (syscall-list-includes): Define.
16621 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16622 list of ABIs and options and #if conditions for each ABI. Do not
16623 handle common syscalls between ABIs specially.
16624 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16626 (syscall-list-variants, syscall-list-32bit-options)
16627 (syscall-list-32bit-condition, syscall-list-64bit-options)
16628 (syscall-list-64bit-condition): Define.
16629 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16630 (syscall-list-variants, syscall-list-32bit-options)
16631 (syscall-list-32bit-condition, syscall-list-64bit-options)
16632 (syscall-list-64bit-condition): Define.
16633 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16635 (syscall-list-variants, syscall-list-32bit-options)
16636 (syscall-list-32bit-condition, syscall-list-64bit-options)
16637 (syscall-list-64bit-condition): Define.
16638 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16640 (syscall-list-variants, syscall-list-32bit-options)
16641 (syscall-list-32bit-condition, syscall-list-64bit-options)
16642 (syscall-list-64bit-condition): Define.
16644 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16646 * locale/iso-639.def: Add brx entry.
16649 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16650 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16652 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16653 __feraiseexcept_renamed.
16655 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16658 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16659 EPOLLET with unsigned values.
16660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16663 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16664 to large cancellation.
16665 * math/s_cacoshf.c: Likewise.
16666 * math/s_cacoshl.c: Likewise.
16668 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16672 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16673 * math/s_cacoshf.c: Likewise.
16674 * math/s_cacoshl.c: Likewise.
16676 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16679 * iconv/gconv.h: Define __GCONV_SWAP.
16680 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16681 * iconvdata/utf-16.c: Likewise.
16682 * iconvdata/utf-32.c: Likewise.
16684 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16688 numerator after shifting it by one limb.
16690 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16692 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16693 under [__USE_EXTERN_INLINES].
16695 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16698 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16700 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16702 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16703 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16705 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16706 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16707 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16708 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16709 for strncasecmp/strncasecmp_l compilation.
16710 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16711 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16713 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16716 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16719 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16722 * time/tzfile.c (__tzfile_read): Check values from file header.
16724 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16726 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16727 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16728 * powerpc/powerpc32/dl-start.S: Likewise.
16729 * powerpc/powerpc32/elf/start.S: Likewise.
16730 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16731 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16732 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16733 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16734 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16735 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16736 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16737 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16738 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16739 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16740 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16741 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16742 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16743 * powerpc/powerpc32/memset.S: Likewise.
16744 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16745 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16746 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16747 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16748 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16749 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16750 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16751 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16752 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16753 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16754 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16755 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16756 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16758 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16760 * math/libm-test.inc: Added more nearbyint tests.
16761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16766 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16768 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16771 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16773 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16774 Add wcscpy-ssse3 wcscpy-c.
16775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16776 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16777 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16778 * sysdeps/x86_64/wcschr.S: New file.
16779 * sysdeps/x86_64/wcsrchr.S: New file.
16780 * string/test-strcmp.c: Remove checking of wcscmp function for
16782 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16783 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16784 wcsrchr-sse2 wcsrchr-c.
16785 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16786 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16787 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16788 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16789 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16790 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16791 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16792 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16794 * wcsmbc/wcschr.c (WCSCHR): New macro.
16796 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16798 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16799 * wcsmbs/test-wcsrchr.c: New file.
16800 * string/test-strrchr.c: Add wcsrchr support.
16802 * wcsmbs/test-wcscpy.c: New file.
16803 * string/test-strcpy.c: Add wcscpy support.
16806 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16811 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16814 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16816 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16818 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16819 Minor optimizations.
16821 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16822 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16823 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16825 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16827 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16828 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16829 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16830 for gcc to avoid warnings.
16831 * inet/Makefile (tests): Add tst-checks.
16832 * inet/tst-checks.c: New file.
16834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16837 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16840 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16841 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16843 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16845 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16847 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16850 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16852 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16854 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16855 conditional on GCC version.
16856 (__arch_compare_and_exchange_val_8_acq)
16857 (__arch_compare_and_exchange_val_16_acq)
16858 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16859 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16860 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16862 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16864 * sysdeps/sh/backtrace.c: New file.
16866 2011-12-02 Andreas Schwab <schwab@redhat.com>
16868 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16871 2011-12-01 Andreas Schwab <schwab@redhat.com>
16873 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16874 falling back to utime.
16876 2011-11-30 Andreas Schwab <schwab@redhat.com>
16878 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16879 expectations for float.
16881 2011-11-29 Andreas Schwab <schwab@redhat.com>
16883 * locale/weight.h (findidx): Add parameter len.
16884 * locale/weightwc.h (findidx): Likewise.
16885 * posix/fnmatch_loop.c (FCT): Adjust caller.
16886 * posix/regcomp.c (build_equiv_class): Likewise.
16887 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16888 * posix/regexec.c (check_node_accept_bytes): Likewise.
16889 * string/strcoll_l.c (STRCOLL): Likewise.
16890 * string/strxfrm_l.c (STRXFRM): Likewise.
16892 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16894 * Makefile.in: Remove CVSOPT handling.
16895 * configure.in: Remove use of AC_REVISION.
16896 * iconvdata/Makefile (distribute): No need to filter out CVS.
16897 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16900 2011-11-16 Andreas Schwab <schwab@redhat.com>
16902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16903 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16904 [USE_AS_STRNCASECMP_L]: Likewise.
16905 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16906 NO_TLS_DIRECT_SEG_REFS.
16907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16908 Fix argument offsets for non-PIC.
16909 [USE_AS_STRNCASECMP_L]: Likewise.
16910 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16911 NO_TLS_DIRECT_SEG_REFS.
16913 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16915 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16917 * locale/loadlocale.c (_nl_load_locale): Likewise.
16919 2011-11-15 Andreas Schwab <schwab@redhat.com>
16921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16922 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16923 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16924 (SYSCALL_GETTIME): Set errno on error.
16926 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16927 count references to noai6ai_cached.
16929 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16931 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16933 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16934 FD_CLOEXEC for /proc/self/maps.
16936 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16937 FD_CLOEXEC for /proc/meminfo.
16939 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16942 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16943 FD_CLOEXEC for given file.
16945 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16947 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16948 FD_CLOEXEC for /etc/hosts.
16949 (_gethtent): Likewise.
16951 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16953 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16954 cancellation and set FD_CLOEXEC for /etc/netgroup.
16956 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16957 reading /etc/publickey.
16959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16960 allow cancellation when reading /etc/group.
16962 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16964 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16966 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16967 when using data file.
16969 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16971 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16972 (write_nis_obj): Use "c" and "e" in fopen.
16974 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16976 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16978 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16980 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16982 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16985 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16987 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16989 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16991 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16992 file parsing and set FD_CLOEXEC.
16994 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16996 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16998 2011-11-14 Andreas Schwab <schwab@redhat.com>
17000 * malloc/arena.c (arena_get2): Don't call reused_arena when
17001 _int_new_arena failed.
17003 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17006 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17010 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17011 to compile strcasecmp and strncasecmp.
17012 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17013 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17017 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17019 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17020 locale-defines.sym to gen-as-const-headers.
17021 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17022 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17024 to compile strcasecmp and strncasecmp.
17025 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17026 strcasecmp_l and strncasecmp_l.
17027 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17028 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17029 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17030 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17031 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17033 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17034 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17035 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17036 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17037 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17039 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17041 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17042 result of SYSDEP_GETTIME_CPU to retval.
17043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17044 parameter list to macro. Remove trailing semicolon. Adjust users.
17046 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17049 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17051 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17054 from unused variable.
17056 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17058 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17061 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17064 * sunrpc/rpc_prot.c (rejected): Fix case value.
17066 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17067 unsigned long long int to avoid warnings in shift.
17069 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17071 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17074 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17075 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17076 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17078 * nis/nis_table.c (nis_list): Use variable of correct type for
17079 result of __follow_path call.
17081 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17083 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17084 of math functions ceil, trunc, floor, round, and sqrt, when
17085 avaliable on the platform.
17086 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17089 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17090 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17092 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17094 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17097 2011-11-11 Roland McGrath <roland@hack.frob.com>
17099 * include/unistd.h: Fix __readlink return type.
17100 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17102 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17104 * stdlib/ucontext.h: Undo last change for makecontext.
17106 2011-11-11 Andreas Schwab <schwab@redhat.com>
17108 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17110 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17111 * setjmp/setjmp.h: Mark functions as non-leaf.
17112 * setjmp/bits/setjmp2.h: Likewise.
17113 * stdlib/ucontext.h: Likewise.
17115 2011-11-10 Andreas Schwab <schwab@redhat.com>
17117 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17118 (reused_arena): Don't check arena limit.
17119 (arena_get2): Atomically check arena limit.
17121 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17123 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17124 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17129 2011-11-07 Andreas Schwab <schwab@redhat.com>
17131 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17132 handler when locking.
17134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17135 Fix size of allocated buffer.
17137 2011-11-04 Andreas Schwab <schwab@redhat.com>
17140 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17141 declarations for long double functions.
17142 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17144 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17146 2011-11-03 Andreas Schwab <schwab@redhat.com>
17148 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17151 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17154 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17156 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17158 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17160 * include/alloca.h (stackinfo_alloca_round): Define.
17161 (extend_alloca): Use it.
17162 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17163 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17166 * scripts/check-local-headers.sh: Ignore libaudit.h.
17168 * nscd/Makefile (extra-objs): Make recursively expanded.
17170 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17172 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17175 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17176 * posix/tst-rfc3484-2.c: Likewise.
17177 * posix/tst-rfc3484-3.c: Likewise.
17179 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17181 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17183 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17184 process_vm_writev from libc using GLIBC_2.15 version.
17186 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17188 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17190 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17193 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17196 * nss/getent.c (initgroups_keys): Show error message in case no group
17199 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17200 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17201 __bump_nl_timestamp.
17202 * nscd/connections (nscd_init): When host database is served open
17203 netlink socket and request notification about configuration changes.
17204 (main_loop_poll): Track netlink file descriptor and bump timestamp
17205 in case data becomes available.
17206 (main_loop_epoll): Likewise.
17207 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17208 (database_pers_head): Add extra_data fileds.
17209 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17210 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17211 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17214 in6ai data, call __free_in6ai.
17215 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17216 Add -DHAVE_NETLINK.
17217 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17218 interface information. Reuse previous data if netlink timestamp
17220 (__bump_nl_timestamp): New function.
17221 (__free_in6ai): New function.
17223 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17225 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17226 close_not_cancel_no_status here.
17227 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17229 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17232 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17235 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17236 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17237 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17239 2011-07-03 Andreas Jaeger <aj@suse.de>
17242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17243 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17244 * math/libm-test.inc (sin_test): Add test case.
17246 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17249 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17250 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17252 * elf/chroot_canon.c (chroot_canon): Cleanups.
17254 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17257 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17258 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17260 * string/test-strchr.c: Make usable for strchrnul testing.
17261 * string/test-strchrnul.c: New file.
17262 * string/Makefile (strop-tests): Add strchrnul.
17264 * po/it.po: Update from translation team.
17265 * po/es.po: Likewise.
17267 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17270 the three constants needed as parameters. Drop the others.
17271 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17272 __m128i_strloadu_tolower.
17273 Create and initialize variable zero and use it in all the places
17274 where _mm_setzero_si128 was used.
17276 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17277 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17278 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17279 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17282 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17283 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17284 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17286 __mpranred, __mptan.
17287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17291 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17292 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17294 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17295 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17297 2011-10-28 Andreas Schwab <schwab@redhat.com>
17299 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17300 redefine if SHARED.
17301 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17304 wide char related routines to wcsmbs subdir.
17306 2011-10-27 Andreas Schwab <schwab@redhat.com>
17309 * misc/sys/cdefs.h (__THROWNL): Define.
17310 * posix/unistd.h: Use __THREADNL instead of __THREAD
17311 for memory synchronization functions.
17313 2011-10-26 Roland McGrath <roland@hack.frob.com>
17316 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17318 * manual/stdio.texi (Obstack Streams): Node removed.
17320 2011-10-26 Andreas Schwab <schwab@redhat.com>
17322 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17323 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17324 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17326 * math/math_private.h (math_force_eval): Allow non-addressable
17328 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17330 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17332 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17333 file is not needed.
17335 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17338 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17340 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17342 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17344 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17345 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17346 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17347 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17348 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17349 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17350 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17351 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17352 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17353 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17354 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17355 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17357 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17358 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17359 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17360 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17361 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17362 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17364 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17365 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17367 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17368 place. Use VEX encoding when compiling for AVX.
17370 2011-10-25 Andreas Schwab <schwab@redhat.com>
17372 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17373 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17375 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17377 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17379 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17380 useless if() expression.
17381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17390 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17391 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17393 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17394 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17395 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17399 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17401 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17403 2011-10-25 Andreas Schwab <schwab@redhat.com>
17405 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17407 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17409 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17411 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17412 .text section. Avoid duplicate constants.
17413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17423 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17425 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17428 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17430 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17436 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17437 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17438 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17439 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17441 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17442 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17443 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17444 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17446 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17447 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17449 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17451 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17452 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17455 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17456 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17457 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17459 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17461 * sysdeps/x86_64/dla.h: Move to ...
17462 * sysdeps/x86_64/fpu/dla.h: ...here.
17463 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17464 situations. Use __builtin_fma only for gcc 4.6 and up.
17466 * config.make.in: Add have-mfma4 entry.
17467 * configure.in: Substitute libc_cv_cc_fma4.
17468 * math/Makefile (dbl-only-routines): Add sincostab.
17469 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17470 Use __sincostab not sincos.
17471 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17473 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17478 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17479 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17480 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17481 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17483 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17484 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17486 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17487 define aliases when function name is a macro.
17488 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17489 sysdeps/ieee754/dbl-64/sincos.tbl.
17490 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17491 fma4-enabled routines.
17492 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17493 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17494 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17495 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17496 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17497 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17501 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17502 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17504 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17507 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17508 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17509 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17510 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17512 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17513 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17514 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17519 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17520 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17521 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17523 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17534 2011-10-24 Andreas Schwab <schwab@redhat.com>
17536 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17538 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17542 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17544 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17546 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17547 Remove unused variable magic_bits.
17548 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17550 * string/strnlen.c: Define and use STRNLEN macro.
17551 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17552 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17554 * wcsmbs/wcslen.c: Define and use WCSLEN.
17555 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17556 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17557 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17558 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17559 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17560 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17561 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17563 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17566 strnlen-sse2-no-bsf.
17567 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17569 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17570 Add strnlen support.
17571 (USE_AS_STRNLEN): New macro.
17572 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17573 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17574 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17575 * sysdeps/x86_64/wcslen.S: New file.
17577 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17580 XMM-moves are used for copying on small sizes.
17582 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17584 * wcsmbs/Makefile (strop-tests): Add wcschr.
17585 * wcsmbs/test-wcschr.c: New file.
17586 * string/test-strchr.c: Update.
17587 Add wcschr support.
17590 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17592 * wcsmbs/Makefile (strop-tests): Add wcslen.
17593 * wcsmbs/test-wcslen.c: New file.
17594 * string/test-strlen.c: Update.
17595 Add wcslen support.
17598 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17600 * po/it.po: Update from translation team.
17602 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17604 * sysdeps/x86_64/wcscmp.S: Update.
17605 Fix wrong comparison semantics.
17606 wcscmp shall use signed comparison not unsigned.
17607 Don't use substraction to avoid overflow bug.
17608 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17609 * wcsmbc/wcscmp.c: Likewise.
17610 * string/test-strcmp.c: Likewise.
17611 Add new tests to check cases with negative values.
17613 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17615 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17616 * sysdeps/x86_64/dla.h: ...here. New file.
17617 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17627 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17630 __ynl_finite aliases.
17632 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17636 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17638 [DLA_FMA] (EMULV): Use DLA_FMA.
17639 [DLA_FMA] (MUL12): Use EMULV.
17640 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17641 that are not needed.
17642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17650 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17652 * math/s_nan.c: Undef __nan.
17653 * math/s_nanf.c: Undef __nanf.
17654 * math/s_nanl.c: Undef __nanl.
17655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17658 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17660 * math/s_catan.c: Add branch predictions.
17661 * math/s_catanf.c: Likewise.
17662 * math/s_catanh.c: Likewise.
17663 * math/s_catanhf.c: Likewise.
17664 * math/s_catanhl.c: Likewise.
17665 * math/s_catanl.c: Likewise.
17666 * math/s_cexp.c: Likewise.
17667 * math/s_cexpf.c: Likewise.
17668 * math/s_cexpl.c: Likewise.
17669 * math/s_clog.c: Likewise.
17670 * math/s_clog10.c: Likewise.
17671 * math/s_clog10f.c: Likewise.
17672 * math/s_clog10l.c: Likewise.
17673 * math/s_clogf.c: Likewise.
17674 * math/s_clogl.c: Likewise.
17675 * math/s_csqrt.c: Likewise.
17676 * math/s_csqrtf.c: Likewise.
17677 * math/s_csqrtl.c: Likewise.
17678 * math/s_ctanf.c: Likewise.
17679 * math/s_ctanh.c: Likewise.
17680 * math/s_ctanhf.c: Likewise.
17681 * math/s_ctanhl.c: Likewise.
17682 * math/s_ctanl.c: Likewise.
17684 * math/math_private.h: Define __nan, __nanf, __nanl.
17685 * math/s_cacosh.c: Include <math_private.h>.
17686 * math/s_cacoshl.c: Likewise.
17687 * math/s_casinh.c: Likewise.
17688 * math/s_casinhf.c: Likewise.
17689 * math/s_casinhl.c: Likewise.
17690 * math/s_ccos.c: Rely entire on ccosh.
17691 * math/s_ccosf.c: Rely entire on ccoshf.
17692 * math/s_ccosl.c: Rely entirely on ccoshl.
17693 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17694 Remove tests for FE_INVALID.
17695 * math/s_ccoshf.c: Likewise.
17696 * math/s_ccoshl.c: Likewise.
17697 * math/s_csin.c: Likewise.
17698 * math/s_csinf.c: Likewise.
17699 * math/s_csinh.c Likewise.
17700 * math/s_csinhf.c: Likewise.
17701 * math/s_csinhl.c: Likewise.
17702 * math/s_csinl.c: Likewise.
17703 * math/s_ctan.c: Likewise.
17704 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17705 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17708 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17711 compilation problems.
17713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17716 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17718 * sysdeps/i386/configure.in: Test for -mfma4 option.
17719 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17720 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17721 COMMON_CPUID_INDEX_80000001.
17722 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17723 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17724 use it if FMA3 is not supported.
17725 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17727 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17728 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17730 2011-10-20 Andreas Schwab <schwab@redhat.com>
17733 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17734 it would create a cycle with a link time dependency.
17736 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17738 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17740 * string/Makefile (strop-tests): Add rawmemchr.
17741 * string/test-rawmemchr.c: New file.
17743 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17745 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17746 when compiling str{,n}casecmp and when AVX is available. Hook up
17747 new optimized code in initializers.
17749 2011-10-19 Andreas Schwab <schwab@redhat.com>
17751 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17752 __feraiseexcept instead of feraiseexcept.
17754 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17756 * math/math_private.h: Define defaults for libc_fetestexcept and
17758 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17759 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17760 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17761 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17762 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17763 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17764 libc_fetestexcept and libc_feupdateenv.
17766 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17767 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17768 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17769 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17770 libc_feholdexcept_setround.
17772 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17773 Add s_nearbyint-c and s_nearbyintf-c.
17774 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17775 nearbyintf inlines.
17776 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17778 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17781 * math/math_private.h: Define defaults for libc_fegetround,
17782 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17783 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17784 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17786 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17787 standard functions.
17788 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17789 Remove comments and hacks for old compiler versions.
17790 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17791 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17792 libc_feholdexceptl.
17794 2011-10-18 Andreas Schwab <schwab@redhat.com>
17796 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17797 (__feraiseexcept_renamed): Add __NTH.
17798 (feraiseexcept): Add __NTH. Rename local variables to fix
17799 namespace violations.
17801 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17805 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17807 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17808 recently added interfaces.
17809 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17811 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17812 about macro parameter expansion.
17814 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17815 __NO_MATH_INLINES is defined. Cleanups.
17817 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17818 and __floorf is target has SSE4.1.
17819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17820 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17822 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17824 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17826 (floorf): Likewise.
17828 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17830 2011-10-17 Andreas Schwab <schwab@redhat.com>
17832 * misc/sys/cdefs.h: Fix last change.
17834 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17837 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17839 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17841 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17847 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17850 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17851 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17852 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17853 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17854 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17855 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17856 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17857 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17858 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17860 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17861 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17862 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17864 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17865 ceil, ceilf, floor, floorf.
17867 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17868 Perform IRELATIVE relocations last.
17870 * elf/do-rel.h: Add another parameter nrelative, replacing the
17871 local variable with the same name. Change name of the function
17872 to end in Rel or Rela (uppercase).
17873 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17874 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17875 elf_dynamic_do_##reloc function.
17877 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17879 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17880 is sufficient, at least on modern CPUs.
17882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17884 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17887 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17889 * math/bits/math-finite.h: Add entries for exp.
17890 * math/e_expl.c: Add __*_finite alias.
17891 * sysdeps/i386/fpu/e_exp.S: Likewise.
17892 * sysdeps/i386/fpu/e_expf.S: Likewise.
17893 * sysdeps/i386/fpu/e_expl.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17895 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17896 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17902 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17903 is sufficient, at least on modern CPUs.
17905 * ctype/ctype-info.c (__ctype_init): Define.
17906 * include/ctype.h (__ctype_init): Declare.
17907 (__ctype_b_loc): The variable is always initialized.
17908 (__ctype_toupper_loc): Likewise.
17909 (__ctype_tolower_loc): Likewise.
17910 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17911 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17913 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17915 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17917 * configure.in: Also look in $cxxmachine/include for C++ system
17920 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17922 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17923 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17924 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17925 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17926 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17927 (USE_AS_WMEMCMP): New macro.
17929 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17930 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17931 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17932 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17934 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17935 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17936 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17937 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17938 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17940 (USE_AS_WMEMCMP): New macro.
17941 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17942 * sysdeps/string/test-memcmp.c: Update.
17943 Fix simple_wmemcmp.
17945 * wcsmbs/wmemcmp.c: Update.
17946 (WMEMCMP): New macro.
17949 2011-10-12 Andreas Jaeger <aj@suse.de>
17952 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17954 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17956 * libio/iofwide.c (do_length): Avoid warning.
17958 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17960 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17962 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17964 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17965 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17966 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17967 * sysdeps/i386/i686/fpu/e_log.S: New file.
17968 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17969 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17971 * ctype/ctype.h: Add support for inlined isXXX functions when
17972 compiling C++ code.
17974 2011-10-14 Andreas Schwab <schwab@redhat.com>
17976 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17978 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17980 2011-10-13 Roland McGrath <roland@hack.frob.com>
17983 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17985 2011-10-13 Andreas Schwab <schwab@redhat.com>
17987 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17988 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17991 * sysdeps/x86_64/memrchr.S: Check for zero size.
17993 * string/stratcliff.c: Add memrchr tests.
17995 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17998 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17999 rawmemchr-sse2 rawmemchr-sse2-bsf.
18000 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18001 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18002 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18003 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18004 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18005 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18006 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18007 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18008 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18009 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18010 * string/memrchr.c (MEMRCHR): New macro.
18012 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18014 Add integration with gcc's -ffinite-math-only and optimize wrapper
18016 * Versions.def: Define GLIBC_2.15 version for libm.
18017 * math/Makefile (headers): Add bits/math-finite.h.
18018 * math/bits/math-finite.h: New file.
18019 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18020 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18021 * math/e_acoshl.c: Add __*_finite alias.
18022 * math/e_acosl.c: Likewise.
18023 * math/e_asinl.c: Likewise.
18024 * math/e_atan2l.c: Likewise.
18025 * math/e_atanhl.c: Likewise.
18026 * math/e_coshl.c: Likewise.
18027 * math/e_exp10.c: Likewise.
18028 * math/e_exp10f.c: Likewise.
18029 * math/e_exp10l.c: Likewise.
18030 * math/e_exp2l.c: Likewise.
18031 * math/e_fmodl.c: Likewise.
18032 * math/e_gammal_r.c: Likewise.
18033 * math/e_hypotl.c: Likewise.
18034 * math/e_j0l.c: Likewise.
18035 * math/e_j1l.c: Likewise.
18036 * math/e_jnl.c: Likewise.
18037 * math/e_lgammal_r.c: Likewise.
18038 * math/e_log10l.c: Likewise.
18039 * math/e_log2l.c: Likewise.
18040 * math/e_logl.c: Likewise.
18041 * math/e_powl.c: Likewise.
18042 * math/e_sinhl.c: Likewise.
18043 * math/e_sqrtl.c: Likewise.
18044 * math/e_scalb.c: Completely rewritten and optimized.
18045 * math/e_scalbf.c: Likewise.
18046 * math/e_scalbl.c: Likewise.
18047 * math/w_acos.c: Likewise.
18048 * math/w_acosf.c: Likewise.
18049 * math/w_acosl.c: Likewise.
18050 * math/w_acosh.c: Likewise.
18051 * math/w_acoshf.c: Likewise.
18052 * math/w_acoshl.c: Likewise.
18053 * math/w_asin.c: Likewise.
18054 * math/w_asinf.c: Likewise.
18055 * math/w_asinl.c: Likewise.
18056 * math/w_atan2.c: Likewise.
18057 * math/w_atan2f.c: Likewise.
18058 * math/w_atan2l.c: Likewise.
18059 * math/w_atanh.c: Likewise.
18060 * math/w_atanhf.c: Likewise.
18061 * math/w_atanhl.c: Likewise.
18062 * math/w_exp10.c: Likewise.
18063 * math/w_exp10f.c: Likewise.
18064 * math/w_exp10l.c: Likewise.
18065 * math/w_fmod.c: Likewise.
18066 * math/w_fmodf.c: Likewise.
18067 * math/w_fmodl.c: Likewise.
18068 * math/w_j0.c: Likewise.
18069 * math/w_j0f.c: Likewise.
18070 * math/w_j0l.c: Likewise.
18071 * math/w_j1.c: Likewise.
18072 * math/w_j1f.c: Likewise.
18073 * math/w_j1l.c: Likewise.
18074 * math/w_jn.c: Likewise.
18075 * math/w_jnf.c: Likewise.
18076 * math/w_log.c: Likewise.
18077 * math/w_logf.c: Likewise.
18078 * math/w_logl.c: Likewise.
18079 * math/w_log10.c: Likewise.
18080 * math/w_log10f.c: Likewise.
18081 * math/w_log10l.c: Likewise.
18082 * math/w_log2.c: Likewise.
18083 * math/w_log2f.c: Likewise.
18084 * math/w_log2l.c: Likewise.
18085 * math/w_pow.c: Likewise.
18086 * math/w_powf.c: Likewise.
18087 * math/w_powl.c: Likewise.
18088 * math/w_remainder.c: Likewise.
18089 * math/w_remainderf.c: Likewise.
18090 * math/w_remainderl.c: Likewise.
18091 * math/w_scalb.c: Likewise.
18092 * math/w_scalbf.c: Likewise.
18093 * math/w_scalbl.c: Likewise.
18094 * math/w_sqrt.c: Likewise.
18095 * math/w_sqrtf.c: Likewise.
18096 * math/w_sqrtl.c: Likewise.
18097 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18098 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18100 * math/math_private.h: Declare __kernel_standard_f.
18101 * math/w_cosh.c: Remove cruft and optimize a bit.
18102 * math/w_coshf.c: Likewise.
18103 * math/w_coshl.c: Likewise.
18104 * math/w_exp2.c: Likewise.
18105 * math/w_exp2f.c: Likewise.
18106 * math/w_exp2l.c: Likewise.
18107 * math/w_hypot.c: Likewise.
18108 * math/w_hypotf.c: Likewise.
18109 * math/w_hypotl.c: Likewise.
18110 * math/w_lgamma.c: Likewise.
18111 * math/w_lgamma_r.c: Likewise.
18112 * math/w_lgammaf.c: Likewise.
18113 * math/w_lgammaf_r.c: Likewise.
18114 * math/w_lgammal.c: Likewise.
18115 * math/w_lgammal_r.c: Likewise.
18116 * math/w_sinh.c: Likewise.
18117 * math/w_sinhf.c: Likewise.
18118 * math/w_sinhl.c: Likewise.
18119 * math/w_tgamma.c: Likewise.
18120 * math/w_tgammaf.c: Likewise.
18121 * math/w_tgammal.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18124 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18125 Minor optimizations. Pretty printing. Remove cruft.
18126 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18127 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18128 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18129 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18130 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18131 * sysdeps/i386/fpu/e_asin.S: Likewise.
18132 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18133 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18134 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18135 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18136 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18137 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18138 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18139 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18140 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18141 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18142 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18143 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18144 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18145 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18146 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18147 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18148 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18149 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18150 * sysdeps/i386/fpu/e_log.S: Likewise.
18151 * sysdeps/i386/fpu/e_log10.S: Likewise.
18152 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18154 * sysdeps/i386/fpu/e_log2.S: Likewise.
18155 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18156 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18157 * sysdeps/i386/fpu/e_logf.S: Likewise.
18158 * sysdeps/i386/fpu/e_logl.S: Likewise.
18159 * sysdeps/i386/fpu/e_pow.S: Likewise.
18160 * sysdeps/i386/fpu/e_powf.S: Likewise.
18161 * sysdeps/i386/fpu/e_powl.S: Likewise.
18162 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18163 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18164 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18165 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18166 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18168 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18169 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18170 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18192 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18195 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18197 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18198 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18199 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18200 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18202 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18205 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18206 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18207 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18208 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18209 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18210 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18211 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18212 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18264 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18266 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18267 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18268 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18269 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18270 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18271 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18272 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18273 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18274 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18275 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18277 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18279 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18280 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18281 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18282 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18283 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18284 (__isnanf): Likewise.
18285 (__isinf_ns): Likewise.
18286 (__isinf_nsf): Likewise.
18287 (__finite): Likewise.
18288 (__finitef): Likewise.
18289 (__ieee754_sqrt): Define as macro.
18290 (__ieee754_sqrtf): Define as macro.
18291 (__ieee754_sqrtl): Define as macro.
18292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18294 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18295 __FINITE_MATH_ONLY__ consistent.
18296 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18298 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18300 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18303 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18305 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18307 * po/ja.po: Update from translation team.
18309 2011-10-08 Roland McGrath <roland@hack.frob.com>
18311 * locale/programs/locarchive.c (prepare_address_space): New function.
18312 (create_archive, enlarge_archive, open_archive): Use it.
18314 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18315 inside [SHARED], where it is used.
18317 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18319 * nss/getent.c (netgroup_keys): Remove unused variable.
18320 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18322 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18324 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18325 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18327 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18328 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18329 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18330 * math/Makefile (libm-calls): Add s_isinf_ns.
18331 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18332 * math/multc3.c: Likewise.
18333 * math/s_casin.c: Likewise.
18334 * math/s_casinf.c: Likewise.
18335 * math/s_casinl.c: Likewise.
18336 * math/s_ccos.c: Likewise.
18337 * math/s_ccosf.c: Likewise.
18338 * math/s_ccosl.c: Likewise.
18339 * math/s_ctan.c: Likewise.
18340 * math/s_ctanf.c: Likewise.
18341 * math/s_ctanh.c: Likewise.
18342 * math/s_ctanhf.c: Likewise.
18343 * math/s_ctanhl.c: Likewise.
18344 * math/s_ctanl.c: Likewise.
18345 * math/w_fmod.c: Likewise.
18346 * math/w_fmodf.c: Likewise.
18347 * math/w_fmodl.c: Likewise.
18348 * math/w_remainder.c: Likewise.
18349 * math/w_remainderf.c: Likewise.
18350 * math/w_remainderl.c: Likewise.
18351 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18352 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18355 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18356 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18357 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18358 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18360 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18362 * stdio-common/printf_fphex.c: Likewise.
18363 * stdio-common/printf_size.c: Likewise.
18365 * math/e_exp10.c: Include math_private.h using <...> not "...".
18366 * math/e_exp10f.c: Likewise.
18367 * math/e_exp10l.c: Likewise.
18368 * math/e_exp2l.c: Likewise.
18369 * math/e_j0l.c: Likewise.
18370 * math/e_j1l.c: Likewise.
18371 * math/e_jnl.c: Likewise.
18372 * math/e_lgammal_r.c: Likewise.
18373 * math/e_rem_pio2l.c: Likewise.
18374 * math/e_scalb.c: Likewise.
18375 * math/e_scalbf.c: Likewise.
18376 * math/e_scalbl.c: Likewise.
18377 * math/k_cosl.c: Likewise.
18378 * math/k_sinl.c: Likewise.
18379 * math/k_tanl.c: Likewise.
18380 * math/s_cacoshf.c: Likewise.
18381 * math/s_catan.c: Likewise.
18382 * math/s_catanf.c: Likewise.
18383 * math/s_catanh.c: Likewise.
18384 * math/s_catanhf.c: Likewise.
18385 * math/s_catanhl.c: Likewise.
18386 * math/s_catanl.c: Likewise.
18387 * math/s_ccosh.c: Likewise.
18388 * math/s_ccoshf.c: Likewise.
18389 * math/s_ccoshl.c: Likewise.
18390 * math/s_cexp.c: Likewise.
18391 * math/s_cexpf.c: Likewise.
18392 * math/s_cexpl.c: Likewise.
18393 * math/s_clog.c: Likewise.
18394 * math/s_clog10.c: Likewise.
18395 * math/s_clog10f.c: Likewise.
18396 * math/s_clog10l.c: Likewise.
18397 * math/s_clogf.c: Likewise.
18398 * math/s_clogl.c: Likewise.
18399 * math/s_csin.c: Likewise.
18400 * math/s_csinf.c: Likewise.
18401 * math/s_csinh.c: Likewise.
18402 * math/s_csinhf.c: Likewise.
18403 * math/s_csinhl.c: Likewise.
18404 * math/s_csinl.c: Likewise.
18405 * math/s_csqrt.c: Likewise.
18406 * math/s_csqrtf.c: Likewise.
18407 * math/s_csqrtl.c: Likewise.
18408 * math/s_ctan.c: Likewise.
18409 * math/s_ctanf.c: Likewise.
18410 * math/s_ctanh.c: Likewise.
18411 * math/s_ctanhf.c: Likewise.
18412 * math/s_ctanhl.c: Likewise.
18413 * math/s_ctanl.c: Likewise.
18414 * math/s_ldexp.c: Likewise.
18415 * math/s_ldexpf.c: Likewise.
18416 * math/s_ldexpl.c: Likewise.
18417 * math/s_significand.c: Likewise.
18418 * math/s_significandf.c: Likewise.
18419 * math/s_significandl.c: Likewise.
18420 * math/w_acos.c: Likewise.
18421 * math/w_acosf.c: Likewise.
18422 * math/w_acosh.c: Likewise.
18423 * math/w_acoshf.c: Likewise.
18424 * math/w_acoshl.c: Likewise.
18425 * math/w_acosl.c: Likewise.
18426 * math/w_asin.c: Likewise.
18427 * math/w_asinf.c: Likewise.
18428 * math/w_asinl.c: Likewise.
18429 * math/w_atan2.c: Likewise.
18430 * math/w_atan2f.c: Likewise.
18431 * math/w_atan2l.c: Likewise.
18432 * math/w_atanh.c: Likewise.
18433 * math/w_atanhf.c: Likewise.
18434 * math/w_atanhl.c: Likewise.
18435 * math/w_cosh.c: Likewise.
18436 * math/w_coshf.c: Likewise.
18437 * math/w_coshl.c: Likewise.
18438 * math/w_dremf.c: Likewise.
18439 * math/w_exp10.c: Likewise.
18440 * math/w_exp10f.c: Likewise.
18441 * math/w_exp10l.c: Likewise.
18442 * math/w_exp2.c: Likewise.
18443 * math/w_exp2f.c: Likewise.
18444 * math/w_fmod.c: Likewise.
18445 * math/w_fmodf.c: Likewise.
18446 * math/w_fmodl.c: Likewise.
18447 * math/w_hypot.c: Likewise.
18448 * math/w_hypotf.c: Likewise.
18449 * math/w_hypotl.c: Likewise.
18450 * math/w_j0.c: Likewise.
18451 * math/w_j0f.c: Likewise.
18452 * math/w_j0l.c: Likewise.
18453 * math/w_j1.c: Likewise.
18454 * math/w_j1f.c: Likewise.
18455 * math/w_j1l.c: Likewise.
18456 * math/w_jn.c: Likewise.
18457 * math/w_jnf.c: Likewise.
18458 * math/w_jnl.c: Likewise.
18459 * math/w_lgamma.c: Likewise.
18460 * math/w_lgamma_r.c: Likewise.
18461 * math/w_lgammaf.c: Likewise.
18462 * math/w_lgammaf_r.c: Likewise.
18463 * math/w_lgammal.c: Likewise.
18464 * math/w_lgammal_r.c: Likewise.
18465 * math/w_log.c: Likewise.
18466 * math/w_log10.c: Likewise.
18467 * math/w_log10f.c: Likewise.
18468 * math/w_log10l.c: Likewise.
18469 * math/w_log2.c: Likewise.
18470 * math/w_log2f.c: Likewise.
18471 * math/w_log2l.c: Likewise.
18472 * math/w_logf.c: Likewise.
18473 * math/w_logl.c: Likewise.
18474 * math/w_pow.c: Likewise.
18475 * math/w_powf.c: Likewise.
18476 * math/w_powl.c: Likewise.
18477 * math/w_remainder.c: Likewise.
18478 * math/w_remainderf.c: Likewise.
18479 * math/w_remainderl.c: Likewise.
18480 * math/w_scalb.c: Likewise.
18481 * math/w_scalbf.c: Likewise.
18482 * math/w_scalbl.c: Likewise.
18483 * math/w_sinh.c: Likewise.
18484 * math/w_sinhf.c: Likewise.
18485 * math/w_sinhl.c: Likewise.
18486 * math/w_sqrt.c: Likewise.
18487 * math/w_sqrtf.c: Likewise.
18488 * math/w_sqrtl.c: Likewise.
18489 * math/w_tgamma.c: Likewise.
18490 * math/w_tgammaf.c: Likewise.
18491 * math/w_tgammal.c: Likewise.
18493 * po/ja.po: Update from translation team.
18495 2011-09-29 Andreas Jaeger <aj@suse.de>
18498 * sunrpc/netname.c (netname2host): Fix logic.
18502 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18504 * math/w_remainder.c (__remainder): Likewise.
18505 * math/w_remainderf.c (__remainderf): Likewise.
18506 * math/libm-test.inc (remainder_test): Add test cases.
18508 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18510 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18513 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18515 * string/test-memcmp.c: Avoid unncessary #defines.
18516 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18518 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18520 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18521 Use new sse2 version for core i3 - i7 as it's faster
18522 than sse42 version.
18523 (bit_Prefer_PMINUB_for_stringop): New.
18524 * sysdeps/x86_64/rawmemchr.S: Update.
18525 Replace with faster SSE2 version.
18526 * sysdeps/x86_64/memrchr.S: New file.
18527 * sysdeps/x86_64/memchr.S: Update.
18528 Replace with faster SSE2 version.
18530 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18532 * elf/dl-load.c (lose): Add cast to avoid warning.
18534 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18536 * po/ca.po: Update from translation team.
18538 * inet/getnetgrent_r.c: Hook up nscd.
18539 * nscd/Makefile (routines): Add nscd_netgroup.
18540 (nscd-modules): Add netgroupcache.
18541 (CFLAGS-netgroupcache.c): Define.
18542 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18543 (cache_search): Add const to second parameter.
18544 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18546 (dbs): Add netgrdb entry.
18547 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18548 (verify_persistent_db): Handle netgrdb.
18549 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18550 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18552 (netgroup_response_header): Define.
18553 (innetgroup_response_header): Define.
18554 (datahead): Add netgroup_response_header and innetgroup_response_header
18556 * nscd/nscd.conf: Add entries for netgroup cache.
18557 * nscd/nscd.h (dbtype): Add netgrdb.
18558 (_PATH_NSCD_NETGROUP_DB): Define.
18559 (netgroup_iov_disabled): Declare.
18560 (xmalloc, xcalloc, xrealloc): Move declarations here.
18561 (cache_search): Adjust prototype.
18562 Add netgroup-related prototypes.
18563 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18564 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18565 (__nscd_innetgr): Declare.
18566 * nscd/selinux.c (perms): Use access_vector_t as element type and
18567 add netgroup-related initializers.
18568 * nscd/netgroupcache.c: New file.
18569 * nscd/nscd_netgroup.c: New file.
18570 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18571 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18572 For four parameters use innetgr.
18573 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18574 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18575 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18576 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18578 * nscd/connections.c (register_traced_file): Don't register file
18579 for disabled databases.
18581 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18583 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18585 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18586 from tree and freeing node.
18588 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18590 * nss/nsswitch.c (__nss_database_lookup): Handle
18591 nss_parse_service_list out of memory case.
18593 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18595 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18596 out of memory case.
18598 2011-10-04 Andreas Schwab <schwab@redhat.com>
18600 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18601 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18603 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18604 elf_machine_rela, elf_machine_lazy_rel.
18605 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18606 (ELF_DYNAMIC_DO_REL): Likewise.
18607 (ELF_DYNAMIC_DO_RELA): Likewise.
18608 (ELF_DYNAMIC_RELOCATE): Likewise.
18609 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18610 to ELF_DYNAMIC_DO_REL.
18611 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18612 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18613 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18616 skip_ifunc, don't call ifunc function if non-zero.
18617 (elf_machine_rela): Likewise.
18618 (elf_machine_lazy_rel): Likewise.
18619 (elf_machine_lazy_rela): Likewise.
18620 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18621 (elf_machine_lazy_rel): Likewise.
18622 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18624 (elf_machine_lazy_rel): Likewise.
18625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18627 (elf_machine_lazy_rel): Likewise.
18628 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18629 (elf_machine_lazy_rel): Likewise.
18630 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18631 (elf_machine_lazy_rel): Likewise.
18632 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18633 (elf_machine_lazy_rel): Likewise.
18634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18635 (elf_machine_lazy_rel): Likewise.
18636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18637 (elf_machine_lazy_rel): Likewise.
18638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18639 (elf_machine_lazy_rel): Likewise.
18641 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18643 * nss/nss_files/files-init.c (_nss_files_init): Use static
18644 initialization for all the *_traced_file variables.
18646 2011-09-28 Andreas Schwab <schwab@redhat.com>
18648 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18650 2011-09-27 Roland McGrath <roland@hack.frob.com>
18653 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18655 2011-09-27 Andreas Schwab <schwab@redhat.com>
18657 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18658 Reread the line before reparsing it.
18660 2011-09-26 Andreas Schwab <schwab@redhat.com>
18662 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18664 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18665 Maxim Kuvyrkov <maxim@codesourcery.com>
18666 Joseph Myers <joseph@codesourcery.com>
18668 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18669 if needed for __stack_chk_guard.
18671 2011-09-19 Roland McGrath <roland@hack.frob.com>
18673 * sysdeps/posix/spawni.c (script_execute): Always define it.
18674 It will be optimized away if unused.
18675 (maybe_script_execute): New function.
18676 (__spawni): Call it.
18678 * Makerules: Don't include tls.make.
18679 (config-tls): Always set to thread.
18680 * tls.make.c: File removed.
18682 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18684 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18685 * config.make.in (CPPFLAGS-config): New substituted variable.
18687 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18692 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18693 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18695 2011-09-15 Roland McGrath <roland@hack.frob.com>
18697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18698 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18699 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18700 (CALL_FAIL): Likewise.
18701 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18702 (CALL_FAIL): Macro removed.
18703 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18705 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18707 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18708 for __FINITE_MATH_ONLY__ == 1.
18710 2011-09-15 Andreas Schwab <schwab@redhat.com>
18712 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18713 __ieee754_sqrt instead of sqrt.
18714 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18715 __ieee754_sqrtf instead of sqrtf.
18716 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18717 __floorf instead of floorf.
18718 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18719 __floorf, __truncf instead of floorf, truncf.
18721 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18723 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18725 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18726 __extern_always_inline.
18727 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18730 2011-09-14 Andreas Schwab <schwab@redhat.com>
18732 * elf/rtld.c (dl_main): Also relocate in dependency order when
18733 doing symbol dependency testing.
18735 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18738 Always define `refsym'.
18740 2011-09-13 Andreas Schwab <schwab@redhat.com>
18742 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18743 (__FD_ELT): Renamed from __FDELT.
18744 * misc/bits/select2.h (__FD_ELT): Likewise.
18745 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18746 __FD_MASK instead of __FDELT, __FDMASK.
18747 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18749 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18752 * elf/Makefile (gen-ldd): Fix pattern.
18754 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18755 (init_tls): Likewise.
18757 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18761 2011-09-12 Andreas Schwab <schwab@redhat.com>
18763 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18764 `struct cmsghdr *' instead of `void *'.
18765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18768 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18770 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18772 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18773 ldd_rewrite_script.
18775 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18777 * configure.in: Remove --with-tls option.
18778 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18779 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18780 out in case it is missing.
18781 * sysdeps/ia64/elf/configure.in: Likewise.
18782 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18783 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18784 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18785 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18786 * sysdeps/sh/elf/configure.in: Likewise.
18787 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18788 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18789 * sysdeps/x86_64/elf/configure.in: Likewise.
18790 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18791 * sysdeps/mach/hurd/tls.h: Likewise.
18794 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18797 * configure.in: Fix use of AC_INIT.
18799 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18801 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18803 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18805 * malloc/hooks.c: Likewise.
18808 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18809 variables statically.
18810 (narenas): Initialize.
18811 (list_lock): Initialize.
18812 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18813 initializtion of main_arena and list_lock. Small cleanups.
18814 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18815 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18816 Add initializers to main_arena and mp_.
18817 (malloc_state): Remove pagesize member. Change all users to use
18820 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18821 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18822 is always initialized.
18824 * malloc/malloc.c: Removed unused configurations and dead code.
18825 * malloc/arena.c: Likewise.
18826 * malloc/hooks.c: Likewise.
18827 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18829 * include/tls.h: Removed. USE___THREAD must always be defined.
18830 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18831 * elf/dl-libc.c: Likewise.
18832 * elf/dl-tsd.c: Likewise.
18833 * include/errno.h: Likewise.
18834 * include/netdb.h: Likewise.
18835 * include/resolv.h: Likewise.
18836 * inet/herrno-loc.c: Likewise.
18837 * inet/herrno.c: Likewise.
18838 * malloc/arena.c: Likewise.
18839 * malloc/hooks.c: Likewise.
18840 * malloc/malloc.c: Likewise.
18841 * resolv/res-state.c: Likewise.
18842 * resolv/res_libc.c: Likewise.
18843 * sysdeps/i386/dl-machine.h: Likewise.
18844 * sysdeps/ia64/dl-machine.h: Likewise.
18845 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18846 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18847 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18848 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18849 * sysdeps/sh/dl-machine.h: Likewise.
18850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18851 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18852 * sysdeps/unix/i386/sysdep.S: Likewise.
18853 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18854 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18859 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18863 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18864 * sysdeps/x86_64/dl-machine.h: Likewise.
18865 * tls.make.c: Likewise.
18867 * configure.in: Remove --with-__thread option. Make tests for
18868 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18869 tls_model attribute fail if no support is available. Remove
18871 * Makeconfig: Adjust for dropped configure option. All features are
18873 * Makerules: Likewise.
18874 * Versions.def: Likewise.
18875 * argp/argp-fmtstream.c: Likewise.
18876 * argp/argp-fmtstream.h: Likewise.
18877 * argp/argp-help.c: Likewise.
18878 * assert/assert.c: Likewise.
18879 * config.h.in: Likewise.
18880 * config.make.in: Likewise.
18881 * configure: Likewise.
18882 * configure.in: Likewise.
18883 * csu/Versions: Likewise.
18884 * csu/init.c: Likewise.
18885 * elf/tst-audit2.c: Likewise.
18886 * elf/tst-tls10.c: Likewise.
18887 * elf/tst-tls10.h: Likewise.
18888 * elf/tst-tls11.c: Likewise.
18889 * elf/tst-tls12.c: Likewise.
18890 * elf/tst-tls14.c: Likewise.
18891 * elf/tst-tlsmod11.c: Likewise.
18892 * elf/tst-tlsmod12.c: Likewise.
18893 * elf/tst-tlsmod13.c: Likewise.
18894 * elf/tst-tlsmod13a.c: Likewise.
18895 * elf/tst-tlsmod14a.c: Likewise.
18896 * elf/tst-tlsmod15b.c: Likewise.
18897 * elf/tst-tlsmod16a.c: Likewise.
18898 * elf/tst-tlsmod16b.c: Likewise.
18899 * elf/tst-tlsmod7.c: Likewise.
18900 * elf/tst-tlsmod8.c: Likewise.
18901 * elf/tst-tlsmod9.c: Likewise.
18902 * gmon/gmon.c: Likewise.
18903 * grp/fgetgrent_r.c: Likewise.
18904 * grp/putgrent.c: Likewise.
18905 * hurd/fopenport.c: Likewise.
18906 * include/libc-symbols.h: Likewise.
18907 * include/tls.h: Likewise.
18908 * intl/gettextP.h: Likewise.
18909 * intl/loadinfo.h: Likewise.
18910 * locale/global-locale.c: Likewise.
18911 * locale/localeinfo.h: Likewise.
18912 * mach/devstream.c: Likewise.
18913 * malloc/arena.c: Likewise.
18914 * malloc/set-freeres.c: Likewise.
18915 * misc/err.c: Likewise.
18916 * misc/getttyent.c: Likewise.
18917 * misc/mntent_r.c: Likewise.
18918 * posix/getopt.c: Likewise.
18919 * posix/wordexp.c: Likewise.
18920 * pwd/fgetpwent_r.c: Likewise.
18921 * resolv/Versions: Likewise.
18922 * resolv/res_hconf.c: Likewise.
18923 * shadow/fgetspent_r.c: Likewise.
18924 * shadow/putspent.c: Likewise.
18925 * stdio-common/printf_fphex.c: Likewise.
18926 * stdio-common/tmpfile.c: Likewise.
18927 * stdlib/abort.c: Likewise.
18928 * stdlib/fmtmsg.c: Likewise.
18929 * sunrpc/auth_unix.c: Likewise.
18930 * sunrpc/clnt_perr.c: Likewise.
18931 * sunrpc/clnt_tcp.c: Likewise.
18932 * sunrpc/clnt_udp.c: Likewise.
18933 * sunrpc/clnt_unix.c: Likewise.
18934 * sunrpc/openchild.c: Likewise.
18935 * sunrpc/svc_simple.c: Likewise.
18936 * sunrpc/svc_tcp.c: Likewise.
18937 * sunrpc/svc_udp.c: Likewise.
18938 * sunrpc/svc_unix.c: Likewise.
18939 * sunrpc/xdr.c: Likewise.
18940 * sunrpc/xdr_array.c: Likewise.
18941 * sunrpc/xdr_rec.c: Likewise.
18942 * sunrpc/xdr_ref.c: Likewise.
18943 * sunrpc/xdr_stdio.c: Likewise.
18945 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18947 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18949 2011-07-03 Andreas Jaeger <aj@suse.de>
18951 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18952 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18953 regenerate with gen-libm-tests.pl.
18955 2010-05-12 Petr Baudis <pasky@suse.cz>
18958 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18959 around j0() zero points by switching to j1().
18960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18965 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18967 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18969 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18972 Patch in part by Pavel Roskin <proski@gnu.org>.
18975 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18977 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18978 Free memory block if necessary.
18981 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18982 be NULL. Don't lock in this case.
18984 2011-09-09 Roland McGrath <roland@hack.frob.com>
18986 * elf/elf.h (ELFOSABI_GNU): New macro.
18987 (ELFOSABI_LINUX): Define to that.
18989 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18991 * string/strncat.c (strncat): Undef the symbol in case it has been
18992 defined in bits/string.h.
18994 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18996 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18998 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19001 2011-08-17 Andreas Jaeger <aj@suse.de>
19003 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19005 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19006 Ian Lance Taylor <iant@google.com>
19008 * math/libm-test.inc (lround_test): New testcase.
19009 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19011 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19013 * Makefile: Remove support for automatic cvs check-ins.
19014 * Makerules: Likewise.
19015 * config.make.in: Likewise.
19016 * configure.in: Likewise.
19017 * intl/Makefile: Likewise.
19018 * locale/Makefile: Likewise.
19019 * po/Makefile: Likewise.
19020 * posix/Makefile: Likewise.
19021 * sysdeps/gnu/Makefile: Likewise.
19022 * sysdeps/mach/hurd/Makefile: Likewise.
19023 * sysdeps/sparc/sparc32/Makefile: Likewise.
19026 * posix/Makefile (bug-regex32-ENV): Define.
19027 Patch by John Stanley <jpsinthemix@verizon.net>.
19029 * misc/Makefile (headers): Add bits/select2.h.
19030 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19031 * misc/bits/select2.h: New file.
19032 * include/bits/select2.h: New file.
19033 * debug/Makefile (routines): Add fdelt_chk.
19034 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19035 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19037 * debug/fdelt_chk.c: New file.
19039 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19040 * wcsmbs/test-wmemcmp.c: Likewise.
19041 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19042 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19044 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19046 * string/Makefile (strop-tests): Add memcmp.
19047 * string/test-wmemcmp.c: New file.
19048 * string/test-memcmp.c: Add wmemcmp support.
19050 2011-09-08 Roland McGrath <roland@hack.frob.com>
19053 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19056 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19057 garbage value in a __mach_port_mod_refs call in the cases of the
19058 task-self and thread-self ports.
19060 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19062 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19064 2011-09-08 Andreas Schwab <schwab@redhat.com>
19066 * elf/dl-load.c (lose): Check for non-null L.
19068 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19070 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19072 * elf/dl-libc.c (dlerror_run): Pass back error code from
19076 * elf/dl-load.c (lose): Free l_origin if it is valid.
19078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19080 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19081 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19082 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19084 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19085 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19087 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19089 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19090 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19091 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19092 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19093 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19094 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19095 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19096 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19097 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19098 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19100 2011-08-15 Alan Modra <amodra@gmail.com>
19103 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19104 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19105 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19106 ppc_mcount to static-only-routines.
19107 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19109 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19110 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19112 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19114 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19115 for finite and infinity parameters.
19117 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19120 and add nop instructions for throughput optimization.
19121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19123 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19126 aligned copy for power7 with vector-scalar instructions.
19127 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19129 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19134 2011-09-07 Andreas Schwab <schwab@redhat.com>
19137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19140 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19142 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19143 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19144 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19145 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19148 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19151 Forgot to demangle the pointer.
19153 * sysdeps/i386/sysdep.h: Define atom_text_section.
19154 * sysdeps/x86_64/sysdep.h: Likewise.
19155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19156 section with atom_text_section.
19157 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19158 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19159 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19160 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19161 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19165 already be defined. Change to take two parameters and don't assign
19166 result to variable. Adjust all users.
19167 Define INTERNAL_GETTIME if not already defined.
19168 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19171 HAVE_CLOCK_GETTIME_VSYSCALL.
19172 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19175 gettimeofday vsyscall, just use time.
19177 2011-09-06 Andreas Schwab <schwab@redhat.com>
19179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19182 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19184 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19188 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19190 syscall if possible.
19192 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19194 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19195 e_ident. Don't pass to find_mapsXX.
19196 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19198 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19201 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19202 * sysdeps/x86_64/multiarch/strchr.S: Update.
19203 Check bit_slow_BSF bit.
19204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19205 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19206 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19208 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19211 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19213 (tryshell): Define.
19214 (__spawni): Change last parameter to be flag. Test
19215 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19216 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19217 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19218 * posix/spawni.c: Likewise.
19219 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19220 * posix/spawnp.c: Likewise. Change normal version to use
19221 SPAWN_XFLAGS_USE_PATH.
19222 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19223 SPAWN_XFLAGS_TRY_SHELL.
19226 * posix/glob.h: Remove gcc 1.x support.
19229 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19231 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19234 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19236 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19237 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19238 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19240 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19241 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19243 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19245 * sysdeps/x86_64/wcscmp.S: New file.
19247 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19248 wcscmp-c wcscmp-sse2
19249 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19250 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19251 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19252 * wcsmbs/wcscmp.c: Allow renaming.
19254 2011-09-05 David S. Miller <davem@davemloft.net>
19256 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19257 stack slot, rather than the struct return pointer slot.
19258 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19259 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19261 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19263 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19265 * po/ja.po: Update from translation team.
19268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19269 kernel in 64-bit binaries.
19271 2011-09-01 David S. Miller <davem@davemloft.net>
19273 * elf/elf.h (HWCAP_SPARC_*): Move to..
19274 * sysdeps/sparc/sysdep.h: this new file and add new values.
19275 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19276 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19277 _DL_HWCAP_COUNT to 24.
19278 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19280 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19281 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19282 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19284 instead of magic constants.
19285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19287 2011-08-31 David S. Miller <davem@davemloft.net>
19289 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19291 Reimplement to do errno handling inline.
19292 (SYSCALL_ERROR_HANDLER): New macro.
19293 (__SYSCALL_STRING): Do not do errno handling in asm.
19294 (__CLONE_SYSCALL_STRING): Delete.
19295 (__INTERNAL_SYSCALL_STRING): Delete.
19296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19297 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19298 (PSEUDO): Reimplement to do errno handling inline.
19299 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19300 (SYSCALL_ERROR_HANDLER): New macro.
19301 (__SYSCALL_STRING): Do not do errno handling in asm.
19302 (__CLONE_SYSCALL_STRING): Delete.
19303 (__INTERNAL_SYSCALL_STRING): Delete.
19304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19305 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19307 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19308 (inline_syscall*): Add 'err' argument.
19309 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19310 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19311 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19312 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19314 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19315 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19317 2011-08-30 Andreas Schwab <schwab@redhat.com>
19319 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19321 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19323 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19326 2011-08-24 David S. Miller <davem@davemloft.net>
19328 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19330 2011-08-24 Andreas Schwab <schwab@redhat.com>
19332 * elf/Makefile: Add rules to build and run unload8 test.
19333 * elf/unload8.c: New file.
19334 * elf/unload8mod1.c: New file.
19335 * elf/unload8mod1x.c: New file.
19336 * elf/unload8mod2.c: New file.
19337 * elf/unload8mod3.c: New file.
19339 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19342 2011-08-23 David S. Miller <davem@davemloft.net>
19344 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19345 subtract stack bias.
19346 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19347 %sp not %fp in calculations.
19348 (_JMPBUF_UNWINDS_ADJ): Likewise.
19350 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19351 (aio_suspend): Call it to force an exception region around the
19352 AIO_MISC_WAIT() invocation.
19354 2011-08-23 Andreas Schwab <schwab@redhat.com>
19356 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19359 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19361 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19363 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19364 and <dl-machine.h>.
19365 (Elf64_FuncDesc): Remove.
19367 2011-08-22 David S. Miller <davem@davemloft.net>
19369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19370 sigaltstack check, add missing cfi directives.
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19372 missing cfi directives, and sigaltstack handling.
19374 2011-08-16 Andreas Schwab <schwab@redhat.com>
19377 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19378 object is seen twice.
19379 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19381 * elf/Makefile (distribute): Add tst-initorder2.c.
19382 (tests): Add tst-initorder2.
19383 (modules-names): Add tst-initorder2a tst-initorder2b
19384 tst-initorder2c tst-initorder2d. Add rules to build them.
19385 ($(objpfx)tst-initorder2.out): New rule.
19386 * elf/tst-initorder2.c: New file.
19387 * elf/tst-initorder2.exp: New file.
19389 2011-08-22 Andreas Schwab <schwab@redhat.com>
19391 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19393 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19394 dependencies back to end of function.
19396 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19397 $(elfobjdir)/ld.so.
19399 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19402 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19404 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19405 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19406 of __vdso_gettimeofday.
19407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19408 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19410 (_libc_vdso_platform_setup): Remove initialization of
19411 __vdso_gettimeofday and __vdso_time.
19413 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19415 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19416 and fgetc_unlocked.
19417 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19420 * elf/dl-open.c (add_to_global): Report additions to the global scope
19421 for LD_DEBUG=scopes.
19422 (dl_open_worker): Also print scope of newly loaded dependencies.
19423 (_dl_show_scope): Indicate if there is no scope.
19426 * stdio-common/Makefile (tests): Add bug24.
19427 * stdio-common/bug24.c: New file.
19429 2011-08-19 Andreas Jaeger <aj@suse.de>
19432 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19433 non-existant file when using close-on-exec mode.
19435 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19438 the very first instruction.
19440 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19441 the CFI state in the end.
19442 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19443 inclusion of dl-trampoline.h.
19444 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19446 2011-08-19 Andreas Schwab <schwab@redhat.com>
19448 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19449 expectations for long double.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19452 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19454 2011-08-14 David S. Miller <davem@davemloft.net>
19456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19457 artificual limit depends upon the system page size.
19459 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19461 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19462 * resolv/Makefile: Define CFLAGS-libresolv.
19464 2011-08-17 Andreas Schwab <schwab@redhat.com>
19466 * nss/makedb.c (compute_tables): Make variables used in nested
19469 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19471 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19472 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19473 if buffer was too small.
19475 * elf/pldd.c (main): Attach to all threads in the process.
19476 Rewrite /proc handling to use *at functions.
19478 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19480 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19481 specifies first scope to show.
19482 (dl_open_worker): Update callers. Move printing scope of new
19483 object to before the relocation.
19484 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19485 * sysdeps/generic/ldsodefs.h: Update declaration.
19487 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19488 string for the scope number.
19490 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19492 * nscd/servicescache.c (cache_addserv): Make sure written is always
19495 2011-08-14 Roland McGrath <roland@hack.frob.com>
19497 * sysdeps/i386/i486/bits/atomic.h
19498 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19499 statement expression, so as to suppress "set but not used" warning.
19500 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19502 * string/strncat.c (STRNCAT): Use prototype definition.
19504 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19505 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19507 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19508 (localedef-modules): Add localedef.
19509 (locale-modules): Add locale.
19511 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19512 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19513 to avoid a warning.
19515 2011-08-14 David S. Miller <davem@davemloft.net>
19517 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19518 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19520 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19522 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19523 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19524 * elf/rtld.c (dl_main): Set l_name of vDSO.
19525 Call _dl_show_scope when DL_DEBUG_SCOPES.
19526 (process_dl_debug): Recognize scopes flag and also set it for all.
19527 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19528 Declare _dl_show_scope.
19530 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19531 (do_dlopen): Pass caller_dlopen to dl_open.
19532 (__libc_dlopen_mode): Initialize caller_dlopen.
19534 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19535 of libc. Make tolower call locale-independent. Optimize a bit by
19536 using isdigit instead of isalnum.
19537 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19539 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19541 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19542 was a dependency or dynamically loaded.
19544 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19546 * intl/l10nflist.c: Allow architecture-specific pop function.
19547 * sysdeps/x86_64/l10nflist.c: New file.
19549 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19552 2011-08-10 Andreas Schwab <schwab@redhat.com>
19554 * include/dirent.h: Add libc_hidden_proto for scandirat and
19555 scandirat64. Don't declare __scandirat64.
19556 * dirent/scandirat.c: Add libc_hidden_def.
19557 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19558 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19560 2011-08-10 David S. Miller <davem@davemloft.net>
19562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19568 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19570 * Versions.def [libc]: Add GLIBC_2.15.
19571 * dirent/Makefile (routines): Add scandirat and scandirat64.
19572 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19574 * dirent/dirent.h: Declare scandirat and scandirat64.
19575 * dirent/scandirat.c: New file.
19576 * dirent/scandirat64.c: New file.
19577 * sysdeps/wordsize-64/scandirat.c: New file.
19578 * sysdeps/wordsize-64/scandirat64.c: New file.
19579 * dirent/opendir.c: Define opendirat.
19580 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19582 * dirent/scandir64.c: Adjust for scandir.c change.
19583 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19584 __scandirat64, and __scandir_cancel_handler.
19585 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19586 additional parameter and use openat instead of open (outside of ld.so).
19587 Add new __opendir as wrapper around __opendirat.
19588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19589 here without requiring old scandirat implementation.
19591 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19593 * dirent/scandir.c (cancel_handler): Renamed to
19594 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19595 defined. Adjust users.
19596 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19599 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19601 * string/test-string.h (IMPL): Use __STRING to expand name and then
19604 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19607 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19609 * string/Makefile: Update.
19610 (strop-tests): Append strncat.
19611 * string/test-wcscmp.c: New file.
19612 New comprehensive test for wcscmp.
19613 * string/test-strcmp.c: Update.
19614 (WIDE): New define.
19616 2011-07-22 Andreas Schwab <schwab@redhat.com>
19618 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19621 2011-07-26 Andreas Schwab <schwab@redhat.com>
19623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19624 encoding to ACE if AI_IDN.
19626 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19629 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19631 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19633 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19634 Fix overflow bug in strncat.
19635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19637 * string/test-strncat.c: Update.
19638 Add new tests for checking overflow bugs.
19640 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19643 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19644 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19645 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19646 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19647 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19648 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19649 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19650 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19653 (USE_AS_STRCAT): Define.
19654 Add strcat and strncat support.
19655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19657 2011-07-25 Andreas Schwab <schwab@redhat.com>
19659 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19660 __n bigger than INT_MAX+1.
19661 (__strncmp_g): Likewise.
19663 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19665 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19666 * libio/stido.h: Likewise.
19668 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19673 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19676 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19680 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19685 (_dl_x86_64_save_sse): Likewise.
19687 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19691 (_dl_x86_64_save_sse): Likewise.
19693 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19695 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19697 2011-07-21 Andreas Schwab <schwab@redhat.com>
19699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19701 (_dl_x86_64_save_sse): Use correct AVX check.
19703 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19706 bug in strncpy/strncat.
19707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19709 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19711 * string/tester.c (test_strcat): Add tests for different alignments
19712 of source and destination.
19713 (test_strncat): Likewise.
19715 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19718 * posix/glob.c (glob): Check passed in values before using them in
19719 expressions to avoid some overflows.
19720 (glob_in_dir): Likewise.
19723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19724 check for AVX enablement so that we don't crash with old kernels and
19726 * elf/tst-audit4.c: Add same checks here.
19727 * elf/tst-audit6.c: Likewise.
19729 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19731 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19733 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19735 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19737 * po/cs.po: Update from translation team.
19738 * po/bg.po: Likewise.
19740 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19742 * misc/sys/cdefs.h: Add support for const attribute.
19743 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19744 to gnu_dev_{major,minor,makedev} functions.
19746 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19748 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19750 2011-07-20 Andreas Schwab <schwab@redhat.com>
19752 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19755 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19758 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19759 register in order to avoid conflicts with the soft frame pointer
19760 being held in r11 when necessary.
19761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19762 (INTERNAL_VSYSCALL_NCS): Likewise.
19764 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19766 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19767 * elf/dl-fini.c (_dl_fini): Adjust caller.
19768 * elf/dl-close.c (_dl_close_worker): Likewise.
19769 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19771 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19773 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19774 "aux_cache->nlibs < 0".
19776 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19777 in the reload-count case.
19779 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19782 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19783 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19784 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19785 * sysdeps/x86_64/multiarch/strcat.S: New file.
19786 * sysdeps/x86_64/multiarch/strncat.S: New file.
19787 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19789 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19790 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19792 (USE_AS_STRCAT): Define.
19793 Add strcat and strncat support.
19794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19796 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19797 * string/strncat.c: Update.
19798 (USE_AS_STRNCAT): Define.
19799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19800 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19802 * sysdeps/x86_64/multiarch/init-arch.h
19803 (bit_Prefer_PMINUB_for_stringop): New.
19804 (index_Prefer_PMINUB_for_stringop): Likewise.
19805 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19806 bit_Prefer_PMINUB_for_stringop.
19808 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19810 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19812 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19813 of casting of buffer.
19814 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19815 buffer32 and buffer64.
19816 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19817 writes instead of casting of buffer.
19818 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19820 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19823 2011-07-19 Andreas Schwab <schwab@redhat.com>
19825 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19827 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19829 * nscd/nscd.c (termination_handler): Don't do anything for a database
19830 if it has not yet been initialized.
19832 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19834 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19836 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19838 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19840 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19842 * po/nl.po: Update from translation team.
19843 * po/sv.po: Likewise.
19845 2011-07-16 Roland McGrath <roland@hack.frob.com>
19847 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19848 now disallowed by GCC.
19850 * configure.in (use-default-link): Default to yes if a test -shared
19851 link meets our qualifications.
19852 * configure: Regenerated.
19854 * config.make.in (output-format): New variable.
19855 * configure.in: Check for ld --print-output-format support.
19856 * configure: Regenerated.
19857 * Makerules ($(common-objpfx)format.lds)
19858 [$(output-format) != unknown]: Just use $(output-format),
19859 instead of the linker-script munging.
19861 2011-07-14 Roland McGrath <roland@hack.frob.com>
19863 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19864 of $(common-objpfx)shlib.lds.
19865 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19867 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19868 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19870 * configure.in (-z relro check): Adjust test code to add a large
19871 writable data section after it.
19872 * configure: Regenerated.
19874 2011-07-11 Roland McGrath <roland@hack.frob.com>
19876 * configure.in (-z relro check): Fix test code to make the variable
19878 * configure: Regenerated.
19880 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19882 * nscd/nscd.h (struct traced_file): Define.
19883 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19884 elements. Add traced_files.
19885 (inotify_fd): Declare.
19886 (register_traced_file): Declare.
19887 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19888 (inotify_fd): Export.
19889 (resolv_conf_descr): Remove.
19890 (nscd_init): Move inotify descriptor creation to main.
19891 Don't register files for notification here.
19892 (register_traced_file): New function.
19893 (invalidate_cache): Don't use reset_res to determine whether to call
19894 res_init, go through the list of registered files.
19895 (main_loop_poll): The inotify descriptors are now stored in the
19896 structures for the traced files.
19897 (main_loop_epoll): Likewise
19898 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19899 to __nss_disable_nscd.
19900 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19901 for a database anymore. Check the records for all the registered
19903 * nss/Makefile (libnss_files-routines): Add files-init.
19904 (libnss_db-routines): Add db-init.
19905 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19906 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19907 * nss/nss_db/db-init.c: New file.
19908 * nss/nss_files/files-init.c: New file.
19909 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19910 __nss_lookup_function.
19911 (__nss_lookup_function): Call nss_load_library.
19912 (nss_load_all_libraries): New function.
19913 (__nss_disable_nscd): Take parameter with callback function for files
19914 to register. Set is_nscd. Load all the DSOs for the NSS modules
19915 used for the cached services.
19916 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19917 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19918 options for features to all the files in nscd.
19920 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19922 2011-07-10 Roland McGrath <roland@hack.frob.com>
19924 * csu/elf-init.c (__libc_csu_init): Comment typo.
19926 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19928 * po/pl.po: Update from translation team.
19929 * po/ja.po: Likewise.
19930 * po/ru.po: Likewise.
19931 * po/ko.po: Likewise.
19932 * po/fr.po: Likewise.
19934 2011-07-09 Roland McGrath <roland@hack.frob.com>
19936 * configure.in (.ctors/.dtors header and trailer check):
19937 Use an empirical test on a built program.
19938 * configure: Regenerated.
19940 * configure.in (-z relro check): Use an empirical test on a built DSO.
19941 Detect, but do not require, on ia64.
19942 * configure: Regenerated.
19944 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19945 Update tests that use readelf to use $READELF instead.
19946 * configure: Regenerated.
19948 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19950 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19951 if the result is not used.
19953 2011-07-05 Andreas Jaeger <aj@suse.de>
19956 * stdlib/tst-strtod.c: Add testcase.
19958 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19960 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19961 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19962 The latter has a higher limit. Take additional parameter to pass to
19964 (__pathconf): Pass file to __statfs_link_max.
19965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19967 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19971 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19972 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19974 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19975 (__statfs_filesize_max): Likewise.
19976 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19978 2011-07-05 Andreas Jaeger <aj@suse.de>
19980 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19982 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19984 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19986 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19989 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19991 * Makefile (strop-tests): Add strncat.
19992 * string/test-strncat.c: New file.
19994 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19996 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19998 2011-06-21 Andreas Jaeger <aj@suse.de>
20000 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20001 Copy rule from iconvdata/Makefile.
20003 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20006 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20007 but no long options are defined, just return 'W'.
20009 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20012 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20014 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20016 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20018 (innetgr): Likewise.
20020 2011-07-05 Roland McGrath <roland@hack.frob.com>
20022 * config.make.in (install_root): Default to $(DESTDIR).
20024 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20026 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20028 2011-07-02 Roland McGrath <roland@hack.frob.com>
20030 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20032 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20033 containing directory rather than embedding absolute directory names.
20035 * scripts/check-local-headers.sh: Rewritten using awk.
20036 Match by word, not by line. Print error messages for matches.
20037 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20039 * Makerules [shlib-lds-flags empty]:
20040 ($(common-objpfx)libc_pic.opts): New target.
20041 ($(common-objpfx)libc_pic.os.clean): New target.
20042 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20044 * config.make.in (OBJCOPY): New variable.
20045 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20046 * configure: Regenerated.
20048 * config.make.in (use-default-link): New variable.
20049 * configure.in (use_default_link): Grok --with-default-link to set it.
20050 * configure: Regenerated.
20051 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20052 (shlib-lds, shlib-lds-flags): Define to empty.
20054 * Makerules (shlib-lds): New variable.
20055 (shlib-lds-flags): New variable.
20056 (build-shlib, build-moduile, build-module-asneeded): Use it.
20057 ($(common-objpfx)libc.so): Use $(shlib-lds).
20058 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20059 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20061 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20062 DT_FLAGS/DT_FLAGS_1 with zero flags.
20064 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20065 linker script munging.
20067 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20069 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20071 * crypt/sha512.c (sha512_process_block): Perform total addition using
20072 128-bit if possible.
20073 (__sha512_finish_ctx): Likewise.
20074 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20076 * crypt/sha256.c (SWAP64): Define.
20077 (sha256_process_block): Perform total addition using 64-bit if
20079 (__sha256_finish_ctx): Likewise.
20081 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20083 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20085 * nscd/hstcache.c (cache_addhst): Likewise.
20086 * nscd/grpcache.c (cache_addgr): Likewise.
20087 * nscd/aicache.c (addhstaiX): Likewise
20088 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20090 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20092 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20094 * nscd/hstcache.c (cache_addhst): Likewise.
20095 * nscd/grpcache.c (cache_addgr): Likewise.
20096 * nscd/aicache.c (addhstaiX): Likewise
20098 2011-07-01 Andreas Schwab <schwab@redhat.com>
20100 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20101 domain only when needed.
20103 2011-06-30 Andreas Schwab <schwab@redhat.com>
20105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20106 is always restored.
20108 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20110 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20111 are re-adding the entry.
20112 * nscd/servicescache.c (cache_addserv): Likewise.
20114 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20116 * sysdeps/generic/dl-irel.h: fix protection against multiple
20118 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20120 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20123 * malloc/memusage.sh: Fix quoting in message.
20124 * debug/xtrace.sh: Likewise.
20126 * configure.in: Remove support for --experimental-malloc option, make
20128 * config.make.in: Likewise.
20129 * malloc/Makefile: Likewise.
20131 2011-06-27 Andreas Schwab <schwab@redhat.com>
20133 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20134 two-byte characters.
20136 2011-06-27 Roland McGrath <roland@hack.frob.com>
20138 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20139 AC_CACHE_CHECK invocation.
20140 * configure: Regenerated.
20142 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20144 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20147 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20148 bit from old_res_options.
20150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20152 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20153 value type for setfct.
20155 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20158 __gettimeofday instead of gettimeofday.
20160 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20162 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20164 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20166 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20171 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20174 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20175 strcpy-sse2-unaligned strncpy-sse2-unaligned
20176 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20177 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20178 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20179 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20180 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20183 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20184 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20185 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20186 (STRCPY): Support SSE2 and SSSE3 versions.
20188 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20191 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20192 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20193 kernels which artificially limit size of requests.
20195 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20198 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20199 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20200 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20201 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20202 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20203 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20204 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20207 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20208 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20209 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20210 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20211 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20213 Enable unaligned load optimization for Intel Core i3, i5 and i7
20215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20217 (index_Fast_Unaligned_Load): Define.
20218 (HAS_FAST_UNALIGNED_LOAD): Define.
20220 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20222 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20224 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20228 until it is clear that the information is realy needed.
20229 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20231 2011-06-22 Andreas Schwab <schwab@redhat.com>
20233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20235 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20238 /sys/devices/system/cpu/online if it is usable.
20240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20241 reading the information from the /proc filesystem to once a second.
20243 2011-06-21 Andreas Jaeger <aj@suse.de>
20245 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20246 NULL after inclusion of kernel headers.
20248 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20250 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20251 calls to internal_setent.
20254 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20255 addresses using gethostbyname4_r ignore IPv4 addresses.
20257 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20258 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20260 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20262 2011-06-20 David S. Miller <davem@davemloft.net>
20264 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20266 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20268 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20269 (elf_irel): Use it.
20270 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20271 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20272 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20273 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20274 * sysdeps/x86_64/dl-irel.h: Likewise.
20276 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20277 * elf/dl-sym.c: Likewise.
20279 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20281 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20282 need to dereference resplen2.
20284 2011-06-14 Andreas Schwab <schwab@redhat.com>
20286 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20288 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20290 * Makeconfig: Define vardbdir and inst_vardbdir.
20291 * nss/Makefile: Add rules to install db-Makefile.
20293 * nss/nss_db/db-XXX.c: Cleanup.
20295 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20296 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20298 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20299 * nss/makedb.c: Implement -g option to specify that value strings
20300 are generated and should not be added to table iterated over for
20302 * nss/nss_db/db-initgroups.c: New file.
20304 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20307 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20308 (internal_getgrouplist): Adjust to name change.
20309 Update use_initgroups_entry if this is not the first call.
20310 * nss/databases.def: Add initgroups entry.
20312 * nss/makedb.c (compute_tables): Check result of multiple hash table
20313 sizes to minimize maximum chain length.
20315 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20317 * Versions.def: Add entry for libnss_db.
20318 * shlib-versions: Likewise.
20319 * nss/Makefile: Add rules to build libnss_db.
20320 * nss/Versions: Add libnss_db information. Organize libnss_files
20322 * nss/db-Makefile: Add gshadow support. Change rules for the new
20323 makedb progra. Some minor improvements to generate smaller files.
20324 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20326 * nss/makedb.c: ...here.
20327 Improve database format to be smaller and require less memory at
20329 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20331 * nss/nss_db/db-netgrp.c: Likewise.
20332 * nss/nss_db/db-open.c: Likewise.
20333 * nss/nss_files/flies-XXX.x: Adjust comments.
20334 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20335 * nss/nss_files/files-grp.c: Likewise.
20336 * nss/nss_files/files-hosts.c: Likewise.
20337 * nss/nss_files/files-network.c: Likewise.
20338 * nss/nss_files/files-proto.c: Likewise.
20339 * nss/nss_files/files-pwd.c: Likewise.
20340 * nss/nss_files/files-rpc.c: Likewise.
20341 * nss/nss_files/files-service.c: Likewise.
20342 * nss/nss_files/files-sgrp.c: Likewise.
20343 * nss/nss_files/files-spwd.c: Likewise.
20344 * nss/nss_db/db-alias.c: Removed.
20345 * nss/nss_db/dummy-db.h: Removed.
20347 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20349 * nss/makedb.c: Rewritten to not use database library.
20350 * nss/Makefile: Update to build new makedb program.
20352 2011-06-14 Andreas Jaeger <aj@suse.de>
20354 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20355 memset declaration.
20357 2011-06-10 Andreas Schwab <schwab@redhat.com>
20359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20362 2011-06-10 Roland McGrath <roland@hack.frob.com>
20364 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20365 * elf/Makefile ($(objpfx)ld.so): Likewise.
20367 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20368 Don't list ld.so twice in dependencies.
20370 * posix/bug-regex31.c: Include <stdlib.h>.
20372 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20374 * nis/nss_compat/compat-spwd.c
20375 (getspent_next_nss_netgr): Remove unused variable.
20376 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20378 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20379 nonmembers" output to use the right array.
20381 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20383 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20385 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20386 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20387 * catgets/gencat.c (read_input_file): Likewise.
20388 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20390 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20391 variable definition inside #if's controlling its use.
20393 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20395 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20397 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20399 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20402 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20404 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20405 * configure: Regenerated.
20407 * Makerules: Revert last change.
20408 * elf/Makefile: Likewise.
20410 2011-06-09 Roland McGrath <roland@hack.frob.com>
20412 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20413 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20414 (reloc-link): Likewise.
20416 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20418 * elf/Makefile: Add rules to build pldd.
20419 * elf/pldd.c: New file.
20420 * elf/pldd-xx.c: New file.
20422 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20424 * version.h: Update for 2.15 development version.
20426 2011-06-07 David S. Miller <davem@davemloft.net>
20428 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20431 elf_machine_lazy_rel): Likewise.
20432 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20434 elf_machine_lazy_rel): Likewise.
20435 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20436 dl_hwcap via passed in argument.
20437 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20440 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20442 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20444 2011-06-06 Roland McGrath <roland@hack.frob.com>
20447 * manual/fdl-1.1.texi: New file, verbatim from:
20448 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20449 * manual/lgpl-2.1.texi: New file, verbatim from:
20450 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20451 * manual/Makefile (licenses): New variable, list those new file names.
20453 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20455 * manual/fdl.texi: File removed.
20456 * manual/lesser.texi: File removed.
20457 * manual/libc.texinfo (Copying, Documentation License):
20458 Use new @include file names, put @appendix directive before @include.
20460 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20463 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20464 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20465 (mq_open): Add __NTH.
20467 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20470 Assume Intel Core i3/i5/i7 processor if AVX is available.
20472 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20477 2011-05-31 Andreas Schwab <schwab@redhat.com>
20479 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20480 memory. Use alloca_account. Fix memory leak when retrying.
20482 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20484 * version.h (RELEASE): Bump for 2.14 release.
20485 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20487 * config.make.in (RANLIB): Remove entry.
20489 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20491 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20492 (libc.pot): Work around missing support for .ksh extension in xgettext.
20495 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20496 if both request failed.
20497 (send_dg): In case of server errors clear resplen or *resplen2.
20500 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20501 when there are multiple maps.
20502 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20503 (_dl_fini): Remove test here.
20505 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20507 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20510 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20511 bit from old_res_options.
20512 (gaih_inet): Likewise.
20515 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20518 * resolv/res_init.c (res_setoptions): Make the code more compact.
20521 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20525 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20527 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20530 * malloc/malloc.h: Declare malloc hook variables as volatile.
20532 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20536 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20537 raise in the comment.
20538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20539 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20540 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20542 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20545 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20546 grow the buffers more if it already has to be sufficient.
20547 (build_wcs_upper_buffer): Likewise.
20548 * posix/regexec.c (check_matching): Likewise.
20549 (clean_state_log_if_needed): Likewise.
20550 (extend_buffers): Don't enlarge buffers beyond size of the input
20552 Patches mostly by Emil Wojak <emil@wojak.eu>.
20553 * posix/bug-regex32.c: New file.
20554 * posix/Makefile (tests): Add bug-regex32.
20556 * locale/findlocale.c (_nl_find_locale): Return right away if
20557 _nl_explode_name failed.
20558 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20560 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20562 * debug/xtrace.sh: Unify messages.
20563 * malloc/memusage.sh: Likewise.
20566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20567 time symbol from vDSO. Substitute with vsyscall if not available.
20568 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20572 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20573 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20574 Add sendmmsg and internal_sendmmsg.
20575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20576 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20577 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20579 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20580 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20583 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20587 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20593 * iconvdata/Makefile (tests): Add bug-iconv9.
20594 * iconvdata/bug-iconv9.c: New file.
20596 2011-05-27 Andreas Schwab <schwab@redhat.com>
20599 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20601 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20604 (struct user_regs_struct): Change intcs field back to cs.
20606 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20608 * po/ja.po: Update from translation team.
20610 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20613 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20614 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20616 2011-05-20 Andreas Schwab <schwab@redhat.com>
20618 * stdlib/longlong.h: Update from GCC.
20620 2011-05-23 Andreas Schwab <schwab@redhat.com>
20622 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20624 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20625 Add parameter name.
20626 (__sysconf): Pass it down.
20628 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20631 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20633 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20634 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20635 add in in __libc_use_alloca calls. Adjust callers.
20636 (glob): Use malloc in some situations.
20638 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20639 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20642 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20644 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20645 and CLOCK_BOOTTIME_ALARM.
20648 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20651 * string/_strerror.c (__strerror_r): Print negative errors as signed
20655 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20656 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20657 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20659 * configure.in: Fix typo in redirection and correct removal of test
20660 files in two cases.
20663 * locale/setlocale.c (new_composite_name): Fix test to check for
20664 identical name of all categories.
20667 * libio/filedoalloc.c (local_isatty): New function.
20668 (_IO_file_doallocate): Use local_isatty.
20669 * stdio-common/perror.c (perror): In case a new stream is used
20670 forward the stream error.
20671 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20674 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20679 * include/alloca.h (extend_alloca_account): Define.
20682 * posix/regex.h: Fix comments with documentation of user-accessible
20683 fields after compilation and describe correct free'ing of pattern
20684 after re_compile_pattern.
20685 Patch by Reuben Thomas <rrt@sc3d.org>.
20687 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20689 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20690 and -mno-altivec to prevent the compiler from using Altivec and/or
20691 VSX instructions when the corresponding registers are not available.
20693 2011-05-19 Andreas Schwab <schwab@redhat.com>
20695 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20697 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20699 * libio/freopen.c (freopen): Use __dup2, not dup2.
20700 * libio/freopen64.c (freopen64): Likewise.
20702 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20705 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20706 * math/Makefile (tests): Add test-powl.
20707 (CFLAGS-test-powl.c): Define.
20708 * math/test-powl.c: New file.
20710 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20712 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20714 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20717 * iconvdata/gb18030.c: Update to GB18020-2005.
20719 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20721 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20722 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20723 Patch by Aharon Robbins <arnold@skeeve.com>.
20726 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20730 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20731 through underflows.
20734 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20735 point to strings before performing equality test for error_one_per_line
20739 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20743 (struct user_fpregs_struct): Avoid __uint*_t types.
20746 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20747 symbol info. Use it instead of calling _dl_addr locally.
20748 (lock_and_info): New function.
20749 (tr_freehook): Call lock_and_info and pass symbol info as additional
20750 parameter to tr_where.
20751 (tr_mallochook): Likewise.
20752 (tr_reallochook): Likewise.
20753 (tr_memalignhook): Likewise.
20755 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20756 used and couldn't be at all thread-safe.
20758 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20760 * libio/freopen.c (freopen): Don't close old file descriptor
20761 before the new one is opened. Instead dup the new file descriptor
20762 to the old one after the new stream is created.
20763 * libio/freopen64.c (freopen64): Likewise.
20764 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20765 * libio/fileops.c (_IO_new_file_close_it): Handle new
20766 _IO_FLAGS2_NOCLOSE flag.
20767 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20768 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20769 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20770 _IO_FLAGS2_NOCLOSE flag.
20771 * include/unistd.h: Add hidden_proto for dup3.
20772 Define __have_dup3.
20773 * io/dup3.c: Define hidden symbol.
20774 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20777 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20778 when an incomplete long option is used.
20779 * posix/tst-getopt_long1.c: New file.
20780 * posix/Makefile (tests): Add tst-getopt_long1.
20783 * scripts/config.guess: Update from autoconf-2.68.
20784 * scripts/config.sub: Likewise.
20787 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20789 (has_cpuclock): ...this. New function.
20790 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20791 macro here based on has_cpuclock code.
20794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20795 First byte (not low byte) is now always NUL.
20796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20799 Use non-cancelable interfaces.
20802 * locale/iso-639.def: Add entry for Sorani.
20805 * include/stdlib.h: Move include protection to the right place.
20806 Define abort_msg_s. Declare __abort_msg with it.
20807 * stdlib/abort.c (__abort_msg): Adjust type.
20808 * assert/assert.c (__assert_fail_base): New function. Majority
20809 of code from __assert_fail. Allocate memory for __abort_msg with
20811 (__assert_fail): Now call __assert_fail_base.
20812 * assert/assert-perr.c: Remove bulk of implementation. Use
20813 __assert_fail_base.
20814 * include/assert.hL Declare __assert_fail_base.
20815 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20817 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20819 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20823 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20824 until all modules are registered in the DTV.
20825 * elf/Makefile: Add rules to build and run tst-tls19.
20826 * elf/tst-tls19.c: New file.
20827 * elf/tst-tls19mod1.c: New file.
20828 * elf/tst-tls19mod2.c: New file.
20829 * elf/tst-tls19mod3.c: New file.
20830 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20833 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20837 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20838 two-byte sequence errors.
20839 * iconvdata/Makefile (tests): Add bug-iconv8.
20840 * iconvdata/bug-iconv8.c: New file.
20843 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20846 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20849 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20850 (dummy_getcfa): New function.
20851 (init): Get _Unwind_GetCFA address, use dummy if not found.
20852 (backtrace_helper): In recursion check, also check whether CFA changes.
20853 (__backtrace): Completely initialize arg.
20855 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20856 storing incomplete byte sequence in state object. Avoid testing for
20857 guaranteed too small input if we know there is enough data available.
20859 2011-05-11 Andreas Schwab <schwab@redhat.com>
20861 * Makeconfig (+link-pie): Indent.
20862 * Rules (binaries-pie): Define if $(have-fpie) and
20864 (binaries-shared): Also filter out $(binaries-pie).
20865 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20866 * nscd/Makefile (others-pie): Add nscd.
20867 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20868 ($(objpfx)nscd): Remove command override.
20869 * login/Makefile (others-pie): Add pt_chown.
20870 ($(objpfx)pt_chown): Remove command override.
20871 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20872 remove command overrides.
20874 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20876 * libio/tst_putwc.c: Fix error messages.
20879 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20880 currently writing and seek to current position when not.
20881 * libio/Makefile (tests): Add bug-fclose1.
20882 * libio/bug-fclose1.c: New file.
20884 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20887 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20888 don't set DF_1_NODELETE here.
20889 (do_lookup_x): When entering new entry test for copy relocation
20890 and if necessary set DF_1_NODELETE flag.
20891 * elf/tst-unique4.cc: New file.
20892 * elf/tst-unique4.h: New file.
20893 * elf/tst-unique4lib.cc: New file.
20894 * elf/Makefile: Add rules to build and run tst-unique4.
20895 Patch by Piotr Bury <pbury@goahead.com>.
20897 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20900 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20903 * misc/mntent_r.c (addmntent): Flush the stream after the output
20906 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20907 (is_trusted_path_normalize): Skip initial colon. Append slash
20908 to empty buffer. Duplicate is_trusted_path code but allow
20909 constructed patch to be prefix.
20910 (is_dst): Allow $ORIGIN followed by /.
20911 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20912 Correct testing of result of is_trusted_path_normalize
20913 (decompose_rpath): Fix warning.
20915 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20918 * grp/initgroups.c (internal_getgrouplist): When we found the service
20919 list through the initgroups entry in nsswitch.conf do not always
20920 continue on a successful lookup. Don't always use the
20921 __nss_group_database value if it is set.
20922 * nss/nsswitch.conf (initgroups): Change action for successful db
20923 lookup to continue for compatibility.
20925 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20928 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20930 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20932 * iconvdata/tst-tables.sh: Likewise.
20933 * iconvdata/cp770.c: New file.
20934 * iconvdata/cp771.c: New file.
20935 * iconvdata/cp772.c: New file.
20936 * iconvdata/cp773.c: New file.
20937 * iconvdata/cp774.c: New file.
20938 * iconvdata/testdata/CP770: New file.
20939 * iconvdata/testdata/CP770..UTF8: New file.
20940 * iconvdata/testdata/CP771: New file.
20941 * iconvdata/testdata/CP771..UTF8: New file.
20942 * iconvdata/testdata/CP772: New file.
20943 * iconvdata/testdata/CP772..UTF8: New file.
20944 * iconvdata/testdata/CP773: New file.
20945 * iconvdata/testdata/CP773..UTF8: New file.
20946 * iconvdata/testdata/CP774: New file.
20947 * iconvdata/testdata/CP774..UTF8: New file.
20949 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20951 * iconvdata/gen-8bit-gap.sh: Likewise.
20952 * iconvdata/gen-8bit.sh: Likewise.
20954 * locale/iso-639.def: Add ary entry.
20957 * locale/C-translit.h.in: Add U20A1 transliteration.
20960 * locale/iso-639.def: Add wae entry.
20961 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20964 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20968 * locale/C-translit.h.in: Add entry for U20B9.
20969 Patch by pravin.d.s@gmail.com.
20971 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20974 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20975 ENAMETOOLONG use generic getcwd.
20976 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20977 in rtld. Use *stat64.
20978 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20979 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20980 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20981 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20982 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20983 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20984 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20985 __fstatat64 macros.
20986 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20987 * dirent/rewinddir.c: Add libc_hidden_def.
20988 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20989 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20991 * include/dirent.h (__alloc_dir): Add flags parameter.
20992 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20993 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20995 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20996 from fdopendir if O_CLOEXEC is already set.
20998 2011-03-15 Alan Modra <amodra@gmail.com>
21000 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21001 l_tls_firstbyte_offset non-zero. Save padding offset in
21002 l_tls_firstbyte_offset for later use.
21003 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21004 freeing static tls block.
21006 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21008 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21009 where #ifdef was intended. The intent is to prevent ARG_MAX from
21010 being defined by the kernel headers.
21012 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21015 * resolv/resolv.h: Define RES_NOTLDQUERY.
21016 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21017 no-tld-query and set RES_NOTLDQUERY.
21018 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21019 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21020 modern BIND to search name as TLD unless forbidden.
21022 2011-05-07 Petr Baudis <pasky@suse.cz>
21023 Ulrich Drepper <drepper@gmail.com>
21026 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21027 (is_trusted_path): ...to here.
21028 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21029 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21030 using is_trusted_path_normalize() in setuid scripts.
21032 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21034 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21035 __BEGIN/__END_DECLS.
21037 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21039 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21040 NSS_STATUS_NOTFOUND if no record was found.
21042 2011-05-05 Andreas Schwab <schwab@redhat.com>
21044 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21045 (headers-not-in-tirpc): Remove rpc/netdb.h
21046 * resolv/netdb.h: Revert last change.
21048 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21050 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21051 circular dependency between libgcc.a and libc.a.
21053 2011-05-05 Andreas Schwab <schwab@redhat.com>
21055 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21056 * nis/Makefile: Don't install rpcsvc/*.
21057 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21058 instead of <rpc/types.h>.
21059 (MAXHOSTNAMELEN): Define.
21061 2011-05-03 Andreas Schwab <schwab@redhat.com>
21063 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21065 2011-04-28 Maciej Babinski <mbabinski@google.com>
21068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21069 gethostbyname4_r when IPv6 results are possible.
21071 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21074 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21075 _PC_PIPE_BUF handling.
21077 2011-04-30 Bruno Haible <bruno@clisp.org>
21080 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21081 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21083 * inet/getnameinfo.c (getnameinfo): Likewise.
21085 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21087 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21088 to groups setting in database lookup.
21089 * nss/nsswitch.conf: Add initgroups entry.
21091 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21094 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21096 Patch by Eric Blake <eblake@redhat.com>.
21098 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21100 * sunrpc/Makefile (need-export-routines): Add svc_run.
21101 (routines): Remove svc_run.
21102 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21103 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21104 * sunrpc/svc_run.c (svc_run): Likewise.
21105 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21107 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21110 problem in reallocation in last patch.
21112 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21114 * sunrpc/Makefile: Move inclusion of Rules.
21116 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21118 * nss/nss_files/files-initgroups.c: New file.
21119 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21120 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21121 _nss_files_initgroups_dyn.
21123 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21125 * elf/elf.h (R_ARM_IRELATIVE): Define.
21127 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21129 * po/ru.po: Update from translation team.
21131 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21133 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21136 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21139 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21140 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21145 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21147 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21149 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21150 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21153 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21156 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21158 * stdlib/bug-getcontext.c: New file.
21159 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21161 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21163 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21164 instructions into .machine "z9-109".
21165 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21166 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21168 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21170 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21171 between environment variables and auxiliary vector.
21173 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21175 * Makefile: Add rules to build linkobj/libc.so.
21176 * include/libc-symbols.h: Define libc_hidden_nolink.
21177 * include/rpc/auth.h: Mark functions which are to be hidden.
21178 * include/rpc/auth_des.h: Likewise.
21179 * include/rpc/auth_unix.h: Likewise.
21180 * include/rpc/clnt.h: Likewise.
21181 * include/rpc/des_crypt.h: Likewise.
21182 * include/rpc/key_prot.h: Likewise.
21183 * include/rpc/pmap_clnt.h: Likewise.
21184 * include/rpc/pmap_prot.h: Likewise.
21185 * include/rpc/pmap_rmt.h: Likewise.
21186 * include/rpc/rpc_msg.h: Likewise.
21187 * include/rpc/svc.h: Likewise.
21188 * include/rpc/svc_auth.h: Likewise.
21189 * include/rpc/xdr.h: Likewise.
21190 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21191 * nss/Makefile: Likewise.
21192 * sunrpc/Makefile: Don't install headers. Build library with normal
21193 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21194 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21195 for the compat linking library. Remove use of INTDEF/INTUSE.
21196 * sunrpc/auth_none.c: Likewise.
21197 * sunrpc/auth_unix.c: Likewise.
21198 * sunrpc/authdes_prot.c: Likewise.
21199 * sunrpc/authuxprot.c: Likewise.
21200 * sunrpc/clnt_gen.c: Likewise.
21201 * sunrpc/clnt_perr.c: Likewise.
21202 * sunrpc/clnt_raw.c: Likewise.
21203 * sunrpc/clnt_simp.c: Likewise.
21204 * sunrpc/clnt_tcp.c: Likewise.
21205 * sunrpc/clnt_udp.c: Likewise.
21206 * sunrpc/clnt_unix.c: Likewise.
21207 * sunrpc/des_crypt.c: Likewise.
21208 * sunrpc/des_soft.c: Likewise.
21209 * sunrpc/get_myaddr.c: Likewise.
21210 * sunrpc/key_call.c: Likewise.
21211 * sunrpc/key_prot.c: Likewise.
21212 * sunrpc/netname.c: Likewise.
21213 * sunrpc/pm_getmaps.c: Likewise.
21214 * sunrpc/pm_getport.c: Likewise.
21215 * sunrpc/pmap_clnt.c: Likewise.
21216 * sunrpc/pmap_prot.c: Likewise.
21217 * sunrpc/pmap_prot2.c: Likewise.
21218 * sunrpc/pmap_rmt.c: Likewise.
21219 * sunrpc/publickey.c: Likewise.
21220 * sunrpc/rpc_cmsg.c: Likewise.
21221 * sunrpc/rpc_common.c: Likewise.
21222 * sunrpc/rpc_dtable.c: Likewise.
21223 * sunrpc/rpc_prot.c: Likewise.
21224 * sunrpc/rpc_thread.c: Likewise.
21225 * sunrpc/rtime.c: Likewise.
21226 * sunrpc/svc.c: Likewise.
21227 * sunrpc/svc_auth.c: Likewise.
21228 * sunrpc/svc_authux.c: Likewise.
21229 * sunrpc/svc_raw.c: Likewise.
21230 * sunrpc/svc_run.c: Likewise.
21231 * sunrpc/svc_simple.c: Likewise.
21232 * sunrpc/svc_tcp.c: Likewise.
21233 * sunrpc/svc_udp.c: Likewise.
21234 * sunrpc/svc_unix.c: Likewise.
21235 * sunrpc/svcauth_des.c: Likewise.
21236 * sunrpc/xcrypt.c: Likewise.
21237 * sunrpc/xdr.c: Likewise.
21238 * sunrpc/xdr_array.c: Likewise.
21239 * sunrpc/xdr_float.c: Likewise.
21240 * sunrpc/xdr_intXX_t.c: Likewise.
21241 * sunrpc/xdr_mem.c: Likewise.
21242 * sunrpc/xdr_rec.c: Likewise.
21243 * sunrpc/xdr_ref.c: Likewise.
21244 * sunrpc/xdr_sizeof.c: Likewise.
21245 * sunrpc/xdr_stdio.c: Likewise.
21247 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21250 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21251 * sysdeps/ia64/dl-tls.h: Likewise.
21252 * sysdeps/powerpc/dl-tls.h: Likewise.
21253 * sysdeps/s390/dl-tls.h: Likewise.
21254 * sysdeps/sh/dl-tls.h: Likewise.
21255 * sysdeps/sparc/dl-tls.h: Likewise.
21256 * sysdeps/x86_64/dl-tls.h: Likewise.
21257 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21259 2011-03-14 Andreas Schwab <schwab@redhat.com>
21261 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21262 rpath element also skip the following colon.
21263 (expand_dynamic_string_token): Add is_path parameter and pass
21264 down to DL_DST_REQUIRED and _dl_dst_substitute.
21265 (decompose_rpath): Call expand_dynamic_string_token with
21266 non-zero is_path. Ignore empty rpaths.
21267 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21270 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21275 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21278 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21279 Patch by Filipe David Manana <fdmanana@apache.org>.
21281 2011-04-07 Andreas Schwab <schwab@redhat.com>
21283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21284 Maintain aligned stack.
21285 (CHECK_RSP): Remove unused macro.
21287 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21289 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21290 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21292 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21294 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21296 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21298 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21301 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21302 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21303 * sysdeps/x86_64/memmove.c: New file.
21304 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21305 (memcpy): Renamed to ...
21306 (__new_memcpy): This.
21307 (memcpy): Provide GLIBC_2_14 memcpy.
21308 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21309 (memcpy): Provide GLIBC_2_2_5 memcpy.
21311 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21314 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21316 2011-03-30 Andreas Schwab <schwab@redhat.com>
21318 * misc/syncfs.c: New file.
21319 * misc/Makefile (routines): Add syncfs.
21320 * posix/unistd.h: Declare syncfs.
21321 * sysdeps/unix/syscalls.list: Add syncfs.
21323 2011-04-01 Andreas Schwab <schwab@redhat.com>
21325 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21328 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21332 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21333 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21335 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21339 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21345 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21346 sync_file_range.c with -fexceptions.
21347 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21348 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21349 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21350 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21351 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21352 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21354 sync_file_range as cancellation point
21355 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21356 now a wrapper around __call_sync_file_range with cancellation handling.
21357 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21358 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21359 function name to __call_sync_file_range.
21360 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21361 Add call_sync_file_range.
21363 2011-04-01 Andreas Schwab <schwab@redhat.com>
21365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21368 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21370 * iconv/iconv.h: Fix typo in comment.
21371 * io/fcntl.h: Likewise.
21372 * libio/stdio.h: Likewise.
21373 * posix/spawn.h: Likewise.
21374 * posix/unistd.h: Likewise.
21375 * stdlib/stdlib.h: Likewise.
21376 * time/time.h: Likewise.
21377 * wcsmbs/wchar.h: Likewise.
21379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21380 open_by_handle): Add.
21381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21382 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21383 Augment a few comments.
21384 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21389 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21392 * io/fcntl.h (AT_EMPTY_PATH): Define.
21394 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21396 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21397 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21398 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21400 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21401 * Versions.def: Add GLIBC_2.14.
21402 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21405 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21407 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21409 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21411 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21414 * string/test-strncmp.c (do_page_test): New function.
21415 (check2): Likewise.
21416 (test_main): Call check2.
21417 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21419 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21422 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21423 Handle cache information in CPU leaf 4.
21424 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21426 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21429 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21430 character representation.
21431 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21433 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21435 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21436 END(__isnan) to END(__isnanf) to match function entry point/label
21437 EALIGN(__isnanf,...).
21439 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21441 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21443 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21446 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21447 copy from the symbol referenced in the relocation to initialize the
21449 Patch by Piotr Bury <pbury@goahead.com>.
21450 * elf/Makefile: Add rules to build and tst-unique3.
21451 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21452 * elf/tst-unique3.cc: New file.
21453 * elf/tst-unique3.h: New file.
21454 * elf/tst-unique3lib.cc: New file.
21455 * elf/tst-unique3lib2.cc: New file.
21457 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21459 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21461 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21462 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21465 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21467 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21468 to-be-loaded object along a path to loader is ld.so.
21470 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21471 Ulrich Drepper <drepper@gmail.com>
21473 * sysdeps/x86_64/memset.S: After aligning destination, code
21474 branches to different locations depending on the value of
21475 misalignment, when multiarch is enabled. Fix this.
21477 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21479 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21480 Set _x86_64_preferred_memory_instruction for AMD processsors.
21481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21482 Set bit_Prefer_SSE_for_memop for AMD processors.
21484 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21486 * libio/fmemopen.c (fmemopen): Optimize a bit.
21488 2011-03-03 Andreas Schwab <schwab@redhat.com>
21490 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21492 2011-03-03 Roland McGrath <roland@redhat.com>
21494 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21496 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21498 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21499 __bzero_ultra1 instead of __memset_ultra1.
21501 2011-02-23 Andreas Schwab <schwab@redhat.com>
21502 Ulrich Drepper <drepper@gmail.com>
21505 * include/link.h (struct link_map): Add l_orig_initfini.
21506 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21507 returning unsuccessfully.
21508 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21509 close of a file loaded at startup, restore the original l_initfini
21511 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21512 list, store the pointer.
21513 * elf/Makefile ($(objpfx)noload-mem): New rule.
21514 (noload-ENV): Define.
21515 (tests): Add $(objpfx)noload-mem.
21516 * elf/noload.c: Include <memcheck.h>.
21517 (main): Call mtrace. Close all opened handles.
21519 2011-02-17 Andreas Schwab <schwab@redhat.com>
21522 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21523 dependencies are missing.
21525 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21527 Fix __if_freereq crash: Unlike the generic version which uses free,
21529 * sysdeps/mach/hurd/ifreq.h: New file.
21531 2011-01-27 Petr Baudis <pasky@suse.cz>
21532 Ulrich Drepper <drepper@gmail.com>
21535 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21536 to extend_alloca().
21537 * stdio-common/bug23.c: New file.
21538 * stdio-common/Makefile (tests): Add bug23.
21540 2010-09-28 Andreas Schwab <schwab@redhat.com>
21541 Ulrich Drepper <drepper@gmail.com>
21544 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21545 before performing relro protection. At old place add assertion
21546 to make sure nothing changed.
21548 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21549 Glauber de Oliveira Costa <glommer@gmail.com>
21551 * elf/elf.h: Add new ARM TLS relocs.
21553 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21556 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21558 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21560 * sysdeps/wordsize-64/tst-writev.c: New file.
21562 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21564 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21565 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21566 insns in _dl_start to prevent a TOC reference before relocs are
21569 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21572 * Makeconfig: Remove RANLIB definition.
21573 * Makerules: Don't use RANLIB.
21574 * aclocal.m4: Remove ranlib test.
21575 * configure.in: No need to check for ranlib.
21576 * elf/rtld-Rules: Don't use RANLIB.
21578 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21580 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21582 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21583 inclusion protection macro.
21585 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21586 SIGRTMIN and SIGRTMAX and print information in that case only when
21587 SIGRTMIN is defined.
21589 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21591 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21592 arginfo fn returning -1.
21594 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21595 and thousands string is zero terminated.
21597 2011-02-03 Andreas Schwab <schwab@redhat.com>
21599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21600 sysdeps/unix/sysv/linux/bits/socket.h.
21602 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21604 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21605 (__CPU_COUNT): Remove old macros.
21606 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21607 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21608 (__CPU_ALLOC, __CPU_FREE): Add macros.
21609 (__sched_cpualloc, __sched_cpufree): Add declarations.
21611 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21613 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21614 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21615 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21616 (readdhstai): Return value of addhstaiX call.
21617 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21618 (addgrbyX): Return value returned by cache_addgr.
21619 (readdgrbyname): Return value returned by addgrbyX.
21620 (readdgrbygid): Likewise.
21621 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21622 (addpwbyX): Return value returned by cache_addpw.
21623 (readdpwbyname): Return value returned by addhstbyX.
21624 (readdpwbyuid): Likewise.
21625 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21626 (addservbyX): Return value returned by cache_addserv.
21627 (readdservbyname): Return value returned by addservbyX:
21628 (readdservbyport): Likewise.
21629 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21630 (addhstbyX): Return value returned by cache_addhst.
21631 (readdhstbyname): Return value returned by addhstbyX.
21632 (readdhstbyaddr): Likewise.
21633 (readdhstbynamev6): Likewise.
21634 (readdhstbyaddrv6): Likewise.
21635 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21636 (readdinitgroups): Return value returned by addinitgroupsX.
21637 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21638 (prune_cache): Keep track of timeout value of re-added entries.
21639 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21640 * nscd/nscd.h: Adjust prototypes of readd* functions.
21642 2011-02-04 Roland McGrath <roland@redhat.com>
21644 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21645 (nis_stats): Likewise.
21646 * nis/nis_modify.c (nis_modify): Likewise.
21647 * nis/nis_remove.c (nis_remove): Likewise.
21648 * nis/nis_add.c (nis_add): Likewise.
21650 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21652 * posix/fnmatch_loop.c: Add some consts.
21654 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21656 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21659 * config.make.in (config-cflags-novzeroupper): Define.
21660 * configure.in: Substitute libc_cv_cc_novzeroupper.
21661 * elf/Makefile (AVX-CFLAGS): Define.
21662 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21663 (CFLAGS-tst-auditmod4a.c): Likewise.
21664 (CFLAGS-tst-auditmod4b.c): Likewise.
21665 (CFLAGS-tst-auditmod6b.c): Likewise.
21666 (CFLAGS-tst-auditmod6c.c): Likewise.
21667 (CFLAGS-tst-auditmod7b.c): Likewise.
21668 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21670 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21672 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21673 function to the callback.
21674 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21676 2011-02-02 Andreas Schwab <schwab@redhat.com>
21678 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21681 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21684 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21686 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21688 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21691 * elf/Makefile: Add rules to build and run new test.
21692 * elf/tst-initorder.c: New file.
21693 * elf/tst-initorder.exp: New file.
21694 * elf/tst-initordera1.c: New file.
21695 * elf/tst-initordera2.c: New file.
21696 * elf/tst-initordera3.c: New file.
21697 * elf/tst-initordera4.c: New file.
21698 * elf/tst-initorderb1.c: New file.
21699 * elf/tst-initorderb2.c: New file.
21700 * elf/tst-order-a1.c: New file.
21701 * elf/tst-order-a2.c: New file.
21702 * elf/tst-order-a3.c: New file.
21703 * elf/tst-order-a4.c: New file.
21704 * elf/tst-order-b1.c: New file.
21705 * elf/tst-order-b2.c: New file.
21706 * elf/tst-order-main.c: New file.
21707 New test case by George Gensure <werkt0@gmail.com>.
21709 2010-10-01 Andreas Schwab <schwab@redhat.com>
21711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21712 decoding ACE if AI_CANONIDN.
21714 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21716 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21718 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21720 * version.h (RELEASE): Bump for 2.13 release.
21721 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21723 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21725 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21727 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21729 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21730 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21734 * posix/getconf.c: Update copyright year.
21735 * catgets/gencat.c: Likewise.
21736 * csu/version.c: Likewise.
21737 * debug/catchsegv.sh: Likewise.
21738 * debug/xtrace.sh: Likewise.
21739 * elf/ldconfig.c: Likewise.
21740 * elf/ldd.bash.in: Likewise.
21741 * elf/sprof.c (print_version): Likewise.
21742 * iconv/iconv_prog.c: Likewise.
21743 * iconv/iconvconfig.c: Likewise.
21744 * locale/programs/locale.c: Likewise.
21745 * locale/programs/localedef.c: Likewise.
21746 * malloc/memusage.sh: Likewise.
21747 * malloc/mtrace.pl: Likewise.
21748 * nscd/nscd.c (print_version): Likewise.
21749 * nss/getent.c: Likewise.
21751 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21752 PF_CAIF, and PF_ALG.
21753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21755 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21757 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21758 (modules-names): Use them.
21759 (ifunc-test-modules, ifunc-pie-tests): Define.
21760 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21761 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21762 (test-extras): Likewise.
21763 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21764 $(compile-command.c).
21765 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21766 (all-built-dso): Define.
21767 (check-textrel.out, check-execstack.out): Depend on it.
21769 * configure.in: Don't override --enable-multi-arch.
21771 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21774 * nscd/hstcache.c (tryagain): Define.
21775 (cache_addhst): Return tryagain not notfound for temporary errors.
21776 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21779 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21783 to make the syscall.
21784 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21787 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21788 and fall back to matching as normal character if the string ends before
21789 the matching ']' is found. This is what POSIX requires.
21790 * posix/testfnm.c: Adjust test result.
21791 * posix/globtest.sh: Adjust test result. Add new test.
21792 * posix/tst-fnmatch.input: Likewise.
21793 * posix/tst-fnmatch2.c: Add new test.
21795 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21797 * elf/Makefile (check-execstack): Revert last change. Depend on
21799 (check-execstack.h): New target.
21800 (generated): Add check-execstack.h.
21801 * elf/check-execstack.c: Include "check-execstack.h".
21802 (main): Revert last change.
21803 (handle_file): Return zero if GNU_STACK is absent and
21804 DEFAULT_STACK_PERMS doesn't include PF_X.
21806 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21808 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21809 in child fails because the descriptor is already closed.
21810 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21811 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21812 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21815 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21819 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21820 temporary buffer used to handle multi lookups locally.
21821 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21823 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21825 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21828 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21830 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21831 alignment for SSE2.
21833 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21836 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21837 characters. When rounding increased number of integer digits recompute
21839 * stdio-common/tst-grouping.c: New file.
21840 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21842 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21844 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21845 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21847 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21849 * bits/select.h: Likewise.
21851 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21853 * po/ja.po: Update from translation team.
21855 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21858 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21859 implementation just like for lxstat, fxstatat, et al.
21861 2010-12-27 Jim Meyering <meyering@redhat.com>
21864 * posix/regexec.c (build_trtable): Return failure indication upon
21865 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21867 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21870 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21871 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21872 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21876 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21879 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21880 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21882 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21884 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21885 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21886 script has SORT_BY_INIT_PRIORITY.
21887 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21888 NO_CTORS_DTORS_SECTIONS is defined.
21889 * elf/soinit.c: Likewise.
21890 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21891 NO_CTORS_DTORS_SECTIONS is defined.
21892 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21893 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21894 * sysdeps/sh/init-first.c: Likewise.
21895 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21897 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21899 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21900 always use the slow path.
21902 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21904 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21905 similar rule which adds the sysdep directories to the header search in
21906 order to pick up the correct platform stackinfo.h.
21907 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21908 perform test if it is, otherwise return successfully without testing.
21909 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21910 DEFAULT_STACK_PERMS define in stackinfo.h.
21911 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21912 defined in stackinfo.h.
21913 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21914 DEFAULT_STACK_PERMS defined in stackinfo.h.
21915 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21916 * sysdeps/ia64/stackinfo.h: Likewise.
21917 * sysdeps/s390/stackinfo.h: Likewise.
21918 * sysdeps/sh/stackinfo.h: Likewise.
21919 * sysdeps/sparc/stackinfo.h: Likewise.
21920 * sysdeps/x86_64/stackinfo.h: Likewise.
21921 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21922 PF_X for powerpc64. Retain PF_X for powerpc32.
21924 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21926 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21928 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21929 GETDENTS_64BIT_ALIGNED.
21931 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21933 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21935 2010-12-10 Andreas Schwab <schwab@redhat.com>
21937 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21941 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21943 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21944 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21946 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21949 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21952 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21954 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21956 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21958 * po/it.po: Update from translation team.
21960 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21965 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21967 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21969 2010-11-24 Andreas Schwab <schwab@redhat.com>
21971 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21973 (gaih_getanswer_slice): Likewise.
21975 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21979 2010-05-31 Petr Baudis <pasky@suse.cz>
21982 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21983 silently even in the chroot mode.
21985 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21987 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21988 last patch a bit. Pretty printing
21990 2010-05-31 Petr Baudis <pasky@suse.cz>
21993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21994 initialization of skip_initgroups_dyn.
21996 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21998 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21999 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22001 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22003 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22005 2010-11-11 Andreas Schwab <schwab@redhat.com>
22007 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22008 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22009 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22010 ($(objpfx)tst-fnmatch-mem): New rule.
22011 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22012 * posix/tst-fnmatch.c (main): Call mtrace.
22014 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22017 Support Intel processor model 6 and model 0x2c.
22019 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22024 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22027 * string/test-strncasecmp.c (check_result): New function.
22028 (do_one_test): Use it.
22029 (check1): New function.
22030 (test_main): Use it.
22031 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22032 Support strcasecmp and strncasecmp.
22034 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22037 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22038 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22040 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22042 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22046 * sysdeps/x86_64/multiarch/bzero.S: New file.
22047 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22048 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22049 * sysdeps/x86_64/multiarch/memset.S: New file.
22050 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22052 Set bit_Prefer_SSE_for_memop for Intel processors.
22053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22055 (index_Prefer_SSE_for_memop): Define.
22056 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22058 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22060 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22061 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22063 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22066 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22067 (__x86_64_raw_data_cache_size_half): Likewise.
22068 (__x86_64_raw_shared_cache_size): Likewise.
22069 (__x86_64_raw_shared_cache_size_half): Likewise.
22071 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22072 (__x86_64_raw_data_cache_size_half): Likewise.
22073 (__x86_64_raw_shared_cache_size): Likewise.
22074 (__x86_64_raw_shared_cache_size_half): Likewise.
22075 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22076 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22077 and __x86_64_raw_shared_cache_size_half. Round
22078 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22079 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22080 to multiple of 256 bytes.
22082 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22086 of inacessible symlinks. Verify result of symlink before returning it.
22087 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22088 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22090 2010-10-28 Erich Ritz <erichritz@gmail.com>
22092 * math/math.h (isinf): Fix typo in comment.
22094 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22096 * po/da.po: Update from translation team.
22098 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22100 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22101 is added to the list.
22103 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22104 Ulrich Drepper <drepper@gmail.com>
22106 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22107 the global list here. Move code to...
22108 (_dl_add_to_namespace_list): ...here. New function.
22109 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22110 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22111 * elf/dl-load.c (lose): Don't remove the element from the list.
22112 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22113 (_dl_map_object): Likewise.
22115 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22118 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22119 into all bytes of SSE register.
22120 Patch by Richard Li <richardpku@gmail.com>.
22122 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22125 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22128 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22130 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22131 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22132 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22133 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22138 2010-10-22 Andreas Schwab <schwab@redhat.com>
22140 * include/dlfcn.h (__RTLD_SECURE): Define.
22141 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22142 mode & __RTLD_SECURE instead.
22143 (open_path): Rename preloaded parameter to secure.
22144 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22145 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22146 * elf/dl-deps.c (openaux): Likewise.
22147 * elf/rtld.c (struct map_args): Remove is_preloaded.
22148 (map_doit): Don't use it.
22149 (dl_main): Likewise.
22150 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22151 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22153 2010-09-09 Andreas Schwab <schwab@redhat.com>
22155 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22156 (sysd-rules-targets): Remove duplicates.
22157 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22158 rtld-%.$o dependency.
22160 2010-10-18 Andreas Schwab <schwab@redhat.com>
22162 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22163 _dl_map_object do it.
22165 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22167 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22168 fast fma builtins, define the macros in the C99 standard.
22169 (FP_FAST_FMAF): Likewise.
22170 (FP_FAST_FMAL): Likewise.
22171 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22173 * bits/mathdef.h: Update copyright year.
22174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22176 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22178 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22179 builtins, define the macros in the C99 standard.
22180 (FP_FAST_FMAF): Likewise.
22181 (FP_FAST_FMAL): Likewise.
22182 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22184 (FP_FAST_FMAF): Likewise.
22186 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22189 * math/libm-test.inc (fma_test): Some new testcases.
22190 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22191 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22192 y and infinite z. Do multiplication by C already in long double.
22193 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22195 y and infinite z. Do bitwise or of inexact bit into u.d.
22196 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22197 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22198 * sysdeps/i386/fpu/s_fma.S: Removed.
22199 * sysdeps/i386/fpu/s_fmal.S: Removed.
22201 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22204 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22206 computation is not scheduled after fetestexcept. Fix value
22207 of minimum denormal long double.
22209 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22212 * math/libm-test.inc (fma_test): Add some more tests.
22213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22216 2010-10-15 Andreas Schwab <schwab@redhat.com>
22218 * scripts/data/localplt-s390-linux-gnu.data: New file.
22219 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22221 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22224 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22225 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22227 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22229 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22231 if one of x and y is very large and the other is subnormal.
22232 * sysdeps/s390/fpu/s_fmaf.c: New file.
22233 * sysdeps/s390/fpu/s_fma.c: New file.
22234 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22235 * sysdeps/powerpc/fpu/s_fma.S: New file.
22236 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22237 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22238 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22240 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22243 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22245 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22246 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22247 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22248 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22249 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22250 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22253 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22256 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22257 * posix/bug-regex31.input: Add test case.
22259 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22261 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22262 * posix/bug-regex31.input: New file.
22265 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22266 (parse_sub_exp): Fix last change, use postorder.
22268 * posix/bug-regex31.c: New file.
22269 * posix/Makefile: Add rules to build and run bug-regex31.
22271 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22274 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22277 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22278 to have entries in sys_siglist.
22281 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22284 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22287 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22288 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22289 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22290 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22291 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22292 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22293 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22294 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22295 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22296 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22297 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22298 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22299 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22300 * math/ftestexcept.c (fetestexcept): Likewise.
22301 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22302 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22303 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22304 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22305 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22306 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22309 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22312 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22315 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22317 * string/bug-strstr1.c: New file.
22318 * string/Makefile: Add rules to build and run bug-strstr1.
22320 2010-10-05 Eric Blake <eblake@redhat.com>
22323 * string/str-two-way.h (two_way_long_needle): Always clear memory
22324 when skipping input due to the shift table.
22326 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22329 * malloc/mcheck.c: Handle large requests.
22332 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22333 for strncmp and strncasecmp.
22334 * string/stratcliff.c: Add tests for strcmp and strncmp.
22335 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22337 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22339 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22342 2010-09-30 Andreas Jaeger <aj@suse.de>
22344 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22345 (CGROUP_SUPER_MAGIC): Define.
22346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22347 Handle btrfs and cgroup file systems.
22348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22351 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22353 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22354 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22356 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22359 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22360 trying to locate the ELF header.
22362 2010-09-27 Andreas Schwab <schwab@redhat.com>
22365 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22366 Mask out sign-bit copies when constructing f_fsid.
22368 2010-09-24 Petr Baudis <pasky@suse.cz>
22370 * debug/stack_chk_fail_local.c: Add missing licence exception.
22371 * debug/warning-nop.c: Likewise.
22373 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22375 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22376 implementing getdents64 using getdents syscall, set d_type if
22377 __ASSUME_GETDENTS32_D_TYPE.
22379 2010-09-16 Andreas Schwab <schwab@redhat.com>
22381 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22382 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22384 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22387 * posix/unistd.h: Undo change of feature selection for ftruncate from
22390 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22392 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22395 2010-09-20 Andreas Schwab <schwab@redhat.com>
22397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22399 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22401 2010-09-14 Andreas Schwab <schwab@redhat.com>
22403 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22404 variables after CHECK_SP call.
22405 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22407 2010-09-13 Andreas Schwab <schwab@redhat.com>
22408 Ulrich Drepper <drepper@redhat.com>
22410 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22411 re-relocationg ld.so.
22412 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22413 _dl_init_paths call.
22414 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22417 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22419 * resolv/res_init.c (__res_vinit): Count the default server we added.
22421 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22422 Ulrich Drepper <drepper@redhat.com>
22425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22426 (____longjmp_chk): Use %ebx for saving value across system call.
22429 2010-09-06 Andreas Schwab <schwab@redhat.com>
22431 * manual/Makefile: Don't mix pattern rules with normal rules.
22433 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22435 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22437 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22438 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22439 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22440 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22444 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22447 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22448 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22450 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22452 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22453 * sysdeps/x86_64/addmul_1.S: Likewise.
22454 * sysdeps/x86_64/lshift.S: Likewise.
22455 * sysdeps/x86_64/mul_1.S: Likewise.
22456 * sysdeps/x86_64/rshift.S: Likewise.
22457 * sysdeps/x86_64/sub_n.S: Likewise.
22458 * sysdeps/x86_64/submul_1.S: Likewise.
22460 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22462 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22463 Define __sched_param instead of SCHED_* and sched_param when
22464 <bits/sched.h> is included with __need_schedparam defined.
22465 * bits/sched.h [__need_schedparam]
22466 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22467 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22468 (__defined_schedparam): Define to 1.
22469 (__sched_param): New structure, identical to sched_param.
22470 (__need_schedparam): Undefine.
22472 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22475 (epoll_create1): Declare.
22477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22479 2010-08-31 Andreas Schwab <schwab@redhat.com>
22482 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22483 shifting retval into place.
22485 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22487 * nis/rpcsvc/nis.h: Update copyright notice.
22488 * nis/rpcsvc/nis.x: Likewise.
22489 * nis/rpcsvc/nis_callback.h: Likewise.
22490 * nis/rpcsvc/nis_callback.x: Likewise.
22491 * nis/rpcsvc/nis_object.x: Likewise.
22492 * nis/rpcsvc/nis_tags.h: Likewise.
22493 * nis/rpcsvc/yp.h: Likewise.
22494 * nis/rpcsvc/yp.x: Likewise.
22495 * nis/rpcsvc/ypupd.h: Likewise.
22496 * nis/yp_xdr.c: Likewise.
22497 * nis/ypupdate_xdr.c: Likewise.
22499 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22500 mainly the body of pmap_getport. Add parameters to specify timeouts.
22501 (pmap_getport): Use __libc_rpc_getport.
22502 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22503 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22504 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22506 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22511 2010-08-27 Roland McGrath <roland@redhat.com>
22513 * sysdeps/i386/i686/multiarch/Makefile
22514 (CFLAGS-varshift.c): New variable.
22516 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22518 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22519 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22523 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22525 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22527 * sysdeps/x86_64/strlen.S: Unroll the loop.
22528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22529 strlen-sse2 strlen-sse2-bsf.
22530 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22531 __strlen_no_bsf if bit_Slow_BSF is set.
22532 (__strlen_sse42): Removed.
22533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22534 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22536 2010-08-25 Roland McGrath <roland@redhat.com>
22538 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22539 * sysdeps/x86_64/multiarch/varshift.c: New file.
22540 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22541 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22542 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22543 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22545 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22548 strlen-sse2 strlen-sse2-bsf.
22549 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22550 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22551 (__strlen_sse2): Removed.
22552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22555 bit_Slow_BSF for Atom.
22556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22557 (index_Slow_BSF): Define.
22558 (HAS_SLOW_BSF): Define.
22560 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22563 * resolv/res_init.c (__res_vinit): When no server address at all
22564 is given default to loopback.
22566 2010-08-24 Roland McGrath <roland@redhat.com>
22568 * configure.in: Remove config-name.h generation.
22569 * configure: Regenerated.
22570 * config-name.in: File removed.
22571 * scripts/config-uname.sh: New file.
22572 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22573 ($(objdir)config-name.h): New target.
22575 * sunrpc/rpc_parse.h: Avoid nested comment.
22577 2010-08-24 Richard Henderson <rth@redhat.com>
22578 Ulrich Drepper <drepper@redhat.com>
22579 H.J. Lu <hongjiu.lu@intel.com>
22581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22583 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22584 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22585 _mm_alignr_epi8 with _mm_loadu_si128.
22586 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22587 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22588 (__m128i_shift_right): Removed.
22589 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22590 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22591 * sysdeps/x86_64/multiarch/varshift.h: New file.
22592 * sysdeps/x86_64/multiarch/varshift.S: New file.
22594 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22596 * configure.in: Move assembler checks to before sysdep dir checking.
22598 2010-08-20 Petr Baudis <pasky@suse.cz>
22600 * LICENSES: Sync the sunrpc license.
22602 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22604 * sunrpc/auth_des.c: Update copyright notice once again.
22605 * sunrpc/auth_none.c: Likewise.
22606 * sunrpc/auth_unix.c: Likewise.
22607 * sunrpc/authdes_prot.c: Likewise.
22608 * sunrpc/authuxprot.c: Likewise.
22609 * sunrpc/bindrsvprt.c: Likewise.
22610 * sunrpc/clnt_gen.c: Likewise.
22611 * sunrpc/clnt_perr.c: Likewise.
22612 * sunrpc/clnt_raw.c: Likewise.
22613 * sunrpc/clnt_simp.c: Likewise.
22614 * sunrpc/clnt_tcp.c: Likewise.
22615 * sunrpc/clnt_udp.c: Likewise.
22616 * sunrpc/clnt_unix.c: Likewise.
22617 * sunrpc/des_crypt.c: Likewise.
22618 * sunrpc/des_soft.c: Likewise.
22619 * sunrpc/get_myaddr.c: Likewise.
22620 * sunrpc/getrpcport.c: Likewise.
22621 * sunrpc/key_call.c: Likewise.
22622 * sunrpc/key_prot.c: Likewise.
22623 * sunrpc/openchild.c: Likewise.
22624 * sunrpc/pm_getmaps.c: Likewise.
22625 * sunrpc/pm_getport.c: Likewise.
22626 * sunrpc/pmap_clnt.c: Likewise.
22627 * sunrpc/pmap_prot.c: Likewise.
22628 * sunrpc/pmap_prot2.c: Likewise.
22629 * sunrpc/pmap_rmt.c: Likewise.
22630 * sunrpc/rpc/auth.h: Likewise.
22631 * sunrpc/rpc/auth_unix.h: Likewise.
22632 * sunrpc/rpc/clnt.h: Likewise.
22633 * sunrpc/rpc/des_crypt.h: Likewise.
22634 * sunrpc/rpc/key_prot.h: Likewise.
22635 * sunrpc/rpc/netdb.h: Likewise.
22636 * sunrpc/rpc/pmap_clnt.h: Likewise.
22637 * sunrpc/rpc/pmap_prot.h: Likewise.
22638 * sunrpc/rpc/pmap_rmt.h: Likewise.
22639 * sunrpc/rpc/rpc.h: Likewise.
22640 * sunrpc/rpc/rpc_des.h: Likewise.
22641 * sunrpc/rpc/rpc_msg.h: Likewise.
22642 * sunrpc/rpc/svc.h: Likewise.
22643 * sunrpc/rpc/svc_auth.h: Likewise.
22644 * sunrpc/rpc/types.h: Likewise.
22645 * sunrpc/rpc/xdr.h: Likewise.
22646 * sunrpc/rpc_clntout.c: Likewise.
22647 * sunrpc/rpc_cmsg.c: Likewise.
22648 * sunrpc/rpc_common.c: Likewise.
22649 * sunrpc/rpc_cout.c: Likewise.
22650 * sunrpc/rpc_dtable.c: Likewise.
22651 * sunrpc/rpc_hout.c: Likewise.
22652 * sunrpc/rpc_main.c: Likewise.
22653 * sunrpc/rpc_parse.c: Likewise.
22654 * sunrpc/rpc_parse.h: Likewise.
22655 * sunrpc/rpc_prot.c: Likewise.
22656 * sunrpc/rpc_sample.c: Likewise.
22657 * sunrpc/rpc_scan.c: Likewise.
22658 * sunrpc/rpc_scan.h: Likewise.
22659 * sunrpc/rpc_svcout.c: Likewise.
22660 * sunrpc/rpc_tblout.c: Likewise.
22661 * sunrpc/rpc_util.c: Likewise.
22662 * sunrpc/rpc_util.h: Likewise.
22663 * sunrpc/rpcinfo.c: Likewise.
22664 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22665 * sunrpc/rpcsvc/key_prot.x: Likewise.
22666 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22667 * sunrpc/rpcsvc/mount.x: Likewise.
22668 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22669 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22670 * sunrpc/rpcsvc/rex.x: Likewise.
22671 * sunrpc/rpcsvc/rstat.x: Likewise.
22672 * sunrpc/rpcsvc/rusers.x: Likewise.
22673 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22674 * sunrpc/rpcsvc/spray.x: Likewise.
22675 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22676 * sunrpc/rtime.c: Likewise.
22677 * sunrpc/svc.c: Likewise.
22678 * sunrpc/svc_auth.c: Likewise.
22679 * sunrpc/svc_authux.c: Likewise.
22680 * sunrpc/svc_raw.c: Likewise.
22681 * sunrpc/svc_run.c: Likewise.
22682 * sunrpc/svc_simple.c: Likewise.
22683 * sunrpc/svc_tcp.c: Likewise.
22684 * sunrpc/svc_udp.c: Likewise.
22685 * sunrpc/svc_unix.c: Likewise.
22686 * sunrpc/svcauth_des.c: Likewise.
22687 * sunrpc/xcrypt.c: Likewise.
22688 * sunrpc/xdr.c: Likewise.
22689 * sunrpc/xdr_array.c: Likewise.
22690 * sunrpc/xdr_float.c: Likewise.
22691 * sunrpc/xdr_mem.c: Likewise.
22692 * sunrpc/xdr_rec.c: Likewise.
22693 * sunrpc/xdr_ref.c: Likewise.
22694 * sunrpc/xdr_sizeof.c: Likewise.
22695 * sunrpc/xdr_stdio.c: Likewise.
22697 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22700 2010-08-19 Andreas Schwab <schwab@redhat.com>
22702 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22704 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22706 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22707 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22709 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22711 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22712 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22713 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22715 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22716 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22717 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22718 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22719 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22721 2010-07-26 Anton Blanchard <anton@samba.org>
22723 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22724 * malloc/arena.c (heap_trim): Likewise.
22726 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22728 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22731 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22733 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22735 * sysdeps/i386/elf/Makefile: New file.
22737 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22739 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22740 from fanotify_init.
22741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22744 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22746 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22748 * sysdeps/multiarch/strcmp.S: Likewise.
22750 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22752 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22753 strncase_l-nonascii.
22754 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22755 Add strncase_l-ssse3.
22756 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22757 * sysdeps/x86_64/strcmp.S: Likewise.
22758 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22759 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22760 * sysdeps/x86_64/strncase.S: New file.
22761 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22762 * sysdeps/x86_64/strncase_l.S: New file.
22763 * string/Makefile (strop-tests): Add strncasecmp.
22764 * string/test-strncasecmp.c: New file.
22766 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22769 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22770 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22772 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22774 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22776 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22778 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22782 2010-05-01 Alan Modra <amodra@gmail.com>
22784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22785 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22786 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22787 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22788 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22789 tidying. Don't tail-call __sigjmp_save for static lib.
22790 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22792 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22793 (CALL_MCOUNT): Add eh info, and nop after bl.
22794 (TAIL_CALL_SYSCALL_ERROR): New macro.
22795 (PSEUDO_RET): Use it.
22796 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22797 Correct save location of integer regs and cr.
22798 (_dl_profile_resolve): Correct cr save location. Delete nops
22799 after bl when SHARED. Reduce cfi size a little by better
22800 placement of cfi directives.
22801 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22802 make a stack frame. Instead use parm save area as a temp.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22804 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22806 Don't make a stack frame for parent, use parm save area.
22807 Increase child stack frame to 112 bytes. Don't save unused reg,
22808 and adjust reg usage. Set up cfi on error recovery and
22809 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22811 (__makecontext): Add dummy nop after jump to exit.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22813 Use correct parm save area and cr save, reduce stack frame.
22814 Correct cfi for possible PSEUDO_RET frame setup.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22816 Branch to local label emitted by PSEUDO_RET rather than
22819 2010-08-12 Andreas Schwab <schwab@redhat.com>
22822 * locale/programs/locale.c (print_assignment): New function.
22823 (show_locale_vars): Use it.
22825 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22827 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22829 (struct statfs64): Likewise.
22830 (_STATFS_F_FLAGS): Define.
22831 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22833 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22834 (ST_VALID): Define locally.
22835 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22836 __statvfs_getflags, use the provided value.
22837 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22838 __ASSUME_STATFS_F_FLAGS.
22840 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22842 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22843 Add sys/fanotify.h.
22844 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22845 fanotify_mask for GLIBC_2.13.
22846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22847 fanotify_init and fanotify_mark.
22848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22849 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22851 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22853 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22854 prlimit64 for GLIBC_2.13.
22855 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22857 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22860 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22861 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22862 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22865 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22868 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22869 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22871 * nss/Makefile: Add rules to build and run tst-nss-test1.
22872 * shlib-versions: Add entry for libnss_test1.
22873 * nss/nss_test1.c: New file.
22874 * nss/tst-nss-test1.c: New file.
22876 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22877 (__nss_configure_lookup): Set appropriate entry in
22878 __nss_configure_lookup to true.
22879 * nss/nsswitch.h: Define enum with indeces of databases in
22880 databases and __nss_database_custom arrays. Declare
22881 __nss_database_custom.
22882 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22883 to avoid using nscd when custom rules are installed.
22884 * nss/getXXbyYY_r.c: Likewise.
22885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22887 * nss/nss_files/files-parse.c: Whitespace fixes.
22889 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22892 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22893 * posix/fnmatch_loop.c: Likewise.
22895 2010-07-17 Andi Kleen <ak@linux.intel.com>
22897 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22898 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22899 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22900 * Versions.def [GLIBC_2.13]: Add.
22902 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22904 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22905 Also fail if tpwd after pwuid call is NULL.
22907 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22909 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22910 when converting to ms.
22912 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22914 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22915 EOPNOTSUPP errors with ENOTTY.
22916 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22917 EOPNOTSUPP errors with ENOTTY.
22919 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22921 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22922 Add strcasecmp_l-ssse3.
22923 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22925 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22926 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22927 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22929 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22931 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22933 * string/Makefile (strop-tests): Add strcasecmp.
22934 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22935 strcasecmp_l-nonascii.
22936 (gen-as-const-headers): Add locale-defines.sym.
22937 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22938 * sysdeps/x86_64/strcasecmp.S: New file.
22939 * sysdeps/x86_64/strcasecmp_l.S: New file.
22940 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22941 * sysdeps/x86_64/locale-defines.sym: New file.
22942 * string/test-strcasecmp.c: New file.
22944 * string/test-strcasestr.c: Test both ends of the range of characters.
22945 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22947 2010-07-29 Roland McGrath <roland@redhat.com>
22950 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22952 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22954 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22957 2010-07-27 Andreas Schwab <schwab@redhat.com>
22959 * manual/memory.texi (Malloc Tunable Parameters): Document
22962 2010-07-26 Roland McGrath <roland@redhat.com>
22965 * configure.in (-fgnu89-inline check): Set and substitute
22966 gnu89_inline, not libc_cv_gnu89_inline.
22967 * configure: Regenerated.
22968 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22970 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22972 * string/test-strnlen.c: New file.
22973 * string/Makefile (strop-tests): Add strnlen.
22974 * string/tester.c (test_strnlen): Add a few more test cases.
22975 * string/tst-strlen.c: Better error reporting.
22977 * sysdeps/x86_64/strnlen.S: New file.
22979 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22982 lower-latency instructions.
22984 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22986 * string/test-strcasestr.c: New file.
22987 * string/test-strstr.c: New file.
22988 * string/Makefile (strop-tests): Add strstr and strcasestr.
22989 * string/str-two-way.h: Don't undefine MAX.
22990 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22992 2010-07-21 Andreas Schwab <schwab@redhat.com>
22994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22995 strcasestr-nonascii.
22996 (CFLAGS-strcasestr-nonascii.c): Define.
22997 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22999 Remove unused attribute.
23001 2010-07-20 Roland McGrath <roland@redhat.com>
23003 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23004 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23005 ld.so.cache was broken. With it, there is no way to disable dsocaps
23006 like LD_HWCAP_MASK can disable hwcaps.
23008 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23010 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23012 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23014 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23015 call in strcasestr.
23016 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23017 __strcasestr_sse42_nonascii.
23018 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23019 strcasestr-nonascii.c.
23020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23022 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23024 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23029 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23031 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23034 2010-07-06 Andreas Schwab <schwab@redhat.com>
23037 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23040 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23043 _PC_PIPE_BUF using F_GETPIPE_SZ.
23045 2010-07-05 Roland McGrath <roland@redhat.com>
23047 * manual/arith.texi (Rounding Functions): Fix rint description
23048 implicit in round description.
23050 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23052 * elf/Makefile: Fix linking for a few tests to make recent linker
23055 2010-06-30 Andreas Schwab <schwab@redhat.com>
23057 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23058 $(common-objpfx)libc_nonshared.a.
23060 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23062 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23063 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23064 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23065 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23066 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23067 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23068 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23069 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23084 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23085 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23086 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23087 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23088 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23089 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23090 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23091 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23092 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23093 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23094 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23095 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23111 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23113 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23114 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23115 * string/memmove.c (memmove): Renamed to ...
23116 (MEMMOVE): ...this. Default to memmove.
23117 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23118 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23121 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23122 mempcpy-ssse3-back memmove-ssse3-back.
23123 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23126 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23127 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23128 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23129 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23130 * sysdeps/x86_64/multiarch/memmove.c: New file.
23131 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23132 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23133 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23134 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23135 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23138 (index_Fast_Copy_Backward): Define.
23139 (HAS_ARCH_FEATURE): Define.
23140 (HAS_FAST_REP_STRING): Define.
23141 (HAS_FAST_COPY_BACKWARD): Define.
23143 2010-06-21 Andreas Schwab <schwab@redhat.com>
23145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23146 Restore proper fallback handling.
23148 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23151 * posix/group_member.c (__group_member): Correct checking loop.
23153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23154 OOM in getpwuid_r correctly. Return error number when the caller
23155 should return, otherwise -1.
23156 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23157 call returning > 0 value.
23158 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23160 2010-06-07 Andreas Schwab <schwab@redhat.com>
23162 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23163 libc_nonshared.a from targets in modules-names.
23165 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23167 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23170 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23172 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23173 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23177 2010-06-02 Andreas Schwab <schwab@redhat.com>
23179 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23181 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23183 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23192 2010-06-14 Roland McGrath <roland@redhat.com>
23194 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23196 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23198 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23199 __REDIRECT followed by __THROW.
23200 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23201 * posix/getopt.h (getopt): Likewise.
23203 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23205 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23206 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23207 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23209 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23210 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23212 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23216 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23220 Properly check family and model.
23222 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23224 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23226 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23228 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23230 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23232 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23235 2010-05-19 Andreas Schwab <schwab@redhat.com>
23237 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23240 2010-05-21 Andreas Schwab <schwab@redhat.com>
23242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23243 and internal_recvmmsg.
23244 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23245 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23246 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23247 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23249 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23250 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23251 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23253 2010-05-20 Andreas Schwab <schwab@redhat.com>
23255 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23257 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23259 POWER7 optimizations.
23260 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23261 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23263 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23265 * version.h: Update for 2.13 development version.
23267 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23269 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23270 exceptions. Return 0.
23272 2010-05-07 Roland McGrath <roland@redhat.com>
23274 * elf/ldconfig.c (main): Add a const.
23276 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23278 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23279 (args_options): Add no-idn option.
23280 (ahosts_keys_int): Add idn_flags to ai_flags.
23281 (parse_option): Handle 'i' option to clear idn_flags.
23283 * malloc/malloc.c (_int_free): Possible race in the most recently
23284 added check. Only act on the data if no current modification
23287 See ChangeLog.17 for earlier changes.