1 2012-12-28 Andreas Jaeger <aj@suse.de>
3 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
6 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * misc/sys/cdefs.h(__glibc_likely): Wrap __builtin_expect for
11 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14 variables with preprocessor constants.
15 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19 2012-12-27 Bruno Haible <bruno@clisp.org>
22 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28 and use variable directly.
29 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39 include directive. Remove local variable MPONE.
40 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44 2012-12-25 David S. Miller <davem@davemloft.net>
46 * version.h (RELEASE): Set to "development".
47 (VERSION): Set to "2.17.90".
48 * NEWS: Add 2.18 section.
50 2012-12-21 David S. Miller <davem@davemloft.net>
52 * po/hr.po: Update from translation team.
54 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58 2012-12-19 Steve Ellcey <sellcey@mips.com>
60 * NEWS: Mention new memcpy for MIPS.
62 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64 * manual/contrib.texi (Contributors): Spelling correction.
66 2012-12-15 David S. Miller <davem@davemloft.net>
68 * po/ru.po: Update from translation team.
70 2012-12-13 David S. Miller <davem@davemloft.net>
72 * NEWS: Mention IFUNC testsuite enhancements.
74 * po/pl.po: Update from translation team.
77 * manual/contrib.texi (Contributors): Update entries for Hongjiu
78 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
80 2012-12-11 David S. Miller <davem@davemloft.net>
82 * po/sv.po: Update from translation team.
84 * po/vi.po: Update from translation team.
86 * po/cs.po: Update from translation team.
88 * po/de.po: Update from translation team.
92 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * manual/argp.texi (Argp Helper Functions): Move node to follow
99 * manual/conf.texi (Limits on File System Capacity): Mention if
100 terminating null is included in the max size.
102 2012-12-10 Andreas Jaeger <aj@suse.de>
104 * po/cs.po: Update from translation team.
106 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
108 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
109 void pointer and cast to uintptr_t.
110 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
112 * sysdeps/s390/s390-64/memcpy.S: Likewise.
113 * sysdeps/s390/s390-64/memset.S: Likewise.
115 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
118 * menual/message.texi (Message Translation): Fix typos.
119 (Helper programs for gettext): Likewise.
121 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
124 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
127 2012-12-07 David S. Miller <davem@davemloft.net>
129 * po/libc.pot: Update.
131 2012-12-07 Richard Henderson <rth@redhat.com>
134 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
135 normal/normal case to before the switch.
138 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
139 Mike Frysinger <vapier@gentoo.org>
141 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
142 check for __NR_fadvise64_64.
144 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
146 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
147 0, not just to plain "0" as a statement.
148 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
151 2012-12-06 Joseph Myers <joseph@codesourcery.com>
153 * NEWS: Use sourceware.org in Bugzilla URL.
155 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
158 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
160 * stdio-common/tst-put-error.c (do_test): Add newline to the
161 padded test to ensure flush.
163 2012-12-05 Jeff Law <law@redhat.com>
165 * sunrpc/etc.rpc (fedfs_admin): Add entry.
167 2012-12-05 Joseph Myers <joseph@codesourcery.com>
169 * README: Don't refer to ports add-on as distributed separately.
170 Mention AArch64 in list of systems supported in the ports add-on.
172 * LICENSES: Add more non-FSF copyright and license notices.
174 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
179 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
180 10000 as width of padded output.
182 2012-12-04 Joseph Myers <joseph@codesourcery.com>
184 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
186 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
187 variable LX with __attribute__ ((unused)).
188 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
190 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
193 with __attribute__ ((unused)).
195 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
197 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
199 2012-12-04 Joseph Myers <joseph@codesourcery.com>
201 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
202 (CFLAGS-nldbl-acos.c): New variable.
203 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
204 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
205 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
206 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
207 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
208 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
209 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
210 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
211 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
212 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
213 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
214 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
215 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
216 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
217 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
218 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
219 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
220 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
221 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
222 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
223 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
224 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
225 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
226 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
227 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
228 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
229 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
247 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
248 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
249 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
250 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
251 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
252 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
253 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
254 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
255 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
256 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
257 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
258 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
259 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
260 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
261 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
262 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
263 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
264 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
265 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
302 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
306 whole low double instead of just low 47 bits when splitting values
309 2012-12-03 Allan McRae <allan@archlinux.org>
311 * manual/stdio.texi (Predefined Printf Handlers): Remove
312 @hsep and @vsep usage.
314 2012-12-03 Mike Frysinger <vapier@gentoo.org>
316 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
317 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
319 2012-12-03 Jeff Law <law@redhat.com>
321 * time/sys/time.h (settimeofday): Do not mark TV argument
324 2012-12-01 Mike Frysinger <vapier@gentoo.org>
326 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
327 when currently writing and seek to current position when not.
328 * libio/Makefile (tests): Remove bug-fclose1.
329 * libio/bug-fclose1.c: Delete.
331 2012-12-01 Joseph Myers <joseph@codesourcery.com>
333 * manual/arith.texi (feenableexcept): Fix typo.
334 (fedisableexcept): Likewise.
336 2012-11-30 Roland McGrath <roland@hack.frob.com>
338 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
339 second, differently-typed declaration, rather than a cast.
341 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
343 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
344 * include/rpc/svc.h: ... here.
346 2012-11-30 Aurelien Jarno <aurel32@debian.org>
349 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
350 depending n and resplen2 to catch cases where answer
353 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
355 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
356 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
358 2012-11-29 Mike Frysinger <vapier@gentoo.org>
360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
362 2012-11-29 Roland McGrath <roland@hack.frob.com>
364 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
366 2012-11-28 Jeff Law <law@redhat.com>
369 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
370 dataset_temporary. Track alloca usage into alloca_used.
371 If dataset is large allocate and release it via malloc/free.
373 2012-06-04 Florian Weimer <fweimer@redhat.com>
376 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
378 2012-11-28 David S. Miller <davem@davemloft.net>
380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
382 2012-11-28 Joseph Myers <joseph@codesourcery.com>
385 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
386 of pi/2 rounded to nearest to 64 bits.
387 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
389 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
392 2012-11-28 Jeff Law <law@redhat.com>
393 Martin Osvald <mosvald@redhat.com>
396 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
397 * sunrpc/svc.c: Include time.h.
398 (__svc_accept_failed): New function.
399 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
400 any reason other than EINTR, call __svc_accept_failed.
401 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
402 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
404 2012-11-28 Andreas Schwab <schwab@suse.de>
406 * scripts/abilist.awk: Also handle indirect functions in .opd
409 2012-11-28 Joseph Myers <joseph@codesourcery.com>
412 * sysdeps/x86/fpu/powl_helper.c: New file.
413 * sysdeps/x86/fpu/Makefile: Likewise.
414 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
416 (__ieee754_powl): Use __powl_helper for finite arguments except
417 integer exponents below 8.
418 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
420 (__ieee754_powl): Use __powl_helper for finite arguments except
421 integer exponents below 8.
422 * math/libm-test.inc (pow_test): Add more tests and enable some
423 previously disabled tests.
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
427 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
428 Carlos O'Donell <carlos_odonell@mentor.com>
430 * nss/makedb.c (is_prime): Assert that input is odd and greater
431 than 4. Note that fact in a comment too.
432 (next_prime): Add 4 to input.
434 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * libio/Makefile (tests): Add test case tst-fwrite-error.
438 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
439 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
440 * libio/tst-fwrite-error.c: New test case.
442 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
444 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
445 before casting to void *.
446 * include/libc-internal.h (__pointer_type): New macro.
447 (__integer_if_pointer_type_sub): Likewise.
448 (__integer_if_pointer_type): Likewise.
449 (cast_to_integer): Likewise.
450 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
451 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
452 before casting to atomic64_t.
453 (atomic_exchange_acq): Likewise.
454 (__arch_exchange_and_add_body): Likewise.
455 (__arch_add_body): Likewise.
456 (atomic_add_negative): Likewise.
457 (atomic_add_zero): Likewise.
459 2012-11-26 Joseph Myers <joseph@codesourcery.com>
461 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
462 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
463 (add_fdes): Likewise.
464 (linear_search_fdes): Likewise.
465 (binary_search_unencoded_fdes): Likewise.
467 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
469 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
471 2012-11-24 Adam Conrad <adconrad@0c3.net>
473 * configure.in: Autodetect C++ header directories.
474 * configure: Regenerated.
476 2012-11-23 Mike Frysinger <vapier@gentoo.org>
478 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
480 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
484 2012-11-22 Joseph Myers <joseph@codesourcery.com>
486 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
487 LDBL_MANT_DIG == 106]: Disable some tests.
488 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
490 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
494 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
495 input for small inputs. Return +/- pi/2 for large inputs.
496 * math/libm-test.inc (atan_test): Add more tests.
498 * sysdeps/generic/unwind-dw2-fde-glibc.c
499 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
500 __attribute__ ((unused)).
503 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
504 x * y if x and y are nonzero and z is zero.
507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
508 nonzero exponents with absolute value below 0x1p-117 to +/-
512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
513 up arguments below 2**-450, not just those below 2**-500.
514 * math/libm-test.inc (hypot_test): Add another test.
517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
518 Return a+b for ratio over 2**120, not 2**60.
519 * math/libm-test.inc (hypot_test): Add another test.
521 * math/libm-test.inc (clog_test): Use
522 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
523 (clog10_test): Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
528 2012-11-22 Andreas Schwab <schwab@suse.de>
530 * sysdeps/i386/fpu/libm-test-ulps: Update.
532 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
534 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
535 printf output with newline.
537 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
540 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
541 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
542 -z nodlopen, -z initfirst and -z execstack support.
543 * configure: Regenerated.
545 * elf/elf.h (DF_1_NODIRECT): New macro.
546 (DF_1_IGNMULDEF): Likewise.
547 (DF_1_NOKSYMS): Likewise.
548 (DF_1_NOHDR): Likewise.
549 (DF_1_EDITED): Likewise.
550 (DF_1_NORELOC): Likewise.
551 (DF_1_SYMINTPOSE): Likewise.
552 (DF_1_GLOBAUDIT): Likewise.
553 (DF_1_SINGLETON): Likewise.
554 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
555 DT_1_SUPPORTED_MASK bits.
556 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
558 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
560 * sysdeps/unix/make-syscalls.sh: Document prefixes.
562 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
564 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
567 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
568 (sendmmsg): Move declarations...
569 * socket/sys/socket.h: ... here.
570 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
571 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
573 * socket/recvmmsg.c: ... this new file.
574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
575 (sendmmsg): Rename to __sendmmsg, create weak alias and make
576 definition of __sendmmsg hidden.
577 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
578 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
579 Move ENOSYS stub into and include it from...
580 * socket/sendmmsg.c: ... this new file.
581 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
582 (sysdep_routines): Move recvmmsg and sendmmsg...
583 * socket/Makefile (routines): ... here.
584 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
585 (GLIBC_PRIVATE): Add __sendmmsg.
586 * include/sys/socket.h (__sendmmsg): Add declarations.
587 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
590 2012-11-20 Joseph Myers <joseph@codesourcery.com>
592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
593 variable I1 with __attribute__ ((unused)).
594 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
596 2012-11-19 Joseph Myers <joseph@codesourcery.com>
598 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
599 DUMMY variables with __attribute__ ((unused)).
601 * bits/byteswap.h: Include <bits/types.h>.
602 (__bswap_64): Use __uint64_t instead of unsigned long long int.
604 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
606 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
607 string_t. Do not manually set errno.
608 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
609 length with __strnlen. Make sure to both set errno and return it on
612 2012-11-19 David S. Miller <davem@davemloft.net>
614 With help from Joseph Myers.
615 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
616 very large arguments properly.
617 * math/libm-test.inc (atan_test): New tests.
618 (atan2_test): New tests.
619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
622 2012-11-19 Joseph Myers <joseph@codesourcery.com>
625 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
628 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
629 [POSIX] (EADDRNOTAVAIL): Likewise.
630 [POSIX] (EAFNOSUPPORT): Likewise.
631 [POSIX] (EALREADY): Likewise.
632 [POSIX] (ECONNABORTED): Likewise.
633 [POSIX] (ECONNREFUSED): Likewise.
634 [POSIX] (ECONNRESET): Likewise.
635 [POSIX] (EDESTADDRREQ): Likewise.
636 [POSIX] (EDQUOT): Likewise.
637 [POSIX] (EHOSTUNREACH): Likewise.
638 [POSIX] (EIDRM): Likewise.
639 [POSIX] (EISCONN): Likewise.
640 [POSIX] (ELOOP): Likewise.
641 [POSIX] (EMULTIHOP): Likewise.
642 [POSIX] (ENETDOWN): Likewise.
643 [POSIX] (ENETUNREACH): Likewise.
644 [POSIX] (ENOBUFS): Likewise.
645 [POSIX] (ENODATA): Likewise.
646 [POSIX] (ENOLINK): Likewise.
647 [POSIX] (ENOMSG): Likewise.
648 [POSIX] (ENOPROTOOPT): Likewise.
649 [POSIX] (ENOSR): Likewise.
650 [POSIX] (ENOSTR): Likewise.
651 [POSIX] (ENOTCONN): Likewise.
652 [POSIX] (ENOTSOCK): Likewise.
653 [POSIX] (EOPNOTSUPP): Likewise.
654 [POSIX] (EOVERFLOW): Likewise.
655 [POSIX] (EPROTO): Likewise.
656 [POSIX] (EPROTONOSUPPORT): Likewise.
657 [POSIX] (EPROTOTYPE): Likewise.
658 [POSIX] (ESTALE): Likewise.
659 [POSIX] (ETIME): Likewise.
660 [POSIX] (ETXTBSY): Likewise.
661 [POSIX] (EWOULDBLOCK): Likewise.
662 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
663 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
664 [POSIX] (SEEK_CUR): Likewise.
665 [POSIX] (SEEK_END): Likewise.
666 [POSIX || UNIX98] (mode_t): Do not require.
667 [POSIX] (off_t): Likewise.
668 [POSIX] (pid_t): Likewise.
669 [POSIX] (sys/stat.h): Do not allow header.
670 [POSIX] (unistd.h): Likewise.
671 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
672 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
673 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
674 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
676 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
677 sigevent): Specify elements.
678 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
680 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
681 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
683 * conform/data/cpio.h-data [POSIX]: Disable whole file.
684 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
685 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
686 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
687 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
688 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
689 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
690 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
691 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
692 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
693 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
694 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
695 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
696 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
698 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
700 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
702 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
704 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
706 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
707 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
708 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
709 Specify lower bound on value.
710 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
711 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
712 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
713 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
714 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
715 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
716 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
717 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
719 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
721 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
722 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
723 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
724 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
725 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
726 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
727 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
728 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
729 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
730 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
731 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
732 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
733 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
734 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
735 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
736 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
738 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
740 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
741 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
742 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
743 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
744 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
745 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
748 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
749 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
750 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
751 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
752 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
753 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
757 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
758 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
759 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
760 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
762 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
763 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
764 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
765 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
766 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
767 [XPG3] (NL_LANGMAX): Likewise.
768 [POSIX || XPG3] (NL_MSGMAX): Likewise.
769 [POSIX || XPG3] (NL_NMAX): Likewise.
770 [POSIX || XPG3] (NL_SETMAX): Likewise.
771 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
772 [XPG3] (NZERO): Likewise.
773 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
774 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
775 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
776 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
777 (REG_ERANGE): Expect.
778 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
780 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
781 Use (void) in prototype.
782 [POSIX] (*_t): Allow.
783 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
784 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
785 (WRDE_BADVAL): Expect.
787 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
789 [XPG3 || XPG4] (O_RSYNC): Likewise.
790 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
792 [XPG3 || XPG4] (pthread_sigmask): Likewise.
793 [XPG3 || XPG4] (sigqueue): Likewise.
794 [XPG3 || XPG4] (sigtimedwait): Likewise.
795 [XPG3 || XPG4] (sigwaitinfo): Likewise.
796 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
797 [XPG3 || XPG4] (vsnprintf): Likewise.
798 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
800 [XPG3 || XPG4] (blksize_t): Likewise.
801 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
803 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
804 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
805 [XPG3 || XPG4] (struct itimerspec): Likewise.
806 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
807 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
808 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
809 [XPG3 || XPG4] (clockid_t): Likewise.
810 [XPG3 || XPG4] (timer_t): Likewise.
811 [XPG3 || XPG4] (clock_getres): Likewise.
812 [XPG3 || XPG4] (clock_gettime): Likewise.
813 [XPG3 || XPG4] (clock_settime): Likewise.
814 [XPG3 || XPG4] (nanosleep): Likewise.
815 [XPG3 || XPG4] (timer_create): Likewise.
816 [XPG3 || XPG4] (timer_delete): Likewise.
817 [XPG3 || XPG4] (timer_gettime): Likewise.
818 [XPG3 || XPG4] (timer_getoverrun): Likewise.
819 [XPG3 || XPG4] (timer_settime): Likewise.
820 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
821 [XPG3 || XPG4] (getlogin_r): Likewise.
822 [XPG3 || XPG4] (pread): Likewise.
823 [XPG3 || XPG4] (pthread_atfork): Likewise.
824 [XPG3 || XPG4] (pwrite): Likewise.
827 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
830 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
832 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
833 finalizing MALLSTREAM.
835 * sysdeps/mach/hurd/syncfs.c: New file.
837 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
840 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
841 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
842 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
843 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
844 (_nss_dns_gethostbyname4_r): Likewise.
845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
846 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
848 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
851 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
853 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
855 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
856 * elf/cache.c (print_entry): Print ",AArch64" for
859 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
860 * elf/cache.c (print_entry): Print ",hard-float" for
863 2012-11-18 David S. Miller <davem@davemloft.net>
865 With help from Joseph Myers.
866 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
868 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
870 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
871 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
873 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
874 * math/libm-test.inc (y0_test): New tests.
875 (y1_test): New tests.
876 * sysdeps/i386/fpu/libm-test-ulps: Update.
877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
880 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
882 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
884 * configure: Regenerated.
886 2012-11-17 David S. Miller <davem@davemloft.net>
889 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
890 nonzero exponents with absolute value below 0x1p-128 to +/-
893 2012-11-17 Joseph Myers <joseph@codesourcery.com>
895 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
897 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
899 * posix/getconf-speclist.c: New file.
900 * posix/posix-envs.def: Likewise.
901 * posix/confstr.c (START_ENV_GROUP): New macro.
902 (END_ENV_GROUP): Likewise.
903 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
904 (KNOWN_PRESENT_ENV_STRING): Likewise.
905 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
906 (UNKNOWN_ENVIRONMENT): Likewise.
907 (confstr): Include posix-envs.def instead of handling
908 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
909 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
910 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
911 (END_ENV_GROUP): Likewise.
912 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
913 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
914 (UNKNOWN_ENVIRONMENT): Likewise.
915 (__sysconf): Include posix-envs.def instead of handling associated
917 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
918 preprocessing getconf-speclist.c rather than running getconf or
919 generating empty file.
921 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
923 * scripts/check-local-headers.sh: Ignore 'mach' headers.
925 2012-11-16 Andrej Lajovic <natrij@gmail.com>
928 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
930 2012-11-16 David S. Miller <davem@davemloft.net>
932 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
933 smaller than LDBL_EPSILON/2.0L, just return xm1.
935 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
937 * elf/tst-array1.c (init): Set constructor priority to 1000.
938 (fini): Set destructor priority to 1000.
939 * elf/tst-array2dep.c: Likewise.
941 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
944 * libio/fileops.c (_IO_new_file_write): Correctly return error.
945 (_IO_new_file_xsputn): Also return EOF if none of the input
946 data was written when overflow failed.
947 * libio/iopadn.c (_IO_padn): Likewise.
948 * libio/iowpadn.c (_IO_wpadn): Likewise.
949 * stdio-common/tst-put-error.c: Add copyright notice.
950 (do_test): Add case for printing padded string.
951 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
952 _IO_padn returned error.
953 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
954 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
957 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
959 * libio/libioP.h: Add comment note that the references to C++
960 bits are now obsolete.
962 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
964 * math/libm-test.inc (check_complex): Use asprintf.
966 2012-11-14 Joseph Myers <joseph@codesourcery.com>
968 * debug/pcprofiledump.c (print_version): Update copyright year.
969 * malloc/memusagestat.c (print_version): Likewise.
971 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
974 * elf/Makefile (tests): Add tst-audit8.
975 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
976 ($(objpfx)tst-audit8.out): New target.
977 (tst-audit8-ENV): New variable.
978 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
979 audit if l_reloc_result is NULL.
980 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
981 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
982 * elf/tst-audit8.c: New file.
984 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
986 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
987 * misc/Makefile (CFLAGS-select.c): Define.
988 * posix/Makefile (CFLAGS-pause.c): Define.
990 2012-11-13 David S. Miller <davem@davemloft.net>
992 * crypt/Makefile: Move test targets after toplevel Rules
993 inclusion. Grab any necessary sysdep routines when linking.
994 * crypt/md5.c (md5_process_block): Remove define, we will always
995 name it __md5_process_block.
996 (md5_finish_ctx): Update md5_process_block call.
997 (md5_stream): Likewise.
998 (md5_process_bytes): Likewise.
999 (md5_process_block): Rename to __md5_process_block and move to ...
1000 * crypt/md5-block.c: ... here.
1001 * crypt/sha256.c (sha256_process_block): Move to ...
1002 * crypt/sha256-block.c: ... here.
1003 * crypt/sha512.c (sha512_process_block): Move to ...
1004 * crypt/sha512-block.c: ... here.
1005 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1007 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1008 * sysdeps/sparc/sparc64/multiarch/Makefile
1009 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1011 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1014 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1015 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1016 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1017 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1018 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1019 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1020 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1021 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1022 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1025 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1029 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1031 * timezone/tzselect.ksh: Update from tzcode git revision
1032 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1033 * timezone/zdump.c: Likewise.
1034 * timezone/zic.c: Likewise.
1035 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1036 in TZVERSION setting, not $(PKGVERSION).
1037 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1038 REPORT_BUGS_TO settings.
1041 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1044 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1046 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1047 detection to immediately after _FP_ROUND().
1048 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1051 2012-11-11 David S. Miller <davem@davemloft.net>
1053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1055 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1056 __close rather than their public counterparts.
1058 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1060 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1062 [UNIX98] (sem_timedwait): Do not expect.
1063 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1064 [XPG4 || UNIX98] (sockatmark): Do not expect.
1065 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1066 (clock_getcpuclockid): Do not expect.
1067 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1068 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1070 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1071 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1072 [UNIX98] (vwscanf): Likewise.
1073 [UNIX98] (vswscanf): Likewise.
1075 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1077 * timezone/version.h: Remove file.
1078 * timezone/README: Do not refer to version.h.
1079 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1081 ($(objpfx)zdump.o): Likewise.
1082 ($(objpfx)version.h): New target.
1084 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1086 * timezone/README: Don't mention modification to tzselect.ksh.
1087 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1088 work on unmodified tzselect.ksh. Substitute version numbers in
1091 * Makefile (format-me): Remove.
1092 (INSTALL): Adjust indentation. Use commands directly instead of
1095 * aclocal.m4 (ACX_PKGVERSION): New macro.
1096 (ACX_BUGURL): Likewise.
1097 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1098 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1099 (REPORT_BUGS_TO): Likewise.
1100 * configure: Regenerated.
1101 * config.h.in (PKGVERSION): New macro.
1102 (REPORT_BUGS_TO): Likewise.
1103 * config.make.in (PKGVERSION): New variable.
1104 (PKGVERSION_TEXI): Likewise.
1105 (REPORT_BUGS_TO): Likewise.
1106 (REPORT_BUGS_TEXI): Likewise.
1107 * Makefile (format-me): Use -I$(common-objpfx)manual.
1108 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1109 ($(common-objpfx)manual/%): New target.
1110 (manual/%): Remove target.
1111 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1112 (print_version): Use PKGVERSION.
1113 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1114 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1116 ($(objpfx)xtrace): Likewise.
1117 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1118 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1119 (print_version): Use PKGVERSION.
1120 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1121 (do_version): Use PKGVERSION.
1122 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1124 (common-ldd-rewrite): Likewise.
1125 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1126 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1127 (print_version): Use PKGVERSION.
1128 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1129 * elf/pldd.c (argp_program_bug_address): Remove variable.
1130 (more_help): New function.
1131 (argp): Use more_help.
1132 (print_version): Use PKGVERSION.
1133 * elf/sln.c (main): Use PKGVERSION.
1134 (usage): Use REPORT_BUGS_TO.
1135 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1136 (top level): Use PKGVERSION.
1137 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1138 (print_version): Use PKGVERSION.
1139 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1140 (print_version): Use PKGVERSION.
1141 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1142 (print_version): Use PKGVERSION.
1143 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1144 (print_version): Use PKGVERSION.
1145 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1146 (print_version): Use PKGVERSION.
1147 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1148 (print_version): Use PKGVERSION.
1149 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1151 ($(objpfx)memusage): Likewise.
1152 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1153 (do_version): Use PKGVERSION.
1154 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1155 (print_version): Use PKGVERSION.
1156 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1157 ($PKGVERSION): New variable.
1158 ($REPORT_BUGS_TO): Likewise.
1159 (usage): Use $REPORT_BUGS_TO.
1160 (top level): Use $PKGVERSION.
1161 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1162 ($(objpfx)pkgvers.texi): New rule.
1163 ($(objpfx)stamp-pkgvers): Likewise.
1164 * manual/install.texi: Include pkgvers.texi.
1165 (--with-pkgversion): Document new configure option.
1166 (--with-bugurl): Likewise.
1167 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1168 than necessarily for this particular distribution. Use
1169 REPORT_BUGS_TO for where to report bugs.
1170 * INSTALL: Regenerated.
1171 * manual/libc.texinfo: Include pkgvers.texi.
1172 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1173 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1174 (print_version): Use PKGVERSION.
1175 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1176 (print_version): Use PKGVERSION.
1177 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1178 (print_version): Use PKGVERSION.
1179 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1180 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1182 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1183 (print_version): Use PKGVERSION.
1184 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1185 (print_version): Use PKGVERSION.
1186 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1189 * timezone/checktab.awk: Update from tzcode 2012i.
1190 * timezone/ialloc.c: Likewise.
1191 * timezone/private.h: Likewise.
1192 * timezone/scheck.c: Likewise.
1193 * timezone/tzfile.h: Likewise.
1194 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1195 (TZVERSION): Hardcode tzcode version number.
1196 * timezone/zdump.c: Update from tzcode 2012i.
1197 * timezone/zic.c: Likewise.
1198 * timezone/version.h: New file.
1199 * timezone/README: Describe version.h. Update upstream location.
1202 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1203 (mktemp): Enable declaration.
1204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1221 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1222 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1223 for copies of such integer values.
1224 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1225 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1227 2012-11-09 Andreas Jaeger <aj@suse.de>
1229 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1230 definitions and declarations that are provided by
1231 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1233 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1235 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1236 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1237 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1240 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1242 * elf/elf.h: Update comment before AArch64 relocations.
1244 2012-11-07 David S. Miller <davem@davemloft.net>
1246 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1247 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1248 (__start_context): Declare.
1249 (__makecontext_ret): Delete.
1250 (__makecontext): Hook up __start_context instead of
1252 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1253 (sysdep_routines): Add __start_context when in stdlib.
1255 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1257 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1258 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1259 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1261 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1262 (READELF): New variable. Use it instead of hardcoded "readelf".
1264 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1266 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1267 * sysdeps/x86/Makefile: Here.
1268 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1269 * sysdeps/x86/tst-xmmymm.sh: This.
1271 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1273 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1275 [UNIX98] (pthread_barrier_t): Do not expect.
1276 [UNIX98] (pthread_barrierattr_t): Likewise.
1277 [UNIX98] (pthread_spinlock_t): Likewise.
1278 [UNIX98] (pthread_barrier_destroy): Likewise.
1279 [UNIX98] (pthread_barrier_init): Likewise.
1280 [UNIX98] (pthread_barrier_wait): Likewise.
1281 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1282 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1283 [UNIX98] (pthread_barrierattr_init): Likewise.
1284 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1285 [UNIX98] (pthread_getcpuclockid): Likewise.
1286 [UNIX98] (pthread_mutex_timedlock): Likewise.
1287 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1288 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1289 [UNIX98] (pthread_sigmask): Likewise.
1290 [UNIX98] (pthread_spin_destroy): Likewise.
1291 [UNIX98] (pthread_spin_init): Likewise.
1292 [UNIX98] (pthread_spin_lock): Likewise.
1293 [UNIX98] (pthread_spin_trylock): Likewise.
1294 [UNIX98] (pthread_spin_unlock): Likewise.
1295 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1297 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1299 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1300 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1301 [XPG3 || XPG4] (pthread_key_t): Likewise.
1302 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1303 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1304 [XPG3 || XPG4] (pthread_once_t): Likewise.
1305 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1306 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1308 [XPG3 || XPG4] (pthread_t): Likewise.
1310 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1312 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1314 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1315 Change function return type to int.
1317 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1318 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1319 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1320 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1321 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1322 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1323 [!POSIX] (posix_madvise): Likewise.
1324 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1326 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1327 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1329 (posix_mem_offset): Likewise.
1330 (posix_typed_mem_get_info): Likewise.
1331 (posix_typed_mem_open): Likewise.
1333 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1334 Change condition to [XOPEN2K8].
1336 * conform/conformtest.pl: Preprocess allow-header data with -x c
1337 instead of from stdin.
1338 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1339 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1340 [C99-based standards] (cerfc): Likewise.
1341 [C99-based standards] (cexp2): Likewise.
1342 [C99-based standards] (cexpm1): Likewise.
1343 [C99-based standards] (clog10): Likewise.
1344 [C99-based standards] (clog1p): Likewise.
1345 [C99-based standards] (clog2): Likewise.
1346 [C99-based standards] (clgamma): Likewise.
1347 [C99-based standards] (ctgamma): Likewise.
1348 [C99-based standards] (cerff): Likewise.
1349 [C99-based standards] (cerfcf): Likewise.
1350 [C99-based standards] (cexp2f): Likewise.
1351 [C99-based standards] (cexpm1f): Likewise.
1352 [C99-based standards] (clog10f): Likewise.
1353 [C99-based standards] (clog1pf): Likewise.
1354 [C99-based standards] (clog2f): Likewise.
1355 [C99-based standards] (clgammaf): Likewise.
1356 [C99-based standards] (ctgammaf): Likewise.
1357 [C99-based standards] (cerfl): Likewise.
1358 [C99-based standards] (cerfcl): Likewise.
1359 [C99-based standards] (cexp2l): Likewise.
1360 [C99-based standards] (cexpm1l): Likewise.
1361 [C99-based standards] (clog10l): Likewise.
1362 [C99-based standards] (clog1pl): Likewise.
1363 [C99-based standards] (clog2l): Likewise.
1364 [C99-based standards] (clgammal): Likewise.
1365 [C99-based standards] (ctgammal): Likewise.
1366 * conform/data/inttypes.h-data [C99-based standards]: Include
1367 stdint.h-data. Remove all expectations for stdint.h contents.
1368 [C99-based standards] (PRI*): Do not allow.
1369 [C99-based standards] (SCN*): Likewise.
1370 [C99-based standards] (*_t): Likewise.
1371 [C99-based-standards] (PRId8): Expect macro.
1372 [C99-based-standards] (PRIi8): Likewise.
1373 [C99-based-standards] (PRIo8): Likewise.
1374 [C99-based-standards] (PRIu8): Likewise.
1375 [C99-based-standards] (PRIx8): Likewise.
1376 [C99-based-standards] (PRIX8): Likewise.
1377 [C99-based-standards] (SCNd8): Likewise.
1378 [C99-based-standards] (SCNi8): Likewise.
1379 [C99-based-standards] (SCNo8): Likewise.
1380 [C99-based-standards] (SCNu8): Likewise.
1381 [C99-based-standards] (SCNx8): Likewise.
1382 [C99-based-standards] (PRIdLEAST8): Likewise.
1383 [C99-based-standards] (PRIiLEAST8): Likewise.
1384 [C99-based-standards] (PRIoLEAST8): Likewise.
1385 [C99-based-standards] (PRIuLEAST8): Likewise.
1386 [C99-based-standards] (PRIxLEAST8): Likewise.
1387 [C99-based-standards] (PRIXLEAST8): Likewise.
1388 [C99-based-standards] (SCNdLEAST8): Likewise.
1389 [C99-based-standards] (SCNiLEAST8): Likewise.
1390 [C99-based-standards] (SCNoLEAST8): Likewise.
1391 [C99-based-standards] (SCNuLEAST8): Likewise.
1392 [C99-based-standards] (SCNxLEAST8): Likewise.
1393 [C99-based-standards] (PRIdFAST8): Likewise.
1394 [C99-based-standards] (PRIiFAST8): Likewise.
1395 [C99-based-standards] (PRIoFAST8): Likewise.
1396 [C99-based-standards] (PRIuFAST8): Likewise.
1397 [C99-based-standards] (PRIxFAST8): Likewise.
1398 [C99-based-standards] (PRIXFAST8): Likewise.
1399 [C99-based-standards] (SCNdFAST8): Likewise.
1400 [C99-based-standards] (SCNiFAST8): Likewise.
1401 [C99-based-standards] (SCNoFAST8): Likewise.
1402 [C99-based-standards] (SCNuFAST8): Likewise.
1403 [C99-based-standards] (SCNxFAST8): Likewise.
1404 [C99-based-standards] (PRId16): Likewise.
1405 [C99-based-standards] (PRIi16): Likewise.
1406 [C99-based-standards] (PRIo16): Likewise.
1407 [C99-based-standards] (PRIu16): Likewise.
1408 [C99-based-standards] (PRIx16): Likewise.
1409 [C99-based-standards] (PRIX16): Likewise.
1410 [C99-based-standards] (SCNd16): Likewise.
1411 [C99-based-standards] (SCNi16): Likewise.
1412 [C99-based-standards] (SCNo16): Likewise.
1413 [C99-based-standards] (SCNu16): Likewise.
1414 [C99-based-standards] (SCNx16): Likewise.
1415 [C99-based-standards] (PRIdLEAST16): Likewise.
1416 [C99-based-standards] (PRIiLEAST16): Likewise.
1417 [C99-based-standards] (PRIoLEAST16): Likewise.
1418 [C99-based-standards] (PRIuLEAST16): Likewise.
1419 [C99-based-standards] (PRIxLEAST16): Likewise.
1420 [C99-based-standards] (PRIXLEAST16): Likewise.
1421 [C99-based-standards] (SCNdLEAST16): Likewise.
1422 [C99-based-standards] (SCNiLEAST16): Likewise.
1423 [C99-based-standards] (SCNoLEAST16): Likewise.
1424 [C99-based-standards] (SCNuLEAST16): Likewise.
1425 [C99-based-standards] (SCNxLEAST16): Likewise.
1426 [C99-based-standards] (PRIdFAST16): Likewise.
1427 [C99-based-standards] (PRIiFAST16): Likewise.
1428 [C99-based-standards] (PRIoFAST16): Likewise.
1429 [C99-based-standards] (PRIuFAST16): Likewise.
1430 [C99-based-standards] (PRIxFAST16): Likewise.
1431 [C99-based-standards] (PRIXFAST16): Likewise.
1432 [C99-based-standards] (SCNdFAST16): Likewise.
1433 [C99-based-standards] (SCNiFAST16): Likewise.
1434 [C99-based-standards] (SCNoFAST16): Likewise.
1435 [C99-based-standards] (SCNuFAST16): Likewise.
1436 [C99-based-standards] (SCNxFAST16): Likewise.
1437 [C99-based-standards] (PRId32): Likewise.
1438 [C99-based-standards] (PRIi32): Likewise.
1439 [C99-based-standards] (PRIo32): Likewise.
1440 [C99-based-standards] (PRIu32): Likewise.
1441 [C99-based-standards] (PRIx32): Likewise.
1442 [C99-based-standards] (PRIX32): Likewise.
1443 [C99-based-standards] (SCNd32): Likewise.
1444 [C99-based-standards] (SCNi32): Likewise.
1445 [C99-based-standards] (SCNo32): Likewise.
1446 [C99-based-standards] (SCNu32): Likewise.
1447 [C99-based-standards] (SCNx32): Likewise.
1448 [C99-based-standards] (PRIdLEAST32): Likewise.
1449 [C99-based-standards] (PRIiLEAST32): Likewise.
1450 [C99-based-standards] (PRIoLEAST32): Likewise.
1451 [C99-based-standards] (PRIuLEAST32): Likewise.
1452 [C99-based-standards] (PRIxLEAST32): Likewise.
1453 [C99-based-standards] (PRIXLEAST32): Likewise.
1454 [C99-based-standards] (SCNdLEAST32): Likewise.
1455 [C99-based-standards] (SCNiLEAST32): Likewise.
1456 [C99-based-standards] (SCNoLEAST32): Likewise.
1457 [C99-based-standards] (SCNuLEAST32): Likewise.
1458 [C99-based-standards] (SCNxLEAST32): Likewise.
1459 [C99-based-standards] (PRIdFAST32): Likewise.
1460 [C99-based-standards] (PRIiFAST32): Likewise.
1461 [C99-based-standards] (PRIoFAST32): Likewise.
1462 [C99-based-standards] (PRIuFAST32): Likewise.
1463 [C99-based-standards] (PRIxFAST32): Likewise.
1464 [C99-based-standards] (PRIXFAST32): Likewise.
1465 [C99-based-standards] (SCNdFAST32): Likewise.
1466 [C99-based-standards] (SCNiFAST32): Likewise.
1467 [C99-based-standards] (SCNoFAST32): Likewise.
1468 [C99-based-standards] (SCNuFAST32): Likewise.
1469 [C99-based-standards] (SCNxFAST32): Likewise.
1470 [C99-based-standards] (PRId64): Likewise.
1471 [C99-based-standards] (PRIi64): Likewise.
1472 [C99-based-standards] (PRIo64): Likewise.
1473 [C99-based-standards] (PRIu64): Likewise.
1474 [C99-based-standards] (PRIx64): Likewise.
1475 [C99-based-standards] (PRIX64): Likewise.
1476 [C99-based-standards] (SCNd64): Likewise.
1477 [C99-based-standards] (SCNi64): Likewise.
1478 [C99-based-standards] (SCNo64): Likewise.
1479 [C99-based-standards] (SCNu64): Likewise.
1480 [C99-based-standards] (SCNx64): Likewise.
1481 [C99-based-standards] (PRIdLEAST64): Likewise.
1482 [C99-based-standards] (PRIiLEAST64): Likewise.
1483 [C99-based-standards] (PRIoLEAST64): Likewise.
1484 [C99-based-standards] (PRIuLEAST64): Likewise.
1485 [C99-based-standards] (PRIxLEAST64): Likewise.
1486 [C99-based-standards] (PRIXLEAST64): Likewise.
1487 [C99-based-standards] (SCNdLEAST64): Likewise.
1488 [C99-based-standards] (SCNiLEAST64): Likewise.
1489 [C99-based-standards] (SCNoLEAST64): Likewise.
1490 [C99-based-standards] (SCNuLEAST64): Likewise.
1491 [C99-based-standards] (SCNxLEAST64): Likewise.
1492 [C99-based-standards] (PRIdFAST64): Likewise.
1493 [C99-based-standards] (PRIiFAST64): Likewise.
1494 [C99-based-standards] (PRIoFAST64): Likewise.
1495 [C99-based-standards] (PRIuFAST64): Likewise.
1496 [C99-based-standards] (PRIxFAST64): Likewise.
1497 [C99-based-standards] (PRIXFAST64): Likewise.
1498 [C99-based-standards] (SCNdFAST64): Likewise.
1499 [C99-based-standards] (SCNiFAST64): Likewise.
1500 [C99-based-standards] (SCNoFAST64): Likewise.
1501 [C99-based-standards] (SCNuFAST64): Likewise.
1502 [C99-based-standards] (SCNxFAST64): Likewise.
1503 [C99-based-standards] (PRIdMAX): Likewise.
1504 [C99-based-standards] (PRIiMAX): Likewise.
1505 [C99-based-standards] (PRIoMAX): Likewise.
1506 [C99-based-standards] (PRIuMAX): Likewise.
1507 [C99-based-standards] (PRIxMAX): Likewise.
1508 [C99-based-standards] (PRIXMAX): Likewise.
1509 [C99-based-standards] (SCNdMAX): Likewise.
1510 [C99-based-standards] (SCNiMAX): Likewise.
1511 [C99-based-standards] (SCNoMAX): Likewise.
1512 [C99-based-standards] (SCNuMAX): Likewise.
1513 [C99-based-standards] (SCNxMAX): Likewise.
1514 [C99-based-standards] (PRIdPTR): Likewise.
1515 [C99-based-standards] (PRIiPTR): Likewise.
1516 [C99-based-standards] (PRIoPTR): Likewise.
1517 [C99-based-standards] (PRIuPTR): Likewise.
1518 [C99-based-standards] (PRIxPTR): Likewise.
1519 [C99-based-standards] (PRIXPTR): Likewise.
1520 [C99-based-standards] (SCNdPTR): Likewise.
1521 [C99-based-standards] (SCNiPTR): Likewise.
1522 [C99-based-standards] (SCNoPTR): Likewise.
1523 [C99-based-standards] (SCNuPTR): Likewise.
1524 [C99-based-standards] (SCNxPTR): Likewise.
1525 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1527 * conform/data/stdint.h-data: Update comments to clarify
1529 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1531 [C99-based standards] (INT8_MAX): Likewise.
1532 [C99-based standards] (INT16_MIN): Likewise.
1533 [C99-based standards] (INT16_MAX): Likewise.
1534 [C99-based standards] (INT32_MIN): Likewise.
1535 [C99-based standards] (INT32_MAX): Likewise.
1536 [C99-based standards] (INT64_MIN): Likewise.
1537 [C99-based standards] (INT64_MAX): Likewise.
1538 [C99-based standards] (UINT8_MAX): Likewise.
1539 [C99-based standards] (UINT16_MAX): Likewise.
1540 [C99-based standards] (UINT32_MAX): Likewise.
1541 [C99-based standards] (UINT64_MAX): Likewise.
1542 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1543 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1544 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1545 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1546 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1547 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1548 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1549 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1550 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1551 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1552 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1553 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1554 [C99-based standards] (INT_FAST8_MIN): Likewise.
1555 [C99-based standards] (INT_FAST8_MAX): Likewise.
1556 [C99-based standards] (INT_FAST16_MIN): Likewise.
1557 [C99-based standards] (INT_FAST16_MAX): Likewise.
1558 [C99-based standards] (INT_FAST32_MIN): Likewise.
1559 [C99-based standards] (INT_FAST32_MAX): Likewise.
1560 [C99-based standards] (INT_FAST64_MIN): Likewise.
1561 [C99-based standards] (INT_FAST64_MAX): Likewise.
1562 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1563 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1564 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1565 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1566 [C99-based standards] (INTPTR_MIN): Likewise.
1567 [C99-based standards] (INTPTR_MAX): Likewise.
1568 [C99-based standards] (UINTPTR_MAX): Likewise.
1569 [C99-based standards] (INTMAX_MIN): Likewise.
1570 [C99-based standards] (INTMAX_MAX): Likewise.
1571 [C99-based standards] (UINTMAX_MAX): Likewise.
1572 [C99-based standards] (PTRDIFF_MIN): Likewise.
1573 [C99-based standards] (PTRDIFF_MAX): Likewise.
1574 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1575 [C99-based standards] (SIZE_MAX): Likewise.
1576 [C99-based standards] (WCHAR_MAX): Likewise.
1577 [C99-based standards] (WINT_MAX): Likewise.
1578 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1579 constraint on value.
1580 [C99-based standards] (WCHAR_MIN): Likewise.
1581 [C99-based standards] (WINT_MIN): Likewise.
1582 [C99-based standards] (*_t): Allow.
1583 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1584 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1585 Include math.h-data and complex.h-data. Remove all expectations
1586 of math.h and complex.h contents.
1587 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1589 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1590 (struct tm): Expect tag.
1591 [C99-based-standards] (wcstof): Expect function.
1592 [C99-based-standards] (wcstold): Likewise.
1593 [C99-based-standards] (wcstoll): Likewise.
1594 [C99-based-standards] (wcstoull): Likewise.
1595 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1596 macro-int-constant. Specify type.
1597 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1598 constraint on value.
1599 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1601 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1603 [ISO C standards]: Do not allow headers.
1604 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1605 wcs[abcdefghijklmnopqrstuvwxyz]*.
1606 [ISO C standards] (*_t): Do not allow.
1607 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1609 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1610 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1612 [ISO C standards]: Do not allow headers.
1613 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1614 is[abcdefghijklmnopqrstuvwxyz]*.
1615 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1616 to[abcdefghijklmnopqrstuvwxyz]*.
1617 [ISO C standards] (*_t): Do not allow.
1618 * conform/data/stdalign.h-data: New file.
1619 * conform/data/stdbool.h-data: Likewise.
1620 * conform/data/stdnoreturn.h-data: Likewise.
1622 2012-11-07 Roland McGrath <roland@hack.frob.com>
1625 * manual/filesys.texi (Directory Entries): Typo fix.
1626 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1628 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1630 * elf/elf.h (EM_AARCH64): New macro.
1631 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1632 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1633 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1634 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1635 (R_AARCH64_TLSDESC): Likewise.
1636 (NT_ARM_TLS): Likewise.
1637 (NT_ARM_HW_BREAK): Likewise.
1638 (NT_ARM_HW_WATCH): Likewise.
1640 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1643 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1644 (__ieee754_powl): Saturate nonzero exponents with absolute value
1645 below 0x1p-79 to +/- 0x1p-79.
1646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1647 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1648 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1649 nonzero exponents with absolute value below 0x1p-32 to +/-
1651 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1652 (__ieee754_powl): Saturate nonzero exponents with absolute value
1653 below 0x1p-79 to +/- 0x1p-79.
1654 * math/libm-test.inc (pow_test): Add more tests.
1656 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1658 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1659 _dl_s390_cap_flags with kernel. Increase string length.
1660 (_dl_s390_platforms): Add z196 and zEC12.
1662 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1664 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1665 Change XOPEN21K to XOPEN2K.
1667 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1669 * string/memmove.c: Use memcpy when possible.
1671 2012-11-06 Andreas Jaeger <aj@suse.de>
1673 * po/eo.po: Update from translation team.
1675 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1679 exponent and small x and y exponents, scale x or y up. Increase
1680 by 2 the exponent used in scaling up.
1681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1683 * math/libm-test.inc (fma_test): Add more tests.
1684 (fma_test_towardzero): Likewise.
1685 (fma_test_downward): Likewise.
1686 (fma_test_upward): Likewise.
1688 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1691 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1695 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1696 namespace for names of struct fields.
1697 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1699 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1700 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1702 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1705 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1707 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1709 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1713 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1716 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1720 definitely overflow as x * y not x * y + z.
1721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1723 * math/libm-test.inc (fma_test): Add more tests.
1724 (fma_test_towardzero): Likewise.
1725 (fma_test_downward): Likewise.
1726 (fma_test_upward): Likewise.
1728 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1732 * include/stub-tag.h: Remove file.
1733 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1735 * manual/maint.texi (Porting): Don't reference it.
1736 * Makerules ($(objpfx)stubs): Likewise.
1737 * dirent/closedir.c: Don't include <stub-tag.h>.
1738 * dirent/dirfd.c: Likewise.
1739 * dirent/fdopendir.c: Likewise.
1740 * dirent/getdents.c: Likewise.
1741 * dirent/getdents64.c: Likewise.
1742 * dirent/opendir.c: Likewise.
1743 * dirent/readdir.c: Likewise.
1744 * dirent/readdir64.c: Likewise.
1745 * dirent/readdir64_r.c: Likewise.
1746 * dirent/readdir_r.c: Likewise.
1747 * dirent/rewinddir.c: Likewise.
1748 * dirent/seekdir.c: Likewise.
1749 * dirent/telldir.c: Likewise.
1750 * gmon/profil.c: Likewise.
1751 * grp/setgroups.c: Likewise.
1752 * inet/if_index.c: Likewise.
1753 * io/access.c: Likewise.
1754 * io/chdir.c: Likewise.
1755 * io/chmod.c: Likewise.
1756 * io/chown.c: Likewise.
1757 * io/close.c: Likewise.
1758 * io/dup.c: Likewise.
1759 * io/dup2.c: Likewise.
1760 * io/dup3.c: Likewise.
1761 * io/euidaccess.c: Likewise.
1762 * io/faccessat.c: Likewise.
1763 * io/fchdir.c: Likewise.
1764 * io/fchmod.c: Likewise.
1765 * io/fchmodat.c: Likewise.
1766 * io/fchown.c: Likewise.
1767 * io/fchownat.c: Likewise.
1768 * io/fcntl.c: Likewise.
1769 * io/flock.c: Likewise.
1770 * io/fstatfs.c: Likewise.
1771 * io/fstatfs64.c: Likewise.
1772 * io/fstatvfs.c: Likewise.
1773 * io/fstatvfs64.c: Likewise.
1774 * io/futimens.c: Likewise.
1775 * io/fxstat.c: Likewise.
1776 * io/fxstat64.c: Likewise.
1777 * io/fxstatat.c: Likewise.
1778 * io/fxstatat64.c: Likewise.
1779 * io/getcwd.c: Likewise.
1780 * io/isatty.c: Likewise.
1781 * io/lchmod.c: Likewise.
1782 * io/lchown.c: Likewise.
1783 * io/link.c: Likewise.
1784 * io/linkat.c: Likewise.
1785 * io/lseek.c: Likewise.
1786 * io/lseek64.c: Likewise.
1787 * io/lxstat64.c: Likewise.
1788 * io/mkdir.c: Likewise.
1789 * io/mkdirat.c: Likewise.
1790 * io/mkfifo.c: Likewise.
1791 * io/mkfifoat.c: Likewise.
1792 * io/open.c: Likewise.
1793 * io/open64.c: Likewise.
1794 * io/openat.c: Likewise.
1795 * io/openat64.c: Likewise.
1796 * io/pipe.c: Likewise.
1797 * io/pipe2.c: Likewise.
1798 * io/poll.c: Likewise.
1799 * io/posix_fadvise.c: Likewise.
1800 * io/posix_fadvise64.c: Likewise.
1801 * io/posix_fallocate.c: Likewise.
1802 * io/posix_fallocate64.c: Likewise.
1803 * io/read.c: Likewise.
1804 * io/readlink.c: Likewise.
1805 * io/readlinkat.c: Likewise.
1806 * io/rmdir.c: Likewise.
1807 * io/sendfile.c: Likewise.
1808 * io/sendfile64.c: Likewise.
1809 * io/statfs.c: Likewise.
1810 * io/statfs64.c: Likewise.
1811 * io/statvfs.c: Likewise.
1812 * io/statvfs64.c: Likewise.
1813 * io/symlink.c: Likewise.
1814 * io/symlinkat.c: Likewise.
1815 * io/ttyname.c: Likewise.
1816 * io/ttyname_r.c: Likewise.
1817 * io/umask.c: Likewise.
1818 * io/unlink.c: Likewise.
1819 * io/unlinkat.c: Likewise.
1820 * io/utime.c: Likewise.
1821 * io/utimensat.c: Likewise.
1822 * io/write.c: Likewise.
1823 * io/xmknod.c: Likewise.
1824 * io/xmknodat.c: Likewise.
1825 * io/xstat.c: Likewise.
1826 * io/xstat64.c: Likewise.
1827 * login/getpt.c: Likewise.
1828 * login/grantpt.c: Likewise.
1829 * login/unlockpt.c: Likewise.
1830 * math/e_acoshl.c: Likewise.
1831 * math/e_acosl.c: Likewise.
1832 * math/e_asinl.c: Likewise.
1833 * math/e_atan2l.c: Likewise.
1834 * math/e_atanhl.c: Likewise.
1835 * math/e_coshl.c: Likewise.
1836 * math/e_expl.c: Likewise.
1837 * math/e_fmodl.c: Likewise.
1838 * math/e_gammal_r.c: Likewise.
1839 * math/e_hypotl.c: Likewise.
1840 * math/e_j0l.c: Likewise.
1841 * math/e_j1l.c: Likewise.
1842 * math/e_jnl.c: Likewise.
1843 * math/e_lgammal_r.c: Likewise.
1844 * math/e_log10l.c: Likewise.
1845 * math/e_log2l.c: Likewise.
1846 * math/e_logl.c: Likewise.
1847 * math/e_powl.c: Likewise.
1848 * math/e_rem_pio2l.c: Likewise.
1849 * math/e_sinhl.c: Likewise.
1850 * math/e_sqrtl.c: Likewise.
1851 * math/fclrexcpt.c: Likewise.
1852 * math/fedisblxcpt.c: Likewise.
1853 * math/feenablxcpt.c: Likewise.
1854 * math/fegetenv.c: Likewise.
1855 * math/fegetexcept.c: Likewise.
1856 * math/fegetround.c: Likewise.
1857 * math/feholdexcpt.c: Likewise.
1858 * math/fesetenv.c: Likewise.
1859 * math/fesetround.c: Likewise.
1860 * math/feupdateenv.c: Likewise.
1861 * math/fgetexcptflg.c: Likewise.
1862 * math/fraiseexcpt.c: Likewise.
1863 * math/fsetexcptflg.c: Likewise.
1864 * math/ftestexcept.c: Likewise.
1865 * math/k_cosl.c: Likewise.
1866 * math/k_rem_pio2l.c: Likewise.
1867 * math/k_sinl.c: Likewise.
1868 * math/k_tanl.c: Likewise.
1869 * math/s_asinhl.c: Likewise.
1870 * math/s_atanl.c: Likewise.
1871 * math/s_cbrtl.c: Likewise.
1872 * math/s_erfl.c: Likewise.
1873 * math/s_expm1l.c: Likewise.
1874 * math/s_log1pl.c: Likewise.
1875 * math/s_tanhl.c: Likewise.
1876 * misc/acct.c: Likewise.
1877 * misc/brk.c: Likewise.
1878 * misc/chflags.c: Likewise.
1879 * misc/chroot.c: Likewise.
1880 * misc/fchflags.c: Likewise.
1881 * misc/fgetxattr.c: Likewise.
1882 * misc/flistxattr.c: Likewise.
1883 * misc/fremovexattr.c: Likewise.
1884 * misc/fsetxattr.c: Likewise.
1885 * misc/fsync.c: Likewise.
1886 * misc/ftruncate.c: Likewise.
1887 * misc/futimes.c: Likewise.
1888 * misc/futimesat.c: Likewise.
1889 * misc/getdomain.c: Likewise.
1890 * misc/getdtsz.c: Likewise.
1891 * misc/gethostid.c: Likewise.
1892 * misc/gethostname.c: Likewise.
1893 * misc/getloadavg.c: Likewise.
1894 * misc/getpagesize.c: Likewise.
1895 * misc/getsysstats.c: Likewise.
1896 * misc/getxattr.c: Likewise.
1897 * misc/gtty.c: Likewise.
1898 * misc/ioctl.c: Likewise.
1899 * misc/lgetxattr.c: Likewise.
1900 * misc/listxattr.c: Likewise.
1901 * misc/llistxattr.c: Likewise.
1902 * misc/lremovexattr.c: Likewise.
1903 * misc/lsetxattr.c: Likewise.
1904 * misc/lutimes.c: Likewise.
1905 * misc/madvise.c: Likewise.
1906 * misc/mincore.c: Likewise.
1907 * misc/mlock.c: Likewise.
1908 * misc/mlockall.c: Likewise.
1909 * misc/mmap.c: Likewise.
1910 * misc/mprotect.c: Likewise.
1911 * misc/msync.c: Likewise.
1912 * misc/munlock.c: Likewise.
1913 * misc/munlockall.c: Likewise.
1914 * misc/munmap.c: Likewise.
1915 * misc/preadv.c: Likewise.
1916 * misc/preadv64.c: Likewise.
1917 * misc/ptrace.c: Likewise.
1918 * misc/pwritev.c: Likewise.
1919 * misc/pwritev64.c: Likewise.
1920 * misc/readv.c: Likewise.
1921 * misc/reboot.c: Likewise.
1922 * misc/remap_file_pages.c: Likewise.
1923 * misc/removexattr.c: Likewise.
1924 * misc/revoke.c: Likewise.
1925 * misc/select.c: Likewise.
1926 * misc/setdomain.c: Likewise.
1927 * misc/setegid.c: Likewise.
1928 * misc/seteuid.c: Likewise.
1929 * misc/sethostid.c: Likewise.
1930 * misc/sethostname.c: Likewise.
1931 * misc/setregid.c: Likewise.
1932 * misc/setreuid.c: Likewise.
1933 * misc/setxattr.c: Likewise.
1934 * misc/sstk.c: Likewise.
1935 * misc/stty.c: Likewise.
1936 * misc/swapoff.c: Likewise.
1937 * misc/swapon.c: Likewise.
1938 * misc/sync.c: Likewise.
1939 * misc/syncfs.c: Likewise.
1940 * misc/syscall.c: Likewise.
1941 * misc/truncate.c: Likewise.
1942 * misc/ualarm.c: Likewise.
1943 * misc/usleep.c: Likewise.
1944 * misc/ustat.c: Likewise.
1945 * misc/utimes.c: Likewise.
1946 * misc/vhangup.c: Likewise.
1947 * misc/writev.c: Likewise.
1948 * posix/_exit.c: Likewise.
1949 * posix/alarm.c: Likewise.
1950 * posix/execve.c: Likewise.
1951 * posix/fexecve.c: Likewise.
1952 * posix/fork.c: Likewise.
1953 * posix/fpathconf.c: Likewise.
1954 * posix/getaddrinfo.c: Likewise.
1955 * posix/getegid.c: Likewise.
1956 * posix/geteuid.c: Likewise.
1957 * posix/getgid.c: Likewise.
1958 * posix/getgroups.c: Likewise.
1959 * posix/getlogin.c: Likewise.
1960 * posix/getlogin_r.c: Likewise.
1961 * posix/getpgid.c: Likewise.
1962 * posix/getpid.c: Likewise.
1963 * posix/getppid.c: Likewise.
1964 * posix/getresgid.c: Likewise.
1965 * posix/getresuid.c: Likewise.
1966 * posix/getsid.c: Likewise.
1967 * posix/getuid.c: Likewise.
1968 * posix/glob64.c: Likewise.
1969 * posix/nanosleep.c: Likewise.
1970 * posix/pathconf.c: Likewise.
1971 * posix/pause.c: Likewise.
1972 * posix/posix_madvise.c: Likewise.
1973 * posix/pread.c: Likewise.
1974 * posix/pread64.c: Likewise.
1975 * posix/pwrite.c: Likewise.
1976 * posix/pwrite64.c: Likewise.
1977 * posix/sched_getaffinity.c: Likewise.
1978 * posix/sched_getp.c: Likewise.
1979 * posix/sched_gets.c: Likewise.
1980 * posix/sched_primax.c: Likewise.
1981 * posix/sched_primin.c: Likewise.
1982 * posix/sched_rr_gi.c: Likewise.
1983 * posix/sched_setaffinity.c: Likewise.
1984 * posix/sched_setp.c: Likewise.
1985 * posix/sched_sets.c: Likewise.
1986 * posix/sched_yield.c: Likewise.
1987 * posix/setgid.c: Likewise.
1988 * posix/setlogin.c: Likewise.
1989 * posix/setpgid.c: Likewise.
1990 * posix/setresgid.c: Likewise.
1991 * posix/setresuid.c: Likewise.
1992 * posix/setsid.c: Likewise.
1993 * posix/setuid.c: Likewise.
1994 * posix/sleep.c: Likewise.
1995 * posix/spawni.c: Likewise.
1996 * posix/sysconf.c: Likewise.
1997 * posix/times.c: Likewise.
1998 * posix/wait.c: Likewise.
1999 * posix/wait3.c: Likewise.
2000 * posix/wait4.c: Likewise.
2001 * posix/waitpid.c: Likewise.
2002 * resolv/gai_sigqueue.c: Likewise.
2003 * resource/getpriority.c: Likewise.
2004 * resource/getrlimit.c: Likewise.
2005 * resource/getrusage.c: Likewise.
2006 * resource/nice.c: Likewise.
2007 * resource/setpriority.c: Likewise.
2008 * resource/setrlimit.c: Likewise.
2009 * resource/ulimit.c: Likewise.
2010 * rt/aio_cancel.c: Likewise.
2011 * rt/aio_fsync.c: Likewise.
2012 * rt/aio_read.c: Likewise.
2013 * rt/aio_sigqueue.c: Likewise.
2014 * rt/aio_suspend.c: Likewise.
2015 * rt/aio_write.c: Likewise.
2016 * rt/clock_getres.c: Likewise.
2017 * rt/clock_gettime.c: Likewise.
2018 * rt/clock_nanosleep.c: Likewise.
2019 * rt/clock_settime.c: Likewise.
2020 * rt/lio_listio.c: Likewise.
2021 * rt/mq_close.c: Likewise.
2022 * rt/mq_getattr.c: Likewise.
2023 * rt/mq_notify.c: Likewise.
2024 * rt/mq_open.c: Likewise.
2025 * rt/mq_receive.c: Likewise.
2026 * rt/mq_send.c: Likewise.
2027 * rt/mq_setattr.c: Likewise.
2028 * rt/mq_timedreceive.c: Likewise.
2029 * rt/mq_timedsend.c: Likewise.
2030 * rt/mq_unlink.c: Likewise.
2031 * rt/shm_open.c: Likewise.
2032 * rt/shm_unlink.c: Likewise.
2033 * rt/timer_create.c: Likewise.
2034 * rt/timer_delete.c: Likewise.
2035 * rt/timer_getoverr.c: Likewise.
2036 * rt/timer_gettime.c: Likewise.
2037 * rt/timer_settime.c: Likewise.
2038 * setjmp/__longjmp.c: Likewise.
2039 * setjmp/setjmp.c: Likewise.
2040 * signal/kill.c: Likewise.
2041 * signal/killpg.c: Likewise.
2042 * signal/raise.c: Likewise.
2043 * signal/sigaction.c: Likewise.
2044 * signal/sigaltstack.c: Likewise.
2045 * signal/sigblock.c: Likewise.
2046 * signal/sigignore.c: Likewise.
2047 * signal/sigintr.c: Likewise.
2048 * signal/signal.c: Likewise.
2049 * signal/sigpause.c: Likewise.
2050 * signal/sigpending.c: Likewise.
2051 * signal/sigqueue.c: Likewise.
2052 * signal/sigreturn.c: Likewise.
2053 * signal/sigset.c: Likewise.
2054 * signal/sigsetmask.c: Likewise.
2055 * signal/sigstack.c: Likewise.
2056 * signal/sigsuspend.c: Likewise.
2057 * signal/sigtimedwait.c: Likewise.
2058 * signal/sigvec.c: Likewise.
2059 * signal/sigwait.c: Likewise.
2060 * signal/sigwaitinfo.c: Likewise.
2061 * signal/sysv_signal.c: Likewise.
2062 * socket/accept.c: Likewise.
2063 * socket/accept4.c: Likewise.
2064 * socket/bind.c: Likewise.
2065 * socket/connect.c: Likewise.
2066 * socket/getpeername.c: Likewise.
2067 * socket/getsockname.c: Likewise.
2068 * socket/getsockopt.c: Likewise.
2069 * socket/isfdtype.c: Likewise.
2070 * socket/listen.c: Likewise.
2071 * socket/recv.c: Likewise.
2072 * socket/recvfrom.c: Likewise.
2073 * socket/recvmsg.c: Likewise.
2074 * socket/send.c: Likewise.
2075 * socket/sendmsg.c: Likewise.
2076 * socket/sendto.c: Likewise.
2077 * socket/setsockopt.c: Likewise.
2078 * socket/shutdown.c: Likewise.
2079 * socket/sockatmark.c: Likewise.
2080 * socket/socket.c: Likewise.
2081 * socket/socketpair.c: Likewise.
2082 * stdio-common/ctermid.c: Likewise.
2083 * stdio-common/cuserid.c: Likewise.
2084 * stdio-common/remove.c: Likewise.
2085 * stdio-common/rename.c: Likewise.
2086 * stdio-common/renameat.c: Likewise.
2087 * stdio-common/tempname.c: Likewise.
2088 * stdlib/getcontext.c: Likewise.
2089 * stdlib/makecontext.c: Likewise.
2090 * stdlib/setcontext.c: Likewise.
2091 * stdlib/swapcontext.c: Likewise.
2092 * stdlib/system.c: Likewise.
2093 * streams/fattach.c: Likewise.
2094 * streams/fdetach.c: Likewise.
2095 * streams/getmsg.c: Likewise.
2096 * streams/getpmsg.c: Likewise.
2097 * streams/putmsg.c: Likewise.
2098 * streams/putpmsg.c: Likewise.
2099 * sysdeps/unix/bsd/getpt.c: Likewise.
2100 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2101 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2102 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2105 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2106 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2107 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2108 * sysvipc/msgctl.c: Likewise.
2109 * sysvipc/msgget.c: Likewise.
2110 * sysvipc/msgrcv.c: Likewise.
2111 * sysvipc/msgsnd.c: Likewise.
2112 * sysvipc/semctl.c: Likewise.
2113 * sysvipc/semget.c: Likewise.
2114 * sysvipc/semop.c: Likewise.
2115 * sysvipc/semtimedop.c: Likewise.
2116 * sysvipc/shmat.c: Likewise.
2117 * sysvipc/shmctl.c: Likewise.
2118 * sysvipc/shmdt.c: Likewise.
2119 * sysvipc/shmget.c: Likewise.
2120 * termios/tcdrain.c: Likewise.
2121 * termios/tcflow.c: Likewise.
2122 * termios/tcflush.c: Likewise.
2123 * termios/tcgetattr.c: Likewise.
2124 * termios/tcgetpgrp.c: Likewise.
2125 * termios/tcsendbrk.c: Likewise.
2126 * termios/tcsetattr.c: Likewise.
2127 * termios/tcsetpgrp.c: Likewise.
2128 * time/adjtime.c: Likewise.
2129 * time/clock.c: Likewise.
2130 * time/getitimer.c: Likewise.
2131 * time/gettimeofday.c: Likewise.
2132 * time/setitimer.c: Likewise.
2133 * time/settimeofday.c: Likewise.
2134 * time/stime.c: Likewise.
2135 * time/time.c: Likewise.
2137 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2139 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2142 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2144 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2146 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2150 FE_TONEAREST before applying Dekker multiplication and Knuth
2151 addition. Clear inexact exceptions and check for exact zero
2153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2156 * math/libm-test.inc (fma_test): Add more tests.
2157 (fma_test_towardzero): Likewise.
2158 (fma_test_downward): Likewise.
2159 (fma_test_upward): Likewise.
2160 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2162 (libc_fesetround): New macro.
2163 (libc_fesetroundf): Likewise.
2164 (libc_fesetroundl): Likewise.
2165 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2167 (libc_fesetround_387): Likewise.
2168 (libc_fesetroundf): New macro.
2169 (libc_fesetround): Likewise.
2170 (libc_fesetroundl): Likewise.
2171 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2173 (libc_fesetroundf): New macro.
2174 (libc_fesetround): Likewise.
2175 (libc_fesetroundl): Likewise.
2176 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2177 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2178 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2180 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2181 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2183 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2184 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2186 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2190 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2191 integer constant usable in #if and use that to give value to enum
2193 (FE_DIVBYZERO): Likewise.
2194 (FE_UNDERFLOW): Likewise.
2195 (FE_OVERFLOW): Likewise.
2196 (FE_INVALID): Likewise.
2197 (FE_INVALID_SNAN): Likewise.
2198 (FE_INVALID_ISI): Likewise.
2199 (FE_INVALID_IDI): Likewise.
2200 (FE_INVALID_ZDZ): Likewise.
2201 (FE_INVALID_IMZ): Likewise.
2202 (FE_INVALID_COMPARE): Likewise.
2203 (FE_INVALID_SOFTWARE): Likewise.
2204 (FE_INVALID_SQRT): Likewise.
2205 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2206 (FE_TONEAREST): Likewise.
2207 (FE_TOWARDZERO): Likewise.
2208 (FE_UPWARD): Likewise.
2209 (FE_DOWNWARD): Likewise.
2210 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2211 (FE_DIVBYZERO): Likewise.
2212 (FE_OVERFLOW): Likewise.
2213 (FE_UNDERFLOW): Likewise.
2214 (FE_INEXACT): Likewise.
2215 (FE_TONEAREST): Likewise.
2216 (FE_DOWNWARD): Likewise.
2217 (FE_UPWARD): Likewise.
2218 (FE_TOWARDZERO): Likewise.
2219 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2220 (FE_UNDERFLOW): Likewise.
2221 (FE_OVERFLOW): Likewise.
2222 (FE_DIVBYZERO): Likewise.
2223 (FE_INVALID): Likewise.
2224 (FE_TONEAREST): Likewise.
2225 (FE_TOWARDZERO): Likewise.
2226 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2227 (FE_OVERFLOW): Likewise.
2228 (FE_UNDERFLOW): Likewise.
2229 (FE_DIVBYZERO): Likewise.
2230 (FE_INEXACT): Likewise.
2231 (FE_TONEAREST): Likewise.
2232 (FE_TOWARDZERO): Likewise.
2233 (FE_UPWARD): Likewise.
2234 (FE_DOWNWARD): Likewise.
2235 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2236 (FE_DIVBYZERO): Likewise.
2237 (FE_OVERFLOW): Likewise.
2238 (FE_UNDERFLOW): Likewise.
2239 (FE_INEXACT): Likewise.
2240 (FE_TONEAREST): Likewise.
2241 (FE_DOWNWARD): Likewise.
2242 (FE_UPWARD): Likewise.
2243 (FE_TOWARDZERO): Likewise.
2245 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2247 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2249 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2251 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2252 commands. Quote $PWD.
2253 (blacklist_exports): Don't use remove_newlines. Replace "declare
2255 (remove_newlines): Remove.
2257 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2259 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2260 * stdlib/stdlib.h (atof): Moved to ...
2261 * include/bits/stdlib-float.h: Here. New file.
2262 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2263 * stdlib/bits/stdlib-float.h: New file.
2264 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2269 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2271 * conform/conformtest.pl (@headers): Add fenv.h.
2272 * conform/data/fenv.h-data: New file.
2273 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2274 include of <math/fenv.h>.
2276 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2277 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2278 && !UNIX98]. Enables tests for XOPEN2K8.
2279 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2280 POSIX2008]: Likewise.
2282 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2283 (struct rusage): Do not expect type or its members.
2286 * math/math.h (FP_NAN): Define macro to integer constant usable in
2287 #if and use that to give value to enum constant.
2288 (FP_INFINITE): Likewise.
2289 (FP_ZERO): Likewise.
2290 (FP_SUBNORMAL): Likewise.
2291 (FP_NORMAL): Likewise.
2293 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2295 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2296 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2299 2012-11-02 Roland McGrath <roland@hack.frob.com>
2301 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2302 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2303 autoconf-time if not.
2304 * configure.in: Remove AC_PREREQ.
2306 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2308 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2309 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2310 of the internal implementation.
2312 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2314 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2315 except include of <misc/sys/syslog.h>.
2317 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2320 function returns with a NULL context exit with zero.
2322 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2324 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2326 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2328 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2329 (run_program_cmd): This.
2330 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2331 (tst_langinfo): New variable. Use it.
2333 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2335 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2336 floating point opcodes.
2338 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2340 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2343 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2345 * sysdeps/mach/hurd/powerpc: Remove directory.
2346 * sysdeps/mach/powerpc: Likewise.
2348 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2350 * scripts/check-local-headers.sh: Ignore c++ headers.
2352 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2354 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2355 __libc_cleanup_region_start argument.
2357 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2362 x * y using scaling, not as x * y + z.
2363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2365 * math/libm-test.inc (fma_test): Add more tests.
2366 (fma_test_towardzero): Likewise.
2367 (fma_test_downward): Likewise.
2368 (fma_test_upward): Likewise.
2370 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2372 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2374 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2376 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2379 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2381 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2383 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2390 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2393 Fix the order of the list for glibc 2.17.
2394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2397 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2401 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2404 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2405 for low part of x being zero before using __atanl (y).
2406 * math/libm-test.inc (atan2_test): Add another test.
2408 * manual/install.texi (Configuring and compiling): Document
2409 general use of test-wrapper and test-wrapper-env.
2410 * INSTALL: Regenerated.
2412 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2413 (__fma): Do not extract and scale down low bits on after-rounding
2414 systems when result rounded to normal precision would have normal
2416 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2417 (__fmal): Do not extract and scale down low bits on after-rounding
2418 systems when result rounded to normal precision would have normal
2420 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2421 (__fmal): Do not extract and scale down low bits on after-rounding
2422 systems when result rounded to normal precision would have normal
2424 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2426 (fma_test): Add more tests.
2427 (fma_test_towardzero): Likewise.
2428 (fma_test_downward): Likewise.
2429 (fma_test_upward): Likewise.
2431 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2433 * sysdeps/i386/tininess.h: Renamed to ...
2434 * sysdeps/x86/tininess.h: This.
2435 * sysdeps/x86_64/tininess.h: Removed.
2437 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2439 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2440 input. Use $(build-program-cmd).
2441 ($(objpfx)tst-array1-static.out): Likewise.
2442 ($(objpfx)tst-array2.out): Likewise.
2443 ($(objpfx)tst-array3.out): Likewise.
2444 ($(objpfx)tst-array4.out): Likewise.
2445 ($(objpfx)tst-array5.out): Likewise.
2446 ($(objpfx)tst-array5-static.out): Likewise.
2448 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2450 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2453 * nss/nsswitch.h (nss_interface_function): Provide new
2454 macro for use with NSS functions.
2455 * grp/initgroups.c: Use new macro.
2456 * nss/getXXbyYY.c: Likewise.
2457 * nss/getXXbyYY_r.c: Likewise.
2458 * nss/getXXent.c: Likewise.
2459 * nss/getXXent_r.c: Likewise.
2460 * sysdeps/posix/getaddrinfo.c: Likewise.
2462 2012-10-30 Andreas Jaeger <aj@suse.de>
2464 * po/ru.po: Update Russion translation from translation project.
2466 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2471 result and shift together with sticky bit instead of replicating
2472 round-to-nearest rounding.
2473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2475 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2476 missing underflow exceptions.
2477 (fma_test_towardzero): Add more tests.
2478 (fma_test_downward): Likewise.
2479 (fma_test_upward): Likewise.
2482 * sysdeps/generic/tininess.h: New file.
2483 * sysdeps/i386/tininess.h: Likewise.
2484 * sysdeps/sh/tininess.h: Likewise.
2485 * sysdeps/x86_64/tininess.h: Likewise.
2486 * stdlib/tst-strtod-underflow.c: Likewise.
2487 * stdlib/tst-tininess.c: Likewise.
2488 * stdlib/strtod_l.c: Include <tininess.h>.
2489 (round_and_return): Do not set errno for exact underflow cases.
2490 Force an underflow exception when setting errno for underflow.
2491 Determine underflow based on rounding to normal precision if
2492 TININESS_AFTER_ROUNDING.
2493 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2494 ERANGE for exact underflow cases.
2495 * stdlib/Makefile (tests): Add tst-tininess and
2496 tst-strtod-underflow.
2497 ($(objpfx)tst-tininess): Use $(link-libm).
2498 ($(objpfx)tst-strtod-underflow): Likewise.
2500 2012-10-30 Andreas Jaeger <aj@suse.de>
2503 * elf/Makefile (tests): Remove conditional for have-initfini-array
2504 since this is now always required and the variable does not exist
2506 (tests-static): Likewise.
2507 (modules-names): Likewise.
2509 * po/eo.po: Add Esperanto translation from translation project.
2511 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2512 merged with constructor/destructor.
2513 (init_array): Likewise.
2514 * elf/tst-array2dep.c (fini_array): Likewise.
2515 (init_array): Likewise.
2517 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2519 * manual/message.texi: Delete @cartouche tags.
2521 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2523 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2525 * sysdeps/mach/hurd/fsync.c: Likewise.
2527 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2528 [_POSIX_REALTIME_SIGNALS]: Change condition to
2529 [_POSIX_REALTIME_SIGNALS > 0].
2531 2012-10-27 Andreas Jaeger <aj@suse.de>
2533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2534 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2536 [__WORDSIZE != 64]: Likewise.
2538 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2540 * iconvdata/tst-table.sh: Remove ${SHELL}.
2541 * iconvdata/tst-tables.sh: Likewise.
2543 2012-10-25 David S. Miller <davem@davemloft.net>
2545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2546 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2552 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2553 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2556 2012-10-25 Roland McGrath <roland@hack.frob.com>
2558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2559 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2562 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2563 Jim Blandy <jimb@codesourcery.com>
2565 * scripts/cross-test-ssh.sh: New file.
2566 * manual/install.texi (Configuring and compiling): Document use of
2568 * INSTALL: Regenerated.
2570 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2572 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2575 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2577 * Makeconfig (run-program-prefix): Fix comment.
2579 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2580 Jim Blandy <jimb@codesourcery.com>
2582 * Makeconfig (test-wrapper): New variable,
2583 (test-wrapper-env): Likewise.
2584 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2585 (run-built-tests): Define to yes.
2586 (run-program-prefix): Use $(test-wrapper).
2587 (built-program-cmd): Likewise.
2588 * Rules (make-test-out): Use $(test-wrapper-env) and
2589 $(host-built-program-cmd).
2590 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2591 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2593 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2594 $(test-wrapper-env) to tst-rtld-load-self.sh.
2595 ($(objpfx)order2.out): Use $(test-wrapper).
2596 ($(objpfx)tst-initorder.out): Likewise.
2597 ($(objpfx)tst-initorder2.out): Likewise.
2598 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2599 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2600 (test_wrapper_env): New variable. Use it to run ld.so.
2601 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2602 Use it to run ld.so.
2603 (test_wrapper_env): Likewise.
2604 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2605 $(test-wrapper) to run-iconv-test.sh.
2606 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2607 (ICONV): Use $test_wrapper.
2608 * posix/Makefile ($(objpfx)globtest.out): Pass
2609 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2610 globtest.sh, not $(run-program-prefix).
2611 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2612 (test_wrapper): Likewise.
2613 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2614 set together with run_via_rtld_prefix.
2615 (run_program_prefix): Define in terms of test_wrapper and
2616 run_via_rtld_prefix.
2618 2012-10-24 Roland McGrath <roland@hack.frob.com>
2620 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2621 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2625 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2626 Declare __clock_getres, __clock_gettime, __clock_settime,
2627 __clock_nanosleep, and __clock_getcpuclockid.
2628 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2629 Remove librt_hidden_def (clock_gettime).
2630 * sysdeps/unix/clock_gettime.c: Likewise.
2631 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2633 * rt/clock_getres.c: Define __clock_getres as an alias.
2634 * sysdeps/posix/clock_getres.c: Likewise.
2635 * rt/clock_settime.c: Define __clock_settime as an alias.
2636 * sysdeps/unix/clock_settime.c: Likewise.
2637 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2638 * sysdeps/unix/clock_nanosleep.c: Likewise.
2639 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2640 * rt/clock-compat.c: New file.
2641 * rt/Makefile (librt-routines): Add clock-compat and move
2642 $(clock-routines) to ...
2643 (routines): ... here, new variable.
2644 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2645 Don't add get_clockfreq here.
2646 * rt/Versions (libc: GLIBC_2.17): New version set.
2647 Add clock_* symbols here.
2648 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2650 (GLIBC_2.17): Add clock_* symbols.
2651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2662 * NEWS: Mention the move.
2664 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2665 Use __open, __read, __close rather than their public counterparts.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2667 (__get_clockfreq_via_cpuinfo): Likewise.
2668 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2669 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2671 * config.h.in (HAVE_IFUNC): New #undef.
2672 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2674 * configure: Regenerated.
2676 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2678 * configure.in: Move READELF check to start of file.
2679 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2680 libc_cv_asm_gnu_indirect_function in the process.
2681 * configure: Regenerated.
2683 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2685 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2686 send the output to /dev/null.
2687 (libc_cv_cc_with_libunwind): Likewise.
2688 (libc_cv_as_noexecstack): Likewise.
2689 * configure: Regenerate.
2691 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2693 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2695 * posix/globtest.sh (TMPDIR): Do not set.
2696 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2697 (testout): Likewise.
2699 2012-10-24 Andreas Jaeger <aj@suse.de>
2701 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2702 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2703 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2704 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2705 posix_fadvise64, posix_fallocate64.
2707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2708 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2709 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2711 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2713 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2716 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2717 <bits/fcntl-linux.h>.
2718 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2721 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2722 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2723 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2724 [__WORDSIZE != 64]: Likewise.
2726 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2728 * Makeconfig (run-built-tests): New variable.
2729 * Rules [$(cross-compiling) = yes]: Change condition to
2730 [$(run-built-tests) = no].
2731 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2732 to [$(run-built-tests) = yes].
2733 * elf/Makefile [$(cross-compiling) = no]: Likewise
2734 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2735 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2736 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2737 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2738 * io/Makefile [$(cross-compiling) = no]: Likewise.
2739 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2740 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2741 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2742 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2743 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2744 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2745 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2746 * string/Makefile [$(cross-compiling) = no]: Likewise.
2748 * posix/Makefile ($(objpfx)globtest.out): Pass
2749 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2750 $(rtld-installed-name).
2751 * posix/globtest.sh (elf_objpfx): Remove variable.
2752 (rtld_installed_name): Likewise.
2753 (library_path): Likewise.
2754 (run_program_prefix): New variable. Use for running globtest
2757 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2758 Joseph Myers <joseph@codesourcery.com>
2760 * Makeconfig (host-built-program-cmd): New variable.
2761 * elf/Makefile (tst-stackguard1-ARGS): Use
2762 $(host-built-program-cmd).
2763 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2764 (tst-spawn-ARGS): Likewise.
2765 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2767 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2768 Jim Blandy <jimb@codesourcery.com>
2770 * Makeconfig (run-via-rtld-prefix): New variable.
2771 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2772 (built-program-cmd): Likewise.
2774 2012-10-22 Andreas Jaeger <aj@suse.de>
2776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2777 __O_RSYNC if it exists, otherwise to O_SYNC.
2779 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2780 Joseph Myers <joseph@codesourcery.com>
2782 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2784 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2786 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2789 2012-10-22 Andreas Jaeger <aj@suse.de>
2791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2799 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2806 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2807 Joseph Myers <joseph@codesourcery.com>
2809 * config.make.in (NM): New variable.
2811 2012-10-21 Andreas Jaeger <aj@suse.de>
2813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2814 definitions and declarations that are provided by
2815 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2817 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2820 * elf/Makefile (tests-static): Add tst-leaks1-static.
2821 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2822 ($(objpfx)tst-leaks1-static): New rule.
2823 ($(objpfx)tst-leaks1-static-mem): Likewise.
2824 (tst-leaks1-static-ENV): New macro.
2825 * elf/dl-open.c (dl_open_worker): Check the main application
2826 only if SHARED is defined.
2827 * elf/tst-leaks1-static.c: New file.
2829 2012-10-20 Andreas Jaeger <aj@suse.de>
2831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2832 generic values for Linux.
2833 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2834 and declarations that are provided by <bits/fcntl-linux.h> and
2835 include <bits/fcntl-linux.h>.
2836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2839 2012-10-20 Roland McGrath <roland@hack.frob.com>
2841 * io/fcntl.h: Move include of <bits/types.h> to the top and
2842 include it unconditionally.
2844 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2846 * wcsmbs/Makefile (tests-ifunc): New variable.
2847 (tests): Add $(tests-ifunc).
2848 * wcsmbs/test-wcschr-ifunc.c: New file.
2849 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2850 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2851 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2852 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2853 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2855 * string/Makefile (tests-ifunc): New variable.
2856 (tests): Add $(tests-ifunc).
2857 * string/test-memccpy.c (TEST_NAME): New macro.
2858 * string/test-memchr.c (TEST_NAME): Likewise.
2859 * string/test-memcmp.c (TEST_NAME): Likewise.
2860 * string/test-memcpy.c (TEST_NAME): Likewise.
2861 * string/test-memmem.c (TEST_NAME): Likewise.
2862 * string/test-memmove.c (TEST_NAME): Likewise.
2863 * string/test-memset.c (TEST_NAME): Likewise.
2864 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2865 * string/test-stpcpy.c (TEST_NAME): Likewise.
2866 * string/test-stpncpy.c (TEST_NAME): Likewise.
2867 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2868 * string/test-strcasestr.c (TEST_NAME): Likewise.
2869 * string/test-strcat.c (TEST_NAME): Likewise.
2870 * string/test-strchr.c (TEST_NAME): Likewise.
2871 * string/test-strcmp.c(TEST_NAME): Likewise.
2872 * string/test-strcpy.c (TEST_NAME): Likewise.
2873 * string/test-strcspn.c (TEST_NAME): Likewise.
2874 * string/test-strlen.c (TEST_NAME): Likewise.
2875 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2876 * string/test-strncmp.c (TEST_NAME): Likewise.
2877 * string/test-strncpy.c (TEST_NAME): Likewise.
2878 * string/test-strnlen.c (TEST_NAME): Likewise.
2879 * string/test-strpbrk.c (TEST_NAME): Likewise.
2880 * string/test-strrchr.c (TEST_NAME): Likewise.
2881 * string/test-strspn.c (TEST_NAME): Likewise.
2882 * string/test-strstr.c (TEST_NAME): Likewise.
2883 * string/test-bcopy-ifunc.c: New file.
2884 * string/test-bzero-ifunc.c: Likewise.
2885 * string/test-memccpy-ifunc.c: Likewise.
2886 * string/test-memchr-ifunc.c: Likewise.
2887 * string/test-memcmp-ifunc.c: Likewise.
2888 * string/test-memcpy-ifunc.c: Likewise.
2889 * string/test-memmem-ifunc.c: Likewise.
2890 * string/test-memmove-ifunc.c: Likewise.
2891 * string/test-mempcpy-ifunc.c: Likewise.
2892 * string/test-memset-ifunc.c: Likewise.
2893 * string/test-rawmemchr-ifunc.c: Likewise.
2894 * string/test-stpcpy-ifunc.c: Likewise.
2895 * string/test-stpncpy-ifunc.c: Likewise.
2896 * string/test-strcasecmp-ifunc.c: Likewise.
2897 * string/test-strcasestr-ifunc.c: Likewise.
2898 * string/test-strcat-ifunc.c: Likewise.
2899 * string/test-strchr-ifunc.c: Likewise.
2900 * string/test-strchrnul-ifunc.c: Likewise.
2901 * string/test-strcmp-ifunc.c: Likewise.
2902 * string/test-strcpy-ifunc.c: Likewise.
2903 * string/test-strcspn-ifunc.c: Likewise.
2904 * string/test-strlen-ifunc.c: Likewise.
2905 * string/test-strncasecmp-ifunc.c: Likewise.
2906 * string/test-strncat-ifunc.c: Likewise.
2907 * string/test-strncmp-ifunc.c: Likewise.
2908 * string/test-strncpy-ifunc.c: Likewise.
2909 * string/test-strnlen-ifunc.c: Likewise.
2910 * string/test-strpbrk-ifunc.c: Likewise.
2911 * string/test-strrchr-ifunc.c: Likewise.
2912 * string/test-strspn-ifunc.c: Likewise.
2913 * string/test-strstr-ifunc.c: Likewise.
2915 * debug/Makefile (tests-ifunc): New variable.
2916 (tests): Add $(tests-ifunc).
2917 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2918 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2919 * debug/test-stpcpy_chk-ifunc.c: New file.
2920 * debug/test-strcpy_chk-ifunc.c: Likewise.
2922 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2925 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2926 header is not read in.
2928 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2930 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2931 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2932 directly. Pass built executable to script as
2933 $(built-program-cmd).
2934 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2935 $testprogram without using LD_LIBRARY_PATH and $ldso.
2937 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2938 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2939 $(rtld-installed-name).
2940 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2941 (rtld_installed_name): Likewise.
2942 (library_path): Likewise.
2943 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2944 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2945 $(run-program-prefix) to tst-tables.sh.
2946 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2947 it to run tst-table-from and tst-table-to.
2948 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2949 Pass it to tst-table.sh.
2950 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2951 $(run-program-prefix) to tst-gettext.sh.
2952 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2954 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2956 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2958 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2959 to run tst-gettext2.
2960 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2961 to run tst-translit.
2962 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2963 $(run-program-prefix) to tst-mtrace.sh.
2964 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2966 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2967 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2968 $(rtld-installed-name).
2969 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2970 (rtld_installed_name): Likewise.
2971 (run_program_prefix): New variable. Use it to run wordexp-test.
2973 * Makeconfig (ARCH): Remove all definitions.
2974 (machine): Likewise.
2975 [ARCH]: Remove conditional code.
2976 [!objdir]: Give error.
2977 [!objdir] (objpfx): Remove.
2978 [!objdir] (common-objpfx): Likewise.
2979 [!objdir] (common-objdir): Likewise.
2980 * configure.in (config_makefile): Remove. Hardcode Makefile in
2981 AC_CONFIG_FILES call.
2982 * configure: Regenerated.
2985 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2987 (testout): Likewise.
2989 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2990 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2991 $(rtld-installed-name).
2992 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2993 (rtld_installed_name): Likwise.
2994 (runit): Remove function.
2995 (run_getconf): New variable, Use it for running getconf binary.
2997 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3000 * string/test-memmem.c (check_result): New function.
3001 (do_one_test): Use it.
3002 (check1): New function.
3003 (test_main): Use it.
3005 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3007 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3009 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3011 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3012 (_G_LSEEK64): Likewise.
3013 (_G_MMAP64): Likewise.
3014 (_G_FSTAT64): Likewise.
3015 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3016 (_G_LSEEK64): Likewise.
3017 (_G_MMAP64): Likewise.
3018 (_G_FSTAT64): Likewise.
3019 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3020 unconditional. Call __mmap64 directly.
3021 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3022 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3024 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3025 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3027 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3028 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3030 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3031 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3033 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3034 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3036 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3037 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3038 __fxstat64 directly.
3039 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3040 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3042 (freopen64) [!_G_OPEN64]: Remove conditional code.
3043 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3045 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3046 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3048 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3049 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3051 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3052 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3054 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3055 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3057 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3058 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3060 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3061 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3063 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3065 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3068 * manual/memory.texi (Malloc Tunable Parameters): Add note
3069 about free list pointers overwriting some perturb bytes.
3070 Wording suggested by Roland McGrath.
3072 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3074 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3075 (lgamma_test): Likewise.
3076 (tgamma_test): Likewise.
3078 2012-10-16 Florian Weimer <fweimer@redhat.com>
3081 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3082 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3084 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3086 * NEWS: Mention BZ #14716.
3087 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3088 when removing AVAILABLE1_USES_J macro.
3090 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3092 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3093 (__bswap_64): __uint64_t for unsigned 64-bit int.
3095 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3097 * include/string.h (memmem): Declare libc hidden alias.
3098 * string/memmem.c (memmem): Define libc hidden alias.
3099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3100 __read, __close instead of open, read, close.
3102 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3105 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3107 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3108 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3109 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3111 (__rawmemchr_sse2): Likewise.
3112 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3113 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3114 (__strchr_sse2): Likewise.
3115 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3116 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3117 (__strcasecmp_sse2): Likewise.
3118 (__strncasecmp_sse2): Likewise.
3119 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3120 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3121 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3122 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3123 (__strrchr_sse2): Likewise.
3124 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3126 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3127 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3128 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3129 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3130 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3131 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3132 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3133 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3134 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3135 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3136 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3137 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3138 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3139 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3140 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3141 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3142 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3143 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3144 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3145 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3146 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3147 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3148 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3149 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3150 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3152 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3153 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3154 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3155 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3159 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3160 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3161 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3162 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3164 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3166 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3167 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3168 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3169 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3171 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3172 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3174 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3175 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3176 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3177 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3178 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3179 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3180 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3181 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3182 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3183 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3184 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3185 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3188 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3189 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3190 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3192 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3193 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3196 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3197 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3198 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3199 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3201 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3202 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3203 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3204 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3205 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3206 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3207 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3208 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3209 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3210 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3211 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3213 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3214 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3215 * include/ifunc-impl-list.h: New file.
3216 * misc/ifunc-impl-list.c: Likewise.
3217 * misc/Makefile (routines): Add ifunc-impl-list.
3218 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3219 * string/test-string.h: Include <ifunc-impl-list.h>.
3220 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3221 impl_array): New variables.
3222 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3224 (test_init): Call __libc_ifunc_impl_list to initialize
3225 func_list if TEST_IFUNC and TEST_NAME are defined.
3227 * string/Makefile (strop-tests): Add bcopy and bzero.
3228 * string/test-bcopy.c: New file.
3229 * string/test-bzero.c: Likewise.
3230 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3232 * string/test-memset.c: Support bzero test if TEST_BZERO is
3234 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3236 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3238 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3241 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3243 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3244 * configure: Regenerated.
3246 * Makeconfig (+link-static-before-libc): Don't include
3247 $(link-static-libc).
3249 * libio/libio.h (_IO_pos_t): Remove.
3251 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3253 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3256 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3258 * crypt/crypt-entry.c: Include fips-private.h.
3259 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3260 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3261 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3262 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3264 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3266 * crypt/crypt-private.h: Include stdbool.h.
3267 (_ufc_setup_salt_r): Return bool.
3268 * crypt/crypt-entry.c: Include errno.h.
3269 (__crypt_r): Return NULL with EINVAL for bad salt.
3270 * crypt/crypt_util.c (bad_for_salt): New.
3271 (_ufc_setup_salt_r): Check that salt is long enough and within
3272 the specified alphabet.
3273 * crypt/badsalttest.c: New file.
3274 * crypt/Makefile (tests): Add it.
3275 ($(objpfx)badsalttest): New.
3277 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3279 * NEWS: Add entry for BZ #14602.
3281 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3283 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3285 * math/libm-test.inc: Update comment listing what functions and
3287 (isgreater_test): New function.
3288 (isgreaterequal_test): Likewise.
3289 (isless_test): Likewise.
3290 (islessequal_test): Likewise.
3291 (islessgreater_test): Likewise.
3292 (isunordered_test): Likewise.
3293 (main): Call the new functions.
3295 2012-10-09 Roland McGrath <roland@hack.frob.com>
3297 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3298 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3299 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3300 * sysdeps/i386/configure: Regenerated.
3301 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3302 * sysdeps/mach/configure: Regenerated.
3303 * sysdeps/mach/hurd/configure: Regenerated.
3304 * sysdeps/powerpc/configure: Regenerated.
3305 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3306 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3307 * sysdeps/s390/s390-32/configure: Regenerated.
3308 * sysdeps/s390/s390-64/configure: Regenerated.
3309 * sysdeps/sh/configure: Regenerated.
3310 * sysdeps/sparc/configure: Regenerated.
3311 * sysdeps/unix/sysv/linux/configure: Regenerated.
3312 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3313 * sysdeps/x86_64/configure: Regenerated.
3315 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3316 defined. Don't check if MAP is NULL.
3318 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3321 (_G_stat64): Likewise.
3322 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3323 (_G_stat64): Likewise.
3324 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3325 instead of struct _G_stat64.
3326 * libio/fileops.c (mmap_remap_check): Likewise.
3327 (decide_maybe_mmap): Likewise.
3328 (_IO_new_file_seekoff): Likewise.
3329 (_IO_file_stat): Likewise.
3330 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3332 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3333 instead of struct _G_stat64.
3334 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3336 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3339 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3341 (CHECK_EOL): New macro.
3342 (two_way_short_needle): Check beginning of haystack for EOL. Use
3344 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3345 Replace with CHECK_EOL.
3346 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3347 Replace with CHECK_EOL.
3349 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3351 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3353 * math/libm-test.inc: Update comment listing what functions and
3355 (finite_test): New function.
3356 (isinf_test): Likewise.
3357 (isnan_test): Likewise.
3358 (fpclassify_test): Test subnormal input.
3359 (isfinite_test): Likewise.
3360 (isnormal_test): Likewise.
3361 (main): Call the new functions.
3363 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3366 * Makerules (%.dynsym): Force C locale when running
3367 $(OBJDUMP) --dynamic-syms.
3369 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3371 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3374 2012-10-06 David S. Miller <davem@davemloft.net>
3376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3377 upper 32-bits of the length value in %o2 since we use branch-on-register
3378 tests which consider the entire 64-bit register.
3380 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3382 * string/test-strstr.c (check2): Add a test for page boundary.
3384 2012-10-05 David S. Miller <davem@davemloft.net>
3386 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3389 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3391 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3392 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3393 and bzero when HWCAP_SPARC_CRYPTO is present.
3395 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3398 * string/test-strstr.c (check2): New function.
3399 (test_main): Call check2.
3401 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3403 * string/bug-strcasestr1.c (do_test): Moved to ...
3404 * string/test-strcasestr.c (check1): Here. New function.
3405 (do_one_test): Break out result checking code into ...
3406 (check_result): This. New function.
3407 (do_one_test): Call check_result.
3408 (test_main): Call check1.
3409 * string/bug-strchr1.c (do_test): Moved to ...
3410 * string/test-strchr.c (check1): Here. New function.
3411 (do_one_test): Break out result checking code into ...
3412 (check_result): This. New function.
3413 (do_one_test): Call check_result.
3414 (test_main): Call check1.
3415 * string/bug-strstr1.c (main): Moved to ...
3416 * string/test-strchr.c (check1): Here. New function.
3417 (do_one_test): Break out result checking code into ...
3418 (check_result): This. New function.
3419 (do_one_test): Call check_result.
3420 (test_main): Call check1.
3421 * string/bug-strcasestr1.c: Removed.
3422 * string/bug-strchr1.c: Likewise.
3423 * string/bug-strstr1.c: Likewise.
3425 * elf/Makefile (dl-routines): Add hwcaps.
3426 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3427 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3428 (_dl_important_hwcaps): Moved to ...
3429 * elf/dl-hwcaps.c: Here. New file.
3430 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3433 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3434 if IS_IN_rtld isn't defined.
3436 * elf/dl-support.c (_dl_sysinfo_map): New.
3437 Include "get-dynamic-info.h" and "setup-vdso.h".
3438 (_dl_non_dynamic_init): Call setup_vdso.
3439 * elf/dynamic-link.h: Don't include <assert.h>.
3440 (elf_get_dynamic_info): Moved to ...
3441 * elf/get-dynamic-info.h: Here. New file.
3442 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3443 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3444 * elf/setup-vdso.h: Here. New file.
3445 * elf/rtld.c: Include "setup-vdso.h".
3446 (dl_main): Call setup_vdso.
3448 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3450 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3451 creal in comment listing functions tested. List finite, isinf,
3452 isnan, isless, islessequal, isgreater, isgreaterequal,
3453 islessgreater, isunordered, lgamma_r and pow10 as functions and
3454 macros not tested. Mention which functions not tested are aliases
3455 for other functions. Fix typo. Note that signs of NaNs are not
3458 * scripts/config.guess: Update from config.git.
3459 * scripts/config.sub: Likewise.
3461 2012-10-04 Roland McGrath <roland@hack.frob.com>
3463 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3464 * misc/madvise.c (madvise): Renamed to __madvise.
3465 Make madvise a weak alias.
3466 * include/sys/mman.h: Declare __madvise.
3467 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3468 * sysdeps/unix/syscalls.list
3469 (madvise): Make __madvise the strong name, and madvise a weak alias.
3470 * sysdeps/unix/sysv/linux/syscalls.list
3471 (madvise, mmap): Remove redundant entries.
3472 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3473 * malloc/malloc.c (mtrim): Likewise.
3474 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3476 2012-10-03 Roland McGrath <roland@hack.frob.com>
3478 * sysdeps/mach/hurd/dl-cache.c: File removed.
3479 * config.h.in (USE_LDCONFIG): New #undef.
3480 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3481 * configure: Regenerated.
3482 * elf/Makefile (dl-routines): Add dl-cache only under
3483 [$(use-ldconfig) = yes].
3484 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3485 cache on [USE_LDCONFIG].
3486 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3488 * elf/rtld.c (dl_main): Likewise.
3490 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3492 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3493 _SC_LEVEL4_CACHE_LINESIZE.
3495 2012-10-03 Roland McGrath <roland@hack.frob.com>
3497 * sysdeps/unix/bsd/confstr.h: File removed.
3499 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3501 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3504 2012-10-02 Roland McGrath <roland@hack.frob.com>
3506 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3507 Make 'mapoff' field ElfW(Off) rather than off_t.
3509 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3511 * nscd/Makefile: Remove nscd-cflags and all its users.
3512 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3513 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3516 * malloc.c (malloc_printerr): Clarify error message.
3518 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3522 Set bit_FMA_Usable if FMA is supported.
3523 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3525 (bit_FMA4_Usable): Updated.
3526 (index_FMA_Usable): New macro.
3527 (CPUID_FMA): Likewise
3528 (HAS_FMA): Defined with bit_FMA_Usable.
3530 2012-10-01 Roland McGrath <roland@hack.frob.com>
3532 * bits/types.h (__swblk_t): Type removed.
3533 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3534 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3536 (__SWBLK_T_TYPE): Likewise.
3537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3538 (__SWBLK_T_TYPE): Likewise.
3539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3540 (__SWBLK_T_TYPE): Likewise.
3541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3542 (__SWBLK_T_TYPE): Likewise.
3544 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3545 Honza Horak <hhorak@redhat.com>
3547 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3548 (xdr_mapname): Use YPMAXMAP as maxsize.
3549 (xdr_peername): Use YPMAXPEER as maxsize.
3550 (xdr_keydat): Use YPAXRECORD as maxsize.
3551 (xdr_valdat): Use YPMAXRECORD as maxsize.
3553 2012-10-01 Roland McGrath <roland@hack.frob.com>
3555 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3557 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3558 * csu/init-first.c: ... here.
3559 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3560 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3561 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3562 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3563 * sysdeps/i386/init-first.c: File removed.
3564 * sysdeps/sh/init-first.c: File removed.
3566 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3570 if x * y might underflow to zero and z is zero.
3571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3573 * math/libm-test.inc (min_subnorm_value): New variable.
3574 (fma_test): Add more tests.
3575 (fma_test_towardzero): Likewise.
3576 (fma_test_downward): Likewise
3577 (fma_test_upward): Likewise.
3578 (initialize): Set min_subnorm_value.
3580 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3586 mode for addition resulting in exact zero.
3587 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3590 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3592 * math/libm-test.inc (fma_test): Add more tests.
3593 (fma_test_towardzero): New function.
3594 (fma_test_downward): Likewise.
3595 (fma_test_upward): Likewise.
3596 (main): Call the new functions.
3598 2012-09-28 David S. Miller <davem@davemloft.net>
3600 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3602 2012-09-28 Roland McGrath <roland@hack.frob.com>
3604 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3607 * sysdeps/gnu/_G_config.h: Moved to ...
3608 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3609 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3610 * sysdeps/generic/_G_config.h: ... here.
3612 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3614 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3616 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3617 Conditionalize target on [libnss_test1.so-version].
3619 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3621 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3622 (elfobjdir): Move out of conditionals.
3624 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3625 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3626 (__nss_lookup_function): Conditionalize label remove_from_tree on
3627 [!DO_STATIC_NSS || SHARED], matching its only use.
3629 2012-09-28 David S. Miller <davem@davemloft.net>
3631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3632 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3634 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3636 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3638 when HWCAP_SPARC_CRYPTO is present.
3640 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3642 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3644 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3647 * stdio-common/vfprintf.c (process_string_arg): Revert
3650 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3652 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3654 * stdio-common/tst-sprintf.c: Include <locale.h>
3655 (main): Test sprintf's handling of incomplete multibyte
3658 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3660 * elf/dl-runtime.c (VERSYMIDX): Removed.
3661 * elf/dl-version.c (VERSYMIDX): Likewise.
3662 * elf/do-rel.h (VERSYMIDX): Likewise.
3664 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3665 * elf/rtld.c (VALIDX): Likewise.
3666 (ADDRIDX): Likewise.
3667 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3668 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3669 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3670 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3672 (ADDRIDX): Likewise.
3674 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3676 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3678 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3681 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3683 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3684 addresses are in the same scope as 192.0.2/24.
3685 * posix/gai.conf: Document new scope table defaults.
3687 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3690 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3691 for ftell. Compute offsets from write pointers instead.
3692 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3694 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3697 * libio/Makefile (tests): New test case tst-fseek.
3698 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3699 combination works in wide mode.
3700 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3701 state when the external buffer state changes.
3703 2012-09-27 David S. Miller <davem@davemloft.net>
3706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3707 pass reloc->r_addend in as the 'high' argument to
3708 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3712 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3714 * rt/tst-aio2.c: Include <pthread.h>.
3715 * rt/tst-aio3.c: Likewise.
3717 2012-09-27 Steve Ellcey <sellcey@mips.com>
3719 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3721 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3723 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3724 contents on [SHARED].
3726 2012-09-26 Marek Polacek <polacek@redhat.com>
3730 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3731 for C++ and GCC <4.3 as well as for non GCC compilers.
3733 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3737 2012-09-25 Roland McGrath <roland@hack.frob.com>
3739 * Makefile.in (all, install): Declare with .PHONY.
3740 Reported by Michael Hope <michael.hope@linaro.org>.
3742 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3744 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3745 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3747 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3749 (sydep_routines): Add the new and the internal functions.
3750 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3751 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3753 (GLIBC_2.17): Add the new function.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3755 (GLIBC_2.17): Likewise.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3757 (GLIBC_2.17): Likewise.
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3759 (GLIBC_2.17): Likewise.
3760 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3762 2012-09-25 Alan Modra <amodra@gmail.com>
3764 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3765 Add release barrier before setting once_control to say
3766 initialisation is done. Add hints on lwarx. Use macro in
3768 (clear_once_control): Add release barrier.
3770 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3773 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3775 * math/s_clog10.c (__clog10): Likewise.
3776 * math/s_clog10f.c (__clog10f): Likewise.
3777 * math/s_clog10l.c (__clog10l): Likewise.
3778 * math/s_clogf.c (__clogf): Likewise.
3779 * math/s_clogl.c (__clogl): Likewise.
3780 * math/Makefile (libm-calls): Add x2y2m1.
3781 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3782 (__x2y2m1): Likewise.
3783 (__x2y2m1l): Likewise.
3784 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3785 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3788 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3789 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3790 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3791 * sysdeps/i386/fpu/libm-test-ulps: Update.
3792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3795 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3796 int as type of variable DEPTH.
3797 (glob): Use size_t instead of int as type of variables NEWCOUNT
3800 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3802 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3805 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3806 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3807 macros for using routine as __sincosf_ia32.
3808 Use macro for function declaration and weak_alias.
3809 * sysdeps/i386/fpu/libm-test-ulps: Update.
3811 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3814 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3816 * math/s_cexpf.c (__cexpf): Likewise.
3817 * math/s_csinf.c (__csinf): Likewise.
3818 * math/s_csinhf.c (__csinhf): Likewise.
3819 * math/s_ctanf.c (__ctanf): Likewise.
3820 * math/s_ctanhf.c (__ctanhf): Likewise.
3821 * math/s_ccosh.c (__ccoshf): Likewise.
3822 * math/s_cexp.c (__cexpl): Likewise.
3823 * math/s_csin.c (__csin): Likewise.
3824 * math/s_csinh.c (__csinh): Likewise.
3825 * math/s_ctan.c (__ctan): Likewise.
3826 * math/s_ctanh.c (ctanh): Likewise.
3827 * math/s_ccoshl.c (__ccoshl): Likewise.
3828 * math/s_cexpl.c (__cexpl): Likewise.
3829 * math/s_csinl.c (__csinl): Likewise.
3830 * math/s_csinhl.c (__csinhl): Likewise.
3831 * math/s_ctanl.c (__ctanl): Likewise.
3832 * math/s_ctanhl.c (__ctanhl): Likewise.
3834 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3836 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3837 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3838 (_IO_off_t): Define to __off_t, not _G_off_t.
3839 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3840 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3841 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3842 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3843 type of __dummy and __dummy2 fields.
3844 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3845 (_G_ssize_t): Likewise.
3846 (_G_off_t): Likewise.
3847 (_G_pid_t): Likewise.
3848 (_G_uid_t): Likewise.
3849 (_G_wchar_t): Likewise.
3850 (_G_wint_t): Likewise.
3851 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3852 (_G_ssize_t): Likewise.
3853 (_G_off_t): Likewise.
3854 (_G_pid_t): Likewise.
3855 (_G_uid_t): Likewise.
3856 (_G_wchar_t): Likewise.
3857 (_G_wint_t): Likewise.
3858 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3859 (_G_ssize_t): Likewise.
3860 (_G_off_t): Likewise.
3861 (_G_pid_t): Likewise.
3862 (_G_uid_t): Likewise.
3863 (_G_wchar_t): Likewise.
3864 (_G_wint_t): Likewise.
3866 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3868 * malloc/arena.c: Include malloc-sysdep.h.
3869 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3870 is sufficient to shrink the heap or an unmap is needed.
3871 * sysdeps/generic/malloc-sysdep.h: New file. Define
3872 new function check_may_shrink_heap.
3873 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3874 new function check_may_shrink_heap.
3876 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3878 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3881 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3883 * catgets/test-gencat.sh: Add "set -e".
3884 * elf/tst-pathopt.sh: Likewise.
3885 * grp/tst_fgetgrent.sh: Likewise.
3886 * iconvdata/run-iconv-test.sh: Likewise.
3887 * intl/tst-gettext.sh: Likewise.
3888 * intl/tst-gettext2.sh: Likewise.
3889 * intl/tst-gettext4.sh: Likewise.
3890 * intl/tst-gettext6.sh: Likewise.
3891 * intl/tst-translit.sh: Likewise.
3892 * io/ftwtest-sh: Likewise.
3893 * libio/test-freopen.sh: Likewise.
3894 * malloc/tst-mtrace.sh: Likewise.
3895 * posix/globtest.sh: Likewise.
3896 * posix/tst-getconf.sh: Likewise.
3897 * posix/wordexp-tst.sh: Likewise.
3898 * stdio-common/tst-printf.sh: Likewise.
3899 * stdio-common/tst-unbputc.sh: Likewise.
3900 * stdlib/tst-fmtmsg.sh: Likewise.
3901 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3902 * catgets/Makefile: Do not specify -e option when running
3903 testsuite shell scripts.
3904 * elf/Makefile: Likewise.
3905 * grp/Makefile: Likewise.
3906 * iconvdata/Makefile: Likewise.
3907 * intl/Makefile: Likewise.
3908 * io/Makefile: Likewise.
3909 * libio/Makefile: Likewise.
3910 * malloc/Makefile: Likewise.
3911 * posix/Makefile: Likewise.
3912 * stdio-common/Makefile: Likewise.
3913 * stdlib/Makefile: Likewise.
3914 * sysdeps/x86_64/Makefile: Likewise.
3916 * io/ftwtest-sh: Add copyright header.
3917 * posix/globtest.sh: Likewise.
3918 * posix/tst-getconf.sh: Likewise.
3919 * posix/wordexp-tst.sh: Likewise.
3920 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3922 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3925 * Makeconfig (+link): Defined as $(+link-static) if
3926 $(build-shared) isn't yes.
3927 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3929 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3931 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3934 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3935 new chunk size with MALLOC_ALIGN_MASK.
3937 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3940 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3942 (__printf_fphex): Determine rounding using get_rounding_mode and
3944 * stdio-common/tst-printf-round.c (struct hex_test): New
3946 (hex_tests): New variable.
3947 (test_hex_in_one_mode): New function.
3948 (do_test): Also run tests for hex float output.
3950 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3952 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3953 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3954 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3955 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3956 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3957 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3958 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3961 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3963 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3964 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3965 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3966 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3968 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3971 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3973 * elf/tst-rtld-load-self.sh: New test.
3974 * elf/Makefile: Run it.
3976 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3978 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3979 (tst-writev-ENV): Remove.
3980 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3982 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3984 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3986 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3988 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3990 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3992 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3993 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3994 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3997 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4000 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4001 * config.make.in (have-cpp-asm-debuginfo): Removed.
4002 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4003 * configure: Regenerated.
4005 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4008 * stdio-common/printf_fp.c: Include <stdbool.h> and
4010 (___printf_fp): Determine rounding using get_rounding_mode and
4012 * stdio-common/tst-printf-round.c: New file.
4013 * stdio-common/Makefile (tests): Add tst-printf-round.
4014 (link-libm): New variable.
4015 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4017 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4020 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4021 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4023 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4026 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4028 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4029 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4030 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4033 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4036 * include/rounding-mode.h: New file.
4037 * sysdeps/generic/get-rounding-mode.h: Likewise.
4038 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4039 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4040 (MAX_VALUE): New macro.
4041 (MIN_VALUE): Likewise.
4042 (overflow_value): New function.
4043 (underflow_value): Likewise.
4044 (round_and_return): Use overflow_value and underflow_value to
4045 determine return values in overflow and underflow cases. Use
4046 round_away to determine rounding depending on rounding mode.
4047 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4048 determine return values in overflow and underflow cases.
4049 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4050 (struct test_results): New structure.
4051 (struct test): Use struct test_results to store expected results
4052 for all rounding modes.
4053 (TEST): Include expected results for all rounding modes.
4054 (test_in_one_mode): New function.
4055 (do_test): Use test_in_one_mode to compute and check results.
4056 Check results for all rounding modes.
4057 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4060 2012-12-09 Allan McRae <allan@archlinux.org>
4062 * sysdeps/i386/fpu/libm-test-ulps: Update
4064 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4066 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4067 (_G_int32_t): Likewise.
4068 (_G_uint16_t): Likewise.
4069 (_G_uint32_t): Likewise.
4070 (_G_HAVE_BOOL): Likewise.
4071 (_G_HAVE_ATEXIT): Likewise.
4072 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4073 (_G_HAVE_IO_FILE_OPEN): Likewise.
4074 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4075 (_G_int32_t): Likewise.
4076 (_G_uint16_t): Likewise.
4077 (_G_uint32_t): Likewise.
4078 (_G_HAVE_BOOL): Likewise.
4079 (_G_HAVE_ATEXIT): Likewise.
4080 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4081 (_G_HAVE_IO_FILE_OPEN): Likewise.
4082 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4083 (_G_int32_t): Likewise.
4084 (_G_uint16_t): Likewise.
4085 (_G_uint32_t): Likewise.
4086 (_G_HAVE_BOOL): Likewise.
4087 (_G_HAVE_ATEXIT): Likewise.
4088 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4089 (_G_HAVE_IO_FILE_OPEN): Likewise.
4091 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4093 * csu/libc-tls.c: Update copyright years.
4095 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4097 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4098 [!_G_USING_THUNKS]: Remove conditional code.
4099 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4100 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4102 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4103 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4104 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4105 (_G_VTABLE_LABEL_PREFIX): Likewise.
4106 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4107 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4108 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4109 (_G_VTABLE_LABEL_PREFIX): Likewise.
4110 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4111 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4112 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4113 (_G_VTABLE_LABEL_PREFIX): Likewise.
4114 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4116 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4118 * libio/Makefile: Include ../Makeconfig before tests.
4119 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4120 only if $(build-shared) is yes.
4122 * iconv/gconv_db.c: Update copyright years.
4124 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4127 unwind info if defined PIC. Fix special cases description.
4128 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4130 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4132 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4134 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4136 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4138 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4141 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4142 (LDLIBS-tst-chk4): This.
4143 (LDFLAGS-tst-chk5): Renamed to ...
4144 (LDLIBS-tst-chk5): This.
4145 (LDFLAGS-tst-chk6): Renamed to ...
4146 (LDLIBS-tst-chk6): This.
4147 (LDFLAGS-tst-lfschk4): Renamed to ...
4148 (LDLIBS-tst-lfschk4): This.
4149 (LDFLAGS-tst-lfschk5): Renamed to ...
4150 (LDLIBS-tst-lfschk5): This.
4151 (LDFLAGS-tst-lfschk6): Renamed to ...
4152 (LDLIBS-tst-lfschk6): This.
4154 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4155 on $(common-objpfx)soversions.mk.
4157 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4160 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4163 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4165 * malloc/arena.c (arena_get_retry): New function that gets
4166 another arena for the caller to try its request on.
4167 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4168 current arena cannot fulfill the request.
4169 (__libc_memalign): Likewise.
4170 (__libc_memalign): Likewise.
4171 (__libc_pvalloc): Likewise.
4172 (__libc_calloc): Likewise.
4174 2012-09-05 John Tobey <john.tobey@gmail.com>
4177 * manual/arith.texi (Operations on Complex): Fix description
4180 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4183 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4187 * manual/memory.texi (Memory): Make order of menu items match
4190 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4192 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4193 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4194 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4196 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4198 * csu/libc-tls.c (static_dtv): Renamed to ...
4199 (_dl_static_dtv): This. Make it global.
4200 (_dl_initial_dtv): Removed.
4201 (__libc_setup_tls): Updated.
4202 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4203 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4206 2012-09-06 Petr Machata <pmachata@redhat.com>
4208 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4209 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4210 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4211 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4213 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4216 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4217 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4220 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4223 * Makeconfig (link-static-before-libc): Replace $(+prector)
4225 (link-static-after-libc): Replace $(+postctor) with
4227 (link-bounded): Replace $(+prector)/$(+postctor) with
4228 $(+prectorT)/$(+postctorT).
4229 (+prectorT): New macro.
4230 (+postctorT): Likewise.
4232 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4234 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4235 (round_str): Handle values above the maximum for IBM long double
4237 * stdlib/tst-strtod-round.c (tests): Regenerated.
4239 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4241 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4243 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4244 zarch_nohighgprs around the zarch optimized routines.
4245 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4246 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4247 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4250 2012-09-05 David S. Miller <davem@davemloft.net>
4252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4254 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4255 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4256 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4257 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4260 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4262 * malloc/arena.c: Fold copyright years.
4263 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4265 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4267 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4269 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4271 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4273 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4275 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4276 change internal state upon failure.
4278 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4280 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4281 * malloc/memusage.c (mmap): Likewise.
4282 (mmap64, mremap): Likewise. Adjust name in comment.
4284 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4286 * libio/fileops.c: Fix typos in comments.
4287 * libio/oldfileops.c: Likewise.
4288 * libio/wfileops.c: Likewise.
4290 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4293 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4294 (tst-malloc-usable-ENV): Set environment for test case.
4295 * malloc/hooks.c (malloc_check_get_size): New function to get
4297 * malloc/malloc.c (musable): Use malloc_check_get_size.
4298 * malloc/tst-malloc-usable.c: New test case.
4300 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4302 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4304 2012-09-05 Allan McRae <allan@archlinux.org>
4307 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4308 determine header location.
4309 * configure: Regenerated.
4311 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4313 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4315 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4316 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4320 2012-09-04 David S. Miller <davem@davemloft.net>
4322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4324 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4326 2012-09-04 Florian Weimer <fweimer@redhat.com>
4328 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4331 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4333 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4336 * libio/iogetdelim.c: Include <limits.h>.
4337 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4338 + len + 1 would overflow.
4340 2012-09-03 Andreas Jaeger <aj@suse.de>
4342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4343 * sysdeps/i386/fpu/libm-test-ulps: Update.
4345 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4347 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4348 Add s_sinf-sse2, s_conf-sse2.
4350 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4351 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4352 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4353 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4355 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4356 for using routine as __sinf_ia32.
4357 Use macro for function declaration and weak_alias.
4358 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4359 for using routine as __cosf_ia32.
4360 Use macro for function declaration and weak_alias.
4362 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4363 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4365 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4366 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4369 * math/libm-test.inc (cos_test): Add more test cases.
4370 (sin_test): Likewise.
4371 (sincos_test): Likewise.
4373 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4376 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4378 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4380 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4383 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4384 first element of the GOT.
4385 (elf_machine_load_address): Return the difference between
4386 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4388 2012-09-01 Allan McRae <allan@archlinux.org>
4391 * configure.in (AWK): Require gawk version 3.0 or later.
4392 * configure: Regenerated.
4394 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/unix/sysv/linux/kernel-features.h
4397 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4399 [__NR_clock_getres]: Make code unconditional.
4400 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4401 (clock_getcpuclockid): Remove code left unreachable by removal of
4403 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4405 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4406 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4407 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4408 Make code unconditional.
4409 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4410 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4411 * sysdeps/unix/sysv/linux/clock_settime.c
4412 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4414 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4415 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4417 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4420 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4421 scripts/test-installation.pl.
4423 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4424 and $ld_so_version if it is set.
4426 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4430 failure if reading from procfs failed.
4431 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4433 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4435 * sysdeps/unix/sysv/linux/kernel-features.h
4436 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4437 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4438 Remove conditional code.
4439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4440 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4441 Remove conditional code.
4442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4443 * sysdeps/unix/sysv/linux/i386/fxstat.c
4444 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4446 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4447 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4449 * sysdeps/unix/sysv/linux/i386/lxstat.c
4450 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4452 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4453 Remove conditional code.
4454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4455 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4456 Remove conditional code.
4457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4458 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4459 <kernel-features.h>.
4460 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4462 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4463 Remove conditional code.
4464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4465 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4468 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4471 * NEWS: Add fixed bug number.
4473 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4476 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4477 underflowing exponent in case of negative sign.
4478 * stdlib/tst-strtod-round-data: Add more tests.
4479 * stdlib/tst-strtod-round.c (tests): Regenerated.
4482 * stdlib/strtod_l.c (NDIG): Remove.
4483 (HEXNDIG): Likewise.
4484 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4485 smallest representable value.
4486 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4487 lie within an exact representation of 1/2 ulp of the result.
4488 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4490 (TENS_P9_IDX): Define unconditionally.
4491 (TENS_P9_SIZE): Likewise.
4492 (TENS_P10_IDX): Likewise.
4493 (TENS_P10_SIZE): Likewise.
4494 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4495 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4496 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4497 entries for 10^2^13 and 10^2^14.
4498 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4499 (TENS_P13_IDX): Define.
4500 (TENS_P13_SIZE): Likewise.
4501 (TENS_P14_IDX): Likewise.
4502 (TENS_P14_SIZE): Likewise.
4503 (_fpioconst_pow10): Change array size to
4504 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4506 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4507 1024]: Add entries for 10^2^13 and 10^2^14.
4508 [LAST_POW10 > _LAST_POW10]: Remove #error.
4509 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4510 (_fpioconst_pow10): Change array size to
4511 FPIOCONST_POW10_ARRAY_SIZE.
4512 * stdlib/gen-fpioconst.c: New file.
4513 * stdlib/gen-tst-strtod-round.c: Likewise.
4514 * stdlib/tst-strtod-round-data: Likewise.
4515 * stdlib/tst-strtod-round.c: Likewise.
4516 * stdlib/Makefile (tests): Add tst-strtod-round.
4519 * stdlib/strtod_l.c: Include <stdint.h>.
4520 (NDEBUG): Do not define.
4521 (round_and_return): Change EXPONENT parameter to type intmax_t.
4522 Rearrange calculations to avoid internal overflow possibilities.
4523 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4524 Rearrange calculations to avoid internal overflow possibilities.
4525 Assert that number fits inside MPNSIZE limbs.
4526 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4527 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4528 calculations and add assertions to avoid internal overflow
4529 possibilities. Add casts to avoid signed/unsigned operations.
4530 * stdlib/tst-strtod-overflow.c: New file.
4531 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4533 2012-08-25 Marek Polacek <polacek@redhat.com>
4535 * time/time.h: Fix some typos in comments.
4537 2012-08-23 Roland McGrath <roland@hack.frob.com>
4539 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4540 * posix/tst-rfc3484-2.c: Likewise.
4541 * posix/tst-rfc3484-3.c: Likewise.
4543 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4545 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4546 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4548 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4550 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4551 #include of fxstatat64.c.
4553 2012-08-22 Roland McGrath <roland@hack.frob.com>
4555 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4556 * shadow/getspent_r.c: Likewise.
4557 * shadow/getspnam.c: Likewise.
4558 * shadow/getspnam_r.c: Likewise.
4559 * gshadow/getsgent.c: Likewise.
4560 * gshadow/getsgent_r.c: Likewise.
4561 * gshadow/getsgnam.c: Likewise.
4562 * gshadow/getsgnam_r.c: Likewise.
4563 * inet/getnetbyad.c: Likewise.
4564 * inet/getnetbyad_r.c: Likewise.
4565 * inet/getnetbynm.c: Likewise.
4566 * inet/getnetbynm_r.c: Likewise.
4567 * inet/getnetent.c: Likewise.
4568 * inet/getnetent_r.c: Likewise.
4569 * inet/getproto.c: Likewise.
4570 * inet/getproto_r.c: Likewise.
4571 * inet/getprtent.c: Likewise.
4572 * inet/getprtent_r.c: Likewise.
4573 * inet/getprtname.c: Likewise.
4574 * inet/getprtname_r.c: Likewise.
4575 * inet/getrpcbyname.c: Likewise.
4576 * inet/getrpcbyname_r.c: Likewise.
4577 * inet/getrpcbynumber.c: Likewise.
4578 * inet/getrpcbynumber_r.c: Likewise.
4579 * inet/getrpcent.c: Likewise.
4580 * inet/getrpcent_r.c: Likewise.
4581 * inet/getaliasent.c: Likewise.
4582 * inet/getaliasent_r.c: Likewise.
4583 * inet/getaliasname.c: Likewise.
4584 * inet/getaliasname_r.c: Likewise.
4585 * nscd/getgrgid_r.c: Likewise.
4586 * nscd/getgrnam_r.c: Likewise.
4587 * nscd/gethstbyad_r.c: Likewise.
4588 * nscd/gethstbynm3_r.c: Likewise.
4589 * nscd/getpwnam_r.c: Likewise.
4590 * nscd/getpwuid_r.c: Likewise.
4591 * nscd/getsrvbynm_r.c: Likewise.
4592 * nscd/getsrvbypt_r.c: Likewise.
4593 * nscd/gai.c: Likewise.
4595 * configure.in (build_nscd): New substituted variable, set
4596 by --disable-build-nscd and defaults to $use_nscd.
4597 * configure: Regenerated.
4598 * config.make.in (build-nscd): New substituted variable.
4599 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4600 Change conditional to require [$(build-nscd) = yes] as well.
4601 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4604 * configure.in (use_nscd): New substituted variable, set by
4605 --disable-nscd. If enabled, define USE_NSCD.
4606 * configure: Regenerated.
4607 * config.h.in: Add USE_NSCD.
4608 * config.make.in (use-nscd): New substituted variable.
4609 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4610 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4611 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4612 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4613 (CFLAGS-getgrnam_r.c): Likewise.
4614 (CFLAGS-initgroups.c): Likewise.
4615 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4616 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4618 * inet/getnetgrent_r.c
4619 (nscd_setnetgrent): New function, broken out of ...
4620 (setnetgrent): ... here. Call it.
4621 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4622 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4623 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4624 * nscd/Makefile (routines, aux): Move definitions after include of
4625 Makeconfig. Conditionalize on [$(use-nscd) != no].
4626 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4627 Conditionalize on [USE_NSCD].
4628 (is_nscd, nscd_init_cb): Likewise.
4629 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4630 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4631 * nss/nss_db/db-init.c: Likewise.
4632 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4634 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4635 (make_request): Use it.
4636 (cache_valid_p): New function.
4637 (__check_pf): Use it.
4638 * NEWS: Add item for --disable-nscd.
4640 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4642 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4643 to support sed >= 4.2.1-20-ga9bf076.
4644 * configure: Regenerated.
4646 2012-08-22 Roland McGrath <roland@hack.frob.com>
4648 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4649 Conditionalize whole body on [IREL].
4651 2012-08-22 Jeff Law <law@redhat.com>
4654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4655 if the family is PF_UNSPEC.
4657 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4659 * Makerules (lib-version): Rename from V.
4660 (install-lib-nosubdir): Change V to lib-version.
4662 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4665 * powerpc32/power6/wcschr.c: New file.
4666 * powerpc32/power6/wcscpy.c: New file.
4667 * powerpc32/power6/wcsrchr.c: New file.
4668 * powerpc64/power6/wcschr.c: New file.
4669 * powerpc64/power6/wcscpy.c: New file.
4670 * powerpc64/power6/wcsrchr.c: New file.
4672 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4674 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4675 (two_way_short_needle): Use it.
4676 * string/strstr.c (AVAILABLE1_USES_J): Define.
4677 * string/strcasestr.c: Likewise.
4679 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4681 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4684 * NEWS: Add an entry.
4685 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4686 define their defaults.
4687 (two_way_short_needle): Detect end-of-string on-the-fly.
4688 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4689 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4690 * string/bug-strcasestr1.c: New test.
4691 * string/Makefile: Run it.
4693 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4696 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4697 the first character.
4699 2012-08-21 Roland McGrath <roland@hack.frob.com>
4701 * csu/elf-init.c (__libc_csu_irel): Function removed.
4702 * csu/libc-start.c (apply_irel): New function.
4703 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4705 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4707 * sysdeps/unix/sysv/linux/kernel-features.h
4708 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4709 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4710 <kernel-features.h>.
4711 [__NR_fadvise64_64]: Make code unconditional.
4712 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4713 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4714 !__NR_fadvise64_64)]: Likewise.
4715 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4716 !__NR_fadvise64_64))]: Likewise.
4717 [__NR_fadvise64]: Make code unconditional.
4718 [!__NR_fadvise64]: Remove conditional code.
4719 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4720 <kernel-features.h>.
4721 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4723 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4726 not include <kernel-features.h>.
4727 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4729 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4731 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4732 include <kernel-features.h>.
4733 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4735 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4738 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4740 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4741 slight instruction rearrangements per scrollpipe analysis.
4742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4744 2012-08-20 Roland McGrath <roland@hack.frob.com>
4746 * manual/syslog.texi (syslog; vsyslog, closelog):
4747 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4748 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4750 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4751 DSOCAPS to match condition on defining it.
4753 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4755 * sysdeps/unix/sysv/linux/kernel-features.h
4756 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4758 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4759 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4761 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4762 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4764 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4765 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4767 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4768 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4770 * sysdeps/unix/sysv/linux/kernel-features.h
4771 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4772 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4774 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4775 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4776 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4777 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4778 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4779 Make code unconditional.
4780 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4781 (__mmap64) [!__NR_mmap2]: Likewise.
4782 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4783 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4784 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4785 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4786 [__NR_mmap2]: Make code unconditional.
4787 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4788 (__mmap64) [!__NR_mmap2]: Likewise.
4790 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4792 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4794 2012-08-18 Andreas Jaeger <aj@suse.de>
4796 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4798 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4800 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4801 * include/unistd.h (__have_sock_cloexec): Likewise.
4802 (__have_pipe2): Likewise.
4803 (__have_dup3): Likewise.
4805 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4808 * include/unistd.h (__have_pipe2): Change define into an extern int.
4809 (__have_dup3): Likewise.
4810 * socket/have_sock_cloexec.c: Include fcntl.h.
4811 (__have_pipe2): New variable.
4812 (__have_dup3): Likewise.
4814 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4816 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4818 2012-08-17 Marek Polacek <polacek@redhat.com>
4820 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4821 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4823 2012-08-17 Roland McGrath <roland@hack.frob.com>
4825 * configure.in: Add AC_SUBST for sysheaders.
4826 * configure: Regenerated.
4827 * config.make.in (sysheaders): New substituted variable.
4829 * sysdeps/unix/mkfifo.c: Moved ...
4830 * sysdeps/posix/mkfifo.c: ... here.
4831 * sysdeps/unix/mkfifoat.c: Moved ...
4832 * sysdeps/posix/mkfifoat.c: ... here.
4834 * sysdeps/unix/utime.c: Moved ...
4835 * sysdeps/posix/utime.c: ... here.
4837 * sysdeps/unix/time.c: Moved ...
4838 * sysdeps/posix/time.c: ... here.
4839 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4840 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4842 * sysdeps/unix/nice.c: Moved ...
4843 * sysdeps/posix/nice.c: ... here.
4845 * sysdeps/unix/alarm.c: Moved ...
4846 * sysdeps/posix/alarm.c: ... here.
4848 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4850 2012-08-17 Jeff Law <law@redhat.com>
4852 * intl/Makefile (codeset_mo): New variable.
4853 ($(codeset_mo)): New target.
4854 (tst-codeset.out): Depend on that. Remove explicit rule.
4855 (tst-gettext3.out, tst-gettext5.out): Likewise.
4856 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4857 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4858 * intl/tst-codeset.sh: Remove.
4859 * intl/tst-gettext3.sh: Likewise.
4860 * intl/tst-gettext5.sh: Likewise.
4862 2012-08-17 Roland McGrath <roland@hack.frob.com>
4864 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4865 * sysdeps/unix/syscalls.list: ... here.
4867 * sysdeps/posix/getaddrinfo.c
4868 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4869 (gaiconf_init, gaiconf_reload): Use them.
4871 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4872 Define using time_t rather than struct timespec.
4874 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4875 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4877 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4879 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4880 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4883 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4884 __libc_cleanup_push argument.
4886 * bits/param.h: New file.
4887 * misc/sys/param.h: New file.
4888 * include/sys/param.h: New file.
4889 * misc/Makefile (headers): Add bits/param.h.
4890 * sysdeps/generic/sys/param.h: File removed.
4891 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4892 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4893 * sysdeps/mach/hurd/bits/param.h: New file.
4894 * sysdeps/mach/hurd/sys/param.h: File removed.
4896 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4899 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4901 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4902 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4905 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4906 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4907 rather than -D_IO_MTSAFE_IO conditionally.
4908 * stdio-common/Makefile (CPPFLAGS): Likewise.
4909 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4910 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4911 Use $(libio-mtsafe).
4912 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4914 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4915 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4916 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4917 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4918 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4919 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4920 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4921 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4922 (CFLAGS-fread_u_chk.c): Likewise.
4923 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4924 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4925 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4926 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4927 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4928 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4929 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4930 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4931 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4933 * libio/Makefile: Test [$(libc-reentrant) = yes]
4934 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4937 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4938 * sysdeps/pthread/configure: File removed.
4939 * sysdeps/pthread/Makeconfig: New file.
4940 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4941 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4943 2012-08-16 Gary Benson <gbenson@redhat.com>
4945 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4946 unmapping the first object in a namespace.
4948 2012-08-16 Roland McGrath <roland@hack.frob.com>
4950 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4951 (__internal_setnetgrent): ... this. Add internal_function to
4952 definition. Add libc_hidden_def.
4953 (setnetgrent): Update caller.
4954 (internal_endnetgrent): Renamed to ...
4955 (__internal_endnetgrent): ... this. Add internal_function to
4956 definition. Add libc_hidden_def.
4957 (endnetgrent): Update caller.
4958 (internal_getnetgrent_r): Renamed to ...
4959 (__internal_getnetgrent_r): ... this. Add internal_function to
4960 definition. Add libc_hidden_def.
4961 (__getnetgrent_r): Update caller.
4962 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4964 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4966 * stdlib/longlong.h: Update from GCC.
4968 2012-08-16 Roland McGrath <roland@hack.frob.com>
4970 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4971 on _QL, which is set by umul_ppmm but never used.
4972 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4973 variables, which are set by GMP macros but never used.
4974 * stdio-common/_itowa.c (_itowa): Likewise.
4975 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4976 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4978 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4980 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4981 struct La_sh_regs is not constant.
4982 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4983 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4984 and struct La_sparc64_regs are not constant.
4986 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4988 * sysdeps/unix/sysv/linux/kernel-features.h
4989 (__ASSUME_POSIX_TIMERS): Remove.
4990 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4991 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4992 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4993 Make code unconditional.
4994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4995 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4996 Make code unconditional.
4997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4999 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5001 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5002 Make code unconditional.
5003 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5004 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5005 (__libc_missing_posix_timers): Remove.
5007 2012-08-15 Roland McGrath <roland@hack.frob.com>
5009 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5010 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5012 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5014 * elf/dl-sym.c: Include <stdlib.h>.
5016 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5017 constants, which avoids warnings in 32-bit builds.
5019 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5020 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5022 * misc/lseek.c: File moved to ...
5023 * io/lseek.c: ... here.
5025 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5027 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5028 shifting LEN more than 31 bits at once.
5030 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5033 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5034 segmentation fault for a case of two empty input strings.
5035 * string/test-strncasecmp.c (check1): Renamed to...
5037 (bz14195): Add new testcase for two empty input strings and N > 0.
5038 (test_main): Call new testcase, adapt for renamed function.
5040 2012-08-15 Andreas Jaeger <aj@suse.de>
5043 * crypt/md5test2.c: New test, based on test supplied by Serge
5044 Belyshev <belyshev@depni.sinp.msu.ru>.
5045 * crypt/Makefile (xtests): Add md5test-giant..
5046 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5048 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5051 * crypt/md5.c (md5_process_block): Don't assume the buffer
5052 length is less than 2**32.
5053 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5054 length is less than 2**64.
5056 2012-08-15 Roland McGrath <roland@hack.frob.com>
5058 * string/str-two-way.h: Include <sys/param.h>.
5059 (MAX): Macro removed.
5061 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5062 Move #define and #undef of memmove to just before and after
5063 including <string.h>.
5065 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5066 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5067 and after including <string.h>. Move declarations of
5068 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5069 to before #include "string/memmove.c".
5071 * include/dirent.h: Declare __getdirentries.
5073 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5074 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5076 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5078 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5079 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5080 * sysdeps/i386/configure: Regenerated.
5081 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5082 STABS_CURRENT_FILE, and STABS_FUN.
5083 (END): Remove call to STABS_FUN_END.
5084 (STABS_CURRENT_FILE1): Delete.
5085 (STABS_CURRENT_FILE): Likewise.
5086 (STABS_FUN): Likewise.
5087 (STABS_FUN_END): Likewise.
5088 (STABS_FUN2): Likewise.
5089 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5090 * sysdeps/x86_64/configure: Regenerated.
5092 2012-08-14 Roland McGrath <roland@hack.frob.com>
5094 * elf/dl-open.c: Include <atomic.h>.
5095 * elf/dl-lookup.c: Likewise.
5097 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/unix/sysv/linux/kernel-features.h
5100 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5101 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5103 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5105 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5106 condition on __ASSUME_CLONE_THREAD_FLAGS.
5108 2012-08-14 Andreas Jaeger <aj@suse.de>
5110 * sysdeps/i386/fpu/libm-test-ulps: Update.
5112 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5114 * include/atomic.h (atomic_exchange_and_add): Split into ...
5115 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5118 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5122 2012-08-13 Jeff Law <law@redhat.com>
5124 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5125 null byte in the output string.
5127 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5129 * sysdeps/unix/sysv/linux/kernel-features.h
5130 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5131 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5132 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5133 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5134 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5135 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5136 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5138 2012-08-09 Jeff Law <law@redhat.com>
5141 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5142 When avoid_arena is set, don't retry in the that arena. Pick the
5143 next one, whatever it might be.
5144 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5145 (arena_lock): Pass in new parameter to arena_get2.
5146 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5148 (__libc_malloc): Unify retrying after main arena failure with
5149 __libc_memalign version.
5150 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5152 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5155 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5156 to __redirect_strstr.
5157 (__strstr_sse42): Use typeof __redirect_strstr.
5158 (__strstr_ia32): Likewise.
5159 (__libc_strstr): New prototype.
5160 (strstr): Renamed to ...
5161 (__libc_strstr): This.
5162 (strstr): New strong alias of __libc_strstr.
5163 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5164 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5167 (__libc_time): New prototype.
5168 (time_ifunc): Replace time with __libc_time.
5169 (time): New strong alias and hidden definition of __libc_time.
5170 (__GI_time): Remove strong alias.
5171 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5173 (memmove): Redefined to __redirect_memmove.
5174 (__memmove_sse2): Use typeof __redirect_memmove.
5175 (__memmove_ssse3): Likewise.
5176 (__memmove_ssse3_back): Likewise.
5177 (__libc_memmove): New prototype.
5178 (memmove): Renamed to ...
5179 (__libc_memmove): This.
5180 (memmove): New strong alias of __libc_memmove.
5182 2012-08-08 Mark Salter <msalter@redhat.com>
5185 (R_MN10300_TLS_GD): Define.
5186 (R_MN10300_TLS_LD): Likewise.
5187 (R_MN10300_TLS_LDO): Likewise.
5188 (R_MN10300_TLS_GOTIE): Likewise.
5189 (R_MN10300_TLS_IE): Likewise.
5190 (R_MN10300_TLS_LE): Likewise.
5191 (R_MN10300_TLS_DTPMOD): Likewise.
5192 (R_MN10300_TLS_DTPOFF): Likewise.
5193 (R_MN10300_TLS_TPOFF): Likewise.
5194 (R_MN10300_SYM_DIFF): Likewise.
5195 (R_MN10300_ALIGN): Likewise.
5196 (R_MN10300_NUM): Update.
5198 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5203 2012-08-08 Roland McGrath <roland@hack.frob.com>
5205 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5207 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5208 sysdeps/unix -> sysdeps/posix move.
5209 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5211 2012-08-07 Allan McRae <allan@archlinux.org>
5214 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5215 (SUNOS_CPP): Likewise.
5216 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5218 (open_input): Call CPP using execvp.
5220 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5222 * sysdeps/unix/sysv/linux/kernel-features.h
5223 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5224 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5225 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5226 (__ASSUME_WAITID_SYSCALL): Likewise.
5227 * sysdeps/unix/sysv/linux/dl-execstack.c
5228 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5230 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5233 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5234 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5236 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5238 [__ASSUME_WAITID_SYSCALL]: Likewise.
5239 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5241 2012-08-07 Roland McGrath <roland@hack.frob.com>
5243 * sysdeps/unix/closedir.c: Renamed to ...
5244 * sysdeps/posix/closedir.c: ... here.
5245 * sysdeps/unix/dirfd.c: Renamed to ...
5246 * sysdeps/posix/dirfd.c: ... here.
5247 * sysdeps/unix/dirstream.h: Renamed to ...
5248 * sysdeps/posix/dirstream.h: ... here.
5249 * sysdeps/unix/fdopendir.c: Renamed to ...
5250 * sysdeps/posix/fdopendir.c: ... here.
5251 * sysdeps/unix/opendir.c: Renamed to ...
5252 * sysdeps/posix/opendir.c: ... here.
5253 * sysdeps/unix/readdir.c: Renamed to ...
5254 * sysdeps/posix/readdir.c: ... here.
5255 * sysdeps/unix/readdir_r.c: Renamed to ...
5256 * sysdeps/posix/readdir_r.c: ... here.
5257 * sysdeps/unix/rewinddir.c: Renamed to ...
5258 * sysdeps/posix/rewinddir.c: ... here.
5259 * sysdeps/unix/seekdir.c: Renamed to ...
5260 * sysdeps/posix/seekdir.c: ... here.
5261 * sysdeps/unix/telldir.c: Renamed to ...
5262 * sysdeps/posix/telldir.c: ... here.
5263 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5264 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5265 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5266 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5268 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5269 * bits/fcntl.h: ... here.
5271 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5273 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5274 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5275 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5276 (struct flock): Move l_start, l_len to the beginning.
5277 Use __pid_t for l_pid.
5278 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5279 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5280 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5281 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5282 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5283 [__USE_LARGEFILE64] (struct flock64): New type.
5284 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5286 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5287 * bits/dirent.h: ... here.
5289 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5290 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5292 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5294 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5295 Change from 2.6.0 to 2.6.16.
5296 * sysdeps/unix/sysv/linux/configure: Regenerated.
5297 * sysdeps/unix/sysv/linux/kernel-features.h
5298 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5299 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5301 (__ASSUME_UTIMES): Likewise.
5302 (__ASSUME_CLONE_STOPPED): Remove.
5303 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5304 architectures, not kernel version.
5305 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5306 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5307 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5308 (__ASSUME_WAITID_SYSCALL): Likewise.
5309 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5310 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5311 * README: State 2.6.16 as minimum Linux kernel version. Do not
5312 refer to older versions.
5314 2012-08-06 Roland McGrath <roland@hack.frob.com>
5316 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5317 Define alphasort64 as an alias.
5318 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5319 Define versionsort64 as an alias.
5320 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5321 Define scandir64 as an alias.
5322 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5323 Define scandirat64 as an alias.
5324 * dirent/alphasort64.c (alphasort64):
5325 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5326 * dirent/versionsort64.c: Likewise.
5327 * dirent/scandir64.c: Likewise.
5328 * dirent/scandirat64.c: Likewise.
5329 * sysdeps/wordsize-64/alphasort.c: File removed.
5330 * sysdeps/wordsize-64/alphasort64.c: File removed.
5331 * sysdeps/wordsize-64/scandir.c: File removed.
5332 * sysdeps/wordsize-64/scandir64.c: File removed.
5333 * sysdeps/wordsize-64/scandirat.c: File removed.
5334 * sysdeps/wordsize-64/scandirat64.c: File removed.
5335 * sysdeps/wordsize-64/versionsort.c: File removed.
5336 * sysdeps/wordsize-64/versionsort64.c: File removed.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5340 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5342 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5346 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5348 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5350 [defined __arch64__ || defined __sparcv9]
5351 (__INO_T_MATCHES_INO64_T): New macro.
5352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5353 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5354 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5355 * sysdeps/unix/sysv/linux/bits/dirent.h
5356 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5357 (_DIRENT_MATCHES_DIRENT64): New macro.
5359 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5360 Define lockf64 as an alias.
5361 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5362 Define fseeko64 as an alias.
5363 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5364 Define ftello64 as an alias.
5365 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5366 Define _IO_fgetpos64 and fgetpos64 as aliases.
5367 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5368 Define _IO_fsetpos64 and fsetpos64 as aliases.
5369 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5370 Conditionalize body on this.
5371 * libio/fseeko64.c: Likewise.
5372 * libio/ftello64.c: Likewise.
5373 * libio/iofgetpos64.c: Likewise.
5374 * libio/iofsetpos64.c: Likewise.
5375 * sysdeps/wordsize-64/lockf.c: File removed.
5376 * sysdeps/wordsize-64/lockf64.c: File removed.
5377 * sysdeps/wordsize-64/fseeko.c: File removed.
5378 * sysdeps/wordsize-64/fseeko64.c: File removed.
5379 * sysdeps/wordsize-64/ftello.c: File removed.
5380 * sysdeps/wordsize-64/ftello64.c: File removed.
5381 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5382 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5383 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5384 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5388 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5390 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5392 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5394 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5396 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5398 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5400 [defined __arch64__ || defined __sparcv9]
5401 (__OFF_T_MATCHES_OFF64_T): New macro.
5402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5403 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5405 (__OFF_T_MATCHES_OFF64_T): New macro.
5407 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5409 * stdlib/secure-getenv.c (__secure_getenv): Replace
5410 GLIBC_2_16 with GLIBC_2_17.
5412 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5415 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5417 2012-08-03 David S. Miller <davem@davemloft.net>
5419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5421 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5425 (__ASSUME_CORRECT_SI_PID): Likewise.
5426 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5427 (__ASSUME_TMPFS_NAME): Likewise.
5428 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5429 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5430 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5431 (HAVE_AUX_SECURE): Make definition unconditional.
5432 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5433 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5435 2012-08-03 Roland McGrath <roland@hack.frob.com>
5437 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5438 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5439 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5441 __eloop_threshold instead of SYMLOOP_MAX.
5443 * sysdeps/generic/eloop-threshold.h: New file.
5444 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5446 * elf/chroot_canon.c (chroot_canon): Likewise.
5448 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5452 Change to 2.6.0 everywhere.
5453 * sysdeps/unix/sysv/linux/configure: Regenerated.
5454 * sysdeps/unix/sysv/linux/kernel-features.h
5455 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5456 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5458 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5459 (__ASSUME_FUTEX_REQUEUE): Remove.
5460 (__ASSUME_STATFS64): Define unconditionally.
5461 (__ASSUME_AT_SECURE): Likewise.
5462 (__ASSUME_CORRECT_SI_PID): Likewise.
5463 (__ASSUME_TGKILL): Define without depending on kernel version for
5465 (__ASSUME_UTIMES): Likewise.
5466 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5468 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5469 (__ASSUME_TMPFS_NAME): Likewise.
5470 * README: Update reference to Linux kernel versions.
5472 2012-08-02 Marek Polacek <polacek@redhat.com>
5475 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5476 libc_cv_asm_type_prefix with %.
5477 * configure: Regenerated.
5478 * include/libc-symbols.h: Remove comment about
5479 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5480 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5481 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5482 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5483 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5484 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5485 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5486 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5487 * elf/tst-unique2mod1.c: Likewise.
5488 * elf/tst-unique1mod2.c: Likewise.
5489 * elf/tst-unique1mod1.c: Likewise.
5490 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5491 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5492 Replace ASM_TYPE_DIRECTIVE with .type.
5493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5494 * sysdeps/i386/sysdep.h: Likewise.
5495 * sysdeps/x86_64/sysdep.h: Likewise.
5496 * sysdeps/sh/sysdep.h: Likewise.
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5498 Do not define ASM_TYPE_DIRECTIVE.
5499 * sysdeps/powerpc/sysdep.h: Likewise.
5500 * sysdeps/powerpc/powerpc32/sysdep.h:
5501 Replace ASM_TYPE_DIRECTIVE with .type.
5502 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5503 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5504 * sysdeps/i386/fpu/e_powf.S: Likewise.
5505 * sysdeps/i386/fpu/e_expl.S: Likewise.
5506 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5508 * sysdeps/i386/fpu/e_pow.S: Likewise.
5509 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5511 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5512 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5513 * sysdeps/i386/fpu/e_log2.S: Likewise.
5514 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5515 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5516 * sysdeps/i386/fpu/e_powl.S: Likewise.
5517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5519 * sysdeps/i386/fpu/e_logl.S: Likewise.
5520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5521 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5522 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5525 * sysdeps/i386/fpu/e_log.S: Likewise.
5526 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5527 * sysdeps/i386/fpu/e_logf.S: Likewise.
5528 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5529 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5531 * sysdeps/i386/fpu/e_log10.S: Likewise.
5532 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5534 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5535 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5536 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5537 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5539 * sysdeps/i386/i686/strtok.S: Likewise.
5540 * sysdeps/i386/i386-mcount.S: Likewise.
5541 * sysdeps/i386/strtok.S: Likewise.
5542 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5543 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5544 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5546 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5547 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5548 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5549 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5550 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5551 * sysdeps/x86_64/_mcount.S: Likewise.
5552 * sysdeps/x86_64/strtok.S: Likewise.
5553 * sysdeps/sh/_mcount.S: Likewise.
5555 2012-08-01 Roland McGrath <roland@hack.frob.com>
5557 * libio/iofopen.c: Include <fcntl.h>.
5558 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5559 (_IO_fopen64, fopen64): Define as aliases.
5560 * libio/iofopen64.c: Include <fcntl.h>.
5561 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5562 Conditionalize body on this.
5563 * sysdeps/wordsize-64/iofopen.c: File removed.
5564 * sysdeps/wordsize-64/iofopen64.c: File removed.
5566 2012-08-01 Marek Polacek <polacek@redhat.com>
5568 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5569 Use dlfcn directly instead of a variable.
5570 (binfmt-subdir): Do not define.
5573 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5575 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5576 Remove all definitions.
5577 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5578 <kernel-features.h>.
5579 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5580 (miss_F_GETOWN_EX): Remove all definitions.
5581 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5583 [!__ASSUME_FCNTL64]: Remove conditional code.
5584 [__ASSUME_FCNTL64]: Make code unconditional.
5585 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5586 <kernel-features.h>.
5587 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5588 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5589 (lockf64) [__NR_fcntl64]: Make code unconditional.
5590 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5592 * sysdeps/unix/sysv/linux/kernel-features.h
5593 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5594 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5595 Make code unconditional.
5596 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5597 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5599 [__NR_vfork]: Make code unconditional.
5600 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5601 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5603 [__NR_vfork]: Make code unconditional.
5604 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5605 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5607 2012-08-01 Roland McGrath <roland@hack.frob.com>
5609 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5610 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5612 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5613 Define mkstemp64 as an alias.
5614 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5615 Define mkstemps64 as an alias.
5616 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5617 Define mkostemp64 as an alias.
5618 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5619 Define mkostemps64 as an alias.
5620 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5621 Conditionalize body on this.
5622 * misc/mkostemp64.c: Likewise.
5623 * misc/mkostemps64.c: Likewise.
5624 * misc/mkstemps64.c: Likewise.
5625 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5626 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5627 * sysdeps/wordsize-64/mkostemp.c: File removed.
5628 * sysdeps/wordsize-64/mkstemp.c: File removed.
5629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5631 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5635 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5636 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5637 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5638 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5640 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5641 compat_symbol macros from <shlib-compat.h> rather than the underlying
5642 default_symbol_version and symbol_version macros, so that DEFAULT
5643 lines in shlib-versions are respected.
5644 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5646 2012-08-01 Florian Weimer <fweimer@redhat.com>
5648 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5649 Declare with warn_unused_result.
5650 (setgid, setregid, setegid, setresgid): Likewise.
5651 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5653 * WUR-REPORT: Remove set*id functions.
5655 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5657 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5659 2012-07-31 Roland McGrath <roland@hack.frob.com>
5661 * include/sys/socket.h (__libc_accept, __libc_accept4):
5662 Add attribute_hidden.
5663 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5665 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5667 * inet/getnetgrent_r.c (setup): Likewise.
5669 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5671 2012-07-31 David S. Miller <davem@davemloft.net>
5673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5675 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5678 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5679 value between 1.0 and 2.0 and smaller part has absolute value less
5681 * math/s_clog10.c (__clog10): Likewise.
5682 * math/s_clog10f.c (__clog10f): Likewise.
5683 * math/s_clog10l.c (__clog10l): Likewise.
5684 * math/s_clogf.c (__clogf): Likewise.
5685 * math/s_clogl.c (__clogl): Likewise.
5686 * math/libm-test.inc (clog_test): Add more tests.
5687 (clog10_test): Likewise.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691 2012-07-31 Florian Weimer <fweimer@redhat.com>
5693 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5694 Exit with zero in case no suitable GID is found, and write a
5695 message to standard error.
5697 2012-07-30 Roland McGrath <roland@hack.frob.com>
5699 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5701 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5702 (MAXPATHLEN): Removed.
5703 (NOGROUP, NODEV): New macros.
5704 (setbit, clrbit, isset, isclr): New macros.
5705 (howmany, roundup, powerof2): New macros.
5706 (DEV_BSIZE): New macro.
5708 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5709 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5711 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5712 definition on [!__NO_LONG_DOUBLE_MATH].
5714 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5715 PTR_MANGLE and PTR_DEMANGLE.
5717 * socket/accept4.c (accept4): Rename to __libc_accept4.
5718 Define accept4 as a weak alias.
5720 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5721 on [_DIRENT_HAVE_D_TYPE].
5722 * io/ftw.c (ftw_dir): Likewise.
5724 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5726 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5728 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5729 Use the BSD numbers rather than the arbitrary ones we had.
5730 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5731 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5732 (SIGXCPU, SIGXFSZ): New macros.
5735 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5736 initializer on [_LIBC_REENTRANT].
5738 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5739 definitions inside [_POSIX_MAPPED_FILES].
5741 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5743 * dirent/opendir.c: Include <fcntl.h>.
5745 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5746 (__libc_getspecific): Likewise.
5747 (__libc_key_create): Likewise.
5749 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5750 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5751 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5752 (tmpfile64): Define as alias.
5753 * sysdeps/wordsize-64/tmpfile.c: File removed.
5754 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5758 * stdio-common/vfscanf.c: Include <stdbool.h>.
5759 * nss/makedb.c: Likewise.
5760 * stdio-common/_i18n_number.h: Likewise.
5761 * argp/argp-help.c: Likewise.
5762 * posix/wordexp.c: Likewise.
5763 * sysdeps/posix/spawni.c: Likewise.
5764 * nss/nss_files/files-initgroups.c: Likewise.
5765 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5766 * nss/nss_files/files-initgroups.c: Likewise.
5767 * nss/nss_db/db-netgrp.c: Likewise.
5768 * nss/nss_db/db-initgroups.c: Likewise.
5769 * io/fchmodat.c: Include <sys/stat.h>.
5771 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5772 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5774 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5777 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5778 Add multiple inclusion protection.
5780 2012-07-27 David S. Miller <davem@davemloft.net>
5782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5784 2012-07-27 Gary Benson <gbenson@redhat.com>
5787 * elf/rtld.c: Include <stap-probe.h>.
5788 (dl_main): Added static probes "init_start" and "init_complete".
5789 * elf/dl-load.c: Include <stap-probe.h>.
5790 (lose): Take new parameter "nsid".
5791 Added static probe "map_failed".
5792 (_dl_map_object_from_fd): Pass namespace id to lose.
5793 Added static probe "map_start".
5794 (open_verify): Pass namespace id to lose.
5795 * elf/dl-open.c: Include <stap-probe.h>.
5796 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5797 and "reloc_complete".
5798 * elf/dl-close.c: Include <stap-probe.h>.
5799 (_dl_close_worker): Added static probes "unmap_start" and
5801 * elf/rtld-debugger-interface.txt: New file documenting the above.
5803 2012-07-26 Roland McGrath <roland@hack.frob.com>
5805 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5806 rather than a string variable.
5807 * sunrpc/rpc_main.c (h_output): Likewise.
5808 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5810 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5812 * inet/check_native.c: New file.
5814 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5817 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5818 if larger part has absolute value 1.0.
5819 * math/s_clog10.c (__clog10): Likewise.
5820 * math/s_clog10f.c (__clog10f): Likewise.
5821 * math/s_clog10l.c (__clog10l): Likewise.
5822 * math/s_clogf.c (__clogf): Likewise.
5823 * math/s_clogl.c (__clogl): Likewise.
5824 * math/libm-test.inc (clog_test): Add more tests.
5825 (clog10_test): Likewise.
5826 * sysdeps/i386/fpu/libm-test-ulps: Update.
5827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5829 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5830 (pltexit): Likewise.
5831 (La_regs): Likewise.
5832 (La_retval): Likewise.
5833 (int_retval): Likewise.
5834 Update #error for removed macros to refer only to definitions in
5836 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5838 (pltexit): Likewise.
5839 (La_regs): Likewise.
5840 (La_retval): Likewise.
5841 (int_retval): Likewise.
5842 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5844 (pltexit): Likewise.
5845 (La_regs): Likewise.
5846 (La_retval): Likewise.
5847 (int_retval): Likewise.
5848 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5850 (pltexit): Likewise.
5851 (La_regs): Likewise.
5852 (La_retval): Likewise.
5853 (int_retval): Likewise.
5854 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5856 (pltexit): Likewise.
5857 (La_regs): Likewise.
5858 (La_retval): Likewise.
5859 (int_retval): Likewise.
5860 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5862 (pltexit): Likewise.
5863 (La_regs): Likewise.
5864 (La_retval): Likewise.
5865 (int_retval): Likewise.
5866 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5868 (pltexit): Likewise.
5869 (La_regs): Likewise.
5870 (La_retval): Likewise.
5871 (int_retval): Likewise.
5872 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5873 macro definitions in tst-audit.h.
5874 * sysdeps/i386/tst-audit.h: New file.
5875 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5876 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5877 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5878 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5879 * sysdeps/sh/tst-audit.h: Likewise.
5880 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5881 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5882 * sysdeps/x86_64/tst-audit.h: Likewise.
5884 2012-07-26 Andreas Jaeger <aj@suse.de>
5886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5889 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5890 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5891 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5893 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5895 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5897 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5900 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5902 (si_call_addr, si_syscall, si_arch): Define new macro.
5903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5905 (si_call_addr, si_syscall, si_arch): Define new marcro.
5906 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5908 (si_call_addr, si_syscall, si_arch): Define new macro.
5909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5911 (si_call_addr, si_syscall, si_arch): Define new macro.
5913 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5917 Change to 2.4.21 where previously 2.4.1.
5918 * sysdeps/unix/sysv/linux/configure: Regenerated.
5919 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5920 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5921 Linux kernel version.
5922 (__ASSUME_STD_AUXV): Remove.
5923 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5925 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5926 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5927 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5928 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5929 (__ASSUME_NETLINK_SUPPORT): Likewise.
5930 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5931 (__no_netlink_support): Remove conditional definition.
5932 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5934 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5935 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5936 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5937 (if_nameindex_ioctl): Remove.
5938 (if_nameindex_netlink): Do not handle __no_netlink_support.
5939 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5941 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5942 Remove conditional code.
5943 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5945 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5947 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5948 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5949 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5951 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5952 [!__ASSUME_STD_AUXV]: Remove conditional code.
5953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5954 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5955 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5957 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5958 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5960 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5962 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5963 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5965 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5967 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5970 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5973 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5975 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5977 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5979 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5982 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5984 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5987 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5989 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5991 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5993 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5996 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5998 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6000 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6002 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6005 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6007 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6008 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6009 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6010 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6011 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6012 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6013 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6014 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6015 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6016 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6017 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6018 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6019 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6020 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6022 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6023 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6024 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6027 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6028 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6029 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6031 2012-07-25 Florian Weimer <fweimer@redhat.com>
6033 * Versions.def: Add GLIBC_2.17.
6034 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6035 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6036 Introduce __libc_secure_getenv.
6037 * stdlib/Versions (2.17): Add secure_getenv
6038 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6039 * stdlib/secure-getenv.c: Rename __secure_getenv to
6040 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6041 symbol __secure_getenv for GLIBC_2.0.
6042 * stdlib/tst-secure-getenv.c: New.
6043 * stdlib/Makefile (tests): Add testcase.
6044 * manual/startup.texi (Environment Access): Document
6046 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6047 __libc_secure_getenv.
6048 * inet/ruserpass.c (ruserpass): Likewise.
6049 * malloc/mtrace.c (mtrace): Likewise.
6050 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6051 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6052 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6053 * sysdeps/posix/tempname.c: Likewise. Evaluate
6055 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6056 __secure_getenv to __libc_secure_getenv.
6057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6070 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6072 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6073 (struct La_i86_retval): Likewise.
6074 (struct La_x86_64_regs): Likewise.
6075 (struct La_x86_64_retval): Likewise.
6076 (struct La_x32_regs): Likewise.
6077 (struct La_x32_retval): Likewise.
6078 (struct La_ppc32_regs): Likewise.
6079 (struct La_ppc32_retval): Likewise.
6080 (struct La_ppc64_regs): Likewise.
6081 (struct La_ppc64_retval): Likewise.
6082 (struct La_sh_regs): Likewise.
6083 (struct La_sh_retval): Likewise.
6084 (struct La_s390_32_regs): Likewise.
6085 (struct La_s390_32_retval): Likewise.
6086 (struct La_s390_64_regs): Likewise.
6087 (struct La_s390_64_retval): Likewise.
6088 (struct La_sparc32_regs): Likewise.
6089 (struct La_sparc32_retval): Likewise.
6090 (struct La_sparc64_regs): Likewise.
6091 (struct La_sparc64_retval): Likewise.
6092 (struct audit_ifaces): Remove architecture-specific pltenter and
6094 * sysdeps/i386/ldsodefs.h: New file.
6095 * sysdeps/powerpc/ldsodefs.h: Likewise.
6096 * sysdeps/s390/ldsodefs.h: Likewise.
6097 * sysdeps/sh/ldsodefs.h: Likewise.
6098 * sysdeps/sparc/ldsodefs.h: Likewise.
6099 * sysdeps/x86_64/ldsodefs.h: Likewise.
6101 2012-07-25 Marek Polacek <polacek@redhat.com>
6104 * math/libm-test.inc (yn_test): Add another test.
6105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6106 to ERANGE when the result is +-Inf.
6107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6108 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6109 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6110 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6112 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6114 * conform/data/time.h-data (NULL): Use macro-constant. Require
6116 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6118 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6120 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6122 * configure.in <sysdeps resolving>: Correct printing
6124 * configure: Regenerate.
6126 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6128 * math/w_ilogb.c: Include <limits.h>.
6129 * math/w_ilogbl.c: Likewise.
6131 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6133 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6134 va_copy. Document allowing for unavailable va_copy only as
6135 pre-C99 compatibility.
6136 * manual/string.texi (Copying and Concatenation): Use va_copy
6137 instead of __va_copy in concat example.
6139 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6141 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6142 (__sendto): Use create_address_port. Initialize APORT and deallocate
6145 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6146 with O_NOLINK passed to __file_name_lookup.
6148 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6149 with O_NOLINK passed to __file_name_lookup.
6151 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6152 negative N or less than NGIDS.
6154 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6155 type to string_t. Set ERANGE as errno and return it if NAME is not big
6156 enough. Use memcpy instead of strncpy.
6158 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6160 * elf/Makefile (check-data): Remove.
6161 (localplt.data): New vpath directive.
6162 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6163 instead of $(check-data).
6164 * scripts/data/localplt-generic.data: Move to ...
6165 * sysdeps/generic/localplt.data: ... here.
6166 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6167 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6168 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6171 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6174 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6177 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6180 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6183 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6187 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6190 PPC32 and PPC64 files.
6191 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6192 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6194 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6196 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6197 __makecontext_ret to ...
6198 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6199 ... here and call exit if uc_link is NULL. New file.
6200 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6201 __makecontext_ret.S.
6202 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6203 __makecontext_ret to ...
6204 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6205 ... here and call exit if uc_link is NULL. New file.
6206 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6207 __makecontext_ret.S.
6209 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6211 * elf/elf.h (R_390_IRELATIVE): New definition.
6212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6213 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6214 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6215 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6216 (elf_machine_lazy_rel): Likewise.
6217 * sysdeps/s390/dl-irel.h: New file.
6218 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6219 * sysdeps/s390/s390-64/memset.S: New asm code.
6220 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6221 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6222 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6223 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6224 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6225 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6227 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6228 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6229 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6230 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6231 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6232 * sysdeps/s390/s390-32/memset.S: New asm code.
6233 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6235 2012-07-17 Marek Polacek <polacek@redhat.com>
6238 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6239 * sysdeps/s390/s390-64/configure.in: Likewise.
6240 * sysdeps/sparc/configure.in: Likewise.
6241 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6242 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6243 * sysdeps/i386/configure.in: Likewise.
6244 * sysdeps/x86_64/configure.in: Likewise.
6245 * sysdeps/sh/configure.in: Likewise.
6246 * sysdeps/s390/s390-32/configure: Regenerated.
6247 * sysdeps/s390/s390-64/configure: Likewise.
6248 * sysdeps/x86_64/configure: Likewise.
6249 * sysdeps/sh/configure: Likewise.
6250 * sysdeps/powerpc/powerpc64/configure: Likewise.
6251 * sysdeps/powerpc/powerpc32/configure: Likewise.
6252 * sysdeps/sparc/configure: Likwise.
6253 * sysdeps/i386/configure: Likewise.
6255 * elf/dl-open.c: Comment fixes.
6257 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6259 * Makefile [CXX] (check-data): Remove.
6260 [CXX] (c++-types.data): New vpath directive.
6261 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6262 vpath. Do not allow for C++ type data being missing.
6263 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6264 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6265 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6266 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6267 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6268 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6269 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6272 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6275 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6278 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6281 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6284 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6287 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6290 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6293 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6294 definitions to architecture-specific files.
6298 * sysdeps/i386/tls-macros.h: New file.
6299 * sysdeps/powerpc/tls-macros.h: Likewise.
6300 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6301 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6302 * sysdeps/sh/tls-macros.h: Likewise.
6303 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6304 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6305 * sysdeps/x86_64/tls-macros.h: Likewise.
6307 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6309 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6310 zero value for regular exit case.
6312 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6313 (__start_context): Preserve zero value for regular exit case.
6315 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6316 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6318 * manual/setjmp.texi (setcontext): Clarify normal process
6319 termination when uc_link is the null pointer.
6320 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6323 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6325 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6326 preprocessor. Test for each exception mask separately.
6328 2012-07-16 Andreas Jaeger <aj@suse.de>
6330 * po/ru.po: Update from translation team.
6332 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6334 * conform/data/string.h-data (NULL): Use macro-constant. Require
6336 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6337 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6338 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6339 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6342 2012-07-13 Andreas Jaeger <aj@suse.de>
6344 * po/fr.po: Update from translation team.
6346 2012-07-12 Marek Polacek <polacek@redhat.com>
6349 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6353 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6357 Change to 2.4.1 where previously 2.4.0.
6358 * sysdeps/unix/sysv/linux/configure: Regenerated.
6359 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6360 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6362 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6363 (__ASSUME_AT_CLKTCK): Remove.
6364 (__ASSUME_AT_PAGESIZE): Likewise.
6365 (__ASSUME_AT_XID): Likewise.
6366 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6367 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6368 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6370 (HAVE_AUX_PAGESIZE): Likewise.
6371 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6372 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6373 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6375 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6379 the temporary buffer used to invoke __gethostbyname2_r,
6380 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6381 host_data / struct gaih_addrtuple.
6382 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6383 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6384 header file nss/nsswitch.h.
6385 * nss/nsswitch.h (global scope): Add definition of implementation
6386 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6387 resolv/nss_dns/dns-host.c).
6389 2012-07-11 Andreas Jaeger <aj@suse.de>
6391 * po/fr.po: Update from translation team.
6393 * po/sv.po: Update from translation team
6394 * po/fr.po: Another update from translation team.
6396 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6399 for subnormals or multiply small sinh result by itself.
6400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6403 2012-07-11 David S. Miller <davem@davemloft.net>
6405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6407 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6410 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6411 (INTERNAL_MARK): Shift it here.
6413 2012-07-10 Marek Polacek <polacek@redhat.com>
6416 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6417 libc_cv_asm_global_directive with .globl.
6418 * configure: Regenerated.
6419 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6421 * sysdeps/i386/configure: Regenerated.
6422 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6424 * sysdeps/x86_64/configure: Regenerated.
6425 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6426 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6427 * elf/tst-unique2mod2.c: Likewise.
6428 * elf/tst-unique2mod1.c: Likewise.
6429 * elf/tst-unique1mod2.c: Likewise.
6430 * elf/tst-unique1mod1.c: Likewise.
6431 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6432 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6435 * sysdeps/mach/sysdep.h: Likewise.
6436 * sysdeps/i386/sysdep.h: Likewise.
6437 * sysdeps/i386/i386-mcount.S: Likewise.
6438 * sysdeps/x86_64/_mcount.S: Likewise.
6439 * sysdeps/x86_64/sysdep.h: Likewise.
6440 * sysdeps/sh/_mcount.S: Likewise.
6441 * sysdeps/sh/sysdep.h: Likewise.
6442 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6443 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6444 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6445 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6446 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6447 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6448 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6449 * locale/localeinfo.h: Likewise.
6450 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6451 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6453 2012-07-09 Roland McGrath <roland@hack.frob.com>
6456 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6458 * manual/message.texi (The Uniforum approach): Likewise.
6459 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6460 (glibc iconv Implementation): Likewise.
6462 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6465 * math/s_clog.c (__clog): Avoid scaling a value down where that
6466 could result in underflow.
6467 * math/s_clog10.c (__clog10): Likewise.
6468 * math/s_clog10f.c (__clog10f): Likewise.
6469 * math/s_clog10l.c (__clog10l): Likewise.
6470 * math/s_clogf.c (__clogf): Likewise.
6471 * math/s_clogl.c (__clogl): Likewise.
6472 * math/libm-test.inc (clog_test): Add more tests.
6473 (clog10_test): Likewise.
6474 * sysdeps/i386/fpu/libm-test-ulps: Update.
6475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6477 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6480 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6481 by 7 not 8 to examine high bit of fractional part.
6484 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6485 for call to __mcount_internal.
6486 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6487 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6488 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6490 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6494 approximation for values within 0x1p-13f of an odd multiple of
6496 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6497 exception. Add more tests.
6498 * sysdeps/i386/fpu/libm-test-ulps: Update.
6501 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6502 inputs and return -1 for them. Do not check for +Inf in case not
6504 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6505 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6506 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6507 and return -1 for them. Do not check for +Inf in case not
6509 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6512 and return -1 for them. Do not check for +Inf in case not
6514 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6516 * sysdeps/i386/fpu/libm-test-ulps: Update.
6517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6519 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6521 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6523 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6527 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6528 could result in spurious underflow. Scale down values above
6529 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6530 * math/s_csqrtf.c (__csqrtf): Likewise.
6531 * math/s_csqrtl.c (__csqrtl): Likewise.
6532 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6534 * sysdeps/i386/fpu/libm-test-ulps: Update.
6535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6537 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6539 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6541 * catgets/xopen-msg.awk: New file.
6542 * catgets/xopen-msg.sed: Removed.
6544 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6546 * intl/po2test.awk: New file.
6547 * intl/po2test.sed: Removed.
6549 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6552 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6553 or multiply small sinh result by itself.
6554 * math/s_ctanf.c (__ctanf): Likewise.
6555 * math/s_ctanh.c (__ctanh): Likewise.
6556 * math/s_ctanhf.c (__ctanhf): Likewise.
6557 * math/s_ctanhl.c (__ctanhl): Likewise.
6558 * math/s_ctanl.c (__ctanl): Likewise.
6559 * math/libm-test.inc (ctan_test_tonearest): New function.
6560 (ctan_test_towardzero): Likewise.
6561 (ctan_test_downward): Likewise.
6562 (ctan_test_upward): Likewise.
6563 (ctanh_test_tonearest): Likewise.
6564 (ctanh_test_towardzero): Likewise.
6565 (ctanh_test_downward): Likewise.
6566 (ctanh_test_upward): Likewise.
6567 (main): Call these new functions.
6568 * sysdeps/i386/fpu/libm-test-ulps: Update.
6569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6571 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6573 * .gitignore: Delete /ports entry.
6575 2012-07-03 Andreas Jaeger <aj@suse.de>
6577 * po/bg.po: Update from translation team.
6578 * po/cs.po: Likewise.
6579 * po/de.po: Likewise.
6580 * po/hr.po: Likewise.
6581 * po/nl.pl: Likewise.
6582 * po/pl.po: Likewise.
6583 * po/vi.po: Likewise.
6585 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6587 * Makeconfig [!+link] (+link-before-libc): New variable.
6588 [!+link] (+link-after-libc): Likewise.
6589 [!+link] (+link-tests): Likewise.
6590 [!+link] (+link): Define in terms of $(+link-before-libc) and
6591 $(+link-after-libc).
6592 [!+link-static] (+link-static-before-libc): New variable.
6593 [!+link-static] (+link-static-after-libc): Likewise.
6594 [!+link-static] (+link-static-tests): Likewise.
6595 [!+link-static] (+link-static): Define in terms of
6596 $(+link-static-before-libc) and $(+link-static-after-libc).
6597 [build-shared] (link-libc-before-gnulib): New variable.
6598 [build-shared] (link-libc-tests): Likewise.
6599 [build-shared] (link-libc): Define in terms of
6600 $(link-libc-before-gnulib).
6601 [!build-shared] (link-libc-tests): New variable.
6602 (link-libc-static-tests): New variable.
6603 [!gnulib] (gnulib-arch): New variable.
6604 [!gnulib] (gnulib-tests): Likewise.
6605 [!gnulib] (static-gnulib-arch): Likewise.
6606 [!gnulib] (static-gnulib-tests): Likewise.
6607 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6608 Define with "=" instead of ":=".
6609 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6610 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6611 * Rules (binaries-all-notests): New variable.
6612 (binaries-all-tests): Likewise.
6613 (binaries-static-notests): Likewise.
6614 (binaries-static-tests): Likewise.
6615 (binaries-all): Define using $(binaries-all-notests) and
6616 $(binaries-all-tests).
6617 (binaries-static): Define using $(binaries-static-notests) and
6618 $(binaries-static-tests).
6619 (binaries-shared-tests): New variable.
6620 (binaries-shared-notests): Likewise.
6621 (binaries-shared): Remove variable.
6622 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6623 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6624 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6625 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6626 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6627 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6628 * elf/Makefile (sln-modules): New variable.
6629 (extra-objs): Add $(sln-modules:=.o).
6630 (ldconfig-modules): Add static-stubs.
6631 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6632 * elf/static-stubs.c: New file.
6635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6636 by 7 not 8 to examine high bit of fractional part. Use volatile
6637 variables when splitting into final array of floats if
6638 __FLT_EVAL_METHOD__ != 0.
6639 * math/libm-test.inc (cos_test): Add another test.
6640 (sin_test): Likewise.
6641 * sysdeps/i386/fpu/libm-test-ulps: Update.
6644 * math/libm-test.inc (cosh_test): Add more tests.
6646 * version.h (RELEASE): Set to "development".
6647 (VERSION): Set to "2.16.90".
6649 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6651 * NEWS: Update copyright. Remove last-updated date.
6652 Mention math library bug fixes and timezone data changes.
6653 * README: Mention GNU/Hurd, x32, and HPPA support status.
6655 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6657 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6659 2012-06-27 Andreas Jaeger <aj@suse.de>
6661 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6663 2012-06-25 Andreas Jaeger <aj@suse.de>
6665 * sysdeps/s390/fpu/libm-test-ulps: Update.
6667 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6668 Thomas Schwinge <thomas@codesourcery.com>
6670 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6671 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6675 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6677 * sysdeps/mach/start.c: Remove file.
6678 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6679 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6680 * sysdeps/sh/init-first.c: Likewise.
6682 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6683 registers for frame unwinding purposes, add CFI directives.
6684 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6685 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6686 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6689 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6690 __fortify_fail returning.
6691 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6693 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6694 sysdeps/sh/____longjmp_chk.S.
6695 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6696 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6697 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6698 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6700 * sysdeps/sh/abort-instr.h: New file.
6701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6702 process in case exit returns.
6704 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6705 initialize the GOT register before use.
6707 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6708 calculation of ARGC > 4.
6710 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6711 meaningful names to some local labels.
6713 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6714 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6716 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6717 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6718 (__arch_compare_and_exchange_val_16_acq): Likewise.
6719 (__arch_compare_and_exchange_val_32_acq): Likewise.
6720 (atomic_exchange_and_add): Fix gUSA sequence.
6721 (atomic_add): Likewise.
6722 (atomic_add_negative): Likewise.
6723 (atomic_add_zero): Likewise.
6724 (atomic_bit_test_set): Likewise.
6726 2012-06-22 Andreas Schwab <schwab@redhat.com>
6729 * include/link.h (struct link_map): Add l_free_initfini.
6730 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6732 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6733 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6734 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6737 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6739 * configure.in: Use AC_LANG_SOURCE.
6740 * configure: Regenerate.
6742 2012-06-22 Roland McGrath <roland@hack.frob.com>
6744 * configure.in (libc_cv_localstatedir): New substituted variable.
6745 * configure: Regenerated.
6746 * config.make.in (localstatedir): New variable, substituted from
6747 libc_cv_localstatedir.
6748 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6749 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6750 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6751 * sysdeps/gnu/configure: Regenerated.
6753 2012-06-21 Jeff Law <law@redhat.com>
6756 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6757 free. Simplify list management for _LIBC case.
6759 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6762 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6763 Clear sign bit of 64-bit integer value before comparing against
6766 * sysdeps/mach/configure: Regenerated.
6768 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6771 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6773 2012-06-21 Jeff Law <law@redhat.com>
6776 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6777 uint16_t for elements in the "seen" array to avoid char overflows.
6778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6779 * elf/dl-open.c (dl_open_worker): Likewise.
6781 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6783 * scripts/list-sources.sh: Scan PORTS for translations.
6784 * po/libc.pot: Regenerated.
6786 2012-06-21 Andreas Jaeger <aj@suse.de>
6789 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6791 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6792 * bits/byteswap-16.h (__bswap_16): Likewise.
6793 * bits/byteswap.h (__bswap_constant_16): Likewise.
6795 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6798 * sysdeps/i386/fpu_control.h: Removed.
6799 * sysdeps/x86_64/fpu_control.h: Moved to ...
6800 * sysdeps/x86/fpu_control.h: Here.
6802 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6803 (_FPU_SETCW): Likewise.
6805 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6808 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6809 * sysdeps/x86/fpu/bits/mathinline.h: This.
6810 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6814 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6815 functions if __x86_64__ is defined.
6817 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6819 * string/endian.h: Add !__ASSEMBLER__ condition for including
6820 conversion interfaces.
6822 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6826 of ABS(x) in calculating zero to negative powers other than odd
6828 * math/libm-test.inc (pow_test): Add more tests.
6830 2012-06-15 Andreas Jaeger <aj@suse.de>
6832 * manual/contrib.texi (Contributors): Update entry of Liubov
6833 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6836 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6838 * string/string.h: Add __wur to GNU version of strerror_r.
6840 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6843 * string/Makefile (tests): Add tst-strtok_r.
6844 * string/tst-strtok_r.c: New file.
6845 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6846 RAX_LP/RDX_LP on SAVE_PTR.
6848 2012-06-14 Roland McGrath <roland@hack.frob.com>
6850 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6852 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6854 * libm_test.inc (csqrt_test): Allow more spurious underflow
6856 (j0_test): Likewise.
6857 (j1_test): Likewise.
6858 (y0_test): Likewise.
6859 (y1_test): Likewise.
6861 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6863 * po/Makefile (libc.pot): Use UTF-8 charset.
6865 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6868 Suppress sign-conversion warning from FD_SET.
6869 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6870 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6871 not unsigned long int.
6872 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6874 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6878 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6879 __extern_always_inline instead of __extern_inline.
6880 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6881 (__signbit): Likewise.
6882 (__signbitl): Support C++ namespace.
6883 (lrintf): New inline function.
6885 (llrintf): Likewise.
6897 (nearbyint): Likewise.
6898 (nearbyintf): Likewise.
6900 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6902 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6903 non-default versions.
6905 2012-06-11 Roland McGrath <roland@hack.frob.com>
6908 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6910 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6912 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6913 (FE_UPWARD, FE_DOWNWARD): Don't define.
6914 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6919 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6920 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6922 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6924 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6926 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6927 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6929 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6932 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6933 * sysdeps/i386/fpu/Implies: New file.
6934 * sysdeps/x86_64/fpu/Implies: Likewise.
6935 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6936 * sysdeps/x86/fpu/bits/fenv.h: This.
6938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6941 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6944 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6945 character 0xffff that matches the last element of the
6948 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6953 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6956 values higher than 25.6283.
6958 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6961 subnormal exponent extraction and add some __builtin_expect.
6962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6963 Fix for subnormal mantissa calculation.
6965 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6967 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6968 cpu2 is -1 and errno is not ENOSYS.
6970 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6973 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6974 * sysdeps/x86/bits/string.h: This.
6975 * sysdeps/x86_64/bits/string.h: Removed.
6977 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6978 if not compiling for x86-64, but compiling for >= i486.
6980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6981 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6984 New macro from Linux kernel 3.4.0.
6985 (FP_XSTATE_MAGIC2): Likewise.
6986 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6987 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6988 (struct _fpx_sw_bytes): New struct.
6989 (struct _xsave_hdr): Likewise.
6990 (struct _ymmh_state): Likewise.
6991 (struct _xstate): Likewise.
6993 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6994 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6995 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6996 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6997 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6998 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7000 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7002 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7003 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7004 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7005 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7007 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7010 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7011 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7012 (sysdep_headers): Include sys/platform/ppc.h.
7013 * sysdeps/powerpc/test-gettimebase.c: Test for
7014 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7015 * manual/Makefile (appendices): Include platform.texi.
7016 * manual/contrib.texi (Contributors): Update @node pointers.
7017 * manual/maint.texi (Maintenance): Likewise.
7018 (Platform): New node.
7019 * manual/platform.texi: New file. Document the new features.
7021 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7022 Jakub Jelinek <jakub@redhat.com>
7025 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7026 where __builtin_expect is unavailable.
7028 2012-06-03 David S. Miller <davem@davemloft.net>
7030 * stdlib/longlong.h: Updated from GCC.
7032 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7035 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7036 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7039 (GLIBC_2.16): Likewise.
7041 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7045 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7048 (default-abi): New variable.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7054 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7056 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7059 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7060 definition. Document in comment.
7062 2012-06-01 David S. Miller <davem@davemloft.net>
7064 * stdlib/longlong.h: Updated from GCC.
7066 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7069 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7070 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7071 sys/debugreg.h sys/io.h here.
7072 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7073 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7075 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7076 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7077 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7078 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7079 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7080 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7083 Define only if __x86_64__ is defined.
7085 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7088 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7089 Use int64_t for variable i.
7090 * math/libm-test.inc (fmod_test): Add more tests.
7092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7093 z computation is not scheduled after fetestexcept.
7094 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7095 Use math_force_eval instead of asm to ensure calculation scheduled
7096 before exception test.
7097 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7098 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7100 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7103 computation is not scheduled after fetestexcept.
7105 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7108 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7109 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7111 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7113 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7114 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7116 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7119 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7121 (__WCHAR_MIN): Support __WORDSIZE == 64.
7122 (__WCHAR_MAX): Likewise.
7124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7129 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7132 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7135 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7136 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7139 Defined to 1 if __x86_64__ isn't defined.
7140 (_STAT_VER_LINUX_OLD): New.
7141 (st_atime): Remove duplicate.
7142 (st_mtime): Likewise.
7143 (st_ctime): Likewise.
7145 2012-05-31 David S. Miller <davem@davemloft.net>
7147 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7150 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7152 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7156 * elf/dl-reloc.c: Include <_itoa.h>.
7157 (_dl_reloc_bad_type): Remove use of INTUSE.
7158 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7159 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7160 * stdio-common/psiginfo.c (psiginfo): Likewise.
7161 * stdio-common/psignal.c (psignal): Likewise.
7162 * string/strsignal.c (strsignal): Likewise.
7163 * include/signal.h (_sys_siglist): Declare hidden proto.
7164 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7165 INTVARDEF with libc_hidden_data_def.
7166 * stdio-common/itoa-udigits.c: Likewise.
7167 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7168 (_itoa_lower_digits_internal): Remove declaration.
7169 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7170 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7171 (_sys_sigabbrev_internal): Remove aliases.
7172 (_sys_siglist): Define hidden alias.
7174 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7179 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7182 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7183 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7185 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7187 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7188 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7190 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7192 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7193 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7194 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7196 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7204 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7208 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7209 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7210 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7211 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7213 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7215 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7216 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7218 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7219 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7225 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7226 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7228 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7230 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7231 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7232 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7234 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7236 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7238 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7240 * math/math.h (M_El): Use two more decimal places.
7241 (M_LOG2El): Likewise.
7242 (M_LOG10El): Likewise.
7244 (M_LN10l): Likewise.
7246 (M_PI_2l): Likewise.
7247 (M_PI_4l): Likewise.
7248 (M_1_PIl): Likewise.
7249 (M_2_PIl): Likewise.
7250 (M_2_SQRTPIl): Likewise.
7251 (M_SQRT2l): Likewise.
7252 (M_SQRT1_2l): Likewise.
7254 2012-05-31 David S. Miller <davem@davemloft.net>
7256 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7257 values between float registers.
7258 * sysdeps/sparc/sparc64/memset.S: Likewise.
7259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7261 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7263 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7264 -D_FORTIFY_SOURCE=1.
7265 (CPPFLAGS-tst-longjmp_chk.c): Define.
7266 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7267 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7268 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7269 CFLAGS-tst-wchar-h.c.
7271 2012-05-31 Marek Polacek <polacek@redhat.com>
7274 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7275 __endmntent_internal): Remove declaration.
7276 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7277 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7278 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7280 2012-05-30 David S. Miller <davem@davemloft.net>
7282 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7283 (___Q_simulate_exceptions): Use real FP ops rather than writing
7285 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7288 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7292 * sysdeps/x86/bits/xtitypes.h: This.
7294 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7295 * sysdeps/x86/bits/wordsize.h: This.
7297 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7298 * sysdeps/x86/bits/huge_vall.h: This.
7300 * sysdeps/i386/bits/select.h: Removed.
7301 * sysdeps/x86_64/bits/select.h: Renamed to ...
7302 * sysdeps/x86/bits/select.h: This.
7304 * sysdeps/i386/bits/setjmp.h: Removed.
7305 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7306 * sysdeps/x86/bits/setjmp.h: This.
7308 * sysdeps/i386/bits/mathdef.h: Removed.
7309 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7310 * sysdeps/x86/bits/mathdef.h: This.
7312 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7315 * include/sys/socket.h (__connect_internal)
7316 (__libc_sa_len_internal): Remove declaration.
7317 (__connect, __libc_sa_len): Declare hidden_proto.
7318 (SA_LEN): Remove use of INTUSE.
7319 * socket/connect.c: Add libc_hidden_def.
7320 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7321 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7322 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7324 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7325 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7326 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7327 of adding _internal alias.
7329 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7332 * sysdeps/i386/bits/link.h: Removed.
7333 * sysdeps/i386/bits/linkmap.h: Likewise.
7334 * sysdeps/x86_64/bits/link.h: Renamed to ...
7335 * sysdeps/x86/bits/link.h: This.
7336 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7337 * sysdeps/x86/bits/linkmap.h: This.
7339 * sysdeps/i386/bits/endian.h: Removed.
7340 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7341 * sysdeps/x86/bits/endian.h: This.
7343 * sysdeps/i386/bits/byteswap.h: Removed.
7344 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7345 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7346 * sysdeps/x86/bits/byteswap.h: This.
7347 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7348 * sysdeps/x86/bits/byteswap-16.h: This.
7349 * sysdeps/i386/Implies: Add x86.
7350 * sysdeps/x86_64/Implies: Likewise.
7352 2012-05-30 David S. Miller <davem@davemloft.net>
7354 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7355 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7356 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7357 (FP_TRAPPING_EXCEPTIONS): Define.
7358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7359 (FP_TRAPPING_EXCEPTIONS): Define.
7360 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7361 subnormals only when inexact has been signalled or underflow
7362 exceptions are enabled.
7363 (_FP_PACK_CANONICAL): Likewise.
7365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7369 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7371 2012-05-30 Richard Henderson <rth@twiddle.net>
7373 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7374 with #ifndef NOT_IN_libc.
7376 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7377 marked to avoid plt entry.
7379 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7382 * Makeconfig (default-abi): New macro.
7383 (abi-includes): Likewise.
7384 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7385 $(abi-$(default-abi)-lib-soname) for soname if defined.
7386 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7388 * Makefile (installed-stubs): Likewise.
7389 * include/stubs-biarch.h: Removed.
7390 * scripts/lib-names.awk: Only handle one library at a time.
7391 * scripts/soversions.awk: Remove WORDSIZE support.
7392 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7396 (syscall-list-default-condition): Likewise.
7397 (syscall-list-default-condition): Likewise.
7398 (syscall-list-includes): Likewise.
7399 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7400 syscall-list-* with abi-*. Handle undefined abi-variants.
7401 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7402 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7403 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7404 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7405 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7406 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7408 (syscall-list-32-options): Likewise.
7409 (syscall-list-32-condition): Likewise.
7410 (syscall-list-64-options): Likewise.
7411 (syscall-list-64-condition): Likewise.
7412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7414 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7417 (abi-64-ld-soname): New macro.
7418 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7422 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7423 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7425 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7427 * sysdeps/unix/sysv/linux/kernel-features.h
7428 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7429 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7430 include <kernel-features.h>.
7431 [!__NR_ftruncate64]: Remove conditional code.
7432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7433 [__NR_ftruncate64]: Make code unconditional.
7434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7435 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7436 include <kernel-features.h>.
7437 [!__NR_ftruncate64]: Remove conditional code.
7438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7439 [__NR_ftruncate64]: Make code unconditional.
7440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7442 include <kernel-features.h>.
7443 [!__NR_ftruncate64]: Remove conditional code.
7444 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7445 [__NR_ftruncate64]: Make code unconditional.
7446 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7448 include <kernel-features.h>.
7449 [!__NR_ftruncate64]: Remove conditional code.
7450 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7451 [__NR_ftruncate64]: Make code unconditional.
7452 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7454 * configure.in (libc_cv_fpie): Weaken to a compile test using
7456 * configure: Regenerated.
7458 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7473 2012-05-27 David S. Miller <davem@davemloft.net>
7475 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7477 (__Q_simulate_exceptions): Return void. Change to simulate
7478 exceptions by writing into the %fsr.
7479 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7480 (__Qp_handle_exceptions): Likewise.
7482 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7483 __Qp_handle_exceptions.
7484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7485 __Qp_handle_exceptions.
7486 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7487 as unused and give dummy FP_RND_NEAREST initializer.
7488 (FP_INHIBIT_RESULTS): Define.
7489 (___Q_simulate_exceptions): Update declaration.
7490 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7493 as unused and give dummy FP_RND_NEAREST initializer.
7494 (__Qp_handle_exceptions): Update declaration.
7495 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7498 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7500 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7501 the temporary FPU control word.
7502 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7503 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7504 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7505 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7506 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7507 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7508 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7510 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7511 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7514 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7519 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7521 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7522 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7523 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7524 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7526 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7527 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7530 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7532 * po/h.po: Update from translation team.
7534 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7536 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7538 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7539 handling of denormals.
7540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7541 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7542 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7549 2012-05-26 Marek Polacek <polacek@redhat.com>
7552 * math/libm-test.inc (fma_test): Don't always expect underflow
7555 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7558 * elf/tst-execstack.c: Include stackinfo.h.
7559 (do_test): Adjust test case to ensure that pthread_getattr_np
7560 behaviour remains the same after marking stack executable.
7562 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7564 * sysdeps/unix/sysv/linux/kernel-features.h
7565 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7566 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7568 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7569 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7570 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7572 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7573 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7575 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7577 * configure.in: Define the default includes to being none.
7578 * configure: Regenerated.
7580 2012-05-25 Roland McGrath <roland@hack.frob.com>
7582 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7583 * sysdeps/x86_64/setjmp.S: Likewise.
7584 * sysdeps/i386/bsd-setjmp.S: Likewise.
7585 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7586 * sysdeps/i386/setjmp.S: Likewise.
7587 * sysdeps/i386/__longjmp.S: Likewise.
7588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7589 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7591 * include/stap-probe.h: New file.
7592 * configure.in: Handle --enable-systemtap.
7593 * configure: Regenerated.
7594 * config.h.in (USE_STAP_PROBE): New #undef.
7595 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7596 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7597 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7599 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7602 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7603 to 2.4.0 where earlier.
7604 * sysdeps/unix/sysv/linux/configure: Regenerated.
7605 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
7614 [__ASSUME_32BITUIDS]: Make code unconditional.
7615 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7616 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7617 <kernel-features.h>.
7618 [__ASSUME_32BITUIDS]: Make code unconditional.
7619 [!__ASSUME_32BITUIDS]: Remove conditional code.
7620 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7621 <kernel-features.h>.
7622 [__ASSUME_32BITUIDS]: Make code unconditional.
7623 [!__ASSUME_32BITUIDS]: Remove conditional code.
7624 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7625 <kernel-features.h>.
7626 [__ASSUME_32BITUIDS]: Make code unconditional.
7627 [!__ASSUME_32BITUIDS]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7629 <kernel-features.h>.
7630 [__ASSUME_32BITUIDS]: Make code unconditional.
7631 [!__ASSUME_32BITUIDS]: Remove conditional code.
7632 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7633 <kernel-features.h>.
7634 [__ASSUME_32BITUIDS]: Make code unconditional.
7635 [!__ASSUME_32BITUIDS]: Remove conditional code.
7636 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7637 <kernel-features.h>.
7638 [__ASSUME_32BITUIDS]: Make code unconditional.
7639 [!__ASSUME_32BITUIDS]: Remove conditional code.
7640 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7641 <kernel-features.h>.
7642 [__ASSUME_32BITUIDS]: Make code unconditional.
7643 [!__ASSUME_32BITUIDS]: Remove conditional code.
7644 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7645 <kernel-features.h>.
7646 [__ASSUME_32BITUIDS]: Make code unconditional.
7647 [!__ASSUME_32BITUIDS]: Remove conditional code.
7648 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7649 <kernel-features.h>.
7650 [__ASSUME_32BITUIDS]: Make code unconditional.
7651 [!__ASSUME_32BITUIDS]: Remove conditional code.
7652 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7653 <kernel-features.h>.
7654 [__ASSUME_32BITUIDS]: Make code unconditional.
7655 [!__ASSUME_32BITUIDS]: Remove conditional code.
7656 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7657 <kernel-features.h>.
7658 [__NR_setresgid] (__setresgid): Do not declare.
7659 [__ASSUME_32BITUIDS]: Make code unconditional.
7660 [!__ASSUME_32BITUIDS]: Remove conditional code.
7661 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7662 <kernel-features.h>.
7663 [__NR_setresuid] (__setresuid): Do not declare.
7664 [__ASSUME_32BITUIDS]: Make code unconditional.
7665 [!__ASSUME_32BITUIDS]: Remove conditional code.
7666 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7667 <kernel-features.h>.
7668 [__ASSUME_32BITUIDS]: Make code unconditional.
7669 [!__ASSUME_32BITUIDS]: Remove conditional code.
7670 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7671 <kernel-features.h>.
7672 [__ASSUME_32BITUIDS]: Make code unconditional.
7673 [!__ASSUME_32BITUIDS]: Remove conditional code.
7674 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7675 <kernel-features.h>.
7676 [__ASSUME_32BITUIDS]: Make code unconditional.
7677 [!__ASSUME_32BITUIDS]: Remove conditional code.
7678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7679 <kernel-features.h>.
7680 [__ASSUME_32BITUIDS]: Make code unconditional.
7681 [!__ASSUME_32BITUIDS]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7683 <kernel-features.h>.
7684 [__ASSUME_32BITUIDS]: Make code unconditional.
7685 [!__ASSUME_32BITUIDS]: Remove conditional code.
7686 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7687 <kernel-features.h>.
7688 [__ASSUME_32BITUIDS]: Make code unconditional.
7689 [!__ASSUME_32BITUIDS]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7691 <kernel-features.h>.
7692 [__ASSUME_32BITUIDS]: Make code unconditional.
7693 [!__ASSUME_32BITUIDS]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7695 <kernel-features.h>.
7696 [__ASSUME_32BITUIDS]: Make code unconditional.
7697 [!__ASSUME_32BITUIDS]: Remove conditional code.
7698 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7699 <kernel-features.h>.
7700 [__ASSUME_32BITUIDS]: Make code unconditional.
7701 [!__ASSUME_32BITUIDS]: Remove conditional code.
7702 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7703 <kernel-features.h>.
7704 [__ASSUME_32BITUIDS]: Make code unconditional.
7705 [!__ASSUME_32BITUIDS]: Remove conditional code.
7706 * sysdeps/unix/sysv/linux/kernel-features.h
7707 (__ASSUME_SETRESUID_SYSCALL): Remove.
7708 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7709 (__ASSUME_32BITUIDS): Likewise.
7710 (__ASSUME_LDT_WORKS): Likewise.
7711 (__ASSUME_O_DIRECTORY): Likewise.
7712 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7713 architecture but not kernel version.
7714 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7715 (__ASSUME_MMAP2_SYSCALL): Likewise.
7716 (__ASSUME_STAT64_SYSCALL): Likewise.
7717 (__ASSUME_IPC64): Likewise.
7718 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7719 <kernel-features.h>.
7720 [__ASSUME_32BITUIDS]: Make code unconditional.
7721 [!__ASSUME_32BITUIDS]: Remove conditional code.
7722 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7723 <kernel-features.h>.
7724 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7725 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7726 132096]: Remove conditional code.
7727 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7728 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7729 <kernel-features.h>.
7730 [__ASSUME_32BITUIDS]: Make code unconditional.
7731 [!__ASSUME_32BITUIDS]: Remove conditional code.
7732 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7733 <kernel-features.h>.
7734 [__ASSUME_32BITUIDS]: Make code unconditional.
7735 [!__ASSUME_32BITUIDS]: Remove conditional code.
7736 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7737 <kernel-features.h>.
7738 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7740 (__setresgid): Do not declare.
7741 [__ASSUME_32BITUIDS]: Make code unconditional.
7742 [!__ASSUME_32BITUIDS]: Remove conditional code.
7743 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7744 <kernel-features.h>.
7745 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7747 (__setresuid): Do not declare.
7748 [__ASSUME_32BITUIDS]: Make code unconditional.
7749 [!__ASSUME_32BITUIDS]: Remove conditional code.
7750 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7751 <kernel-features.h>.
7752 [__ASSUME_32BITUIDS]: Make code unconditional.
7753 [!__ASSUME_32BITUIDS]: Remove conditional code.
7754 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7755 <kernel-features.h>.
7756 [__ASSUME_32BITUIDS]: Make code unconditional.
7757 [!__ASSUME_32BITUIDS]: Remove conditional code.
7759 2012-05-25 Richard Henderson <rth@twiddle.net>
7761 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7762 dl_hwcap to ifunc resolver.
7763 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7766 dl_hwcap to ifunc resolver.
7767 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7769 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7772 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7773 for |x| <= 2**-26, not 2**-57.
7774 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7777 2012-05-24 Jeff Law <law@redhat.com>
7779 * stdio-common/Makefile (tests): Add bug25.
7780 * stdio-common/bug25.c: New test.
7782 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7785 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7786 multiple of MALLOC_ALIGNMENT in size.
7787 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7789 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7791 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7793 (FILENAME_MAX): Use macro-int-constant.
7794 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7795 (_IOFBF): Use macro-int-constant.
7798 (SEEK_CUR): Likewise.
7799 (SEEK_END): Likewise.
7800 (SEEK_SET): Likewise.
7801 (TMP_MAX): Likewise.
7802 (EOF): Use macro-int-constant. Require < 0.
7803 (NULL): Use macro-constant. Require == 0.
7804 (stdin): Require type to be FILE *.
7807 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7809 (EXIT_SUCCESS): Likewise.
7810 (NULL): Use macro-constant. Require == 0.
7811 (RAND_MAX): Use macro-int-constant.
7812 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7813 [C99-based standards] (strtof): Require function.
7814 [C99-based standards] (strtold): Likewise.
7815 [C99-based standards] (strtoll): Likewise.
7816 [C99-based standards] (strtoull): Likewise.
7817 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7818 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7819 [ISO || ISO99 || ISO11] (math.h): Likewise.
7820 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7824 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7827 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7828 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7829 * intl/dgettext.c (DCGETTEXT): Likewise.
7830 * intl/gettext.c (DCGETTEXT): Likewise.
7831 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7832 * posix/regex_internal.h (gettext): Likewise.
7833 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7835 * include/argz.h (__argz_count_internal)
7836 (__argz_stringify_internal): Remove declaration.
7837 (__argz_count, __argz_stringify): Declare hidden proto.
7838 * intl/dcgettext.c: Remove use of INTDEF.
7839 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7840 * string/argz-stringify.c: Likewise.
7841 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7842 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7843 Declare hidden proto.
7844 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7845 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7846 Declare hidden proto.
7847 * include/stdio.h (__asprintf_internal): Don't declare.
7848 (__asprintf): Don't define as macro. Declare hidden proto.
7849 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7850 (__fsetlocking): Declare hidden proto.
7851 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7852 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7854 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7855 (_IO_setlinebuf): Remove use of INTUSE.
7856 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7857 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7858 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7860 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7861 (_IO_do_flush): Remove use of INTUSE.
7862 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7863 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7864 (_IO_adjust_column, _IO_least_wmarker)
7865 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7866 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7867 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7868 (_IO_default_doallocate, _IO_wdefault_doallocate)
7869 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7870 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7871 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7872 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7873 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7874 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7875 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7876 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7877 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7878 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7879 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7880 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7881 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7883 (_IO_flush_all_internal, _IO_adjust_column_internal)
7884 (_IO_default_uflow_internal, _IO_default_finish_internal)
7885 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7886 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7887 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7888 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7889 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7890 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7891 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7892 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7893 (_IO_file_close_internal, _IO_file_close_it_internal)
7894 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7895 (_IO_file_init_internal, _IO_file_attach_internal)
7896 (_IO_file_fopen_internal, _IO_file_read_internal)
7897 (_IO_file_sync_internal, _IO_file_seek_internal)
7898 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7899 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7900 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7901 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7902 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7903 (_IO_list_all_internal, _IO_link_in_internal)
7904 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7905 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7906 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7907 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7908 (_IO_do_write_internal, _IO_padn_internal)
7909 (_IO_getline_info_internal, _IO_getline_internal)
7910 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7911 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7912 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7913 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7914 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7915 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7916 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7917 with libc_hidden_ver, remove use of INTUSE.
7918 * libio/genops.c: Likewise.
7919 * libio/freopen.c: Likewise.
7920 * libio/freopen64.c: Likewise.
7921 * libio/iofclose.c: Likewise.
7922 * libio/iofdopen.c: Likewise.
7923 * libio/iofflush.c: Likewise.
7924 * libio/iofflush_u.c: Likewise.
7925 * libio/iofgets.c: Likewise.
7926 * libio/iofgets_u.c: Likewise.
7927 * libio/iofopen.c: Likewise.
7928 * libio/iofopncook.c: Likewise.
7929 * libio/iofread.c: Likewise.
7930 * libio/iofread_u.c: Likewise.
7931 * libio/ioftell.c: Likewise.
7932 * libio/iofwrite.c: Likewise.
7933 * libio/iogetline.c: Likewise.
7934 * libio/iogets.c: Likewise.
7935 * libio/iogetwline.c: Likewise.
7936 * libio/iopadn.c: Likewise.
7937 * libio/iopopen.c: Likewise.
7938 * libio/ioseekoff.c: Likewise.
7939 * libio/ioseekpos.c: Likewise.
7940 * libio/iosetbuffer.c: Likewise.
7941 * libio/iosetvbuf.c: Likewise.
7942 * libio/ioungetc.c: Likewise.
7943 * libio/ioungetwc.c: Likewise.
7944 * libio/iovdprintf.c: Likewise.
7945 * libio/iovsprintf.c: Likewise.
7946 * libio/iovsscanf.c: Likewise.
7947 * libio/memstream.c: Likewise.
7948 * libio/obprintf.c: Likewise.
7949 * libio/oldfileops.c: Likewise.
7950 * libio/oldiofclose.c: Likewise.
7951 * libio/oldiofdopen.c: Likewise.
7952 * libio/oldiofopen.c: Likewise.
7953 * libio/oldiopopen.c: Likewise.
7954 * libio/oldstdfiles.c: Likewise.
7955 * libio/putc.c: Likewise.
7956 * libio/setbuf.c: Likewise.
7957 * libio/setlinebuf.c: Likewise.
7958 * libio/stdfiles.c: Likewise.
7959 * libio/strops.c: Likewise.
7960 * libio/vasprintf.c: Likewise.
7961 * libio/vscanf.c: Likewise.
7962 * libio/vsnprintf.c: Likewise.
7963 * libio/vswprintf.c: Likewise.
7964 * libio/wfiledoalloc.c: Likewise.
7965 * libio/wfileops.c: Likewise.
7966 * libio/wgenops.c: Likewise.
7967 * libio/wmemstream.c: Likewise.
7968 * libio/wstrops.c: Likewise.
7969 * libio/__fpurge.c: Likewise.
7970 * libio/__fsetlocking.c: Likewise.
7971 * assert/assert.c: Likewise.
7972 * debug/fgets_chk.c: Likewise.
7973 * debug/fgets_u_chk.c: Likewise.
7974 * debug/fread_chk.c: Likewise.
7975 * debug/fread_u_chk.c: Likewise.
7976 * debug/gets_chk.c: Likewise.
7977 * debug/obprintf_chk.c: Likewise.
7978 * debug/vasprintf_chk.c: Likewise.
7979 * debug/vdprintf_chk.c: Likewise.
7980 * debug/vsnprintf_chk.c: Likewise.
7981 * debug/vsprintf_chk.c: Likewise.
7982 * malloc/mtrace.c: Likewise.
7983 * misc/error.c: Likewise.
7984 * misc/syslog.c: Likewise.
7985 * stdio-common/asprintf.c: Likewise.
7986 * stdio-common/fxprintf.c: Likewise.
7987 * stdio-common/getw.c: Likewise.
7988 * stdio-common/isoc99_fscanf.c: Likewise.
7989 * stdio-common/isoc99_scanf.c: Likewise.
7990 * stdio-common/isoc99_vfscanf.c: Likewise.
7991 * stdio-common/isoc99_vscanf.c: Likewise.
7992 * stdio-common/isoc99_vsscanf.c: Likewise.
7993 * stdio-common/printf-prs.c: Likewise.
7994 * stdio-common/printf_fp.c: Likewise.
7995 * stdio-common/printf_fphex.c: Likewise.
7996 * stdio-common/printf_size.c: Likewise.
7997 * stdio-common/putw.c: Likewise.
7998 * stdio-common/scanf.c: Likewise.
7999 * stdio-common/sprintf.c: Likewise.
8000 * stdio-common/tmpfile.c: Likewise.
8001 * stdio-common/vfprintf.c: Likewise.
8002 * stdio-common/vfscanf.c: Likewise.
8003 * stdlib/strfmon_l.c: Likewise.
8004 * sunrpc/openchild.c: Likewise.
8005 * sunrpc/xdr_stdio.c: Likewise.
8006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8007 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8009 2012-05-24 Roland McGrath <roland@hack.frob.com>
8011 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8013 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8014 in the third column, to generate for the shared library an IFUNC
8015 that uses _dl_vdso_vsym.
8016 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8017 * Makeconfig (object-suffixes-noshared): New variable.
8019 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8020 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8021 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8022 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8025 * include/sys/time.h (__gettimeofday): Remove macro.
8026 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8027 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8029 (__gettimeofday): Add libc_hidden_def.
8030 (gettimeofday): Add libc_hidden_weak.
8031 * sysdeps/mach/gettimeofday.c: Likewise.
8032 * sysdeps/posix/gettimeofday.c: Likewise.
8033 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8034 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8036 (__gettimeofday_internal): Remove strong_alias.
8037 (__gettimeofday): Add libc_hidden_def.
8038 (gettimeofday): Add libc_hidden_weak.
8039 * sysdeps/unix/syscalls.list (gettimeofday):
8040 Remove __gettimeofday_internal alias.
8042 2012-05-24 Daniel Jacobowitz <drow@false.org>
8043 H.J. Lu <hongjiu.lu@intel.com>
8046 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8047 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8048 (largebin_index_32_big): New.
8049 (largebin_index): Use it for 16-byte alignment.
8050 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8051 correction with front_misalign.
8053 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8081 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8082 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8084 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8088 * math/libm-test.inc (exp_test): Add test from bug 14036.
8089 (pow_test): Add test from bug 10846.
8091 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8093 (special_function): Do not include flags in test name.
8094 (parse_args): Likewise.
8095 * sysdeps/i386/fpu/libm-test-ulps: Update.
8096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8097 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8101 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8103 * math/libm-test.inc ("Philosophy"): Update comment about
8105 (UNDERFLOW_EXCEPTION): New macro.
8106 (UNDERFLOW_EXCEPTION_OK): Likewise.
8107 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8108 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8109 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8110 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8111 (INVALID_EXCEPTION_OK): Update value.
8112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8113 (OVERFLOW_EXCEPTION_OK): Likewise.
8114 (IGNORE_ZERO_INF_SIGN): Likewise.
8115 (test_exceptions): Handle underflow exceptions.
8116 (acos_test): Update for underflow exception expectations.
8117 (cexp_test): Likewise.
8118 (clog_test): Likewise.
8119 (clog10_test): Likewise.
8120 (csqrt_test): Likewise.
8121 (ctan_test): Likewise.
8122 (ctanh_test): Likewise.
8123 (exp_test): Likewise.
8124 (exp10_test): Likewise.
8125 (exp2_test): Likewise.
8126 (expm1_test): Likewise.
8127 (fma_test): Likewise.
8128 (j0_test): Likewise.
8129 (jn_test): Likewise.
8130 (nexttoward_test): Likewise.
8131 (pow_test): Likewise.
8132 (scalbn_test): Likewise.
8133 (scalbln_test): Likewise.
8134 (tan_test): Likewise.
8135 (y1_test): Likewise.
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139 2012-05-23 David S. Miller <davem@davemloft.net>
8141 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8142 (__libc_sigaction): Remove unused local variables.
8144 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8146 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8148 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8150 mktime: avoid signed integer overflow
8151 * time/mktime.c (__mktime_internal): Do not mishandle the case
8152 where diff == INT_MIN.
8154 mktime: simplify computation of average
8155 * time/mktime.c (ranged_convert): Use new time_t_avg function
8156 instead of rolling our own (probably-slower) code.
8158 mktime: do not assume signed right shift propagates sign bit
8159 * time/mktime.c (isdst_differ): New static function.
8160 (__mktime_internal): No need to normalize tm_isdst now.
8161 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8164 mktime: merge another wrapv change from gnulib
8165 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8166 from some compilers.
8168 mktime: remove incorrect attempt at unusual arithmetics
8169 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8170 The code didn't really work on such machines anyway.
8171 (TYPE_MINIMUM): Assume two's complement.
8172 (twos_complement_arithmetic): Verify that long_int and time_t
8173 are two's complement (or unsigned, in the latter case).
8175 mktime: check signed shifts on long_int and time_t, too
8176 * time/mktime.c (SHR): Check that shifts work as desired
8177 on the types long_int and time_t too, as SHR is used on
8180 mktime: do not assume 'long' is wide enough
8181 * time/mktime.c (verify): Move decl up.
8182 (long_int): New type.
8183 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8184 to remove assumption in the code that 'long' is wide enough to
8185 store year values. This assumption is not true on x32 and on
8186 some non-glibc platforms.
8188 mktime: merge wrapv change from gnulib
8189 * time/mktime.c (WRAPV): New macro.
8190 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8191 (guess_time_tm, __mktime_internal): Do not assume that signed
8192 integer overflow wraps around; modern compilers generate code
8193 where this assumption is no longer valid.
8195 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8197 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8198 Replace "jmp L(pseudo_end)" with "ret".
8199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8202 2012-05-23 Andreas Jaeger <aj@suse.de>
8204 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8205 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8207 2012-05-23 Andreas Jaeger <aj@suse.de>
8208 Maximilian Attems <max@stro.at>
8210 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8213 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8215 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8216 code so that pseudo_end is just ret and the stack pointer is
8217 correct also for static library in error case.
8219 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8221 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8222 move to syscalls.list.
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8228 * manual/install.texi (Running make install): Do not mention Linux
8229 kernel version for which pt_chown is not needed.
8230 (Linux): Do not mention problems with nscd with 2.0 kernels.
8231 * INSTALL: Regenerated.
8233 2012-05-23 Andreas Jaeger <aj@suse.de>
8235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8236 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8238 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8240 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8242 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8248 * sysdeps/unix/sysv/linux/bits/in.h
8249 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8251 2012-05-22 Roland McGrath <roland@hack.frob.com>
8253 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8254 (PREPARE_VERSION): Just use assert instead, it will be elided
8255 under [NDEBUG] anyway.
8257 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8259 * sysdeps/unix/sysv/linux/Makefile: Include
8260 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8261 (sysdep_routines): Remove sysctl.
8262 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8263 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8264 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8266 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8268 2012-05-22 Andreas Jaeger <aj@suse.de>
8270 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8271 that pseudo_end is just ret and the stack pointer is correct also
8272 for static library in error case.
8274 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8277 * nss/nsswitch.c (defconfig_entries): New variable.
8278 (__nss_database_lookup): Don't leak defconfig entries.
8279 (nss_parse_service_list): Don't leak on error paths.
8280 (free_database_entries): New function.
8281 (free_defconfig): New function.
8282 (free_mem): Move common code to free_database_entries.
8284 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8288 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8290 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8291 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8294 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8295 (INTERNAL_SYSCALL_TYPES): Likewise.
8296 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8297 (LOAD_REGS_TYPES_[1-6]): Likewise.
8298 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8299 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8301 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8304 copysignl for GLIBC_2_0.
8305 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8306 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8308 logbl for GLIBC_2_0.
8309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8310 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8312 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8315 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8317 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8320 * time/mktime.c: Update copyright years.
8322 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8324 mktime: merge comment-quoting-style change from gnulib
8325 * time/mktime.c: Quote 'like this' in comments.
8326 The GNU coding standards suggest that we no longer quote `like this',
8327 as "`" and "'" are typically rendered asymmetrically nowadays.
8328 The typical gnulib style is to quote 'like this' when quoting
8329 code, and "like this" when quoting English.
8331 * time/mktime.c (compile-command): Add "-I.".
8333 mktime: merge mktime-internal.h change from gnulib
8334 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8336 mktime: merge time_r change from gnulib
8337 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8339 mktime: merge DEBUG change from gnulib
8340 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8341 case system <time.h> has a #define.
8343 mktime: merge <sys/types.h> change from gnulib
8344 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8345 since <time.t> is now guaranteed to define time_t.
8347 mktime: merge HAVE_CONFIG_H change from gnulib
8348 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8350 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8355 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8357 (struct rusage): Use anonymous union to pad each field to
8360 2012-05-21 David S. Miller <davem@davemloft.net>
8362 * Makefules (o-iterator): Remove .s cases.
8363 (compile-command.s): Delete.
8364 (COMPILE.s): Delete.
8365 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8367 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8369 * configure.in (libc_cv_predef_stack_protector): Only consider
8370 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8371 * configure: Regenerated.
8373 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8376 New macro. Use R*LP on int and pointer.
8377 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8378 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8379 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8380 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8382 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8383 [__WORDSIZE_TIME64_COMPAT32] instead of
8384 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8385 (struct utmp): Likewise.
8386 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8387 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8389 (__WORDSIZE_TIME64_COMPAT32): This.
8390 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8391 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8392 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8393 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8395 (__WORDSIZE_TIME64_COMPAT32): New macro.
8397 2012-05-21 Andreas Jaeger <aj@suse.de>
8399 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8400 only if [SHARED]. Add prototype for __wcschr_ia32.
8402 2012-05-21 Roland McGrath <roland@hack.frob.com>
8404 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8405 of %rbp unmolested in the jmp_buf while mangling the low bits.
8406 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8407 unmolested high bits of %rbp while demangling the low bits.
8408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8410 2012-05-21 Andreas Jaeger <aj@suse.de>
8412 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8413 * sunrpc/svc_simple.c: Use it for registerrpc.
8414 * sunrpc/xcrypt.c: Use it for passwd2des.
8416 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8418 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8420 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8421 Don't define if [__SYSCALL_WORDSIZE != 32].
8422 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8425 2012-05-21 Bruno Haible <bruno@clisp.org>
8426 Andreas Jaeger <aj@suse.de>
8428 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8429 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8430 inptr and inend for must_buffer_ch.
8431 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8432 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8433 * stdio-common/Makefile (tests): Remove bug15.
8434 (bug15-ENV): Remove macro.
8435 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8438 2012-05-19 Andreas Jaeger <aj@suse.de>
8439 Roland McGrath <roland@hack.frob.com>
8441 * manual/contrib.texi: Completely rewritten. It contains now an
8442 alphabetical list of contributors and their contributions.
8444 2012-05-21 Richard Henderson <rth@twiddle.net>
8446 * misc/getauxval.c (__getauxval): Use unsigned long int.
8447 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8448 (getauxval): Use unsigned long int.
8450 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8452 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8454 2012-05-21 Roland McGrath <roland@hack.frob.com>
8456 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8457 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8458 __alignof__ (long double).
8460 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8464 2012-05-20 Richard Henderson <rth@twiddle.net>
8466 * misc/getauxval.c: New file.
8467 * misc/sys/auxv.h: New file.
8468 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8469 (routines): Add getauxval.
8470 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8471 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8472 * elf/dl-sysdep.c (_dl_auxv): Remove.
8473 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8474 * elf/dl-support.c (_dl_auxv): New variable.
8475 (_dl_aux_init): Initialize it.
8476 * manual/startup.texi (Auxiliary Vector): New node.
8477 * sysdeps/generic/bits/hwcap.h: New file.
8478 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8479 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8480 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8481 * sysdeps/sparc/sysdep.h: ... here. Include it.
8482 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8495 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8499 2012-05-19 David S. Miller <davem@davemloft.net>
8501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8503 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8506 * math/s_ccosh.c: Include <float.h>
8507 (__ccosh): Avoid internal overflow calculating sinh and cosh
8508 values before multiplying by sin and cos values.
8509 * math/s_ccoshf.c: Likewise.
8510 * math/s_ccoshl.c: Likewise.
8511 * math/s_csin.c: Likewise.
8512 * math/s_csinf.c: Likewise.
8513 * math/s_csinl.c: Likewise.
8514 * math/s_csinh.c: Likewise.
8515 * math/s_csinhf.c: Likewise.
8516 * math/s_csinhl.c: Likewise.
8517 * math/libm-test.inc (ccos_test): Add more tests.
8518 (ccosh_test): Likewise.
8519 (csin_test): Likewise.
8520 (csinh_test): Likewise.
8521 * sysdeps/i386/fpu/libm-test-ulps: Update.
8522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8524 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8526 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8527 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8529 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8531 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8533 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8534 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8535 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8536 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8537 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8538 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8539 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8540 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8541 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8542 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8543 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8544 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8545 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8546 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8547 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8548 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8549 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8550 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8551 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8552 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8553 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8554 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8555 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8556 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8557 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8558 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8559 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8560 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8561 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8562 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8563 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8565 2012-05-18 Andreas Jaeger <aj@suse.de>
8567 * csu/.gitignore: Delete.
8569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8571 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8572 (timex): Use __syscall_slong_t.
8574 2012-05-18 Andreas Jaeger <aj@suse.de>
8575 Carlos O'Donell <carlos_odonell@mentor.com>
8577 * manual/install.texi (Configuring and compiling): Update
8578 description about files modified in the source directory.
8579 * INSTALL: Regenerated.
8581 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8583 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8584 value. Use "or" to set return value to -1.
8585 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8586 negate return value.
8588 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8590 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8591 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8592 failure if the compiler has Graphite support disabled.
8593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8595 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8596 CFLAGS-memmove.c): Likewise.
8597 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8600 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8602 * sysdeps/x86_64/x32/_itoa.h: New file.
8604 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8605 getdents system call only if kernel and user dirents have the
8606 same d_ino and d_off.
8608 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8609 LLONG_MAX != LONG_MAX.
8610 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8611 (_fitoa_word): Likewise.
8613 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8619 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8620 include <bits/wordsize.h>. Check __x86_64__ instead of
8622 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8623 if __x86_64__ is defined. Use anonymous union on fpstate.
8625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8628 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8630 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8631 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8632 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8633 Refer to _rtld_local_ro instead of _rtld_global_ro.
8634 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8636 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8638 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8640 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8641 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8642 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8644 * sysdeps/powerpc/powerpc32/dl-machine.c
8645 (__elf_machine_runtime_setup) [PROF]: Don't reference
8648 2012-05-18 Andreas Jaeger <aj@suse.de>
8650 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8651 function only available for GCCs before 3.4 since GCC 3.4
8652 introduced a builtin.
8654 (llrintf): Likewise.
8662 (nearbyint): Likewise.
8663 (nearbyintf): Likewise.
8669 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8671 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8672 on both fields and cast pointer to __syscall_ulong_t.
8674 * bits/types.h (__fsword_t): New type.
8675 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8676 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8678 (__FSWORD_T_TYPE): Likewise.
8679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8680 (__FSWORD_T_TYPE): Likewise.
8681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8682 (__FSWORD_T_TYPE): Likewise.
8683 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8684 (__FSWORD_T_TYPE): Likewise.
8685 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8686 __SWORD_TYPE with __fsword_t.
8687 (statfs64): Likewise.
8689 2012-05-17 David S. Miller <davem@davemloft.net>
8691 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8693 2012-05-17 Andreas Jaeger <aj@suse.de>
8695 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8698 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8700 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8702 2012-05-17 Andreas Jaeger <aj@suse.de>
8704 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8707 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8709 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8711 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8713 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8714 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8716 2012-05-17 Andreas Jaeger <aj@suse.de>
8717 Carlos O'Donell <carlos_odonell@mentor.com>
8720 * sysdeps/x86_64/multiarch/init-arch.h
8721 (bit_YMM_Usable): Rename to...
8722 (bit_AVX_Usable): ... this.
8723 (bit_FMA4_Usable): New macro.
8724 (bit_XMM_state): New macro.
8725 (bit_YMM_state): New macro.
8726 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8727 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8728 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8729 (CPUID_OSXSAVE): New macro.
8730 (CPUID_AVX): New macro.
8731 (CPUID_FMA4): New macro.
8732 (index_YMM_Usable): Rename to...
8733 (index_AVX_Usable): ... this.
8734 (HAS_AVX): Use HAS_ARCH_FEATURE.
8735 (HAS_FMA4): Likewise.
8736 (HAS_YMM_USABLE): Remove.
8737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8738 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8740 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8741 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8742 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8743 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8744 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8746 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8748 * math/libm-test.c: Support platforms without multiple rounding modes.
8749 * math/bug-nextafter.c: Support platforms without FP exceptions.
8750 * math/bug-nexttoward.c: Likewise.
8751 * math/test-fenv.c: Likewise.
8752 * math/test-misc.c: Likewise.
8753 * stdlib/bug-getcontext.c: Likewise.
8755 2012-05-17 Andreas Jaeger <aj@suse.de>
8757 * manual/examples/search.c (critter_cmp): Change signature to
8759 * manual/string.texi (Collation Functions): Likewise.
8761 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8763 * bits/types.h: Fold copyright years.
8764 * bits/typesizes.h: Likewise.
8765 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8769 * time/time.h: Likewise.
8771 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8774 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8775 in instead of returning them. Return void.
8776 (__libc_mallinfo): Accumulate over all arenas.
8777 (__malloc_stats): Adjust for change in int_mallinfo interface.
8779 2012-05-16 Roland McGrath <roland@hack.frob.com>
8782 * configure.in (NM): Add AC_CHECK_TOOL for it.
8783 (libc_extra_cflags): New substituted variable.
8784 Check for -fstack-protector being used implicitly.
8785 * configure: Regenerated.
8786 * config.make.in (config-extra-cflags): New variable,
8787 gets @libc_extra_cflags@.
8788 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8791 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8792 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8793 * configure: Regenerated.
8794 * config.make.in (CPPUNDEFS): New substituted variable.
8795 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8796 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8797 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8799 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8801 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8802 (mq_attr): Use __syscall_slong_t.
8804 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8807 Check __x86_64__ instead of __WORDSIZE.
8808 (_STAT_VER_LINUX): Likewise.
8809 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8810 __syscall_ulong_t and __syscall_slong_t.
8813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8819 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8823 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8826 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8827 include <bits/wordsize.h>. Check __x86_64__ instead of
8829 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8831 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8834 include <bits/wordsize.h>. Check __x86_64__ instead of
8836 (user_regs_struct): Use "__extension__ unsigned long long"
8837 instead of "unsigned long" if __x86_64__ is defined.
8838 (user): Likewise. Pad after pointer field if __ILP32__ is
8841 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8843 * configure.in (makeinfo): Require version 4.5 or later. Allow
8845 * configure: Regenerated.
8846 * manual/install.texi (texinfo): Increase version requirement to
8848 * INSTALL: Regenerated.
8850 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8852 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8854 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8856 * sysdeps/x86_64/x32/ffs.c: New file.
8858 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8860 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8861 defined. Use __syscall_ulong_t.
8862 (shminfo): Use __syscall_ulong_t.
8863 (shm_info): Likewise.
8865 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8868 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8870 (msgqnum_t): Use __syscall_ulong_t.
8871 (msglen_t): Likewise.
8872 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8875 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8876 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8878 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8880 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8881 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8883 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8887 include <bits/wordsize.h>. Check __x86_64__ instead of
8890 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8891 "unsigned long long int" if __x86_64__ is defined.
8892 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8894 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8895 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8896 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8898 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8900 (GET_PC): Cast to uintptr_t first.
8901 (GET_FRAME): Likewise.
8902 (GET_STACK): Likewise.
8904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8908 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8910 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8911 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8912 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8913 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8920 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8921 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8925 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8926 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8927 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8928 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8931 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8934 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8936 * Makerules (+depfiles): Also collect depfiles from .oS in
8938 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8939 .oS, $(libnldbl-routines)).
8941 * Makerules (native-compile-mkdep-flags): Define.
8942 * sunrpc/Makefile (extra-objs): Add $(addprefix
8943 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8944 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8945 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8946 calling $(make-target-directory).
8948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8950 * bits/types.h (__snseconds_t): Removed.
8951 * time/time.h (struct timespec): Replace __snseconds_t with
8953 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8954 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8957 (__SNSECONDS_T_TYPE): Likewise.
8958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8959 (__SNSECONDS_T_TYPE): Likewise.
8960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8961 (__SNSECONDS_T_TYPE): Likewise.
8963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8965 * sysdeps/mach/hurd/bits/typesizes.h
8966 (__SYSCALL_SLONG_TYPE): New macro.
8967 (__SYSCALL_ULONG_TYPE): Likewise.
8969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8971 * bits/types.h (__syscall_slong_t): New type.
8972 (__syscall_ulong_t): Likewise.
8974 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8975 (__SYSCALL_ULONG_TYPE): Likewise.
8976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8977 (__SYSCALL_SLONG_TYPE): Likewise.
8978 (__SYSCALL_ULONG_TYPE): Likewise.
8979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8980 (__SYSCALL_SLONG_TYPE): Likewise.
8981 (__SYSCALL_ULONG_TYPE): Likewise.
8982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8983 (__SYSCALL_SLONG_TYPE): Likewise.
8984 (__SYSCALL_ULONG_TYPE): Likewise.
8986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8988 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8989 Add sigaltstack-offsets.sym.
8990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8991 <sigaltstack-offsets.h>.
8992 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8993 longjmp_msg pointer.
8994 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8995 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8997 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8999 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9001 * elf/stackguard-macros.h: Remove file.
9002 * sysdeps/generic/stackguard-macros.h: New file.
9003 * sysdeps/i386/stackguard-macros.h: Likewise.
9004 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9005 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9006 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9007 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9008 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9009 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9010 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9011 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9012 <elf/stackguard-macros.h>.
9015 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9016 __aligned__ in attribute.
9017 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9018 (gregset_t): Likewise.
9020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9022 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9023 * sysdeps/x86_64/64/Implies-after: Here. New file.
9024 * sysdeps/x86_64/x32/Implies-after: New file.
9026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9028 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9029 and access return value for _dl_profile_fixup. Use R10_LP to
9032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9034 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9038 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9039 * sysdeps/x86_64/x32/sysdep.h: New file.
9041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9044 * sysdeps/x86_64/setjmp.S: Likewise.
9046 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9049 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9050 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9051 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9052 remove unused global constant.
9054 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9056 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9057 include of <not-cancel.h>.
9059 2012-05-15 Roland McGrath <roland@hack.frob.com>
9061 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9063 2012-05-15 Jeff Law <law@redhat.com>
9064 Andreas Jaeger <aj@suse.de>
9067 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9069 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9070 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9071 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9072 code changing __hst_map_handle.map.
9074 2012-05-15 Roland McGrath <roland@hack.frob.com>
9076 * configure.in (sysnames): Look for Implies-before and Implies-after
9078 * configure: Regenerated.
9080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9082 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9083 8-byte data alignment with LP_SIZE alignment.
9085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9087 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9092 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9097 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9098 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9104 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9105 (stackinfo_sub_sp): Likewise.
9107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9124 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9128 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9129 into R11_LP and load __x86_64_shared_cache_size_half into
9132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9137 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9146 powerpc32/power7/fpu/s_logb.c via #include.
9147 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9148 powerpc32/power7/fpu/s_logbf.c via #include.
9149 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9150 powerpc32/power7/fpu/s_logbl.c via #include.
9152 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9154 * README.libm: Remove file.
9156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9158 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9159 count for x32. Use R*_LP and omit operand-size suffix.
9161 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9163 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9164 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9165 * sysdeps/x86_64/x32/shlib-versions: New file.
9167 2012-05-14 Roland McGrath <roland@hack.frob.com>
9169 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9170 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9171 Use _dl_fatal_printf instead.
9173 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9175 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9176 set if not set by the user. Do not allow for being unset.
9177 * sysdeps/unix/sysv/linux/configure: Regenerated.
9179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9181 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9182 the `q' suffix from lea and replace .quad with ASM_ADDR.
9184 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9187 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9189 (PTR_DEMANGLE): Likewise.
9191 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9193 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9195 (ASM_ADDR): Likewise.
9213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9215 * sysdeps/x86_64/x32/dl-machine.h: New file.
9217 2012-05-14 Andreas Jaeger <aj@suse.de>
9219 * manual/Makefile (subdir): Remove export of subdir.
9220 (all): Remove target.
9221 (.PHONY): Remove all from list.
9222 (mkinstalldirs): Remove.
9223 (.PHONY): Remove installdirs from list.
9224 ($(inst_infodir)/libc.info): Use make-target-directory.
9225 (installdirs): Remove.
9227 (glibc-targets): Remove.
9230 ($(objpfx)stubs ../po/manual.pot): Remove.
9231 ($(objpfx)stamp%): Remove.
9232 (make-target-directory): Remove.
9233 (subdir_install): Remove.
9241 * manual/.gitignore: Remove, it's not needed anymore.
9242 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9244 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9246 (texis): Renamed to $(objpfx)texis.
9247 (texis-path): New, contains path to generated files.
9248 (chapters.%): Use texis-path for complete path, add extra argument
9250 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9251 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9252 (summary,texi, stamp-summary): Use complete path of
9253 files. Generate files in build dir.
9254 (dir-add.texi): Build in build dir.
9255 (libm-err.texi,stamp-libm-err): Likewise.
9256 (version.texi, stamp-version): Likewise.
9257 (.%c.texi): Likewise.
9258 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9259 (mostlyclean): Remove target.
9260 (realclean): Remove target.
9261 (generated): Add new variable with contents from mostlyclean and
9262 realclean, remove entries duplicated in common-mostlyclean, add
9263 stamp-libm-err and stamp-version.
9264 (generated-dirs): Add libc directory.
9265 ($(inst_infodir)/libc.info): Install files from build dir.
9267 * manual/install.texi (Configuring and compiling): Adjust since
9268 the info files are not part of the tar ball anymore.
9270 2012-05-14 Andreas Jaeger <aj@suse.de>
9272 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9275 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9279 to 2.2.0 where earlier.
9280 * sysdeps/unix/sysv/linux/configure: Regenerated.
9281 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9282 Remove conditional code.
9283 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9284 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9285 Remove conditional code.
9286 [!__NR_lchown]: Likewise.
9287 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9288 [__NR_lchown]: Likewise.
9289 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9290 comment referencing __ASSUME_LCHOWN_SYSCALL.
9291 * sysdeps/unix/sysv/linux/i386/sigaction.c
9292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9294 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9295 Remove conditional code.
9296 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9297 (__protocol_available): Remove #if 0 code.
9298 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9300 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9301 * sysdeps/unix/sysv/linux/kernel-features.h
9302 (__ASSUME_GETCWD_SYSCALL): Don't define.
9303 (__ASSUME_REALTIME_SIGNALS): Likewise.
9304 (__ASSUME_PREAD_SYSCALL): Likewise.
9305 (__ASSUME_PWRITE_SYSCALL): Likewise.
9306 (__ASSUME_POLL_SYSCALL): Likewise.
9307 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9308 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9310 (__ASSUME_SIOCGIFNAME): Don't define.
9311 (__ASSUME_MSG_NOSIGNAL): Likewise.
9312 (__ASSUME_SENDFILE): Define unconditionally.
9313 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9314 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9316 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9317 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9318 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9319 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9320 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9321 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9322 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9324 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9330 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9336 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9347 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9348 Remove conditional code.
9349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9350 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9351 Remove conditional code.
9352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9353 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9354 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9355 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9356 Remove conditional code.
9357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9358 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9359 Remove conditional code.
9360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9361 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9362 Remove conditional code.
9363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9364 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9365 Remove conditional code.
9366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9367 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9368 Remove conditional code.
9369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9370 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9373 * sysdeps/unix/sysv/linux/sigaction.c
9374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9376 * sysdeps/unix/sysv/linux/sigpending.c
9377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9379 * sysdeps/unix/sysv/linux/sigprocmask.c
9380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9382 * sysdeps/unix/sysv/linux/sigsuspend.c
9383 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9384 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9386 (__libc_missing_rt_sigs): Remove.
9387 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9388 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9389 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9390 Remove conditional code.
9391 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9392 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9394 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9395 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9396 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9397 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9399 2012-05-14 Andreas Jaeger <aj@suse.de>
9401 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9402 it's not used in glibc.
9403 (__coshm1): Likewise.
9404 (__acosh1p): Likewise.
9407 * manual/string.texi (Copying and Concatenation): Add missing
9408 variable in concat example.
9409 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9411 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9415 __builtin_clzl with __builtin_clzll.
9417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9420 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9423 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9425 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9426 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9427 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9428 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9430 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9432 * NEWS: Update ia64 info.
9434 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9436 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9439 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9441 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9442 * sysdeps/unix/syscalls.list (dup3): Likewise.
9443 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9444 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9446 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9448 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9449 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9451 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9453 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9455 (TLS_IE): Use mov/add instead of movq/addq to load thread
9457 (TLS_GD_PREFIX): New.
9460 2012-05-11 David S. Miller <davem@davemloft.net>
9462 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9463 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9464 (_FPU_SETCW): Likewise.
9466 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9468 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9471 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9474 * iconvdata/gb18030.c: Update tables.
9475 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9476 characters specially.
9477 (BODY for TO_LOOP): Add encoding of missing ranges.
9479 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9482 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9483 * sysdeps/mach/hurd/dup3.c: Likewise.
9484 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9485 * sysdeps/powerpc/memmove.c:: Likewise.
9487 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9489 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9490 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9492 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9494 * elf/elf.h (R_X86_64_RELATIVE64): New.
9495 (R_X86_64_NUM): Updated.
9496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9497 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9498 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9499 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9500 tst-quad1pie tst-quad2pie
9501 (modules-names): Add tst-quadmod1 tst-quadmod2.
9502 ($(objpfx)tst-quad1): New dependency.
9503 ($(objpfx)tst-quad2): Likewise.
9504 ($(objpfx)tst-quad1pie): Likewise.
9505 ($(objpfx)tst-quad2pie): Likewise.
9506 * sysdeps/x86_64/tst-quad1.c: New file.
9507 * sysdeps/x86_64/tst-quad1pie.c: New file.
9508 * sysdeps/x86_64/tst-quad2.c: Likewise.
9509 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9510 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9511 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9512 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9513 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9517 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9518 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9519 * streams/stropts.h (t_scalar_t): Define type.
9521 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9522 (_PATH_PRESERVE): Set to "/var/lib".
9523 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9525 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9528 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9529 if __dir_mkfile succeeded.
9531 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9532 checking for _hurd_dtablesize. Unlock it right after having
9533 finished _hurd_dtable allocation.
9535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9537 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9538 * sysdeps/mach/hurd/configure: Regenerated.
9539 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9540 special-casing to...
9541 * sysdeps/gnu/configure.in: ... this new file.
9542 * sysdeps/unix/sysv/linux/configure: Regenerated.
9543 * sysdeps/gnu/configure: New generated file.
9545 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9546 for Linux: use nsec instead of usec, as well as:
9547 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9548 members of type struct timespec.
9549 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9551 (struct stat64): Likewise.
9552 (_STATBUF_ST_NSEC): New macro.
9553 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9555 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9556 __strtoul_internal rather than strtoul.
9558 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9560 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9565 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9566 which preserves existing values.
9567 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9569 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9571 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9572 TIMEOUT values. Return EINVAL for NFDS values either negative or
9573 greater than FD_SETSIZE.
9575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9577 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9578 allocated, call __vm_protect to finish enabling the existing space, and
9579 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9580 allocate the remainder.
9582 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9584 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9585 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9589 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9590 sysdeps/mach/hurd/readlink.c.
9592 * posix/tst-sysconf.c (posix_options): Only use
9593 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9594 _POSIX_SYNCHRONIZED_IO when they are defined
9595 * sysdeps/mach/hurd/bits/posix_opt.h:
9596 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9597 (_XOPEN_REALTIME): Undefine macro.
9598 (_XOPEN_REALTIME_THREADS): Undefine macro.
9599 (_XOPEN_SHM): Undefine macro.
9600 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9602 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9604 (_POSIX_ASYNC_IO): Undefine macro.
9605 (_POSIX_PRIORITIZED_IO): Undefine macro.
9606 (_POSIX_SPIN_LOCKS): Define macro to -1.
9608 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9609 SA_NODEFER, SA_RESETHAND.
9610 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9611 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9616 * elf/Makefile (pldd-modules): Define unconditionally.
9618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9620 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9624 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9625 Return ENOENT when name is empty.
9626 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9630 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9632 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9636 Fix mlock in all cases except non-readable pages.
9637 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9638 instead of VM_PROT_ALL as parameter to __vm_wire function.
9640 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9641 (__mkdir): When path is `/', just fail with EEXIST.
9642 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9646 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9647 <sys/uio.h> (for writev).
9648 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9649 and <sys/param.h> (for MIN).
9651 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9653 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9654 REQUESTED_TIME. Properly set the remaining time and return EINTR
9657 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9659 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9660 Depend on against $(link-rpcuserlibs).
9662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9664 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9665 (__libc_stack_end): Do not use attribute_relro.
9666 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9667 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9668 to libthread-provided value.
9669 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9675 * bits/libc-lock.h (__libc_once_get): New macro.
9676 * sysdeps/mach/bits/libc-lock.h: Likewise.
9677 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9679 instead of using implementation details.
9681 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9682 * libio/freopen.c: Likewise.
9683 * libio/freopen64.c: Likewise.
9684 * misc/syslog.c: Likewise.
9685 * nscd/connections.c: Likewise.
9686 * nscd/netgroupcache.c: Likewise.
9687 * sysdeps/posix/getcwd.c: Likewise.
9689 2012-05-10 Roland McGrath <roland@hack.frob.com>
9691 * math/w_ilogbf.c: Add #include <limits.h>.
9693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9695 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9696 path instead of returning without unlocking.
9698 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9699 immediate-write ioctls.
9700 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9704 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9705 __builtin_frame_address instead of making assumptions about the
9706 location of the return address relative to DATA. Force early load of
9708 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9709 __builtin_frame_address.
9712 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9713 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9714 implement dup3 and do some further code clean-ups.
9715 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9716 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9720 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9722 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9723 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9724 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9725 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9726 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9729 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9730 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9731 when handler == SIG_ERR, not when handler != SIG_ERR.
9733 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9735 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9736 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9739 accept4 for GNU Hurd.
9740 * include/sys/socket.h (__libc_accept4): New prototype.
9741 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9742 to implement __libc_accept4.
9743 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9745 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9747 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9748 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9749 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9754 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9758 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9759 assertion on O_CLOEXEC flag.
9760 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9761 * hurd/intern-fd.c: Likewise.
9762 * hurd/port2fd.c: Likewise.
9764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9767 * bits/in.h (IPV6_PKTINFO): Define new macro.
9768 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9770 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9777 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9778 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9780 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9781 * math/libm-test.inc (logb_test) : Additional logb tests.
9783 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9784 Andreas Jaeger <aj@suse.de>
9786 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9787 * configure: Regenerated.
9788 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9789 * config.make.in (link-obsolete-rpc): New substituted variable.
9790 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9791 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9792 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9793 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9794 so that libc.a contains the symbols.
9795 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9796 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9797 * sunrpc/auth_none.c: Likewise.
9798 * sunrpc/auth_unix.c: Likewise.
9799 * sunrpc/authdes_prot.c: Likewise.
9800 * sunrpc/authuxprot.c: Likewise.
9801 * sunrpc/clnt_gen.c: Likewise.
9802 * sunrpc/clnt_perr.c: Likewise.
9803 * sunrpc/clnt_raw.c: Likewise.
9804 * sunrpc/clnt_simp.c: Likewise.
9805 * sunrpc/clnt_tcp.c: Likewise.
9806 * sunrpc/clnt_udp.c: Likewise.
9807 * sunrpc/clnt_unix.c: Likewise.
9808 * sunrpc/des_crypt.c: Likewise.
9809 * sunrpc/des_soft.c: Likewise.
9810 * sunrpc/get_myaddr.c: Likewise.
9811 * sunrpc/key_call.c: Likewise.
9812 * sunrpc/key_prot.c: Likewise.
9813 * sunrpc/netname.c: Likewise.
9814 * sunrpc/pm_getmaps.c: Likewise.
9815 * sunrpc/pm_getport.c: Likewise.
9816 * sunrpc/pmap_clnt.c: Likewise.
9817 * sunrpc/pmap_prot.c: Likewise.
9818 * sunrpc/pmap_prot2.c: Likewise.
9819 * sunrpc/pmap_rmt.c: Likewise.
9820 * sunrpc/publickey.c: Likewise.
9821 * sunrpc/rpc_cmsg.c: Likewise.
9822 * sunrpc/rpc_common.c: Likewise.
9823 * sunrpc/rpc_dtable.c: Likewise.
9824 * sunrpc/rpc_prot.c: Likewise.
9825 * sunrpc/rpc_thread.c: Likewise.
9826 * sunrpc/rtime.c: Likewise.
9827 * sunrpc/svc.c: Likewise.
9828 * sunrpc/svc_auth.c: Likewise.
9829 * sunrpc/svc_raw.c: Likewise.
9830 * sunrpc/svc_run.c: Likewise.
9831 * sunrpc/svc_tcp.c: Likewise.
9832 * sunrpc/svc_udp.c: Likewise.
9833 * sunrpc/svc_unix.c: Likewise.
9834 * sunrpc/svcauth_des.c: Likewise.
9835 * sunrpc/xcrypt.c: Likewise.
9836 * sunrpc/xdr.c: Likewise.
9837 * sunrpc/xdr_array.c: Likewise.
9838 * sunrpc/xdr_float.c: Likewise.
9839 * sunrpc/xdr_intXX_t.c: Likewise.
9840 * sunrpc/xdr_mem.c: Likewise.
9841 * sunrpc/xdr_rec.c: Likewise.
9842 * sunrpc/xdr_ref.c: Likewise.
9843 * sunrpc/xdr_sizeof.c: Likewise.
9844 * sunrpc/xdr_stdio.c: Likewise.
9846 2012-05-10 Roland McGrath <roland@hack.frob.com>
9848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9849 change. Update copyright years.
9851 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9853 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9855 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9856 Joseph Myers <joseph@codesourcery.com>
9857 Paul Pluzhnikov <ppluzhnikov@google.com>
9860 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9862 [cross-compiling] (extra-libs): Likewise.
9863 [cross-compiling] (extra-libs-others): Likewise.
9864 [cross-compiling] (librpcsvc-routines): Likewise.
9865 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9866 [cross-compiling] (omit-deps): Likewise.
9867 (sunrpc-CPPFLAGS): New variable.
9868 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9869 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9870 (cross-rpcgen-objs): New variable.
9871 (extra-objs): Append $(cross-rpcgen-objs).
9872 ($(cross-rpcgen-objs)): New rule.
9873 ($(objpfx)cross-rpcgen): Likewise.
9874 (rpcgen-cmd): Define to use $(built-program-file). Expand
9876 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9877 ($(objpfx)x%.stmp): Likewise.
9878 * sunrpc/proto.h [IS_IN_build] (_): Define.
9879 [IS_IN_build] (_libc_intl_domainname): Likewise.
9881 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9884 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9885 and R_X86_64_TPOFF64.
9887 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9890 sysdeps/unix/sysv/syscalls.list.
9893 * sysdeps/unix/sysv/syscalls.list: Remove file.
9895 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9898 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9899 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9900 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9901 (__LC_IDENTIFICATION): Make these macros useful in #if
9902 expressions, as required by C99.
9904 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9906 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9907 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9910 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9912 * stdlib/longlong.h: Updated from GCC.
9914 2012-05-09 Andreas Jaeger <aj@suse.de>
9916 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9917 default is first entry.
9918 (run_mode): Set type.
9919 (main): Remove informal message about syslog.
9920 (options): Fix typo.
9923 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9926 (llrintf): Likewise.
9930 (nearbyint): Likewise.
9931 (nearbyintf): Likewise.
9933 2012-05-09 Andreas Jaeger <aj@suse.de>
9934 Pedro Alves <palves@redhat.com>
9936 * nscd/nscd.c (run_mode): Use enum.
9937 (main): Cleanup coding style issue.
9939 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9940 Andreas Jaeger <aj@suse.de>
9942 * nscd/nscd.c (go_background): Replaced with...
9943 (run_mode): ... this.
9944 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9945 (options): Add -F --foreground.
9946 (main): Implement it.
9947 (parse_opt): Parse it.
9949 2012-05-09 Andreas Jaeger <aj@suse.de>
9952 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9953 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9954 -Wconversion warning.
9955 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9958 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9960 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9962 (LC_ALL): Use macro-int-constant.
9963 (LC_COLLATE): Likewise.
9964 (LC_CTYPE): Likewise.
9965 (LC_MESSAGES): Likewise.
9966 (LC_MONETARY): Likewise.
9967 (LC_NUMERIC): Likewise.
9968 (LC_TIME): Likewise.
9969 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9970 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9972 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9974 [C99-based standards] (float_t): Expect type.
9975 [C99-based standards] (double_t): Expect type.
9976 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9978 [C99-based standards] (HUGE_VALL): Likewise.
9979 [C99-based standards] (INFINITY): Likewise.
9980 [C99-based standards] (NAN): Likewise.
9981 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9982 [C99-based standards] (FP_NAN): Likewise.
9983 [C99-based standards] (FP_NORMAL): Likewise.
9984 [C99-based standards] (FP_SUBNORMAL): Likewise.
9985 [C99-based standards] (FP_ZERO): Likewise.
9986 [C99-based standards] (FP_FAST_FMA): Use
9987 optional-macro-int-constant. Specify type. Require == 1.
9988 [C99-based standards] (FP_FAST_FMAF): Likewise.
9989 [C99-based standards] (FP_FAST_FMAL): Likewise.
9990 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9991 [C99-based standards] (FP_ILOGBNAN): Likewise.
9992 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9994 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9995 [C99-based standards] (math_errhandling): Specify type.
9996 [ISO99 || ISO11] (signgam): Do not allow.
9997 [non-C99-based standards] (copysignf): Do not allow.
9998 [non-C99-based standards] (exp2f): Likewise.
9999 [non-C99-based standards] (log2f): Likewise.
10000 [non-C99-based standards] (modff): Allow.
10001 [non-C99-based standards] (erff): Do not allow.
10002 [non-C99-based standards] (erfcf): Likewise.
10003 [non-C99-based standards] (gammaf): Likewise.
10004 [non-C99-based standards] (hypotf): Likewise.
10005 [non-C99-based standards] (j0f): Likewise.
10006 [non-C99-based standards] (j1f): Likewise.
10007 [non-C99-based standards] (jnf): Likewise.
10008 [non-C99-based standards] (lgammaf): Likewise.
10009 [non-C99-based standards] (tgammaf): Likewise.
10010 [non-C99-based standards] (y0f): Likewise.
10011 [non-C99-based standards] (y1f): Likewise.
10012 [non-C99-based standards] (ynf): Likewise.
10013 [non-C99-based standards] (isnanf): Likewise.
10014 [non-C99-based standards] (acoshf): Likewise.
10015 [non-C99-based standards] (asinhf): Likewise.
10016 [non-C99-based standards] (atanhf): Likewise.
10017 [non-C99-based standards] (cbrtf): Likewise.
10018 [non-C99-based standards] (expm1f): Likewise.
10019 [non-C99-based standards] (ilogbf): Likewise.
10020 [non-C99-based standards] (log1pf): Likewise.
10021 [non-C99-based standards] (logbf): Likewise.
10022 [non-C99-based standards] (nextafterf): Likewise.
10023 [non-C99-based standards] (remainderf): Likewise.
10024 [non-C99-based standards] (rintf): Likewise.
10025 [non-C99-based standards] (scalbf): Likewise.
10026 [non-C99-based standards] (copysignl): Likewise.
10027 [non-C99-based standards] (exp2l): Likewise.
10028 [non-C99-based standards] (log2l): Likewise.
10029 [non-C99-based standards] (modfl): Allow.
10030 [non-C99-based standards] (erfl): Do not allow.
10031 [non-C99-based standards] (erfcl): Likewise.
10032 [non-C99-based standards] (gammal): Likewise.
10033 [non-C99-based standards] (hypotl): Likewise.
10034 [non-C99-based standards] (j0l): Likewise.
10035 [non-C99-based standards] (j1l): Likewise.
10036 [non-C99-based standards] (jnl): Likewise.
10037 [non-C99-based standards] (lgammal): Likewise.
10038 [non-C99-based standards] (tgammal): Likewise.
10039 [non-C99-based standards] (y0l): Likewise.
10040 [non-C99-based standards] (y1l): Likewise.
10041 [non-C99-based standards] (ynl): Likewise.
10042 [non-C99-based standards] (isnanl): Likewise.
10043 [non-C99-based standards] (acoshl): Likewise.
10044 [non-C99-based standards] (asinhl): Likewise.
10045 [non-C99-based standards] (atanhl): Likewise.
10046 [non-C99-based standards] (cbrtl): Likewise.
10047 [non-C99-based standards] (expm1l): Likewise.
10048 [non-C99-based standards] (ilogbl): Likewise.
10049 [non-C99-based standards] (log1pl): Likewise.
10050 [non-C99-based standards] (logbl): Likewise.
10051 [non-C99-based standards] (nextafterl): Likewise.
10052 [non-C99-based standards] (remainderl): Likewise.
10053 [non-C99-based standards] (rintl): Likewise.
10054 [non-C99-based standards] (scalbl): Likewise.
10055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10056 [non-C99-based standards] (FP_*): Do not allow.
10057 [C99-based standards] (FP_*): Change to
10058 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10059 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10061 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10062 (SIG_ERR): Likewise.
10063 [X/Open-based standards] (SIG_HOLD): Likewise.
10064 (SIG_IGN): Likewise.
10065 (SIGABRT): Use macro-int-constant. Specify type. Require
10067 (SIGFPE): Likewise.
10068 (SIGILL): Likewise.
10069 (SIGINT): Likewise.
10070 (SIGSEGV): Likewise.
10071 (SIGTER): Likewise.
10072 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10073 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10077 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10078 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10079 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10080 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10081 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10082 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10083 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10084 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10085 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10086 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10087 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10088 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10089 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10090 [X/Open-based standards] (SIGTRAP): Likewise.
10091 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10092 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10093 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10094 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10095 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10098 2012-05-08 Ian Wienand <ianw@vmware.com>
10101 * time/tzset.c (__tzset_parse_tz): Update default rules for
10102 daylight time changes in the Energy Policy Act of 2005.
10104 2012-05-09 Andreas Jaeger <aj@suse.de>
10107 * elf/ldconfig.c (parse_conf): Change string to make clear that
10108 ldconfig only issued a warning if ld.so.conf does not exist.
10110 2012-05-08 David S. Miller <davem@davemloft.net>
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10113 movxtod instead of popping the value on the stack.
10115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10117 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10119 * config.h.in: Add HAVE_ARM_PCS_VFP.
10121 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10124 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10125 checking but the checks are disabled for any reason.
10127 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10129 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10130 and ELF64_R_TYPE with ELFW(R_TYPE).
10132 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10134 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10135 (ulimit): Likewise.
10137 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10138 (settimeofday): Likewise.
10140 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10142 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10143 a struct th_u2 inside the union, and move tu_block/tu_code into
10144 a new th_u3 union of tu_block/tu_code inside of that. Move
10145 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10146 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10147 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10148 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10149 (th_stuff): Change to th_u1.tu_stuff.
10151 (th_msg): Change to th_u1.th_u2.tu_data.
10153 2012-05-07 David S. Miller <davem@davemloft.net>
10155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10158 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10159 (SETUP_PIC_REG): Use it.
10160 (SETUP_PIC_REG_LEAF): Use it.
10162 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10168 (EXPL_FINITE): Likewise.
10169 (FLDLOG): Likewise.
10170 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10171 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10175 (EXPL_FINITE): Likewise.
10176 (FLDLOG): Likewise.
10177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10178 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10180 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10181 test of -max_value argument for long double.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185 2012-05-06 David S. Miller <davem@davemloft.net>
10187 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10188 quad soft-float symbols whose references which are compiler
10190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10192 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10198 (EXPL_FINITE): Likewise.
10199 (FLDLOG): Likewise.
10202 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10203 Adjust comments for base varying.
10204 (__expl_finite): Change alias to EXPL_FINITE.
10205 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10207 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10208 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10210 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10211 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10213 (EXPL_FINITE): Likewise.
10214 (FLDLOG): Likewise.
10217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10218 Adjust comments for base varying.
10219 (__expl_finite): Change alias to EXPL_FINITE.
10220 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10225 * math/libm-test.inc (check_float_internal): Correct ulp
10226 calculation for subnormal expected results.
10228 2012-05-06 Andreas Jaeger <aj@suse.de>
10230 * Makeconfig (+math-flags): New, set to -frounding-math.
10231 (+cflags): Add +math-flags so that all of glibc gets compiled with
10234 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10236 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10238 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10244 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10245 (__ieee754_expl): Allow for and saturate large arguments.
10246 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10247 (u_threshold): Likewise.
10248 (__exp): Call __ieee754_exp before checking for overflow and
10250 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10251 (u_threshold): Likewise.
10252 (__expf): Call __ieee754_expf before checking for overflow and
10254 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10255 (u_threshold): Likewise.
10256 (__expl): Call __ieee754_expl before checking for overflow and
10258 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10259 (__ieee754_expl): Allow for and saturate large arguments.
10260 * math/libm-test.inc (exp_test): Add another test. Do not allow
10261 missing overflow exception on overflow.
10262 (expm1_test): Do not allow missing overflow exception on overflow.
10264 * sysdeps/i386/fpu/e_expl.c: Move to ...
10265 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10266 rather than using inline asm.
10267 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10268 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10269 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10271 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10274 (signal): Likewise.
10278 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10280 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10281 sysdeps/unix/common/syscalls.list.
10282 (fchmod): Likewise.
10283 (fchown): Likewise.
10284 (ftruncate): Likewise.
10285 (getrusage): Likewise.
10286 (gettimeofday): Likewise.
10287 (setpgid): Likewise.
10288 (setregid): Likewise.
10289 (setreuid): Likewise.
10290 (sigaction): Likewise.
10291 (truncate): Likewise.
10292 (vhangup): Likewise.
10293 * sysdeps/unix/common/syscalls.list: Remove file.
10294 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10295 * sysdeps/unix/sysv/linux/Implies: Likewise.
10297 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10299 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10301 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10305 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10308 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10311 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10314 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10317 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10320 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10323 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10327 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10331 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10334 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10338 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10342 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10344 * sysdeps/unix/common/bits/dirent.h: Remove file.
10345 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10347 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10348 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10349 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10350 * sysdeps/unix/bsd/isatty.c: Likewise.
10351 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10352 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10353 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10355 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10359 long double comparison inaccuracies.
10360 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10363 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10365 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10368 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10372 nonzero digits before rounding a hex value.
10373 * stdlib/tst-strtod.c (tests): Add another test.
10375 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10377 * sysdeps/s390/fpu/libm-test-ulps: Update.
10379 2012-05-03 Andreas Jaeger <aj@suse.de>
10381 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10382 does not get optimized out.
10383 (malloc_opt_barrier): New.
10385 2012-05-03 Andreas Jaeger <aj@suse.de>
10386 Roland McGrath <roland@hack.frob.com>
10388 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10389 intermediate file deletion.
10390 (generated): Add .symlist files.
10392 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10395 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10396 Redirect under this condition.
10397 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10398 [__USE_GNU] (__dprintf_chk): Not under this condition.
10399 [__USE_GNU] (__vdprintf_chk): Likewise.
10400 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10401 under this condition.
10402 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10403 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10404 [__USE_XOPEN2K8] (vdprintf): Likewise.
10405 [__USE_GNU] (__dprintf_chk): Not under this condition.
10406 [__USE_GNU] (__vdprintf_chk): Likewise.
10407 [__USE_GNU] (dprintf): Likewise.
10408 [__USE_GNU] (vdprintf): Likewise.
10410 2012-05-03 Roland McGrath <roland@hack.frob.com>
10412 * elf/Makefile (common-generated): Set this instead of generated for
10413 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10414 $(all-built-dso)-derived lists.
10416 2012-05-03 Andreas Jaeger <aj@suse.de>
10418 * sysdeps/i386/fpu/libm-test-ulps: Update.
10421 * FAQ.in: Likewise.
10422 * scripts/gen-FAQ.pl: Likewise.
10423 * manual/install.texi (Installation): Point to online location of
10425 * Makefile (files-for-dist): Remove FAQ.
10428 2012-05-02 Allan McRae <allan@archlinux.org>
10430 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10431 (LDFLAGS-reldepmod5.so): Likewise.
10432 (LDFLAGS-reldep6mod1.so): Likewise.
10433 (LDFLAGS-reldep6mod4.so): Likewise.
10434 (LDFLAGS-reldep8mod3.so): Likewise.
10435 (LDFLAGS-unload4mod1.so): Likewise.
10436 (LDFLAGS-unload4mod2.so): Likewise.
10437 (LDFLAGS-tst-initorder): Likewise.
10438 (LDFLAGS-tst-initordera2.so): Likewise.
10439 (LDFLAGS-tst-initordera3.so): Likewise.
10440 (LDFLAGS-tst-initordera4.so): Likewise.
10441 (LDFLAGS-tst-initorderb2.so): Likewise.
10442 (LDFLAGS-noload): Likewise.
10443 (LDFLAGS-next): Likewise.
10444 (LDFLAGS-order2mod1.so): Likewise.
10445 (LDFLAGS-order2mod2.so): Likewise.
10446 (LDFLAGS-tst-initorder2): Likewise.
10447 (LDFLAGS-tst-initorder2a.so): Likewise.
10448 (LDFLAGS-tst-initorder2b.so): Likewise.
10449 (LDFLAGS-tst-initorder2c.so): Likewise.
10450 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10452 2012-05-02 David S. Miller <davem@davemloft.net>
10454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10456 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10459 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10461 2012-05-02 Andreas Jaeger <aj@suse.de>
10463 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10464 since we manipulate rounding mode.
10465 (CPPFLAGS-test-idouble.c): Likewise.
10466 (CPPFLAGS-test-ifloat.c): Likewise.
10467 (CFLAGS-test-ldouble.c): Likewise.
10468 (CFLAGS-test-double.c): Likewise.
10469 (CFLAGS-test-float.c): Likewise.
10470 (CFLAGS-test-misc.c): Likewise.
10471 (CFLAGS-test-test-fenv.c): Likewise.
10473 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10478 comparisons to determine direction to adjust input.
10480 2012-05-01 Roland McGrath <roland@hack.frob.com>
10482 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10483 output to the target.
10485 * scripts/localplt.awk: New file.
10486 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10487 (check-localplt-CFLAGS): Variable removed.
10488 ($(all-built-dso:=.jmprel)): New static pattern rule.
10489 (generated): Add those targets.
10490 (localplt-built-dso): New variable.
10491 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10493 * elf/check-localplt.c: File removed.
10495 * scripts/check-execstack.awk: New file.
10496 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10497 (check-execstack-CFLAGS): Variable removed.
10498 ($(objpfx)check-execstack.h): Target removed.
10499 ($(objpfx)execstack-default): New target.
10500 (generated): Add that instead of check-execstack.h.
10501 ($(all-built-dso:=.phdr)): New static pattern rule.
10502 (generated): Add those targets.
10503 * elf/check-execstack.c: File removed.
10505 * scripts/check-textrel.awk: New file.
10506 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10507 (check-textrel-CFLAGS): Variable removed.
10508 (all-built-dso): Use := to define.o
10509 ($(all-built-dso:=.dyn)): New static pattern rule.
10510 (generated): Add those targets.
10511 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10512 * config.make.in (READELF): New substituted variable.
10513 * elf/check-textrel.c: File removed.
10515 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10517 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10519 * conform/data/ctype.h-data [C99-based standards] (isblank):
10521 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10522 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10524 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10525 Specify type. Require positive value.
10526 (EILSEQ): Likewise.
10527 (ERANGE): Likewise.
10528 [ISO || POSIX] (EILSEQ): Do not expect.
10529 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10530 Specify type. Require positive value.
10531 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10542 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10548 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10549 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10553 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10554 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10555 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10556 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10557 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10558 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10559 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10560 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10561 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10562 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10563 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10564 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10565 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10566 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10567 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10568 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10569 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10570 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10571 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10572 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10573 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10574 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10575 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10576 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10577 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10578 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10579 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10580 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10581 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10582 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10583 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10584 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10585 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10586 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10587 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10588 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10589 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10590 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10591 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10592 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10593 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10605 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10606 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10607 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10609 (FLT_ROUNDS): Expect as macro, not constant.
10610 (FLT_MANT_DIG): Use macro-int-constant.
10611 (DBL_MANT_DIG): Likewise.
10612 (LDBL_MANT_DIG): Likewise.
10613 (FLT_DIG): Likewise.
10614 (DBL_DIG): Likewise.
10615 (LDBL_DIG): Likewise.
10616 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10617 (DBL_MIN_EXP): Likewise.
10618 (LDBL_MIN_EXP): Likewise.
10619 (FLT_MAX_EXP): Use macro-int-constant.
10620 (DBL_MAX_EXP): Likewise.
10621 (LDBL_MAX_EXP): Likewise.
10622 (FLT_MAX_10_EXP): Likewise.
10623 (DBL_MAX_10_EXP): Likewise.
10624 (LDBL_MAX_10_EXP): Likewise.
10625 (FLT_MAX): Use macro-constant.
10626 (DBL_MAX): Likewise.
10627 (LDBL_MAX): Likewise.
10628 (FLT_EPSILON): Use macro-constant. Give upper bound.
10629 (DBL_EPSILON): Likewise.
10630 (LDBL_EPSILON): Likewise.
10631 (FLT_MIN): Likewise.
10632 (DBL_MIN): Likewise.
10633 (LDBL_MIN): Likewise.
10634 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10635 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10636 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10637 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10638 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10639 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10640 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10641 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10642 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10643 [ISO11] (FLT_TRUE_MIN): Likewise.
10644 [ISO11] (LDBL_TRUE_MIN): Likewise.
10645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10646 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10647 (SCHAR_MIN): Use macro-int-constant. Specify type.
10648 (SCHAR_MAX): Likewise.
10649 (UCHAR_MAX): Likewise.
10650 (CHAR_MIN): Likewise.
10651 (CHAR_MAX): Likewise.
10652 (MB_LEN_MAX): Use macro-int-constant.
10653 (SHRT_MIN): Use macro-int-constant. Specify type.
10654 (SHRT_MAX): Likewise.
10655 (USHRT_MAX): Likewise.
10656 (INT_MAX): Likewise.
10657 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10659 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10661 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10663 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10664 bound negative. Suffix upper bound with "L".
10665 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10667 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10669 [C99-based standards] (LLONG_MAX): Likewise.
10670 [C99-based standards] (ULLONG_MAX): Likewise.
10671 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10673 [ISO11] (max_align_t): Require type.
10674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10676 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10677 from $CFLAGS, without defining away __attribute__ calls.
10678 (checknamespace): Use $CFLAGS_namespace.
10680 * conform/conformtest.pl (@keywords): Only include C99 keywords
10681 for standards based on C99 or C11.
10683 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10685 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10688 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10689 usability of symbols in #if.
10691 * conform/conformtest.pl: If macro or constant types start
10692 "promoted:", expect the symbol to be of the following type
10693 promoted by the integer promotions.
10695 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10696 in one place. Also handle "macro-constant".
10698 * conform/conformtest.pl: Only accept expected macro values with
10699 "==". Parse all "macro" lines in one place.
10700 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10702 * conform/conformtest.pl: Handle braced types on "constant" lines
10703 instead of handling "typed-constant".
10704 * conform/data/signal.h-data: Use "constant" instead of
10707 * conform/conformtest.pl: Handle "optional-" at start of lines in
10708 one place rather than duplicating several cases. Handle each
10709 format of "macro" line with initial "optional-".
10711 * conform/conformtest.pl: Only accept expected constant or
10712 optional-constant values with "==". Parse all "constant" lines in
10713 one place. Parse all "optional-constant" lines in one place.
10714 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10715 * conform/data/fmtmsg.h-data: Likewise.
10716 * conform/data/netinet/in.h-data: Likewise.
10717 * conform/data/tar.h-data: Likewise.
10718 * conform/data/limits.h-data: Use "==" form on "constant" and
10719 "optional-constant" lines.
10721 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10722 Use -std=c99 for XOPEN2K.
10723 (@knownproblems): Remove.
10724 (newtoken): Don't check %isknown.
10726 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10727 Do not expect macro.
10728 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10740 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10741 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10758 [XPG3] (acosh): Likewise.
10759 [XPG3] (asinh): Likewise.
10760 [XPG3] (atanh): Likewise.
10761 [XPG3] (cbrt): Likewise.
10762 [XPG3] (expm1): Likewise.
10763 [XPG3] (ilogb): Likewise.
10764 [XPG3] (log1p): Likewise.
10765 [XPG3] (logb): Likewise.
10766 [XPG3] (nextafter): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10769 [XPG3] (remainder): Likewise.
10770 [XPG3] (rint): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10778 [UNIX98 || XOPEN2K] (scalb): Expect.
10779 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10780 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10785 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10786 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10787 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10788 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10789 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10790 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10917 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10918 _XOPEN_SOURCE_EXTENDED for XPG4.
10920 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10922 * Makeconfig (localtime): Remove variable.
10923 (inst_localtime-file): Likewise.
10925 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10946 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10950 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10951 comparisons to determine direction to adjust input.
10952 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10953 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10960 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10963 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10965 * math/libm-test.inc (nexttoward_test): Add more tests.
10967 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10971 in version GLIBC_2.1, not GLIBC_2.0.
10972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10975 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10978 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10980 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10981 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10982 * math/libm-test.inc (acos_test): Add more tests.
10983 (asin_test): Likewise.
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10988 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10990 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10991 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10992 * math/libm-test.inc (acos_test_tonearest): New function.
10993 (acos_test_towardzero): Likewise.
10994 (acos_test_downward): Likewise.
10995 (acos_test_upward): Likewise.
10996 (asin_test_tonearest): Likewise.
10997 (asin_test_towardzero): Likewise.
10998 (asin_test_downward): Likewise.
10999 (asin_test_upward): Likewise.
11000 (main): Call the new functions.
11001 * sysdeps/i386/fpu/libm-test-ulps: Update.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11006 * math/e_exp10.c: Include <float.h>.
11007 (__ieee754_exp10): Handle underflow here rather than multiplying
11008 large negative argument by M_LN10.
11009 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11011 * math/e_exp10l.c: Include <float.h>.
11012 (__ieee754_exp10l): Handle underflow here rather than multiplying
11013 large negative argument by M_LN10l.
11014 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11015 spurious overflow exception on underflow.
11017 2012-04-29 Marek Polacek <polacek@redhat.com>
11019 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11020 (__fortify_function): New macro.
11021 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11022 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11023 __extern_always_inline.
11024 * libio/bits/stdio2.h: Likewise.
11025 * libio/bits/stdio.h: Likewise.
11026 * string/string.h: Likewise.
11027 * string/bits/string3.h: Likewise.
11028 * include/stdio.h: Likewise.
11029 * stdlib/bits/stdlib.h: Likewise.
11030 * stdlib/stdlib.h: Likewise.
11031 * rt/bits/mqueue2.h: Likewise.
11032 * rt/mqueue.h: Likewise.
11033 * posix/bits/unistd.h: Likewise.
11034 * posix/unistd.h: Likewise.
11035 * io/bits/poll2.h: Likewise.
11036 * io/bits/fcntl2.h: Likewise.
11037 * io/fcntl.h: Likewise.
11038 * io/sys/poll.h: Likewise.
11039 * misc/bits/syslog.h: Likewise.
11040 * misc/bits/syslog-ldbl.h: Likewise.
11041 * misc/sys/syslog.h: Likewise.
11042 * socket/bits/socket2.h: Likewise.
11043 * socket/sys/socket.h: Likewise.
11044 * debug/tst-chk1.c: Likewise.
11045 * wcsmbs/bits/wchar2.h: Likewise.
11046 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11047 * wcsmbs/wchar.h: Likewise.
11049 2012-04-29 Andreas Jaeger <aj@suse.de>
11051 * Makerules (tests): Remove enable-check-abi protection.
11052 (check-abi-warn): Remove.
11053 (check-abi-%): Remove check-abi-warn usage.
11055 * configure.in: Remove check-abi configure option.
11056 * configure: Regenerated.
11057 * config.make.in (enable-check-abi): Remove.
11059 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11062 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11063 double functions to double *_finite functions.
11066 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11067 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11069 * stdio-common/Makefile (tests): Add tst-sprintf3.
11070 * stdio-common/tst-sprintf3.c: New file.
11072 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11073 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11075 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11077 * conform/conformtest.pl: Remove duplicate typed-constant
11080 2012-04-28 David S. Miller <davem@davemloft.net>
11082 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11083 (check-abi-%): Remove AWK script prerequisite and explicit
11085 (check-abi): Rewrite to just diff the symlist with the abilist.
11086 (config-tls, config-abi-config): Delete, no longer used.
11087 (update-abi-%): Remove AWK script and explicit abilist directory.
11088 (update-abi): Rewrite to simply compare and conditionally copy the
11089 symlist and the sysdep abilist file. Remove update-abi-config
11091 * abilist/ld.abilist: Remove.
11092 * abilist/libBrokenLocale.abilist: Remove.
11093 * abilist/libanl.abilist: Remove.
11094 * abilist/libcrypt.abilist: Remove.
11095 * abilist/libdl.abilist: Remove.
11096 * abilist/librt.abilist: Remove.
11097 * abilist/libthread_db.abilist: Remove.
11098 * abilist/libutil.abilist: Remove.
11099 * scripts/extract-abilist.awk: Remove.
11100 * scripts/merge-abilist.awk: Remove.
11101 * sysdeps/generic/libcidn.abilist: New file.
11102 * sysdeps/generic/libnss_compat.abilist: New file.
11103 * sysdeps/generic/libnss_db.abilist: New file.
11104 * sysdeps/generic/libnss_dns.abilist: New file.
11105 * sysdeps/generic/libnss_files.abilist: New file.
11106 * sysdeps/generic/libnss_hesiod.abilist: New file.
11107 * sysdeps/generic/libnss_nis.abilist: New file.
11108 * sysdeps/generic/libnss_nisplus.abilist: New file.
11109 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11110 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11111 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11114 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11115 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11116 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11117 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11118 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11119 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11120 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11121 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11123 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11124 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11125 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11126 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11128 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11129 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11130 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11131 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11132 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11133 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11135 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11136 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11137 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11139 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11243 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11244 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11247 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11248 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11249 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11250 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11251 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11252 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11254 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11255 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11307 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11309 * conform/conformtest.pl: Fix typo in handling typed-constant from
11312 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11314 * README: Cut down references to pre-2.6 Linux kernels and
11315 Linuxthreads. Update lists of configurations in libc and ports
11316 and sort alphabetically. Say "or newer" with Linux kernel version
11319 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11321 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11324 * math/libm-test.inc (logb_test_downward): New test to expose
11325 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11328 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11331 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11333 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11334 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11336 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11338 * sysdeps/unix/i386/brk.S: Remove file.
11339 * sysdeps/unix/i386/dl-brk.S: Likewise.
11340 * sysdeps/unix/i386/pipe.S: Likewise.
11341 * sysdeps/unix/i386/sigreturn.S: Likewise.
11342 * sysdeps/unix/i386/syscall.S: Likewise.
11343 * sysdeps/unix/i386/vfork.S: Likewise.
11344 * sysdeps/unix/i386/wait.S: Likewise.
11346 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11347 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11349 * configure.in (arm*-none*): Do not allow without
11350 --enable-hacker-mode.
11351 (netbsd*): Remove case setting base_os.
11352 (386bsd*): Likewise.
11353 (freebsd*): Likewise.
11356 (sunos*): Likewise.
11357 (ultrix*): Likewise.
11358 (newsos*): Likewise.
11359 (dynix*): Likewise.
11365 (minix*): Likewise.
11366 (irix4*): Likewise.
11367 (irix6*): Likewise.
11368 (solaris[2-9]*): Likewise.
11370 * configure: Regenerated.
11372 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11375 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11376 overflow or cancellation in calculating denominator.
11377 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11379 down expression to avoid unexpected rounding in newer GCCs.
11380 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11382 2012-04-26 David S. Miller <davem@davemloft.net>
11384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11385 long-double compat symbols.
11386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11400 2012-04-25 David S. Miller <davem@davemloft.net>
11402 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11403 HWCAP_* values only after the memory barriers have been defined.
11404 (atomic_full_barrier): Define.
11405 (atomic_read_barrier): Define.
11406 (atomic_write_barrier): Define.
11408 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11410 * shlib-versions: Add libgcc_s version information.
11411 * sysdeps/generic/libgcc_s.h: Remove.
11412 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11414 * sysdeps/gnu/unwind-resume.c: Likewise.
11415 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11417 2012-04-25 David S. Miller <davem@davemloft.net>
11419 * sysdeps/unix/sparc/brk.S: Delete.
11420 * sysdeps/unix/sparc/dl-brk.S: Delete.
11421 * sysdeps/unix/sparc/pipe.S: Delete.
11422 * sysdeps/unix/sparc/sysdep.S: Delete.
11423 * sysdeps/unix/sparc/sysdep.h: Delete.
11424 * sysdeps/unix/sparc/vfork.S: Delete.
11425 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11426 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11428 ret_ERRVAL, r0, r1, MOVE): Define.
11429 (JUMPTARGET): Remove.
11430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11431 sysdeps/unix/sparc/sysdep.h
11432 (ENTRY, END): Remove.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11435 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11437 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11438 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11441 * timezone/README: Update upstream location and email address for
11443 * timezone/zdump.c: Update from tzcode 2012b.
11444 * timezone/zic.c: Likewise.
11446 * configure.in (libc_cv_as_needed): Remove test.
11447 * configure: Regenerated.
11448 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11449 conditional definition.
11450 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11451 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11452 * config.make.in (have-as-needed): Remove variable.
11454 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11455 Paul Pluzhnikov <ppluzhnikov@google.com>
11457 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11460 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11462 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11463 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11464 * sysdeps/sh/strlen.S: Likewise.
11466 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11468 * sysdeps/unix/fork.S: Remove file.
11469 * sysdeps/unix/i386/fork.S: Likewise.
11470 * sysdeps/unix/sparc/fork.S: Likewise.
11472 * sysdeps/unix/system.c: Remove file.
11473 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11475 * sysdeps/unix/getegid.S: Remove file.
11476 * sysdeps/unix/geteuid.S: Likewise.
11478 2012-04-24 Roland McGrath <roland@hack.frob.com>
11480 * scripts/check-localplt.awk: New file.
11481 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11483 * scripts/data/localplt-generic.data: Add a comment.
11485 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11486 NODE when __dir_mkfile failed.
11487 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11488 Reported by Ludovic Courtès <ludo@gnu.org>.
11490 2012-04-24 Andreas Jaeger <aj@suse.de>
11492 * Makerules (common-clean): Also remove gen-as-const-headers
11495 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11497 * Makerules (native-compile): Do not change working directory for
11498 build. Use $(OUTPUT_OPTION) in command.
11499 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11501 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11504 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11505 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11506 * math/libm-test.inc (floor_test): Add more tests.
11507 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11509 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11511 * sysdeps/unix/getdents.c: Remove file.
11512 * sysdeps/unix/sysv/getdents.c: Likewise.
11513 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11515 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11516 sysdeps/unix/mman/syscalls.list.
11518 (mprotect): Likewise.
11520 (munmap): Likewise.
11521 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11522 * sysdeps/unix/mman/syscalls.list: Remove.
11523 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11525 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11526 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11527 * configure: Regenerated.
11528 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11529 $(libgcc_s_suffix).
11530 * config.make.in (libgcc_s_suffix): Remove variable.
11532 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11534 * sysdeps/unix/sysv/gethostname.c: Move to ...
11535 * sysdeps/posix/gethostname.c: ... here.
11537 * sysdeps/unix/execve.S: Remove file.
11539 * sysdeps/unix/_exit.S: Remove file.
11541 2012-04-23 Andreas Jaeger <aj@suse.de>
11544 * manual/Makefile: Remove make dist support, there's no
11545 need for a stand-alone documentation tar ball.
11546 (TEXI2DVI): Define always, it's not in Makeconfig.
11549 (edition): Removed.
11550 (glibc-doc-$(edition).tar): Removed
11554 (ETAGS): Remove, it's in Makeconfig.
11555 (move-if-change): Remove, it's in Makeconfig.
11557 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11560 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11561 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11562 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11563 (strtod_l, strtof_l, strtold_l): Remove __wur.
11564 It is not necessarily an error to ignore strtol's return value.
11565 One can reliably look at the stored endptr to decide whether
11566 the number had valid syntax.
11568 2012-04-21 Andreas Jaeger <aj@suse.de>
11571 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11573 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11575 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11576 * sysdeps/unix/sysv/Versions: Remove file.
11578 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11583 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11587 version from __vm86.
11589 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11591 * sysdeps/unix/common/lxstat.c: Remove file.
11592 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11594 * sysdeps/unix/sysv/Makefile: Remove file.
11596 * sysdeps/unix/sysv/direct.h: Remove file.
11598 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11599 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11600 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11601 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11602 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11603 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11604 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11606 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11608 * sysdeps/unix/xmknod.c: Remove file.
11609 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11611 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11613 * sysdeps/unix/sysv/i386/time.S: Remove file.
11615 * sysdeps/unix/fxstat.c: Remove file.
11616 * sysdeps/unix/xstat.c: Likewise.
11617 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11619 * sysdeps/unix/sysv/sigaction.c: Remove file.
11621 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11622 (sysdep_headers): Remove variable.
11623 [termio.h not in sysdep_headers] (generated): Likewise.
11624 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11625 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11626 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11627 * sysdeps/unix/sysv/tcflow.c: Likewise.
11628 * sysdeps/unix/sysv/tcflush.c: Likewise.
11629 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11630 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11631 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11632 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11633 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11635 * sysdeps/unix/siglist.c: Remove file.
11637 * sysdeps/unix/getppid.S: Remove file.
11639 * sysdeps/unix/mkdir.c: Remove file.
11640 * sysdeps/unix/rmdir.c: Likewise.
11642 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11644 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11646 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11647 errlist-compat value.
11649 2012-04-18 David S. Miller <davem@davemloft.net>
11651 * sysdeps/generic/memcopy.h (reg_char): Delete.
11652 * debug/strcat_chk.c: Use char, not reg_char.
11653 * debug/strcpy_chk.c: Likewise.
11654 * debug/strncat_chk.c: Likewise.
11655 * debug/strncpy_chk.c: Likewise.
11656 * string/memchr.c: Likewise.
11657 * string/memrchr.c: Likewise.
11658 * string/rawmemchr.c: Likewise.
11659 * string/strcat.c: Likewise.
11660 * string/strchr.c: Likewise.
11661 * string/strchrnul.c: Likewise.
11662 * string/strcmp.c: Likewise.
11663 * string/strcpy.c: Likewise.
11664 * string/strncat.c: Likewise.
11665 * string/strncmp.c: Likewise.
11666 * string/strncpy.c: Likewise.
11668 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11670 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11671 __builtin_memcopy is called when src and dest ranges are known to not
11674 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11677 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11678 fwd_align_merge macro call.
11679 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11680 bwd_align_merge macro call.
11681 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11683 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11685 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11686 bwd_align_merge macros.
11687 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11688 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11691 2012-04-18 David S. Miller <davem@davemloft.net>
11693 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11695 2012-04-18 Andreas Jaeger <aj@suse.de>
11698 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11699 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11702 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11703 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11706 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11707 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11708 Adjust for changed ldbl-128 files.
11710 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11711 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11712 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11714 2012-04-17 David S. Miller <davem@davemloft.net>
11716 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11718 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11720 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11721 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11722 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11723 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11724 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11725 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11727 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11730 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11731 * math/libm-test.inc: Add ilogb errno and exception tests.
11732 * math/w_ilogb.c: New file: ilogb wrapper.
11733 * math/w_ilogbf.c: New file: ilogbf wrapper.
11734 * math/w_ilogbl.c: New file: ilogbl wrapper.
11735 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11736 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11737 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11738 exception being thrown with 0.0 as argument.
11739 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11740 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11741 exception being thrown with 0.0 as argument.
11742 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11743 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11744 exception being thrown with 0.0 as argument.
11745 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11746 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11747 exception being thrown with 0.0 as argument.
11748 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11749 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11750 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11751 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11752 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11753 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11754 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11755 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11756 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11758 2012-04-17 Petr Baudis <pasky@ucw.cz>
11760 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11763 2012-04-16 Marek Polacek <polacek@redhat.com>
11765 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11767 2012-04-16 Marek Polacek <polacek@redhat.com>
11769 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11770 operands of fdivp instruction.
11772 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11774 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11775 * elf/tst-auditmod3b.c: Likewise.
11776 * elf/tst-auditmod4b.c: Likewise.
11777 * elf/tst-auditmod5b.c: Likewise.
11778 * elf/tst-auditmod6b.c: Likewise.
11779 * elf/tst-auditmod6c.c: Likewise.
11780 * elf/tst-auditmod7b.c: Likewise.
11781 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11782 * sysdeps/x86_64/preconfigure.in: Likewise.
11783 * sysdeps/x86_64/preconfigure: Regenerated.
11785 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11787 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11790 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11793 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11795 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11798 * locale/iso-639.def: Fix gl language name. Spotted by
11801 2012-04-12 Roland McGrath <roland@hack.frob.com>
11804 * libio/libio.h (__io_write_fn): Update comment.
11806 2012-04-12 Petr Baudis <pasky@ucw.cz>
11809 * stdio.texi (Hook Functions): The user provided writer function
11810 is not allowed to return -1.
11812 2012-04-11 David S. Miller <davem@davemloft.net>
11814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11816 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11818 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11819 Add a leading slash to rtkaio.
11821 2012-04-11 Jim Meyering <meyering@redhat.com>
11824 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11825 It is not necessarily an error to ignore fwrite's return
11826 value. One can reliably use ferror to test for errors after
11829 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11831 * bits/types.h (__snseconds_t): New type.
11832 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11834 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11836 (__SNSECONDS_T_TYPE): Likewise.
11837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11838 (__SNSECONDS_T_TYPE): Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11840 (__SNSECONDS_T_TYPE): Likewise.
11842 2012-04-10 Andreas Jaeger <aj@suse.de>
11845 * manual/time.texi (Processor Time): Return type of times is
11846 elapsed real time since an arbitrary point in the past.
11847 (CPU Time): Move CLK_TCK from here...
11848 (Processor Time): ...to here. Correct description.
11849 * manual/conf.texi (Constants for Sysconf): Correct description of
11852 2012-04-10 David S. Miller <davem@davemloft.net>
11855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11856 where the is a gap between DT_REL(A) and DT_JMPREL.
11858 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11860 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11864 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11866 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11867 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11868 (dl_main): Handle --inhibit-cache.
11869 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11871 * elf/dl-load.c (_dl_map_object): Use it.
11872 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11874 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11877 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11878 (__ieee754_powl): Saturate large exponents rather than testing for
11879 overflow of y*log2(x).
11880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11881 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11885 * math/s_ctan.c: Include <float.h>.
11886 (__ctan): Avoid internal overflow or cancellation in calculating
11888 * math/s_ctanf.c: Likewise.
11889 * math/s_ctanl.c: Likewise.
11890 * math/s_ctanh.c: Likewise.
11891 * math/s_ctanhf.c: Likewise.
11892 * math/s_ctanhl.c: Likewise.
11893 * math/libm-test.inc (ctan_test): Add more tests.
11894 (ctanh_test): Likewise.
11895 * sysdeps/i386/fpu/libm-test-ulps: Update.
11896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11898 2012-04-09 Andreas Jaeger <aj@suse.de>
11901 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11902 is an optional BSD extension.
11905 * manual/stdio.texi (Opening Streams): Document additional fopen
11908 2012-04-09 Roland McGrath <roland@hack.frob.com>
11910 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11911 %eax without telling the compiler.
11913 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11916 * manual/install.texi: Use sourceware.org.
11918 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11921 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11922 (__ieee754_pow): Generate overflow and underflow using huge*huge
11923 and tiny*tiny rather than just returning constant infinity or zero
11924 for large exponents.
11925 * math/libm-test.inc (pow_test): Require overflow exceptions for
11926 applicable cases of large exponents.
11929 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11930 (__ieee754_pow): Use iterative multiplication algorithm only for
11931 integer exponents with absolute value below 1024. Check for odd
11932 integer exponents when using algorithm for real exponents.
11933 * math/libm-test.inc (pow_test): Add more tests.
11934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11936 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11939 * math/libm-test.inc (exp_test): Do not allow overflow exception
11942 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11945 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11946 instead of __kernel_standard_f.
11948 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11950 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11951 * sysdeps/x86_64/memset_chk.S: Likewise.
11953 2012-04-08 Andreas Jaeger <aj@suse.de>
11956 * manual/startup.texi (Environment Access): Describe return value
11957 for putenv and setenv.
11960 * manual/filesys.texi (Directory Entries): Add description for
11964 * manual/filesys.texi (Directory Entries): Clarify that it's file
11965 system not operating system in the description of DT_UNKNOWN.
11968 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11970 2012-04-08 Stephen Compall <s11@member.fsf.org>
11973 * manual/llio.texi (Opening and Closing Files): Add cross
11974 reference to explain mode argument.
11976 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11978 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11979 * sysdeps/x86_64/memset_chk.S: Likewise.
11981 2012-04-07 David S. Miller <davem@davemloft.net>
11983 * elf/elf.h (R_SPARC_WDISP10): Define.
11984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11987 R_SPARC_SIZE64 and R_SPARC_H34.
11989 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11992 conditions and remove no longer applicable assertion.
11994 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11996 * bits/byteswap.h: Include <features.h>.
11997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12000 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12002 * bits/byteswap.h (__bswap_16): Removed.
12003 Include <bits/byteswap-16.h> to get __bswap_16.
12004 * sysdeps/i386/bits/byteswap.h: Likewise.
12005 * sysdeps/s390/bits/byteswap.h: Likewise.
12006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12007 * bits/byteswap-16.h: New file.
12008 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12009 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12010 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12011 * string/Makefile (headers): Add bits/byteswap-16.h.
12013 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12016 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12018 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12019 * nss/tst-nss-static.c: New.
12021 2012-04-06 Robert Millan <rmh@gnu.org>
12024 * manual/llio.texi (File Position Primitive): lseek
12025 refers to WHENCE when it really means OFFSET.
12027 2012-04-06 Andreas Jaeger <aj@suse.de>
12029 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12030 strncmp declarations.
12032 * abilist/libc.abilist: Add __poll and __ppoll.
12034 2012-04-05 David S. Miller <davem@davemloft.net>
12036 * scripts/check-local-headers.sh: Accept a host triplet in the
12037 path matched by the exclude regexp.
12039 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12041 * sysdeps/powerpc/powerpc32/dl-machine.h
12042 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12043 * sysdeps/s390/s390-32/dl-machine.h
12044 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12045 * sysdeps/sparc/sparc32/dl-machine.h
12046 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12047 * sysdeps/sparc/sparc64/dl-machine.h
12048 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12050 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12052 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12053 undefined symbol errors.
12055 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12058 2012-04-05 Michael Matz <matz@suse.de>
12061 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12063 2012-04-05 Andreas Jaeger <aj@suse.de>
12066 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12069 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12071 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12072 which ROUND is no valid rounding mode.
12074 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12076 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12078 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12080 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12082 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12083 an exception using FPU order intentionally.
12085 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12087 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12088 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12089 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12090 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12092 2012-04-05 Simon Josefsson <simon@josefsson.org>
12095 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12096 EINVAL when BUFLEN is too smal.
12098 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12101 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12102 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12104 2012-04-03 Andreas Jaeger <aj@suse.de>
12107 * manual/setjmp.texi (System V contexts): Fix sentence.
12110 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12111 New macro for this case.
12112 [!__GNUC__] (__bswap_64): New inline function for this case.
12113 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12114 * bits/byteswap.h: Likewise.
12115 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12116 ull, guard with __GLIBC_HAVE_LONG_LONG.
12118 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12119 __GLIBC_HAVE_LONG_LONG.
12121 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12122 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12124 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12127 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12128 inptr and inend, rather than using last_ch.
12130 2012-04-02 David S. Miller <davem@davemloft.net>
12132 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12133 * stdio-common/printf-parse.h (read_int): Change return type to
12134 'int', return -1 on INT_MAX overflow.
12135 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12136 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12137 overflows INT_MAX. Check for overflow of in-format-string precision
12138 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12139 SIZE_MAX not INT_MAX for integer overflow test.
12140 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12141 skip the construct in the format string but do not record anything.
12142 * stdio-common/bug22.c: Adjust to test both width/prevision
12143 INT_MAX overflow as well as total length INT_MAX overflow. Check
12144 explicitly for proper errno values.
12146 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12148 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12150 * string/test-strcmp.c [! WIDE]: Likewise.
12151 * time/tst-mktime2.c: Likewise for INT_MAX.
12152 * string/test-string.h: #include <sys/param.h> for MIN.
12154 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12155 * sysdeps/i386/init-first.c (init): Likewise.
12156 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12157 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12158 * sysdeps/sh/init-first.c (init): Likewise.
12160 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12162 * po/ru.po: Update from translation team.
12163 * po/vi.po: Likewise.
12165 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12167 * resolv/nss_dns/dns-host.c: Merge copyright years.
12169 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12171 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12172 Optimize memcpy with prefetch if
12173 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12174 src, dst pointers have unequal 16 byte alignments.
12176 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12179 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12180 from a CNAME entry and return the minimum ttl for the query.
12181 (gaih_getanswer_slice): Likewise.
12183 2012-03-30 Jeff Law <law@redhat.com>
12185 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12187 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12188 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12190 * resolv/nss_dns/dns-host.c: Update copyright year.
12192 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12194 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12195 requests to save a system call. Fix check that all bytes are sent.
12197 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12198 comments for sendmmsg.
12200 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12203 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12204 with only 1 character between 0x0041 and 0x01b0.
12205 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12206 * wcsmbs/tst-mbsnrtowcs.c: New file.
12208 2012-03-29 David S. Miller <davem@davemloft.net>
12210 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12211 small copies by hand.
12213 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12216 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12217 _nss_compat_initgroups_dyn): Fall back to malloc/free
12218 for large group memberships.
12220 2012-03-28 David S. Miller <davem@davemloft.net>
12222 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12223 that branches into memcpy.
12224 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12227 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12230 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12231 implementation too.
12232 * sysdeps/sparc/mempcpy.S: New file.
12234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12235 the IFUNC routine in the libc case.
12236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12238 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12240 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12241 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12242 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12243 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12244 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12245 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12247 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12248 loop to 256 bytes instead of 64 bytes and fix test signedness.
12250 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12251 * sysdeps/sparc/sparc32/Makefile: rather than here...
12252 * sysdeps/sparc/sparc64/Makefile: and here.
12254 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12256 * malloc/mallocbug.c: Avoid warnings about unused variables.
12258 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12261 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12262 in the right place. Discard and retry query if response is
12263 larger than input buffer size.
12265 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12271 x for large integer exponent.
12272 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12273 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12274 sign of result as needed afterwards.
12275 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12277 result for underflowing pow the same as for overflow.
12278 (__kernel_standard_l): Handle powl overflow and underflow here
12279 rather than calling __kernel_standard.
12280 * math/libm-test.inc (pow_test): Add more tests.
12295 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12296 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12297 (__kernel_standard_l): New function.
12298 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12300 * math/w_acosl.c (__acosl): Likewise.
12301 * math/w_asinl.c (__asinl): Likewise.
12302 * math/w_atan2l.c (__atan2l): Likewise.
12303 * math/w_atanhl.c (__atanhl): Likewise.
12304 * math/w_coshl.c (__coshl): Likewise.
12305 * math/w_exp10l.c (__exp10l): Likewise.
12306 * math/w_exp2l.c (__exp2l): Likewise.
12307 * math/w_fmodl.c (__fmodl): Likewise.
12308 * math/w_hypotl.c (__hypotl): Likewise.
12309 * math/w_j0l.c (__j0l, __y0l): Likewise.
12310 * math/w_j1l.c (__j1l, __y1l): Likewise.
12311 * math/w_jnl.c (__jnl, __ynl): Likewise.
12312 * math/w_lgammal.c (__lgammal): Likewise.
12313 * math/w_log10l.c (__log10l): Likewise.
12314 * math/w_log2l.c (__log2l): Likewise.
12315 * math/w_logl.c (__logl): Likewise.
12316 * math/w_powl.c (__powl): Likewise.
12317 * math/w_remainderl.c (__remainderl): Likewise.
12318 * math/w_scalbl.c (sysv_scalbl): Likewise.
12319 * math/w_sinhl.c (__sinhl): Likewise.
12320 * math/w_sqrtl.c (__sqrtl): Likewise.
12321 * math/w_tgammal.c (__tgammal): Likewise.
12322 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12323 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12324 * math/libm-test.inc (acos_test): Add more tests.
12325 (acosh_test): Likewise.
12326 (asin_test): Likewise.
12327 (atanh_test): Likewise.
12328 (exp_test): Likewise.
12329 (exp10_test): Likewise.
12330 (exp2_test): Likewise.
12331 (expm1_test): Likewise.
12332 (lgamma_test): Likewise.
12333 (log_test): Likewise.
12334 (log10_test): Likewise.
12335 (log1p_test): Likewise.
12336 (log2_test): Likewise.
12337 (pow_test): Do not allow some spurious overflow exceptions.
12338 (sqrt_test): Add more tests.
12339 (tgamma_test): Likewise.
12340 (y0_test): Likewise.
12341 (y1_test): Likewise.
12342 (yn_test): Likewise.
12344 2012-03-27 Anton Blanchard <anton@samba.org>
12346 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12352 2012-03-27 David S. Miller <davem@davemloft.net>
12354 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12356 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12357 have-as-vis3 check.
12359 2012-03-27 Andreas Jaeger <aj@suse.de>
12361 * sysdeps/x86_64/elf/configure.in: Moved to ...
12362 * sysdeps/x86_64/configure.in: ... here.
12363 * sysdeps/x86_64/elf/start.S: Moved to ...
12364 * sysdeps/x86_64/start.S: ... here.
12365 * sysdeps/x86_64/elf/configure: Delete.
12367 * sysdeps/x86_64/configure.in: Merge contents from
12368 sysdeps/i386/configure.in (without i686 check).
12370 * sysdeps/i386/elf/Versions: Merge into ...
12371 * sysdeps/i386/Versions: ... this.
12372 * sysdeps/i386/elf/Versions: Delete file.
12373 * sysdeps/i386/elf/start.S: Moved to ...
12374 * sysdeps/i386/start.S: ...here.
12375 * sysdeps/i386/elf/configure.in: Merge into...
12376 * sysdeps/i386/configure.in: ...here.
12377 * sysdeps/i386/elf/configure.in: Delete file.
12378 * sysdeps/i386/elf/configure: Delete file.
12380 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12381 * debug/backtracesyms.c: ... here.
12382 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12383 * debug/backtracesymsfd.c: ... here.
12384 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12385 * sysdeps/generic/ifunc-sel.h: ... here.
12387 * sysdeps/unix/i386/start.c: Delete file.
12388 * sysdeps/unix/sparc/start.c: Delete file.
12389 * sysdeps/unix/start.c: Delete file.
12391 * sysdeps/sh/elf/configure.in: Moved to ...
12392 * sysdeps/sh/configure.in: ... here.
12393 * sysdeps/sh/elf/start.S: Moved to ...
12394 * sysdeps/sh/start.S: ... here.
12395 * sysdeps/sh/elf/configure: Delete file.
12397 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12398 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12399 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12400 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12401 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12402 * sysdeps/powerpc/powerpc64/start.S: here.
12403 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12404 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12405 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12406 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12407 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12409 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12410 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12411 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12412 * sysdeps/powerpc/powerpc32/start.S: ... here.
12413 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12414 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12415 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12417 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12418 * sysdeps/powerpc/ifunc-sel.h: ... here.
12419 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12420 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12422 * sysdeps/sparc/elf/configure.in: Moved to ...
12423 * sysdeps/sparc/configure.in: ... here.
12424 * sysdeps/sparc/elf/configure: Delete file.
12425 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12426 * sysdeps/sparc/sparc32/start.S: ... here.
12427 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12428 * sysdeps/sparc/sparc64/start.S: ... here.
12429 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12430 * sysdeps/sparc/sparc32/Makefile: ... this.
12431 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12432 * sysdeps/sparc/sparc64/Makefile: ... this.
12434 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12435 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12436 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12437 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12438 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12439 * sysdeps/s390/s390-32/setjmp.S: ... here.
12440 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12441 * sysdeps/s390/s390-32/configure.in: ... here.
12442 * sysdeps/s390/s390-32/elf/configure: Delete file.
12443 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12444 * sysdeps/s390/s390-32/start.S: ... here.
12446 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12447 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12448 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12449 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12450 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12451 * sysdeps/s390/s390-64/setjmp.S: ... here.
12452 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12453 * sysdeps/s390/s390-64/configure.in: ... here
12454 * sysdeps/s390/s390-64/elf/configure: Delete file.
12455 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12456 * sysdeps/s390/s390-64/start.S: ... here.
12457 * sysdeps/s390/s390-64/elf/configure: Delete.
12459 * configure.in: Remove support for elf directories in sysdeps.
12461 * configure: Regenerated.
12462 * sysdeps/i386/configure: Regenerated.
12463 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12464 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12465 * sysdeps/s390/s390-32/configure: Regenerated.
12466 * sysdeps/s390/s390-64/configure: Regenerated.
12467 * sysdeps/sh/configure: Regenerated.
12468 * sysdeps/sparc/configure: Regenerated.
12469 * sysdeps/x86_64/configure: Regenerated.
12471 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12476 denormal result into account.
12478 2012-03-25 Roland McGrath <roland@hack.frob.com>
12480 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12481 Reported by Allan McRae <allan@archlinux.org>.
12483 2012-03-23 Jeff Law <law@redhat.com>
12485 * nss/getnssent.c (__nss_getent): Fix typo.
12487 2012-03-23 David S. Miller <davem@davemloft.net>
12489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12491 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12494 to pad to uint64_t for each field.
12495 (dl_tls_index): Replace unsigned long with uint64_t.
12497 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12498 Paul Pluzhnikov <ppluzhnikov@google.com>
12501 * grp/Makefile (otherlibs): Don't set it.
12502 * inet/Makefile (otherlibs): Likewise.
12503 * login/Makefile (otherlibs): Likewise.
12504 * nscd/Makefile (otherlibs): Likewise.
12505 * posix/Makefile (otherlibs): Likewise.
12506 * pwd/Makefile (otherlibs): Likewise.
12507 * rt/Makefile (otherlibs): Likewise.
12508 * sunrpc/Makefile (otherlibs): Likewise.
12509 * nss/Makefile (otherlibs): Likewise.
12510 Add libnss_files to routines and static-only-routines.
12511 ($(objpfx)getent): Remove rule.
12512 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12513 static-only-routines.
12515 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12518 * math/s_cexp.c: Include <float.h>.
12519 (__cexp): Handle exp result overflowing not necessarily
12520 overflowing both real and imaginary parts of result.
12521 * math/s_cexpf.c: Likewise.
12522 * math/s_cexpl.c: Likewise.
12523 * math/libm-test.inc (cexp_test): Add more tests.
12524 * sysdeps/i386/fpu/libm-test-ulps: Update.
12525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12529 * include/link.h (ELFW): New macro.
12530 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12531 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12533 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12535 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12538 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12540 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12542 (struct La_x32_retval): Likewise.
12544 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12546 * sysdeps/x86_64/preconfigure.in: New file.
12547 * sysdeps/x86_64/preconfigure: New generated file.
12549 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12552 * math/e_exp2l.c: Include <float.h>.
12553 (__ieee754_exp2l): Handle overflow and underflow cases
12554 separately. Only pass fractional part of argument to
12556 * math/libm-test.inc (exp2_test): Add more tests.
12558 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12559 negating x to take absolute value.
12560 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12562 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12565 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12566 computing low part if x was negated.
12567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12569 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12571 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12572 la_x32_gnu_pltexit.
12573 (pltexit): Cast int_retval to ptrdiff_t.
12574 * elf/tst-auditmod3b.c: Likewise.
12575 * elf/tst-auditmod4b.c: Likewise.
12576 * elf/tst-auditmod5b.c: Likewise.
12577 * elf/tst-auditmod6b.c: Likewise.
12578 * elf/tst-auditmod6c.c: Likewise.
12579 * elf/tst-auditmod7b.c: Likewise.
12581 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12582 and x32_gnu_pltexit.
12584 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12585 __ELF_NATIVE_CLASS.
12586 (La_x32_regs): New macro.
12587 (La_x32_retval): Likewise.
12588 (la_x32_gnu_pltenter): New function prototype.
12589 (la_x32_gnu_pltexit): Likewise.
12591 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12598 * configure.in (libc_cv_cc_nofma): Check for option to disable
12599 generation of FMA instructions.
12600 * configure: Regenerate.
12601 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12602 * sysdeps/ieee754/dbl-64/Makefile: New file.
12603 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12604 Remove brandred-fma4.
12605 (CFLAGS-brandred-fma4.c): Remove.
12606 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12607 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12612 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12614 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12615 LLONG_MAX != LONG_MAX.
12616 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12617 (_fitoa_word): Likewise.
12618 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12619 LLONG_MAX != LONG_MAX.
12620 * stdio-common/_itowa.h: Include <_itoa.h>.
12621 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12622 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12623 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12624 only if not defined.
12625 (_ITOA_WORD_TYPE): Likewise.
12626 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12627 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12629 2012-03-21 David S. Miller <davem@davemloft.net>
12631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12633 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12635 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12636 of x86_64 when setting libc_cv_slibdir, libdir and
12638 * sysdeps/unix/sysv/linux/configure: Regenerated.
12640 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12642 * manual/lang.texi (Old Varargs): Remove section.
12643 (How Variadic): Update menu.
12644 (va_start): Do not mention varargs.h.
12646 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12647 Joseph Myers <joseph@codesourcery.com>
12649 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12651 * configure: Regenerated.
12653 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12655 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12656 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12659 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12662 * Makefile (files-for-dist): Remove NOTES.
12663 (NOTES): Remove rule.
12664 * README: Don't refer to NOTES.
12665 * manual/creature.texi: Don't include macros.texi.
12666 * manual/intro.texi (creature.texi): Remove comment referring to
12669 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12670 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12671 * configure: Regenerated.
12672 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12673 LIBC_TRY_CC_OPTION.
12674 (libc_cv_as_i686): Likewise.
12675 (libc_cv_cc_avx): Likewise.
12676 (libc_cv_cc_sse2avx): Likewise.
12677 (libc_cv_cc_fma4): Likewise.
12678 (libc_cv_cc_novzeroupper): Likewise.
12679 * sysdeps/i386/configure: Regenerated.
12682 * sysdeps/i386/fpu/s_cexp.S: Remove.
12683 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12684 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12685 * math/libm-test.inc (cexp_test): Add more tests.
12686 * sysdeps/i386/fpu/libm-test-ulps: Update.
12687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12689 2012-03-21 Allan McRae <allan@archlinux.org>
12691 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12693 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12696 * math/w_exp2.c: Do not include <float.h>.
12697 (o_threshold, u_threshold): Remove.
12698 (__exp2): Calculate result before checking finiteness and calling
12700 * math/w_exp2f.c: Likewise.
12701 * math/w_exp2l.c: Likewise.
12702 * math/libm-test.inc (exp2_test): Require overflow exception for
12706 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12707 range of signed 64-bit integers before using fistpll. Remove
12708 checks for whether integers fit in mantissa bits.
12709 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12710 the range of signed 32-bit integers before using fistpl. Remove
12711 checks for whether integers fit in mantissa bits.
12712 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12713 (__ieee754_powl): Test for y outside the range of signed 64-bit
12714 integers before using fistpll. Reduce 64-bit values to 63-bit
12716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12717 divide-by-zero is raised for zero to large negative powers.
12718 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12719 (__ieee754_powl): Test for y outside the range of signed 64-bit
12720 integers before using fistpll. Reduce 64-bit values to 63-bit
12722 * math/libm-test.inc (pow_test): Add more tests.
12724 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12726 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12727 <stdio-common/_itoa.h>.
12728 * debug/segfault.c: Likewise.
12729 * elf/dl-cache.c: Likewise.
12730 * elf/dl-minimal.c: Likewise.
12731 * elf/dl-misc.c: Likewise.
12732 * elf/dl-sysdep.c: Likewise.
12733 * elf/dl-version.c: Likewise.
12734 * elf/rtld.c: Likewise.
12735 * hurd/hurdsock.c: Likewise.
12736 * hurd/lookup-retry.c: Likewise.
12737 * malloc/malloc.c: Likewise.
12738 * malloc/mtrace.c: Likewise.
12739 * nscd/nscd_getgr_r.c: Likewise.
12740 * nscd/nscd_getpw_r.c: Likewise.
12741 * nscd/nscd_getserv_r.c: Likewise.
12742 * posix/getopt_init.c: Likewise.
12743 * posix/wordexp.c: Likewise.
12744 * stdio-common/_itoa.c: Likewise.
12745 * stdio-common/printf_fphex.c: Likewise.
12746 * stdio-common/vfprintf.c: Likewise.
12747 * string/_strerror.c: Likewise.
12748 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12749 * sysdeps/i386/i686/hp-timing.h: Likewise.
12750 * sysdeps/mach/_strerror.c: Likewise.
12751 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12752 * sysdeps/mach/hurd/sethostid.c: Likewise.
12753 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12754 * sysdeps/mach/xpg-strerror.c: Likewise.
12755 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12756 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12757 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12758 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12759 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12760 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12761 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12762 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12763 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12764 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12765 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12766 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12767 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12768 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12770 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12771 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12772 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12773 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12774 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12775 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12777 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12779 * stdio-common/_itoa.h: Moved to ...
12780 * sysdeps/generic/_itoa.h: Here.
12782 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12784 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12785 instead of "_itoa.h" and "_itowa.h".
12786 * stdio-common/vfprintf.: Likewise.
12788 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12790 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12792 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12793 (__signbit): Likwise.
12794 (llrintf): Likwise.
12797 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12802 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12804 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12805 OVERFLOW_EXCEPTION_OK.
12806 * math/libm-test.inc ("Philosophy"): Update comment about
12808 (OVERFLOW_EXCEPTION): Define.
12809 (OVERFLOW_EXCEPTION_OK): Likewise.
12810 (INVALID_EXCEPTION_OK): Renumber.
12811 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12812 (IGNORE_ZERO_INF_SIGN): Likewise.
12813 (test_exceptions): Handle FE_OVERFLOW.
12814 (exp10_test): Expect overflow exceptions.
12815 (exp2_test): Likewise.
12816 (expm1_test): Likewise.
12817 (nextafter_test): Likewise.
12818 (pow_test): Likewise.
12819 (scalbn_test): Likewise.
12820 (scalbln_test): Likewise.
12822 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12824 * sysdeps/x86_64/bits/atomic.h
12825 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12827 (atomic_exchange_acq): Likewise.
12828 (__arch_exchange_and_add_body): Likewise.
12829 (__arch_add_body): Likewise.
12830 (atomic_add_negative): Likewise.
12831 (atomic_add_zero): Likewise.
12833 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12835 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12836 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12838 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12840 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12841 Check __x86_64__ instead of __WORDSIZE.
12843 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12845 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12847 2012-03-19 David S. Miller <davem@davemloft.net>
12849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12851 * sysdeps/sparc/fpu/fenv_private.h: New file.
12852 * sysdeps/sparc/fpu/math_private.h: Use it.
12853 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12855 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12856 (libc_feholdexcept_setroundl): Remove.
12857 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12859 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12860 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12862 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12864 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12865 int64_t instead of long int.
12866 (INSERT_WORDS64): Likwise.
12868 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12870 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12871 _Unwind_GetCFA return to _Unwind_Ptr first.
12873 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12876 * math/s_clog.c: Include <float.h>.
12877 (__clog): Scale large or subnormal inputs.
12878 * math/s_clogf.c: Likewise.
12879 * math/s_clogl.c: Likewise.
12880 * math/s_clog10.c: Include <float.h>.
12881 (M_LOG10_2): Define.
12882 (__clog10): Scale large or subnormal inputs.
12883 * math/s_clog10f.c: Likewise.
12884 * math/s_clog10l.c: Likewise.
12885 * math/libm-test.inc (clog_test): Add more tests.
12886 (clog10_test): Likewise.
12887 * sysdeps/i386/fpu/libm-test-ulps: Update.
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12891 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12893 * math/libm-test.inc (atan2_test): Add another test.
12895 * Makerules (common-objdir-compile): Remove.
12896 * sysdeps/unix/Makefile (config-generated): Do not add
12897 $(unix-generated) to variable.
12898 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12899 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12901 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12903 [generic bits/local_lim.h] (before-compile): Do not append to
12905 [generic bits/local_lim.h] (common-generated): Likewise.
12906 [generic sys/param.h] (before-compile): Do not append to variable.
12907 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12908 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12909 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12912 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12913 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12914 [generic sys/param.h] ($(addprefix
12915 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12916 [generic sys/param.h] (common-generated): Do not append to
12918 [generic sys/param.h] (sysdep_headers): Likewise.
12919 [generic bits/errno.h] (before-compile): Do not append to
12921 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12923 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12924 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12925 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12926 [generic bits/errno.h] (common-generated): Do not append to
12928 [generic bits/ioctls.h] (before-compile): Do not append to
12930 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12932 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12933 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12934 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12936 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12937 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12938 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12939 [generic bits/ioctls.h] (common-generated): Do not append to
12941 [generic sys/syscall.h] (syscall.h): Remove variable.
12942 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12944 [generic sys/syscall.h] (before-compile): Do not append to
12946 [generic sys/syscall.h] (common-generated): Likewise.
12947 * sysdeps/unix/errnos-tmpl.c: Remove file.
12948 * sysdeps/unix/errnos.awk: Likewise.
12949 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12950 * sysdeps/unix/ioctls.awk: Likewise.
12951 * sysdeps/unix/mk-local_lim.c: Likewise.
12952 * sysdeps/unix/snarf-ioctls: Likewise.
12954 2012-03-19 Richard Henderson <rth@twiddle.net>
12956 * sysdeps/i386/fpu/fenv_private.h: New file.
12957 * sysdeps/i386/fpu/math_private.h: Use it.
12958 (math_opt_barrier, math_force_eval): Remove.
12959 (libc_feholdexcept_setround_53bit): Remove.
12960 (libc_feupdateenv_53bit): Remove.
12961 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12962 (math_opt_barrier, math_force_eval): Remove.
12963 (libc_feholdexcept): Remove.
12964 (libc_feholdexcept_setround): Remove.
12965 (libc_fetestexcept, libc_fesetenv): Remove.
12966 (libc_feupdateenv_test): Remove.
12967 (libc_feupdateenv, libc_feholdsetround): Remove.
12968 (libc_feresetround): Remove.
12970 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12971 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12973 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12974 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12975 (libc_feupdateenv_testl): New.
12976 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12977 (libc_feupdateenv_testf): New.
12978 (libc_feupdateenv): Use libc_feupdateenv_test.
12979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12982 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12983 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12984 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12985 (libc_feresetround_noex): New.
12986 (libc_feresetround_noexf): New.
12987 (libc_feresetround_noexl): New.
12988 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12989 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12990 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12991 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12996 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12997 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12998 SET_RESTORE_ROUND_NOEX.
12999 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13000 SET_RESTORE_ROUND_NOEXF.
13001 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13002 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13003 (libc_feholdsetroundf): New.
13004 (libc_feresetround, libc_feresetroundf): New.
13006 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13007 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13008 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13010 * sysdeps/generic/math_private.h: Include <fenv.h>.
13011 (default_libc_feholdexcept): New.
13012 (default_libc_feholdexcept_setround): New.
13013 (default_libc_fesetenv, default_libc_feupdateenv): New.
13014 (libc_feholdexcept): Only define if undefined.
13015 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13016 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13017 (libc_feholdexcept_setroundl): Likewise.
13018 (libc_feholdexcept_setround_53bit): Likewise.
13019 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13020 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13021 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13022 (libc_feupdateenv_53bit): Likewise.
13023 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13024 (libc_feholdexcept): Convert from macro to inline function.
13025 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13026 (libc_fesetenv, libc_feupdateenv): Likewise.
13028 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13029 not previously defined.
13030 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13031 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13032 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13033 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13034 * sysdeps/ieee754/flt-32/math_private.h: New file.
13035 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13036 math_private.h below SET_FLOAT_WORD.
13037 (__isnan, __isinf_ns, __finite): Remove.
13038 (__isnanf, __isinf_nsf, __finitef): Remove.
13040 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13044 2012-03-17 David S. Miller <davem@davemloft.net>
13047 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13050 2012-03-16 David S. Miller <davem@davemloft.net>
13052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13058 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13059 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13060 sysdep_routines when subdir is sysvipc.
13061 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13062 __getshmlba helper.
13064 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13066 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13068 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13074 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13075 (__lround): Renamed to ...
13076 (__llround): This. Replace long int with long long int.
13077 Define lround functions as aliases of llround functions.
13078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13080 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13082 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13083 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13084 adresses to uintptr_t. Replace "long int" and "unsigned long
13085 int" with "greg_t" on va_arg.
13087 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13089 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13090 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13092 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13093 Move e_machine check before EI_CLASS check. Handle x32
13094 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13095 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13096 SKIP_EM_IA_64 and include
13097 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13099 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13100 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13101 (add_system_dir): New macro.
13103 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13104 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13106 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13117 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13119 * math/w_j0f.c (j0f): Likewise.
13121 * math/w_j0l.c (__j0l): Likewise.
13123 * math/w_j1.c (j1): Likewise.
13125 * math/w_j1f.c (j1f): Likewise.
13127 * math/w_j1l.c (__j1l): Likewise.
13129 * math/w_jn.c (jn): Likewise.
13131 * math/w_jnf.c (jnf): Likewise.
13133 * math/w_jnl.c (__jnl): Likewise.
13135 * math/libm-test.inc (j0_test): Add more tests.
13136 (j1_test): Likewise.
13137 (jn_test): Likewise. Add trailing semicolon to existing test.
13138 (y0_test): Likewise.
13139 (y1_test): Likewise.
13140 * sysdeps/i386/fpu/libm-test-ulps: Update.
13141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13146 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13147 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13148 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13149 (__tanl): Set errno for infinite argument.
13150 * sysdeps/i386/fpu/mptan.c: Remove.
13151 * sysdeps/i386/fpu/s_tan.S: Likewise.
13152 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13153 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13154 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13155 * math/libm-test.inc (tan_test): Add more tests and enable more
13156 tests for double and long double.
13157 * sysdeps/i386/fpu/libm-test-ulps: Update.
13158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13160 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13162 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13163 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13165 2012-03-16 Roland McGrath <roland@hack.frob.com>
13167 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13168 * configure.in: Use it for both main tree and add-ons.
13169 * configure: Regenerated.
13171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13173 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13175 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13177 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13181 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13182 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13187 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13189 != 0 for prec == 2.
13190 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13191 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13192 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13193 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13194 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13195 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13196 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13197 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13198 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13199 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13200 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13201 * math/libm-test.inc (cos_test): Add more tests and enable more
13202 tests for long double.
13203 (sin_test): Likewise.
13204 (sincos_test): Likewise.
13205 * sysdeps/i386/fpu/libm-test-ulps: Update.
13206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13208 2012-03-16 David S. Miller <davem@davemloft.net>
13210 * sysdeps/sparc/fpu/math_private.h: New file.
13212 2012-03-15 David S. Miller <davem@davemloft.net>
13214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13228 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13229 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13231 * sysdeps/sparc/sparc-ifunc.h: New file.
13232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13277 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13279 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13283 2012-03-15 Andreas Jaeger <aj@suse.de>
13286 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13287 ieee754/flt-32 implementation for sin, cos and sincos.
13288 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13289 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13290 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13291 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13292 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13293 ieee754/flt-32 implementation for tan.
13295 * math/libm-test.inc (cos_test): Enable some large input tests for
13297 (sin_test): Likewise.
13298 (sincos_test): Likewise.
13299 (tan_test): Add tests for large input.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13303 2012-03-15 Andreas Jaeger <aj@suse.de>
13306 * math/libm-test.inc (cos_test): Add more test cases.
13307 (sin_test): Likewise.
13308 (sincos_test): Likewise.
13310 2012-03-15 Andreas Jaeger <aj@suse.de>
13313 * math/libm-test.inc (cos_test): Add a test case for large input
13315 (sin_test): Likewise.
13316 (sincos_test): Likewise.
13318 2012-03-15 Andreas Jaeger <aj@suse.de>,
13319 Joseph Myers <joseph@codesourcery.com>
13322 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13323 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13324 * sysdeps/i386/fpu/branred.c: Likewise.
13325 * sysdeps/i386/fpu/dosincos.c: Likewise.
13326 * sysdeps/i386/fpu/mpa.c: Likewise.
13327 * sysdeps/i386/fpu/s_cos.S: Likewise.
13328 * sysdeps/i386/fpu/s_sin.S: Likewise.
13329 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13330 * sysdeps/i386/fpu/sincos32.c: Likewise.
13332 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13334 (libc_feupdateenv_53bit): Define.
13335 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13337 (libc_feupdateenv_53bit): Define.
13339 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13340 53 bit (without extend i386 double precision).
13342 * math/libm-test.inc (sincos_test): Add tests for large input.
13346 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13348 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13352 2012-03-15 David S. Miller <davem@davemloft.net>
13354 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13355 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13356 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13357 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13382 fmin/fmax sysdep routines.
13383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13385 2012-03-14 David S. Miller <davem@davemloft.net>
13387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13459 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13464 * sysdeps/sparc/configure.in: New file.
13465 * sysdeps/sparc/configure: Generate.
13466 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13467 * configure: Regenerate.
13468 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13469 * config.make.in (have-as-vis3): New.
13470 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13471 available use -Av9d instead of -Av9a.
13472 * sysdeps/sparc/sparc64/Makefile: Likewise.
13473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13488 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13489 fzeros/fnegs to load 0x80000000 into a float register instead of
13491 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13493 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13497 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13498 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13499 ($(inst_includedir)/bits/syscall.h): Remove rule.
13500 ($(objpfx)bits/syscall.d): Include instead of
13501 $(objpfx)syscall-list.d.
13502 (generated): Change syscall-list.h and syscall-list.d to
13503 bits/syscall.h and bits/syscall.d.
13505 2012-03-14 Roland McGrath <roland@hack.frob.com>
13508 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13510 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13513 * math/s_csqrt.c: Include <float.h>.
13514 (__csqrt): Scale large or subnormal inputs.
13515 * math/s_csqrtf.c: Likewise.
13516 * math/s_csqrtl.c: Likewise.
13517 * math/libm-test.inc (csqrt_test): Add more tests.
13518 * sysdeps/i386/fpu/libm-test-ulps: Update.
13519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13522 * math/libm-test.inc (hypot_test): Add more tests.
13524 2012-03-13 David S. Miller <davem@davemloft.net>
13527 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13528 double-precision for the calculation instead of scaling.
13530 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13532 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13533 manipulate bits before adding and subtracting TWO52[sx].
13534 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13539 2012-03-13 David S. Miller <davem@davemloft.net>
13541 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13542 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13544 rtld-global-offsets.h
13545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13550 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13552 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13553 'err' in the ifdef scope in which it is actually used.
13555 * nss/nss_db/db-init.c: Include string.h
13557 2012-03-12 David S. Miller <davem@davemloft.net>
13559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13560 masking out of the most significant byte of random value used.
13561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13562 Fix coding style in previous change.
13564 * sysdeps/unix/sysv/linux/kernel-features.h
13565 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13566 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13568 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13571 2012-03-11 David S. Miller <davem@davemloft.net>
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13574 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13575 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13576 for 'resultvar' otherwise things get truncated on 64-bit.
13578 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13579 Fix masking out of the most significant byte of random value used.
13581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13583 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13587 2012-03-09 David S. Miller <davem@davemloft.net>
13589 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13590 variables with appropriate CPP guards.
13591 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13592 frame pointer, not the stack pointer. Correct layout comments. Fix test
13593 on resulting framesize and the management of the outregs buffer for pltexit.
13594 Preserve floating point return values across _dl_call_pltexit call.
13595 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13596 framesize and the management of the outregs buffer for pltexit.
13597 Preserve floating point return values across _dl_call_pltexit
13599 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13600 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13601 (print_exit): Fix format string for return register value.
13603 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13605 * sunrpc/Makefile (others): Add rpcgen.
13606 ($(objpfx)rpcgen): Remove special build rule and dependency on
13608 * sunrpc/rpcgen.c: New file.
13610 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13613 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13614 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13615 * sysdeps/i386/crti.S: Likewise.
13616 * sysdeps/i386/crtn.S: Likewise.
13617 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13618 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13619 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13620 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13621 * sysdeps/sh/crti.S: Likewise.
13622 * sysdeps/sh/crtn.S: Likewise.
13623 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13626 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13628 * locale/programs/locfile-kw.gperf: Likewise.
13629 * locale/programs/charmap-kw.h: Regenerated.
13630 * locale/programs/locfile-kw.h: Likewise.
13633 * intl/plural.y: Replace FSF snail mail address with URL.
13634 * intl/plural.c: Regenerated.
13636 2012-03-09 Richard Henderson <rth@twiddle.net>
13638 * include/math_private.h: Remove file.
13639 * math/math_private.h: Move file ...
13640 * sysdeps/generic/math_private.h: ... here.
13642 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13643 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13646 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13647 and <math_private.h>.
13648 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13649 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13650 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13651 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13652 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13657 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13660 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13662 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13663 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13664 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13665 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13666 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13667 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13670 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13672 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13673 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13736 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13737 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13738 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13739 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13741 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13742 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13743 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13744 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13745 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13746 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13748 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13749 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13750 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13751 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13753 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13754 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13755 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13756 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13760 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13761 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13762 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13764 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13765 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13766 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13767 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13768 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13769 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13770 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13771 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13772 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13773 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13774 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13776 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13777 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13778 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13779 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13780 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13781 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13782 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13783 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13784 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13785 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13786 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13787 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13788 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13789 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13790 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13791 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13792 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13793 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13794 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13795 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13796 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13797 * sysdeps/ieee754/k_standard.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13913 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13917 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13918 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13920 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13925 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13930 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13933 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13947 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13948 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13958 * sysdeps/ieee754/s_lib_version.c: Likewise.
13959 * sysdeps/ieee754/s_matherr.c: Likewise.
13960 * sysdeps/ieee754/s_signgam.c: Likewise.
13961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13963 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13964 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13965 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13966 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13967 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13968 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13969 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13970 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13971 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13972 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13973 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13974 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13975 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13976 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13977 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13978 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13979 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13983 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13985 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13986 * sunrpc/rpc_main.c: Likewise.
13987 * sunrpc/rpc_svcout.c: Likewise.
13989 2012-03-09 David S. Miller <davem@davemloft.net>
13991 * include/math_private.h: New file.
13993 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13995 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13996 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13997 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13998 from <bits/socket_type.h>.
13999 (enum __socket_type): Don't define here.
14000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14002 bits/socket_type.h.
14005 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14006 checking __USE_GNU.
14008 * Makerules ($(inst_includedir)/%.h): New rule.
14009 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14010 (install-others): Remove variable setting.
14011 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14013 2012-03-08 Richard Henderson <rth@twiddle.net>
14015 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14016 from macro to inline function; merge with the
14017 !__LIBC_INTERNAL_MATH_INLINES version.
14018 (__ieee754_sqrtf): Likewise.
14020 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14021 to inline function.
14022 (__rintf, __floor, __floorf): Likewise.
14024 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14025 macro to inline function.
14026 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14029 not <math/math_private.h>.
14031 2012-03-08 David S. Miller <davem@davemloft.net>
14033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14035 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14037 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14039 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14041 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14042 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14044 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14046 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14047 be defined individually, they must be defined as a block. Define
14048 S for printing a string instead of hidint the different by using a
14049 macro for adding the 'l'.
14050 * stdio-common/tst-fphex-wide.c: Adjust.
14052 2012-03-07 Marek Polacek <polacek@redhat.com>
14054 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14056 2012-03-08 Marek Polacek <polacek@redhat.com>
14059 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14060 * stdio-common/tst-fphex.c: Define a few macros to make the
14061 test reusable. Use them.
14062 * stdio-common/tst-fphex-wide.c: New file.
14064 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14067 * manual/macros.texi (gnusystems): New macro.
14068 (nongnusystems): Likewise.
14069 (gnulinuxhurdsystems): Likewise.
14070 (gnuhurdsystems): Likewise..
14071 (gnulinuxsystems): Likewise.
14072 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14073 variants of the GNU system, not "GNU system".
14074 * manual/conf.texi: Likewise.
14075 * manual/errno.texi: Likewise. Update example of errno macro
14077 * manual/filesys.texi: Likewise.
14078 (getumask): Document as specific to GNU/Hurd.
14079 * manual/install.texi: Likewise. Reword some references to
14081 * manual/intro.texi: Likewise.
14082 * manual/io.texi: Likewise.
14083 (File Name Portability): Detail which constraints are inapplicable
14084 to all GNU systems and which are only inapplicable to GNU/Hurd.
14085 * manual/job.texi: Likewise.
14086 * manual/llio.texi: Likewise.
14087 (O_NOCTTY): Document as present on GNU/Linux.
14088 * manual/maint.texi: Likewise.
14089 * manual/memory.texi: Likewise.
14090 * manual/pattern.texi: Likewise.
14091 * manual/pipe.texi: Likewise.
14092 * manual/process.texi: Likewise.
14093 * manual/resource.texi: Likewise.
14094 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14096 * manual/setjmp.texi: Likewise.
14097 * manual/signal.texi: Likewise.
14098 * manual/startup.texi: Likewise.
14099 * manual/stdio.texi: Likewise.
14100 * manual/terminal.texi: Likewise.
14101 (ONLCR): Document as POSIX.
14102 (OXTABS): Document availability on GNU/Linux as XTABS.
14103 (ONOEOT): Document availability separately from other bits.
14104 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14105 * manual/time.texi: Likewise.
14106 * manual/users.texi: Likewise.
14107 * INSTALL: Regenerated.
14108 * sysdeps/gnu/errlist.c: Regenerated.
14110 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14111 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14112 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14114 * configure: Regenerated.
14116 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14118 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14119 default includes instead of AC_HEADER_CHECK.
14120 * sysdeps/i386/configure: Regenerated.
14123 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14124 * math/s_cacoshf.c (__cacoshf): Likewise.
14125 * math/s_cacoshl.c (__cacoshl): Likewise.
14126 * math/s_casinh.c (__casinh): Set signs of result from argument.
14127 * math/s_casinhf.c (__casinhf): Likewise.
14128 * math/s_casinhl.c (__casinhl): Likewise.
14129 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14130 (casinh_test): Add more tests.
14131 * sysdeps/i386/fpu/libm-test-ulps: Update.
14132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14134 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14136 * po/zh_TW.po: Update from translation team.
14138 * login/Makefile (distribute): Remove variable.
14139 * catgets/Makefile: Likewise.
14140 * mach/Makefile: Likewise.
14141 * malloc/Makefile: Likewise.
14142 * misc/Makefile: Likewise.
14143 * iconv/Makefile: Likewise.
14144 * nscd/Makefile: Likewise.
14145 * hurd/Makefile: Likewise.
14146 * manual/Makefile: Likewise.
14147 * locale/Makefile: Likewise.
14148 * intl/Makefile: Likewise.
14149 * conform/Makefile: Likewise.
14150 * nss/Makefile: Likewise.
14151 * time/Makefile: Likewise.
14152 * soft-fp/Makefile: Likewise.
14153 * dirent/Makefile: Likewise.
14154 * gmon/Makefile: Likewise.
14155 * po/Makefile: Likewise.
14156 * rt/Makefile: Likewise.
14157 * socket/Makefile: Likewise.
14158 * math/Makefile: Likewise.
14159 * signal/Makefile: Likewise.
14160 * debug/Makefile: Likewise.
14161 * elf/Makefile: Likewise.
14162 * timezone/Makefile: Likewise.
14163 * stdlib/Makefile: Likewise.
14164 * iconvdata/Makefile: Likewise.
14165 * sunrpc/Makefile: Likewise.
14166 * io/Makefile: Likewise.
14167 * argp/Makefile: Likewise.
14168 * inet/Makefile: Likewise.
14169 * hesiod/Makefile: Likewise.
14170 * grp/Makefile: Likewise.
14171 * csu/Makefile: Likewise.
14172 * wctype/Makefile: Likewise.
14173 * crypt/Makefile: Likewise.
14174 * libio/Makefile: Likewise.
14175 * string/Makefile: Likewise.
14176 * nis/Makefile: Likewise.
14177 * resolv/Makefile: Likewise.
14178 * stdio-common/Makefile: Likewise.
14179 * wcsmbs/Makefile: Likewise.
14180 * dlfcn/Makefile: Likewise.
14181 * posix/Makefile: Likewise.
14184 * timezone/Makefile: Don't install timezone files, just the programs
14187 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14189 * nss/databases.def: Add missing gshadow entry.
14191 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14193 2012-03-06 Marek Polacek <polacek@redhat.com>
14196 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14197 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14198 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14199 * stdio-common/tst-long-dbl-fphex.c: New file.
14201 2012-03-06 David S. Miller <davem@davemloft.net>
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14204 (set_obp_int): New function.
14205 (get_obp_int): New function.
14206 (__get_clockfreq_via_dev_openprom): Likewise.
14207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14208 Avoid unused variable warnings on 'val' and use builtin_expect.
14209 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14211 (INLINE_CLONE_SYSCALL): Likewise.
14213 2012-03-05 David S. Miller <davem@davemloft.net>
14215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14217 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14222 only for |x| >= 40.
14223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14225 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14228 Replace gettimeofday with __vdso_gettimeofday.
14230 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14231 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14232 __vdso_clock_gettime and __vdso_getcpu.
14234 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14235 time with __vdso_time.
14237 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14239 * manual/lang.texi (size_t): Note types to which size_t may be
14240 equivalent with the GNU C Library, but do not describe when
14241 differences between them are significant.
14243 2012-03-05 Andreas Jaeger <aj@suse.de>
14245 * sysdeps/i386/fpu/libm-test-ulps: Update.
14247 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14250 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14251 (__ieee754_pow): Save and restore rounding mode and use
14252 round-to-nearest for main computations.
14253 * math/libm-test.inc (pow_test_tonearest): New function.
14254 (pow_test_towardzero): Likewise.
14255 (pow_test_downward): Likewise.
14256 (pow_test_upward): Likewise.
14257 (main): Call the new functions.
14258 * sysdeps/i386/fpu/libm-test-ulps: Update.
14259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14262 * math/libm-test.inc (cosh_test_tonearest): New function.
14263 (cosh_test_towardzero): Likewise.
14264 (cosh_test_downward): Likewise.
14265 (cosh_test_upward): Likewise.
14266 (sinh_test_tonearest): Likewise.
14267 (sinh_test_towardzero): Likewise.
14268 (sinh_test_downward): Likewise.
14269 (sinh_test_upward): Likewise.
14270 (main): Call the new functions.
14271 * sysdeps/i386/fpu/libm-test-ulps: Update.
14272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14274 2012-03-05 Tom de Vries <tom@codesourcery.com>
14276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14277 default stack guard is set in last bytes.
14278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14280 2012-03-05 Kees Cook <keescook@chromium.org>
14282 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14285 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14286 possibly allocate from heap instead of stack.
14287 * stdio-common/bug-vfprintf-nargs.c: New file.
14288 * stdio-common/Makefile (tests): Add nargs overflow test.
14290 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14294 2012-03-03 Marek Polacek <polacek@redhat.com>
14296 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14297 * math/math_private.h: Likewise.
14298 * stdlib/tst-strtod.c: Likewise.
14299 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14300 * sysdeps/x86_64/bits/atomic.h: Likewise.
14302 2012-03-02 David S. Miller <davem@davemloft.net>
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14308 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14309 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14310 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14311 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14313 2012-03-02 Roland McGrath <roland@hack.frob.com>
14316 * manual/examples/README: New file, says the example source files
14317 can be used under GPL>=2.
14318 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14319 line containing just "*/".
14320 * manual/examples/add.c: Add copyright header (GPL>=2).
14321 * manual/examples/argp-ex1.c: Likewise.
14322 * manual/examples/argp-ex2.c: Likewise.
14323 * manual/examples/argp-ex3.c: Likewise.
14324 * manual/examples/argp-ex4.c: Likewise.
14325 * manual/examples/atexit.c: Likewise.
14326 * manual/examples/db.c: Likewise.
14327 * manual/examples/dir.c: Likewise.
14328 * manual/examples/dir2.c: Likewise.
14329 * manual/examples/execinfo.c: Likewise.
14330 * manual/examples/filecli.c: Likewise.
14331 * manual/examples/filesrv.c: Likewise.
14332 * manual/examples/fmtmsgexpl.c: Likewise.
14333 * manual/examples/genpass.c: Likewise.
14334 * manual/examples/inetcli.c: Likewise.
14335 * manual/examples/inetsrv.c: Likewise.
14336 * manual/examples/isockad.c: Likewise.
14337 * manual/examples/longopt.c: Likewise.
14338 * manual/examples/memopen.c: Likewise.
14339 * manual/examples/memstrm.c: Likewise.
14340 * manual/examples/mkfsock.c: Likewise.
14341 * manual/examples/mkisock.c: Likewise.
14342 * manual/examples/mygetpass.c: Likewise.
14343 * manual/examples/pipe.c: Likewise.
14344 * manual/examples/popen.c: Likewise.
14345 * manual/examples/rprintf.c: Likewise.
14346 * manual/examples/search.c: Likewise.
14347 * manual/examples/select.c: Likewise.
14348 * manual/examples/setjmp.c: Likewise.
14349 * manual/examples/sigh1.c: Likewise.
14350 * manual/examples/sigusr.c: Likewise.
14351 * manual/examples/stpcpy.c: Likewise.
14352 * manual/examples/strdupa.c: Likewise.
14353 * manual/examples/strftim.c: Likewise.
14354 * manual/examples/strncat.c: Likewise.
14355 * manual/examples/subopt.c: Likewise.
14356 * manual/examples/swapcontext.c: Likewise.
14357 * manual/examples/termios.c: Likewise.
14358 * manual/examples/testopt.c: Likewise.
14359 * manual/examples/testpass.c: Likewise.
14360 * manual/examples/timeval_subtract.c: Likewise.
14363 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14365 * manual/timeval_subtract.c.texi: ... here, new file.
14367 2012-03-02 David S. Miller <davem@davemloft.net>
14369 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14371 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14374 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14375 (__sin): Save and restore rounding mode and use round-to-nearest
14376 for all computations.
14377 (__cos): Save and restore rounding mode and use round-to-nearest
14378 for all computations.
14379 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14381 (tan): Save and restore rounding mode and use round-to-nearest for
14383 * math/libm-test.inc (cos_test_tonearest): New function.
14384 (cos_test_towardzero): Likewise.
14385 (cos_test_downward): Likewise.
14386 (cos_test_upward): Likewise.
14387 (sin_test_tonearest): Likewise.
14388 (sin_test_towardzero): Likewise.
14389 (sin_test_downward): Likewise.
14390 (sin_test_upward): Likewise.
14391 (tan_test_tonearest): Likewise.
14392 (tan_test_towardzero): Likewise.
14393 (tan_test_downward): Likewise.
14394 (tan_test_upward): Likewise.
14395 (main): Call the new functions.
14396 * sysdeps/i386/fpu/libm-test-ulps: Update.
14397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14401 small n, then large n, before computing and testing k+n.
14402 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14407 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14408 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14415 * math/libm-test.inc (scalbn_test): Add more tests.
14416 (scalbln_test): Likewise.
14418 * manual/filesys.texi (mode_t): Describe constraints on size and
14419 signedness, not exact equivalence to a particular type.
14421 (ino64_t): Likewise.
14423 (nlink_t): Likewise.
14424 (blkcnt_t): Likewise.
14425 (blkcnt64_t): Likewise.
14426 * manual/llio.texi (off_t): Likewise.
14429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14430 (__ieee754_exp): Save and restore rounding mode and use
14431 round-to-nearest for all computations.
14432 * math/libm-test.inc (exp_test_tonearest): New function.
14433 (exp_test_towardzero): Likewise.
14434 (exp_test_downward): Likewise.
14435 (exp_test_upward): Likewise.
14436 (main): Call the new functions.
14437 * sysdeps/i386/fpu/libm-test-ulps: Update.
14438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14440 2012-03-01 Chris Demetriou <cgd@google.com>
14442 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14443 have predictable order.
14445 2012-03-01 David S. Miller <davem@davemloft.net>
14447 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14449 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14451 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14452 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14454 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14455 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14456 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14458 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14459 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14460 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14461 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14462 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14467 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14468 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14470 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14473 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14474 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14477 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14478 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14479 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14480 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14486 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14487 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14488 * sysdeps/sparc/elf/configure: Regenerated.
14490 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14492 * configure.in (AS, LD): Require binutils 2.20 or later.
14493 * configure: Regenerated.
14494 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14495 as required minimum version.
14496 * INSTALL: Regenerated.
14500 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14501 before squaring exponent.
14502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14503 bottom long double and 27 bits of top long double before squaring
14505 * math/libm-test.inc (erfc_test): Add more tests.
14506 * sysdeps/i386/fpu/libm-test-ulps: Update.
14507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510 2012-03-01 Kai Tietz <ktietz@redhat.com>
14512 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14513 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14514 containing bit-fields.
14515 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14516 * soft-fp/single.h (_FP_UNION_S): Likewise.
14517 * soft-fp/double.h (_FP_UNION_D): Likewise.
14519 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14522 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14523 not include ../strcmp.S.
14524 [USE_AS_STRNCASECMP_L]: Likewise.
14525 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14526 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14527 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14528 (__strncasecmp_l_ia32): Define as alias to
14529 __strncasecmp_l_nonascii.
14532 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14533 * sysdeps/i386/fpu/libm-test-ulps: Update.
14534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14536 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14539 2012-02-29 Jeff Law <law@redhat.com>
14541 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14542 out of bounds read.
14544 2012-02-29 Marek Polacek <polacek@redhat.com>
14547 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14548 * elf/Makefile: Add rules to run tst-unused-dep.out.
14550 2012-02-28 David S. Miller <davem@davemloft.net>
14552 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14553 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14559 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14561 * math/libm-test.inc (llround_test): Move one test from
14562 lround_test. Use TEST_f_L in moved test.
14563 (lround_test): Move misplaced test to llround_test. Add testcase
14566 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14568 * sysdeps/x86_64/fpu/e_expf.S: New file.
14569 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14571 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14574 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14575 of remain_len that may cause incomplete multi-byte character and
14577 * posix/bug-regex33.c: New file.
14578 * posix/Makefile (tests): Add bug-regex33.
14580 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14582 * manual/macros.texi: New file.
14583 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14584 * manual/libc.texinfo: Include macros.texi.
14585 * manual/creatute.texi: Likewise.
14586 * manual/install.texi: Likewise.
14587 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14588 @glibcadj{} in references to the GNU C Library.
14589 * manual/charset.texi: Likewise.
14590 * manual/conf.texi: Likewise.
14591 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14592 when not using those macros.
14593 * manual/creature.texi: Likewise.
14594 * manual/crypt.texi: Likewise.
14595 * manual/errno.texi: Likewise.
14596 * manual/filesys.texi: Likewise.
14597 * manual/header.texi: Likewise.
14598 * manual/install.texi: Likewise.
14599 * manual/intro.texi: Likewise.
14600 * manual/io.texi: Likewise.
14601 * manual/job.texi: Likewise.
14602 * manual/lang.texi: Likewise.
14603 * manual/libc.texiinfo: Likewise.
14604 * manual/llio.texi: Likewise.
14605 * manual/locale.texi: Likewise.
14606 * manual/maint.texi: Likewise.
14607 * manual/math.texi: Likewise.
14608 * manual/memory.texi: Likewise.
14609 * manual/message.texi: Likewise.
14610 * manual/nss.texi: Likewise.
14611 * manual/pattern.texi: Likewise.
14612 * manual/process.texi: Likewise.
14613 * manual/resource.texi: Likewise.
14614 * manual/search.texi: Likewise.
14615 * manual/setjmp.texi: Likewise.
14616 * manual/signal.texi: Likewise.
14617 * manual/socket.texi: Likewise.
14618 * manual/startup.texi: Likewise.
14619 * manual/stdio.texi: Likewise.
14620 * manual/string.texi: Likewise.
14621 * manual/sysinfo.texi: Likewise.
14622 * manual/syslog.texi: Likewise.
14623 * manual/terminal.texi: Likewise.
14624 * manual/time.texi: Likewise.
14625 * manual/users.texi: Likewise.
14626 * INSTALL: Regenerated.
14627 * NOTES: Regenerated.
14628 * sysdeps/gnu/errlist.c: Regenerated.
14630 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14632 * include/dirent.h: Include <dirstream.h> before
14635 2012-02-28 David S. Miller <davem@davemloft.net>
14637 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14638 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14639 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14640 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14642 2012-02-27 David S. Miller <davem@davemloft.net>
14644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14646 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14647 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14650 frame pointer instead of stack pointer relative arg slot.
14651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14655 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14658 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14660 2012-02-27 David S. Miller <davem@davemloft.net>
14662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14668 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14669 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14671 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14673 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14674 later. Allow versions 5-9.
14675 * configure: Regenerated.
14676 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14677 required minimum version and 4.6 as recommended version. Do not
14678 mention bugs in GCC 2.7 and 2.8.
14679 * INSTALL: Regenerated.
14681 2012-02-27 David S. Miller <davem@davemloft.net>
14683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14687 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14688 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14689 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14690 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14693 manipulate bits before adding and subtracting TWO112[sx].
14694 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14696 2012-02-27 Roland McGrath <roland@hack.frob.com>
14699 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14700 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14701 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14702 being in POSIX, because they are in 1003.1-2008.
14704 * rt/tst-aio.c: Include <fcntl.h>.
14705 * rt/tst-aio7.c: Likewise.
14706 * rt/tst-aio64.c: Likewise.
14708 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14710 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14712 * manual/install.texi (--with-headers): Describe headers as
14713 interface headers, not private headers.
14714 (Specific advice for GNU/Linux systems): Describe use of headers
14715 from "make headers_install", not private headers from older
14717 * INSTALL: Regenerated.
14718 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14720 * sysdeps/unix/sysv/linux/configure: Regenerated.
14722 * manual/llio.texi (fclean): Remove documentation.
14724 * manual/Makefile (libc-texi-generated): New variable. Include
14726 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14727 $(libc-texi-generated), not duplicated list of files.
14728 (version.texi, stamp-version): New rules.
14729 (realclean): Remove $(libc-texi-generated), not individual files
14730 from that list. Do not remove dir-add.texinfo.
14731 * manual/libc.texinfo: Comment out uses of edition numbers and
14732 references to printed manual. Remove last-updated dates.
14733 (EDITION): Comment out.
14735 (VERSION, UPDATED): Remove.
14736 (version.texi): Include.
14738 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14740 * sysdeps/posix/spawni.c: Include <signal.h>.
14741 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14742 * sysdeps/pthread/aio_fsync.c: Likewise.
14744 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14746 * conform/Makefile (tests): Run only when not cross-compiling and
14747 when fast-check is not defined.
14749 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14750 * conform/data/limits.h-data: Fixes for POSIX2008.
14751 * conform/run-conformtest.sh: Run all tests.
14752 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14754 * include/bits/dlfcn.h: Likewise.
14755 * include/langinfo.h: Likewise.
14756 * include/monetary.h: Likewise.
14757 * include/sys/poll.h: Likewise.
14759 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14761 * posix/spawn.h: Define __need_sigset_t.
14762 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14763 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14764 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14765 to get sigevent_t only.
14766 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14767 only for __USE_GNU.
14768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14769 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14770 process_vm_writev only for __USE_GNU.
14771 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14773 * conform/Makefile: For now ignore errors from run-conformtest.
14774 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14775 POSIX to avoid namespace pollution. Don't prepend headers.
14776 * conform/data/aio.h-data: Fixes for POSIX testing.
14777 * conform/data/fcntl.h-data: Likewise.
14778 * conform/data/glob.h-data: Likewise.
14779 * conform/data/grp.h-data: Likewise.
14780 * conform/data/pthread.h-data: Likewise.
14781 * conform/data/pwd.h-data: Likewise.
14782 * conform/data/signal.h-data: Likewise.
14783 * conform/data/spawn.h-data: Likewise.
14784 * conform/data/stdio.h-data: Likewise.
14785 * conform/data/stdlib.h-data: Likewise.
14786 * conform/data/stropts.h-data: Likewise.
14787 * conform/data/sys/mman.h-data: Likewise.
14788 * conform/data/sys/stat.h-data: Likewise.
14789 * conform/data/sys/types.h-data: Likewise.
14790 * conform/data/sys/wait.h-data: Likewise.
14791 * conform/data/time.h-data: Likewise.
14792 * conform/data/unistd.h-data: Likewise.
14793 * conform/data/utime.h-data: Likewise.
14795 * io/sys/stat.h: fchmod was always in POSIX.
14796 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14797 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14798 * rt/aio.h: Define __need_timespec before including <time.h>.
14799 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14800 struct. Add forward declaration of pthread_attr_t and use it in
14802 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14804 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14805 always remove CLK_TCK definition.
14807 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14809 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14811 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14813 * conform/run-conformtest.sh: New file.
14814 * conform/Makefile: Run run-conformtest for tests.
14815 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14818 * conform/data/uchar.h-data: New file.
14819 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14820 * conform/data/arpa/inet.h-data: Likewise.
14821 * conform/data/assert.h-data: Likewise.
14822 * conform/data/complex.h-data: Likewise.
14823 * conform/data/cpio.h-data: Likewise.
14824 * conform/data/ctype.h-data: Likewise.
14825 * conform/data/dirent.h-data: Likewise.
14826 * conform/data/dlfcn.h-data: Likewise.
14827 * conform/data/errno.h-data: Likewise.
14828 * conform/data/fcntl.h-data: Likewise.
14829 * conform/data/float.h-data: Likewise.
14830 * conform/data/fmtmsg.h-data: Likewise.
14831 * conform/data/fnmatch.h-data: Likewise.
14832 * conform/data/ftw.h-data: Likewise.
14833 * conform/data/glob.h-data: Likewise.
14834 * conform/data/grp.h-data: Likewise.
14835 * conform/data/iconv.h-data: Likewise.
14836 * conform/data/inttypes.h-data: Likewise.
14837 * conform/data/langinfo.h-data: Likewise.
14838 * conform/data/libgen.h-data: Likewise.
14839 * conform/data/limits.h-data: Likewise.
14840 * conform/data/locale.h-data: Likewise.
14841 * conform/data/math.h-data: Likewise.
14842 * conform/data/monetary.h-data: Likewise.
14843 * conform/data/mqueue.h-data: Likewise.
14844 * conform/data/ndbm.h-data: Likewise.
14845 * conform/data/net/if.h-data: Likewise.
14846 * conform/data/netdb.h-data: Likewise.
14847 * conform/data/netinet/in.h-data: Likewise.
14848 * conform/data/nl_types.h-data: Likewise.
14849 * conform/data/poll.h-data: Likewise.
14850 * conform/data/pthread.h-data: Likewise.
14851 * conform/data/pwd.h-data: Likewise.
14852 * conform/data/regex.h-data: Likewise.
14853 * conform/data/sched.h-data: Likewise.
14854 * conform/data/search.h-data: Likewise.
14855 * conform/data/semaphore.h-data: Likewise.
14856 * conform/data/setjmp.h-data: Likewise.
14857 * conform/data/signal.h-data: Likewise.
14858 * conform/data/spawn.h-data: Likewise.
14859 * conform/data/stdarg.h-data: Likewise.
14860 * conform/data/stdio.h-data: Likewise.
14861 * conform/data/stdlib.h-data: Likewise.
14862 * conform/data/string.h-data: Likewise.
14863 * conform/data/strings.h-data: Likewise.
14864 * conform/data/stropts.h-data: Likewise.
14865 * conform/data/sys/ipc.h-data: Likewise.
14866 * conform/data/sys/mman.h-data: Likewise.
14867 * conform/data/sys/msg.h-data: Likewise.
14868 * conform/data/sys/resource.h-data: Likewise.
14869 * conform/data/sys/select.h-data: Likewise.
14870 * conform/data/sys/sem.h-data: Likewise.
14871 * conform/data/sys/shm.h-data: Likewise.
14872 * conform/data/sys/socket.h-data: Likewise.
14873 * conform/data/sys/stat.h-data: Likewise.
14874 * conform/data/sys/statvfs.h-data: Likewise.
14875 * conform/data/sys/time.h-data: Likewise.
14876 * conform/data/sys/timeb.h-data: Likewise.
14877 * conform/data/sys/times.h-data: Likewise.
14878 * conform/data/sys/types.h-data: Likewise.
14879 * conform/data/sys/uio.h-data: Likewise.
14880 * conform/data/sys/un.h-data: Likewise.
14881 * conform/data/sys/utsname.h-data: Likewise.
14882 * conform/data/sys/wait.h-data: Likewise.
14883 * conform/data/syslog.h-data: Likewise.
14884 * conform/data/tar.h-data: Likewise.
14885 * conform/data/termios.h-data: Likewise.
14886 * conform/data/utime.h-data: Likewise.
14887 * conform/data/utmpx.h-data: Likewise.
14888 * conform/data/varargs.h-data: Likewise.
14889 * conform/data/wchar.h-data: Likewise.
14890 * conform/data/wctype.h-data: Likewise.
14891 * conform/data/wordexp.h-data: Likewise.
14893 * include/stropts.h: New file.
14894 * include/uchar.h: New file.
14895 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14896 * include/assert.h: Likewise.
14897 * include/ctype.h: Likewise.
14898 * include/dirent.h: Likewise.
14899 * include/dlfcn.h: Likewise.
14900 * include/fcntl.h: Likewise.
14901 * include/fnmatch.h: Likewise.
14902 * include/glob.h: Likewise.
14903 * include/grp.h: Likewise.
14904 * include/libio.h: Likewise.
14905 * include/locale.h: Likewise.
14906 * include/math.h: Likewise.
14907 * include/net/if.h: Likewise.
14908 * include/netdb.h: Likewise.
14909 * include/netinet/in.h: Likewise.
14910 * include/pthread.h: Likewise.
14911 * include/pwd.h: Likewise.
14912 * include/regex.h: Likewise.
14913 * include/sched.h: Likewise.
14914 * include/search.h: Likewise.
14915 * include/setjmp.h: Likewise.
14916 * include/signal.h: Likewise.
14917 * include/stdio.h: Likewise.
14918 * include/stdlib.h: Likewise.
14919 * include/string.h: Likewise.
14920 * include/sys/cdefs.h: Likewise.
14921 * include/sys/mman.h: Likewise.
14922 * include/sys/msg.h: Likewise.
14923 * include/sys/resource.h: Likewise.
14924 * include/sys/select.h: Likewise.
14925 * include/sys/socket.h: Likewise.
14926 * include/sys/stat.h: Likewise.
14927 * include/sys/statvfs.h: Likewise.
14928 * include/sys/time.h: Likewise.
14929 * include/sys/times.h: Likewise.
14930 * include/sys/uio.h: Likewise.
14931 * include/sys/utsname.h: Likewise.
14932 * include/sys/wait.h: Likewise.
14933 * include/termios.h: Likewise.
14934 * include/time.h: Likewise.
14935 * include/ulimit.h: Likewise.
14936 * include/unistd.h: Likewise.
14937 * include/utime.h: Likewise.
14938 * include/wchar.h: Likewise.
14939 * include/wctype.h: Likewise.
14940 * include/wordexp.h: Likewise.
14942 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14944 * time/time.h: TIME_UTC must be a macro.
14945 Make timespec_get available for ISO C11 only as well.
14947 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14949 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14950 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14952 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14954 * configure.in: Use -o not -a in test for unsupported multi-arch.
14956 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14958 * manual/texinfo.tex: Update to version 2012-01-19.16.
14960 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14962 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14964 2012-02-24 Roland McGrath <roland@hack.frob.com>
14967 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14968 * manual/fdl-1.3.texi: New file.
14969 * manual/fdl-1.1.texi: File removed.
14972 * manual/libc.texinfo (FDL_VERSION): New @set.
14973 Use it for mention of FDL in cover text.
14974 (Documentation License): Use it in @include file name.
14976 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14977 Roland McGrath <roland@hack.frob.com>
14980 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14981 not LONG_LONG_MAX and LONG_LONG_MIN.
14982 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14983 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14985 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14987 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14991 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14992 manipulate bits before adding and subtracting TWO23[sx].
14993 * math/libm-test.inc (nearbyint_test): Add more tests.
14995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14998 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14999 bits before adding and subtracting TWO23[sx].
15000 * math/libm-test.inc (rint_test): Add more tests.
15001 (rint_test_tonearest): Likewise.
15002 (rint_test_towardzero): Likewise.
15003 (rint_test_downward): Likewise.
15004 (rint_test_upward: Likewise.
15006 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15009 * include/stdc-predef.h: New file. Extracted from features.h.
15010 * include/features.h: Include stdc-predef.h.
15011 * Makefile (headers): Add stdc-predef.h.
15012 * CONFORMANCE (Compiler limitations): Update.
15014 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15016 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15018 2012-02-21 David S. Miller <davem@davemloft.net>
15020 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15021 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15023 2012-02-20 David S. Miller <davem@davemloft.net>
15025 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15026 using a normal save/restore sequence, rather than allocating a
15027 dummy stack frame just to store a frame pointer and restore.
15028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15030 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15032 * manual/install.texi: Fix stray word in line-wrapped comment.
15034 2012-02-20 David S. Miller <davem@davemloft.net>
15036 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15037 both binutils and gcc support GOTDATA.
15039 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15040 "rd %pc" in the PIC register setup sequences.
15042 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15043 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15045 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15051 (SYSCALL_ERROR_HANDLER): Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15053 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15055 (SYSCALL_ERROR_HANDLER): Likewise.
15057 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15058 (HAVE_GCC_GOTDATA): New.
15059 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15060 relocation support in both binutils and gcc.
15061 * sysdeps/sparc/elf/configure: Regenerate.
15063 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15064 * sysdeps/sparc/sparc32/elf/configure: Delete.
15065 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15066 * sysdeps/sparc/sparc64/elf/configure: Delete.
15067 * sysdeps/sparc/elf/configure.in: New file.
15068 * sysdeps/sparc/elf/configure: Generate.
15070 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15071 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15072 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15073 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15074 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15076 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15078 * manual/install.texi: Do not mention specific glibc version
15080 * manual/libc.texinfo (VERSION, UPDATED): Update.
15081 (@copying): Use @copyright{} and range of years.
15083 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15086 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15087 [crti.S not in sysdirs] (generated): Do not append.
15088 [crti.S not in sysdirs] (omit-deps): Likewise.
15089 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15090 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15091 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15092 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15093 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15095 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15096 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15097 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15098 * csu/defs.awk: Remove file.
15099 * sysdeps/generic/initfini.c: Likewise.
15100 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15102 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15105 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15107 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15108 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15109 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15112 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15114 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15115 (__EPOLL_PACKED): Define to empty if not defined by
15117 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15121 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15123 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15124 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15126 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15128 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15132 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15134 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15144 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15146 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15148 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15149 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15151 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15153 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15156 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15158 * math/w_acos.c: Use non-signaling floating-point comparisons.
15159 * math/w_acosf.c: Likewise.
15160 * math/w_acosh.c: Likewise.
15161 * math/w_acoshf.c: Likewise.
15162 * math/w_acoshl.c: Likewise.
15163 * math/w_acosl.c: Likewise.
15164 * math/w_asin.c: Likewise.
15165 * math/w_asinf.c: Likewise.
15166 * math/w_asinl.c: Likewise.
15167 * math/w_atanh.c: Likewise.
15168 * math/w_atanhf.c: Likewise.
15169 * math/w_atanhl.c: Likewise.
15170 * math/w_exp2.c: Likewise.
15171 * math/w_exp2f.c: Likewise.
15172 * math/w_exp2l.c: Likewise.
15173 * math/w_j0.c: Likewise.
15174 * math/w_j0f.c: Likewise.
15175 * math/w_j0l.c: Likewise.
15176 * math/w_j1.c: Likewise.
15177 * math/w_j1f.c: Likewise.
15178 * math/w_j1l.c: Likewise.
15179 * math/w_jn.c: Likewise.
15180 * math/w_jnf.c: Likewise.
15181 * math/w_log.c: Likewise.
15182 * math/w_log10.c: Likewise.
15183 * math/w_log10f.c: Likewise.
15184 * math/w_log10l.c: Likewise.
15185 * math/w_log2.c: Likewise.
15186 * math/w_log2f.c: Likewise.
15187 * math/w_log2l.c: Likewise.
15188 * math/w_logf.c: Likewise.
15189 * math/w_logl.c: Likewise.
15190 * math/w_sqrt.c: Likewise.
15191 * math/w_sqrtf.c: Likewise.
15192 * math/w_sqrtl.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15199 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15202 * manual/string.texi (strnlen): Use correct parameter name in
15203 equivalent expression.
15205 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15208 * manual/users.texi (seteuid): Consistently use neweuid for
15211 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15214 * manual/nss.texi (Services in the NSS configuration): Correct
15215 list of services in example configuration file.
15217 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15220 * manual/arith.texi: Remove statements about negative zero
15221 behaving identically to zero.
15223 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15226 * manual/install.texi: Do not document upgrading from libc5.
15228 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15231 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15233 2012-02-18 David S. Miller <davem@davemloft.net>
15235 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15236 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15237 %o7 across the call.
15238 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15241 SETUP_PIC_REG_LEAF.
15242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15243 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15244 * sysdeps/sparc/crtn.S: Likewise.
15246 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15248 * aout/Makefile: Remove.
15250 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15253 * manual/examples/argp-ex1.c (main): Format definition in GNU
15255 * manual/examples/argp-ex2.c (main): Likewise.
15256 * manual/examples/argp-ex3.c (main): Likewise.
15257 * manual/examples/argp-ex4.c (main): Likewise.
15258 * manual/examples/longopt.c (main): Use new-style prototype
15260 * manual/examples/strncat.c (main): Specify return type and use
15261 (void) for arguments.
15262 * manual/examples/subopt.c (main): Use char **argv argument.
15264 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15267 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15270 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15273 * manual/string.texi (strchr): Change when strchrnul is
15276 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15279 * manual/locale.texi (setlocale): Document LOCPATH.
15281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15284 * manual/process.texi (execle): Move @dots{} before last argument.
15286 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15289 * manual/charset.texi (Generic Charset Conversion): Fix typo
15290 (LC_TYPE -> LC_CTYPE).
15292 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15295 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15296 (scalbnf): Likewise.
15297 (scalbnl): Likewise.
15298 (scalbln): Likewise.
15299 (scalblnf): Likewise.
15300 (scalblnl): Likewise.
15301 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15302 (vwarnx): Likewise.
15305 * manual/filesys.texi (telldir): Use braces around return type.
15306 * manual/llio.texi (mmap): Add space after comma.
15307 (mmap64): Likewise.
15308 * manual/math.texi (jn): Use @var{} on parameter names.
15314 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15316 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15318 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15319 (sched_get_priority_max): Likewise.
15320 * manual/signal.texi (sigvec): Add space after comma.
15321 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15323 (if_indextoname): Likewise.
15324 (if_freenameindex): Likewise.
15325 (sendto): Use ',' instead of '.' in prototype.
15326 * manual/startup.texi (syscall): Use @dots{} instead of literal
15328 * manual/stdio.texi (__fpending): Separate initial words of
15329 paragraph from @deftypefun line.
15330 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15332 (vsyslog): Use @var{} on parameter names.
15333 * manual/terminal.texi (stty): Use @var{} on parameter names.
15334 * manual/users.texi (getutmp): Use @var{} on parameter names.
15335 (getutmpx): Likewise.
15337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15340 * manual/stdio.texi (fopen): Fix typos in description of
15343 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15346 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15347 get clock_id definition.
15349 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15352 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15353 (madvise): Cast every argument to void on its own.
15355 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15358 * manual/startup.texi (Exit Status): Fix typo.
15360 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15363 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15364 * manual/examples/argp-ex2.c: Likewise.
15365 * manual/examples/argp-ex3.c: Likewise.
15367 2012-02-16 Richard Henderson <rth@redhat.com>
15369 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15370 * sysdeps/s390/s390-32/initfini.c: Remove.
15371 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15372 * sysdeps/s390/s390-64/initfini.c: Remove.
15374 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15376 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15377 compiler output for sysdeps/generic/initfini.c.
15378 * sysdeps/sh/elf/initfini.c: Remove file.
15380 2012-02-16 David S. Miller <davem@davemloft.net>
15383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15385 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15386 * sysdeps/sparc/crti.S: New file.
15387 * sysdeps/sparc/crtn.S: New file.
15388 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15389 * sysdeps/sparc/sparc64/Makefile: Likewise.
15391 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15394 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15396 2012-02-15 Roland McGrath <roland@hack.frob.com>
15399 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15401 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15402 (write, read, close): Likewise.
15403 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15405 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15407 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15408 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15410 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15412 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15416 2012-02-14 Marek Polacek <polacek@redhat.com>
15418 * sysdeps/x86_64/crti.S: New file.
15419 * sysdeps/x86_64/crtn.S: New file.
15420 * sysdeps/x86_64/elf/initfini.c: Remove file.
15422 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15424 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15425 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15427 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15429 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15433 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15435 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15436 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15437 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15438 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15440 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15444 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15446 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15447 __feraiseexcept instead of feraiseexcept.
15449 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15450 nanosleep invocations.
15451 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15452 strings, and add error checking for a nanosleep invocations.
15454 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15456 Replace FSF snail mail address with URLs, as per GNU coding standards.
15457 Most of the snail mail addresses were wrong anyway, and omitting
15458 them makes the source code easier to maintain. Almost all of the
15459 changes are to license notices and to locale LC_IDENTIFICATION
15460 addresses, except for this one:
15461 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15462 not its snail mail address.
15464 2012-02-09 Richard Henderson <rth@twiddle.net>
15466 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15467 of kernel-features.h.
15469 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15471 2012-02-08 Marek Polacek <polacek@redhat.com>
15473 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15474 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15475 * sysdeps/gnu/_G_config.h: Likewise.
15476 * sysdeps/generic/_G_config.h: Likewise.
15478 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15480 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15484 * sysdeps/powerpc/powerpc32/crti.S: New file.
15485 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15486 * sysdeps/powerpc/powerpc64/crti.S: New file.
15487 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15489 * Makeconfig (have-initfini): Don't set.
15490 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15491 * configure.in (nopic_initfini): Don't substitute.
15492 * config.h.in (HAVE_INITFINI): Don't #undef.
15493 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15494 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15496 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15498 Support crti.S and crtn.S provided directly by architectures.
15499 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15500 [crti.S in sysdirs] (omit-deps): Likewise.
15501 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15502 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15503 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15504 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15505 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15506 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15507 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15508 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15509 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15510 compiler output for sysdeps/generic/initfini.c.
15511 * sysdeps/i386/elf/Makefile: Remove file.
15512 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15514 2012-02-07 Marek Polacek <polacek@redhat.com>
15516 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15517 * sysdeps/gnu/_G_config.h: Likewise.
15518 * sysdeps/mach/hurd/_G_config.h: Likewise.
15520 2012-02-07 Marek Polacek <polacek@redhat.com>
15522 * math/Makefile (tests): Add tst-CMPLX2.
15523 * math/tst-CMPLX2.c: New file.
15525 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15527 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15529 * math/libm-test.inc (jn_test): Add missing L suffix.
15531 2012-02-06 Marek Polacek <polacek@redhat.com>
15533 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15534 * sysdeps/i386/fpu/e_powf.S: Likewise.
15535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15536 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15537 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15538 * sysdeps/i386/fpu/e_pow.S: Likewise.
15539 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15541 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15542 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15543 * sysdeps/i386/fpu/e_log2.S: Likewise.
15544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15545 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15546 * sysdeps/i386/fpu/e_powl.S: Likewise.
15547 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15549 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15550 * sysdeps/i386/fpu/e_logl.S: Likewise.
15551 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15552 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15553 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15554 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15555 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15556 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15557 * sysdeps/i386/fpu/e_log.S: Likewise.
15558 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15560 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15561 * sysdeps/i386/fpu/e_logf.S: Likewise.
15562 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15564 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15565 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15566 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15567 * sysdeps/i386/fpu/e_log10.S: Likewise.
15568 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15570 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15571 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15573 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15574 * sysdeps/i386/asm-syntax.h: Likewise.
15575 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15578 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15579 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15584 * sysdeps/powerpc/sysdep.h: Likewise.
15585 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15588 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15591 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15593 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15595 * sysdeps/i386/sysdep.h: Include <features.h>.
15596 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15599 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15601 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15603 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15606 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15608 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15609 (SETUP_PIC_REG): Use GET_PC_THUNK.
15610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15613 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15615 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15616 for non-PIC compilation.
15617 (SETUP_PIC_REG): Add .p2align directive.
15618 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15619 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15620 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15621 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15622 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15623 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15624 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15625 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15626 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15627 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15628 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15629 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15630 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15631 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15632 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15633 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15634 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15638 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15650 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15651 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15652 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15660 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15662 * math/tst-CMPLX.c: Include <stdio.h>.
15664 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15666 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15668 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15669 * sysdeps/sparc/bits/mathdef.h: Likewise.
15671 2012-01-31 Marek Polacek <polacek@redhat.com>
15673 * libio/libio.h: Don't define _PARAMS.
15674 * locale/programs/config.h: Don't define PARAMS.
15675 * stdlib/strtol_l.c: Likewise.
15676 (__strtol_l): Remove PARAMS from the prototype.
15678 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15680 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15681 names. Just use the correct names. Remove unnecessary wrapper
15683 * malloc/arena.c: Likewise.
15684 * malloc/hooks.c: Likewise.
15686 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15687 ARENA_TEST says not to. Simplify test for creation of a new arena.
15688 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15690 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15692 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15694 (update_get_addr): New function.
15695 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15696 GET_ADDR_MODULE parameter.
15698 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15700 * crypt/cert.c: Remove __STDC__ conditionals.
15701 * crypt/crypt-entry.c: Likewise.
15702 * crypt/crypt_util.c: Likewise.
15703 * libio/filedoalloc.c: Likewise.
15704 * libio/fileops.c: Likewise.
15705 * libio/genops.c: Likewise.
15706 * libio/iofclose.c: Likewise.
15707 * libio/iofdopen.c: Likewise.
15708 * libio/iofopen.c: Likewise.
15709 * libio/iofopen64.c: Likewise.
15710 * libio/iogetdelim.c: Likewise.
15711 * libio/iopopen.c: Likewise.
15712 * libio/obprintf.c: Likewise.
15713 * libio/oldfileops.c: Likewise.
15714 * libio/oldiofclose.c: Likewise.
15715 * libio/oldiofdopen.c: Likewise.
15716 * libio/oldiofopen.c: Likewise.
15717 * libio/oldiopopen.c: Likewise.
15718 * libio/wfiledoalloc.c: Likewise.
15719 * libio/wgenops.c: Likewise.
15720 * locale/programs/xmalloc.c: Likewise.
15721 * misc/syslog.c: Likewise.
15722 * stdio-common/xbug.c: Likewise.
15723 * string/memchr.c: Likewise.
15724 * string/memcmp.c: Likewise.
15725 * string/memrchr.c: Likewise.
15726 * string/rawmemchr.c: Likewise.
15727 * sysdeps/posix/getcwd.c: Likewise.
15728 * time/strftime_l.c: Likewise.
15730 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15732 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15733 * config.make.in (config-cflags-sse2avx): Define.
15734 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15737 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15739 * scripts/config.guess: Update from upstream config git repository.
15740 * scripts/config.sub: Likewise.
15742 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15744 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15746 (R_TILEPRO_*, R_TILEGX_*): New macros.
15748 * scripts/firstversions.awk: Fix bug in version range handling.
15750 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15752 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15754 * include/sys/epoll.h: New file.
15755 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15758 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15760 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15761 Avoid unnecessary __WORDSIZE == 64 test.
15762 (fmaxf): Use VEX format if possible.
15767 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15768 * math/math_private.h: Remove libc_fegetround* and
15770 * sysdeps/i386/configure.in: Check for -msse2avx.
15771 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15772 also if SSE2AVX is defined.
15773 Remove libc_fegetround* and libc_fesetround*.
15774 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15775 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15784 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15786 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15788 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15790 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15792 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15795 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15797 * Makeconfig (libm): Define.
15798 * elf/Makefile: Add rules to build and run tst-relsort1.
15799 * elf/tst-relsort1.c: New file.
15800 * elf/tst-relsort1mod1.c: New file.
15801 * elf/tst-relsort1mod2.c: New file.
15803 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15805 * math/s_ldexp.c: Remove __STDC__ conditionals.
15806 * math/s_ldexpf.c: Likewise.
15807 * math/s_ldexpl.c: Likewise.
15808 * math/s_nextafter.c: Likewise.
15809 * math/s_nexttowardf.c: Likewise.
15810 * math/s_significand.c: Likewise.
15811 * math/s_significandf.c: Likewise.
15812 * math/s_significandl.c: Likewise.
15813 * math/w_jnl.c: Likewise.
15814 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15815 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15816 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15817 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15818 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15833 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15834 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15842 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15845 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15846 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15848 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15850 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15851 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15852 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15853 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15854 * sysdeps/ieee754/k_standard.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15874 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15915 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15916 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15917 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15919 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15921 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15924 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15929 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15934 * sysdeps/ieee754/s_matherr.c: Likewise.
15935 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15936 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15940 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15942 * crypt/md5.h: Remove __STDC__ conditionals.
15943 * libio/libioP.h: Likewise.
15944 * locale/programs/config.h: Likewise.
15945 * sysdeps/generic/sysdep.h: Likewise.
15946 * sysdeps/i386/asm-syntax.h: Likewise.
15947 * sysdeps/s390/asm-syntax.h: Likewise.
15948 * sysdeps/unix/sysdep.h: Likewise.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15952 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15954 * libio/libio.h: Remove __STDC__ conditionals.
15955 * malloc/obstack.h: Likewise.
15956 * math/complex.h: Likewise.
15957 * math/math.h: Likewise.
15958 * sysdeps/generic/_G_config.h: Likewise.
15959 * sysdeps/gnu/_G_config.h: Likewise.
15960 * sysdeps/mach/hurd/_G_config.h: Likewise.
15961 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15962 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15963 * sysdeps/sparc/bits/mathdef.h: Likewise.
15965 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15968 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15969 Clean up HAS_* macros.
15970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15971 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15977 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15978 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15979 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15981 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15983 * elf/tst-unique3.cc (gets): Remove declaration.
15984 * elf/tst-unique3lib.cc (gets): Likewise.
15985 * elf/tst-unique3lib2.cc (gets): Likewise.
15986 * elf/tst-unique4.cc (gets): Likewise.
15988 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15990 * include/stdio.h: Add C++ protection. Add gets declarations and
15992 * debug/tst-chk1.c: Don't declare gets here.
15993 * stdio-common/tst-gets.c: Likewise.
15995 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15997 * posix/glob: Remove directory.
15999 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16001 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16003 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16005 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16006 of the non-standard EPFNOSUPPORT.
16008 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16010 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16011 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16012 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16014 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16016 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16018 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16020 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16022 * nscd/grpcache.c (cache_addgr): Likewise.
16023 * nscd/hstcache.c (cache_addhst): Likewise.
16024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16025 * nscd/pwdcache.c (cache_addpw): Likewise.
16026 * nscd/servicescache.c (cache_addserv): Likewise.
16028 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16030 * malloc/malloc.c: Various cleanups.
16031 * malloc/hooks.c: Likewise.
16033 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16034 * stdlib/bug-fmtmsg1.c: New file.
16036 * stdlib/fmtmsg.c (init): Add missing unlock.
16037 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16039 2012-01-12 Marek Polacek <polacek@redhat.com>
16041 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16044 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16046 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16048 macro to ensure uniqueness of label name.
16049 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16050 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16052 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16054 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16061 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16065 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16066 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16069 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16071 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16072 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16076 * math/bits/math-finite.h: Add ldexp support.
16078 2012-01-10 Marek Polacek <polacek@redhat.com>
16080 * locale/programs/localedef.h (show_archive_content): Add noreturn
16083 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16085 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16087 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16089 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16091 * io/Makefile (headers): Add bits/poll2.h.
16093 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16096 typo #include statement.
16098 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16100 * include/sys/cdefs.h: Define __attribute_alloc_size.
16101 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16102 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16103 * elf/pldd.c: Likewise.
16104 * iconv/iconv_charmap.c: Likewise.
16105 * iconv/iconvconfig.c: Likewise.
16106 * iconv/strtab.c: Likewise.
16107 * locale/programs/locale.c: Likewise.
16108 * locale/programs/localedef.h: Likewise.
16109 * locale/programs/simple-hash.c: Likewise.
16110 * nscd/nscd.h: Likewise.
16111 * nss/makedb.c: Likewise.
16112 * sysdeps/generic/ldconfig.h: Likewise.
16113 * locale/programs/localedef.c: Remove xmalloc prototype.
16114 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16116 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16121 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16123 * math/Makefile (tests): Add tst-CMPLX.
16124 * math/tst-CMPLX.c: New file.
16126 * math/complex.h (CMPLXL): Fix typo.
16128 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16129 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16131 * debug/tst-chk1.c: Add poll and ppoll tests.
16132 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16133 * include/sys/poll.h: Add hidden proto for ppoll.
16134 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16135 * sysdeps/mach/hurd/ppoll.c: Likewise.
16136 * io/ppoll.c: Likewise.
16137 * debug/poll_chk.c: New file.
16138 * debug/ppoll_chk.c: New file.
16139 * include/bits/poll2.h: New file.
16140 * io/bits/poll2.h: New file.
16143 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16145 * configure.in: static is always set to yes. Remove.
16146 * config.make.in: Don't set build-static.
16147 * Makeconfig: Remove use of build-static.
16148 * dlfcn/Makefile: Likewise.
16149 * elf/Makefile: Likewise.
16150 * math/Makefile: Likewise.
16151 * misc/Makefile: Likewise.
16152 * nptl/Makefile: Likewise.
16153 * sysdeps/mach/hurd/Makefile: Likewise.
16155 * configure.in: PWD_P is not used anymore.
16156 * config.make.in: Remove PWD_P entry.
16158 * configure.in: Remove last remnants of RANLIB.
16159 No need to check for signed size_t anymore.
16160 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16162 Remove __builtin_expect test because we require at least gcc 3.4.
16163 * aclocal.m4: Likewise.
16165 * wcsmbs/mbrtoc16.c: Implement using towc function.
16166 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16167 * wcsmbs/wcsmbsload.c: Likewise.
16168 * iconv/gconv_simple.c: Likewise.
16169 * iconv/gconv_int.h: Likewise.
16170 * iconv/gconv_builtin.h: Likewise.
16171 * iconv/iconv_prog.c: Remove CHAR16 handling.
16173 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16175 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16177 * configure.in: Remove --with-elf and --enable-bounded options.
16178 Dont set base_machine for ia64. More non-ELF conditions removed.
16179 Remove testing and setting of leading underscore information.
16180 * config.make.in (build-bounded): Set to no.
16181 * config.h.in: Remove NO_UNDERSCORES entry.
16182 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16184 * csu/start.c: Remove !NO_UNDERSCORE code.
16185 * locale/localeinfo.h: Likewise.
16186 * sysdeps/generic/machine-gmon.h: Likewise.
16187 * sysdeps/generic/sysdep.h: Likewise.
16188 * sysdeps/i386/sysdep.h: Likewise.
16189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16190 * sysdeps/mach/sysdep.h: Likewise.
16191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16193 * sysdeps/sh/sysdep.h: Likewise.
16194 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16195 * sysdeps/unix/i386/sysdep.S: Likewise.
16196 * sysdeps/unix/sparc/start.c: Likewise.
16197 * sysdeps/unix/sparc/sysdep.S: Likewise.
16198 * sysdeps/unix/sparc/sysdep.h: Likewise.
16199 * sysdeps/unix/start.c: Likewise.
16200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16201 * sysdeps/x86_64/sysdep.h: Likewise.
16203 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16206 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16208 * argp/argp-fmtstream.h: Use const instead __const.
16209 * argp/argp.h: Likewise.
16210 * assert/assert.h: Likewise.
16211 * bits/fenv.h: Likewise.
16212 * bits/sched.h: Likewise.
16213 * bits/sigset.h: Likewise.
16214 * bits/sigthread.h: Likewise.
16215 * catgets/nl_types.h: Likewise.
16216 * conform/data/pthread.h-data: Likewise.
16217 * crypt/crypt-private.h: Likewise.
16218 * crypt/crypt.h: Likewise.
16219 * crypt/crypt_util.c: Likewise.
16220 * ctype/ctype.h: Likewise.
16221 * debug/execinfo.h: Likewise.
16222 * debug/mbsnrtowcs_chk.c: Likewise.
16223 * debug/mbsrtowcs_chk.c: Likewise.
16224 * debug/wcsnrtombs_chk.c: Likewise.
16225 * debug/wcsrtombs_chk.c: Likewise.
16226 * debug/wcstombs_chk.c: Likewise.
16227 * dirent/dirent.h: Likewise.
16228 * dlfcn/dlfcn.h: Likewise.
16229 * elf/neededtest4.c: Likewise.
16230 * grp/grp.h: Likewise.
16231 * gshadow/gshadow.h: Likewise.
16232 * iconv/gconv.h: Likewise.
16233 * iconv/gconv_int.h: Likewise.
16234 * iconv/gconv_simple.c: Likewise.
16235 * iconv/iconv.h: Likewise.
16236 * iconv/loop.c: Likewise.
16237 * iconv/skeleton.c: Likewise.
16238 * include/aio.h: Likewise.
16239 * include/aliases.h: Likewise.
16240 * include/argz.h: Likewise.
16241 * include/arpa/inet.h: Likewise.
16242 * include/assert.h: Likewise.
16243 * include/dirent.h: Likewise.
16244 * include/dlfcn.h: Likewise.
16245 * include/execinfo.h: Likewise.
16246 * include/fcntl.h: Likewise.
16247 * include/fenv.h: Likewise.
16248 * include/glob.h: Likewise.
16249 * include/grp.h: Likewise.
16250 * include/libintl.h: Likewise.
16251 * include/mntent.h: Likewise.
16252 * include/netdb.h: Likewise.
16253 * include/pwd.h: Likewise.
16254 * include/rpc/netdb.h: Likewise.
16255 * include/sched.h: Likewise.
16256 * include/search.h: Likewise.
16257 * include/shadow.h: Likewise.
16258 * include/signal.h: Likewise.
16259 * include/stdio.h: Likewise.
16260 * include/stdlib.h: Likewise.
16261 * include/string.h: Likewise.
16262 * include/sys/socket.h: Likewise.
16263 * include/sys/stat.h: Likewise.
16264 * include/sys/statfs.h: Likewise.
16265 * include/sys/statvfs.h: Likewise.
16266 * include/sys/syslog.h: Likewise.
16267 * include/sys/time.h: Likewise.
16268 * include/sys/uio.h: Likewise.
16269 * include/time.h: Likewise.
16270 * include/unistd.h: Likewise.
16271 * include/utmp.h: Likewise.
16272 * include/wchar.h: Likewise.
16273 * include/wctype.h: Likewise.
16274 * inet/aliases.h: Likewise.
16275 * inet/arpa/inet.h: Likewise.
16276 * inet/netinet/ether.h: Likewise.
16277 * inet/netinet/in.h: Likewise.
16278 * intl/libintl.h: Likewise.
16279 * io/bits/fcntl2.h: Likewise.
16280 * io/fcntl.h: Likewise.
16281 * io/ftw.h: Likewise.
16282 * io/sys/poll.h: Likewise.
16283 * io/sys/stat.h: Likewise.
16284 * io/sys/statfs.h: Likewise.
16285 * io/sys/statvfs.h: Likewise.
16286 * io/utime.h: Likewise.
16287 * libio/bits/stdio.h: Likewise.
16288 * libio/bits/stdio2.h: Likewise.
16289 * libio/libio.h: Likewise.
16290 * libio/libioP.h: Likewise.
16291 * libio/stdio.h: Likewise.
16292 * locale/lc-ctype.c: Likewise.
16293 * locale/locale.h: Likewise.
16294 * login/utmp.h: Likewise.
16295 * malloc/arena.c: Likewise.
16296 * malloc/malloc.c: Likewise.
16297 * malloc/malloc.h: Likewise.
16298 * malloc/mcheck.c: Likewise.
16299 * malloc/mtrace.c: Likewise.
16300 * math/bits/mathcalls.h: Likewise.
16301 * math/fenv.h: Likewise.
16302 * math/math_private.h: Likewise.
16303 * misc/bits/error.h: Likewise.
16304 * misc/bits/syslog.h: Likewise.
16305 * misc/err.h: Likewise.
16306 * misc/error.h: Likewise.
16307 * misc/fstab.h: Likewise.
16308 * misc/mntent.h: Likewise.
16309 * misc/regexp.h: Likewise.
16310 * misc/search.h: Likewise.
16311 * misc/sgtty.h: Likewise.
16312 * misc/sys/mman.h: Likewise.
16313 * misc/sys/syslog.h: Likewise.
16314 * misc/sys/uio.h: Likewise.
16315 * misc/sys/xattr.h: Likewise.
16316 * misc/ttyent.h: Likewise.
16317 * nis/rpcsvc/ypclnt.h: Likewise.
16318 * nss/nss.h: Likewise.
16319 * posix/bits/unistd.h: Likewise.
16320 * posix/fnmatch.h: Likewise.
16321 * posix/glob.h: Likewise.
16322 * posix/sched.h: Likewise.
16323 * posix/spawn.h: Likewise.
16324 * posix/sys/wait.h: Likewise.
16325 * posix/unistd.h: Likewise.
16326 * posix/wordexp.h: Likewise.
16327 * pwd/pwd.h: Likewise.
16328 * resolv/netdb.h: Likewise.
16329 * resource/sys/resource.h: Likewise.
16330 * rt/aio.h: Likewise.
16331 * rt/bits/mqueue2.h: Likewise.
16332 * rt/mqueue.h: Likewise.
16333 * shadow/shadow.h: Likewise.
16334 * signal/signal.h: Likewise.
16335 * socket/send.c: Likewise.
16336 * socket/sendto.c: Likewise.
16337 * socket/sys/socket.h: Likewise.
16338 * stdio-common/printf.h: Likewise.
16339 * stdlib/bits/stdlib.h: Likewise.
16340 * stdlib/fmtmsg.h: Likewise.
16341 * stdlib/monetary.h: Likewise.
16342 * stdlib/stdlib.h: Likewise.
16343 * stdlib/ucontext.h: Likewise.
16344 * streams/stropts.h: Likewise.
16345 * string/argz.h: Likewise.
16346 * string/bits/string2.h: Likewise.
16347 * string/string.h: Likewise.
16348 * string/strings.h: Likewise.
16349 * sunrpc/rpc/auth.h: Likewise.
16350 * sunrpc/rpc/auth_des.h: Likewise.
16351 * sunrpc/rpc/clnt.h: Likewise.
16352 * sunrpc/rpc/netdb.h: Likewise.
16353 * sunrpc/rpc/pmap_clnt.h: Likewise.
16354 * sunrpc/rpc/xdr.h: Likewise.
16355 * sysdeps/generic/inttypes.h: Likewise.
16356 * sysdeps/generic/net/if.h: Likewise.
16357 * sysdeps/generic/sys/swap.h: Likewise.
16358 * sysdeps/gnu/net/if.h: Likewise.
16359 * sysdeps/gnu/utmpx.h: Likewise.
16360 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16361 * sysdeps/i386/i486/bits/string.h: Likewise.
16362 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16363 * sysdeps/s390/bits/string.h: Likewise.
16364 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16365 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16366 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16367 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16368 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16369 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16370 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16371 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16372 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16373 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16374 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16375 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16376 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16377 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16378 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16379 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16380 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16387 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16389 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16390 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16392 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16393 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16394 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16395 * sysvipc/sys/ipc.h: Likewise.
16396 * sysvipc/sys/msg.h: Likewise.
16397 * sysvipc/sys/sem.h: Likewise.
16398 * sysvipc/sys/shm.h: Likewise.
16399 * termios/termios.h: Likewise.
16400 * time/sys/time.h: Likewise.
16401 * time/time.h: Likewise.
16402 * wcsmbs/bits/wchar2.h: Likewise.
16403 * wcsmbs/uchar.h: Likewise.
16404 * wcsmbs/wchar.h: Likewise.
16405 * wctype/wctype.h: Likewise.
16408 * Makeconfig: Remove all but ELF support including AIX support.
16409 * Makerules: Likewise.
16410 * config.h.in: Likewise.
16411 * config.make.in: Likewise.
16412 * configure: Likewise.
16413 * configure.in: Likewise.
16414 * csu/Makefile: Likewise.
16415 * csu/version.c: Likewise.
16416 * debug/Makefile: Likewise.
16417 * dlfcn/Makefile: Likewise.
16418 * elf/Makefile: Likewise.
16419 * extra-lib.mk: Likewise.
16420 * iconv/Makefile: Likewise.
16421 * include/libc-symbols.h: Likewise.
16422 * include/shlib-compat.h: Likewise.
16423 * resolv/Makefile: Likewise.
16424 * resolv/res_libc.c: Likewise.
16425 * rt/Makefile: Likewise.
16426 * sysdeps/i386/asm-syntax.h: Likewise.
16427 * sysdeps/i386/sysdep.h: Likewise.
16428 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16429 * sysdeps/mach/sysdep.h: Likewise.
16430 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16431 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16432 * sysdeps/s390/asm-syntax.h: Likewise.
16433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16435 * sysdeps/sh/sysdep.h: Likewise.
16436 * sysdeps/unix/sparc/sysdep.h: Likewise.
16437 * sysdeps/wordsize-32/divdi3.c: Likewise.
16438 * sysdeps/x86_64/sysdep.h: Likewise.
16440 * argp/Versions: Remove _argp_unlock_xxx.
16443 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16444 * abilist/libBrokenLocale.abilist: Likewise.
16445 * abilist/libanl.abilist: Likewise.
16446 * abilist/libc.abilist: Likewise.
16447 * abilist/libcrypt.abilist: Likewise.
16448 * abilist/libdl.abilist: Likewise.
16449 * abilist/libm.abilist: Likewise.
16450 * abilist/libnsl.abilist: Likewise.
16451 * abilist/libpthread.abilist: Likewise.
16452 * abilist/libresolv.abilist: Likewise.
16453 * abilist/librt.abilist: Likewise.
16454 * abilist/libthread_db.abilist: Likewise.
16455 * abilist/libutil.abilist: Likewise.
16456 * abilist/libnss_db.abilist: New file.
16458 * scripts/abilist.awk: Add support for indirect functions.
16460 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16462 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16464 * shlib-versions: Remove entries for ports architectures.
16466 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16468 * elf/stackguard-macros.h: Remove support for IA-64.
16469 * elf/tst-auditmod1.c: Likewise.
16470 * sysdeps/generic/ldsodefs.h: Likewise.
16472 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16473 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16477 * configure.in: Remove --enable-omitfp support.
16479 * config.make.in: Likewise.
16480 * Makeconfig: Likewise.
16481 * manual/install.texi: Likewise.
16483 In case anyone cares, the IA-64 architecture could move to ports.
16484 * sysdeps/ia64/*: Removed.
16485 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16486 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16489 * configure.in: Remove entries for unsupported architectures.
16492 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16493 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16495 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16496 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16497 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16498 fall back to using wcrtomb.
16499 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16500 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16502 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16503 * wcsmbs/tst-c16c32-1.c: New file.
16505 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16508 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16510 * elf/tst-unique3.cc: Add explicit declaration of gets.
16511 * elf/tst-unique3lib.cc: Likewise.
16512 * elf/tst-unique3lib2.cc: Likewise.
16513 * elf/tst-unique4.cc: Likewise.
16515 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16517 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16520 * assert/assert.h (static_assert): Don't define for C++.
16521 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16522 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16524 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16526 * iconv/loop.c (single loop): Fix assertion in storing of
16529 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16531 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16533 * posix/getconf.c: Update copyright year.
16534 * nss/getent.c: Likewise.
16535 * nss/makedb.c: Likewise.
16536 * iconv/iconvconfig.c: Likewise.
16537 * iconv/iconv_prog.c: Likewise.
16538 * elf/ldconfig.c: Likewise.
16539 * elf/pldd.c: Likewise.
16540 * elf/sotruss.ksh: Likewise.
16541 * catgets/gencat.c: Likewise.
16542 * csu/version.c: Likewise.
16543 * elf/ldd.bash.in: Likewise.
16544 * elf/sprof.c (print_version): Likewise.
16545 * locale/programs/locale.c: Likewise.
16546 * locale/programs/localedef.c: Likewise.
16547 * login/programs/pt_chown.c: Likewise.
16548 * nscd/nscd.c (print_version): Likewise.
16549 * debug/xtrace.sh: Likewise.
16550 * malloc/memusage.sh: Likewise.
16551 * malloc/mtrace.pl: Likewise.
16552 * debug/catchsegv.sh: Likewise.
16554 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16556 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16559 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16562 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16563 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16565 * iconv/gconv_int.h: Likewise.
16566 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16567 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16568 from libc for GLIBC_2.16.
16569 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16570 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16571 * wcsmbs/uchar.h: Really define mbstate_t.
16572 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16573 * wcsmbs/c16rtomb.c: New file.
16574 * wcsmbs/mbrtoc16.c: New file.
16575 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16576 for C/POSIX locale.
16577 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16578 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16580 * wcsmbs/wchar.h: Add missing __restrict.
16582 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16585 * time/Makefile (routines): Add timespec_get.
16586 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16587 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16588 timespec for ISO C11.
16589 * time/timespec_get.c: New file.
16590 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16591 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16594 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16595 * stdlib/stdlib.h: Declare aligned_alloc.
16596 * Versions.def: Add GLIBC_2.16 for libc.
16597 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16600 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16603 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16607 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16610 * assert/assert.h (static_assert): Define.
16612 * version.h: Update for 2.16 development version.
16615 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16618 * version.h (RELEASE): Bump for 2.15 release.
16619 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16621 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16622 Patch by Marek Polacek <mpolacek@redhat.com>.
16624 * bits/byteswap.h: Protect long long constants with __extension__.
16625 * sysdeps/i386/bits/byteswap.h: Likewise.
16626 * sysdeps/ia64/bits/byteswap.h: Likewise.
16627 * sysdeps/s390/bits/byteswap.h: Likewise.
16628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16630 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16634 destination buffer.
16635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16637 2011-12-23 Marek Polacek <polacek@redhat.com>
16639 * elf/dl-addr.c (determine_info): Add inline keyword.
16640 * elf/tst-auditmod4b.c (check_avx): Likewise.
16641 * elf/tst-auditmod6b.c (check_avx): Likewise.
16642 * elf/tst-auditmod6c.c (check_avx): Likewise.
16643 * elf/tst-auditmod7b.c (check_avx): Likewise.
16645 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16647 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16650 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16654 processing for last bytes.
16656 2011-08-06 Bruno Haible <bruno@clisp.org>
16659 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16660 U+0385, not to U+1FEE.
16663 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16664 entry for U+00A5 U+0301.
16666 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16669 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16670 buffer for the output is too small.
16672 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16676 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16677 SSE flags if possible.
16679 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16683 processing for last bytes.
16685 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16687 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16688 (syscall-list-default-options, syscall-list-default-condition)
16689 (syscall-list-includes): Define.
16690 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16691 list of ABIs and options and #if conditions for each ABI. Do not
16692 handle common syscalls between ABIs specially.
16693 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16695 (syscall-list-variants, syscall-list-32bit-options)
16696 (syscall-list-32bit-condition, syscall-list-64bit-options)
16697 (syscall-list-64bit-condition): Define.
16698 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16699 (syscall-list-variants, syscall-list-32bit-options)
16700 (syscall-list-32bit-condition, syscall-list-64bit-options)
16701 (syscall-list-64bit-condition): Define.
16702 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16704 (syscall-list-variants, syscall-list-32bit-options)
16705 (syscall-list-32bit-condition, syscall-list-64bit-options)
16706 (syscall-list-64bit-condition): Define.
16707 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16709 (syscall-list-variants, syscall-list-32bit-options)
16710 (syscall-list-32bit-condition, syscall-list-64bit-options)
16711 (syscall-list-64bit-condition): Define.
16713 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16715 * locale/iso-639.def: Add brx entry.
16718 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16719 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16721 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16722 __feraiseexcept_renamed.
16724 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16727 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16728 EPOLLET with unsigned values.
16729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16732 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16733 to large cancellation.
16734 * math/s_cacoshf.c: Likewise.
16735 * math/s_cacoshl.c: Likewise.
16737 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16741 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16742 * math/s_cacoshf.c: Likewise.
16743 * math/s_cacoshl.c: Likewise.
16745 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16748 * iconv/gconv.h: Define __GCONV_SWAP.
16749 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16750 * iconvdata/utf-16.c: Likewise.
16751 * iconvdata/utf-32.c: Likewise.
16753 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16757 numerator after shifting it by one limb.
16759 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16761 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16762 under [__USE_EXTERN_INLINES].
16764 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16767 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16769 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16771 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16772 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16774 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16775 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16776 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16777 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16778 for strncasecmp/strncasecmp_l compilation.
16779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16780 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16782 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16785 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16788 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16791 * time/tzfile.c (__tzfile_read): Check values from file header.
16793 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16795 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16796 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16797 * powerpc/powerpc32/dl-start.S: Likewise.
16798 * powerpc/powerpc32/elf/start.S: Likewise.
16799 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16800 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16801 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16802 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16803 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16804 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16805 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16806 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16807 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16808 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16809 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16810 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16811 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16812 * powerpc/powerpc32/memset.S: Likewise.
16813 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16814 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16815 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16816 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16817 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16818 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16819 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16820 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16821 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16822 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16824 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16825 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16827 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16829 * math/libm-test.inc: Added more nearbyint tests.
16830 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16831 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16835 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16837 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16840 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16842 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16843 Add wcscpy-ssse3 wcscpy-c.
16844 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16845 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16846 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16847 * sysdeps/x86_64/wcschr.S: New file.
16848 * sysdeps/x86_64/wcsrchr.S: New file.
16849 * string/test-strcmp.c: Remove checking of wcscmp function for
16851 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16852 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16853 wcsrchr-sse2 wcsrchr-c.
16854 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16855 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16856 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16857 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16858 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16859 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16860 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16861 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16862 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16863 * wcsmbc/wcschr.c (WCSCHR): New macro.
16865 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16867 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16868 * wcsmbs/test-wcsrchr.c: New file.
16869 * string/test-strrchr.c: Add wcsrchr support.
16871 * wcsmbs/test-wcscpy.c: New file.
16872 * string/test-strcpy.c: Add wcscpy support.
16875 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16880 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16883 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16885 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16888 Minor optimizations.
16890 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16891 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16892 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16894 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16896 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16897 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16898 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16899 for gcc to avoid warnings.
16900 * inet/Makefile (tests): Add tst-checks.
16901 * inet/tst-checks.c: New file.
16903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16906 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16909 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16910 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16912 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16914 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16916 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16919 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16921 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16924 conditional on GCC version.
16925 (__arch_compare_and_exchange_val_8_acq)
16926 (__arch_compare_and_exchange_val_16_acq)
16927 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16928 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16929 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16931 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16933 * sysdeps/sh/backtrace.c: New file.
16935 2011-12-02 Andreas Schwab <schwab@redhat.com>
16937 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16940 2011-12-01 Andreas Schwab <schwab@redhat.com>
16942 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16943 falling back to utime.
16945 2011-11-30 Andreas Schwab <schwab@redhat.com>
16947 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16948 expectations for float.
16950 2011-11-29 Andreas Schwab <schwab@redhat.com>
16952 * locale/weight.h (findidx): Add parameter len.
16953 * locale/weightwc.h (findidx): Likewise.
16954 * posix/fnmatch_loop.c (FCT): Adjust caller.
16955 * posix/regcomp.c (build_equiv_class): Likewise.
16956 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16957 * posix/regexec.c (check_node_accept_bytes): Likewise.
16958 * string/strcoll_l.c (STRCOLL): Likewise.
16959 * string/strxfrm_l.c (STRXFRM): Likewise.
16961 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16963 * Makefile.in: Remove CVSOPT handling.
16964 * configure.in: Remove use of AC_REVISION.
16965 * iconvdata/Makefile (distribute): No need to filter out CVS.
16966 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16969 2011-11-16 Andreas Schwab <schwab@redhat.com>
16971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16972 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16973 [USE_AS_STRNCASECMP_L]: Likewise.
16974 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16975 NO_TLS_DIRECT_SEG_REFS.
16976 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16977 Fix argument offsets for non-PIC.
16978 [USE_AS_STRNCASECMP_L]: Likewise.
16979 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16980 NO_TLS_DIRECT_SEG_REFS.
16982 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16984 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16986 * locale/loadlocale.c (_nl_load_locale): Likewise.
16988 2011-11-15 Andreas Schwab <schwab@redhat.com>
16990 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16991 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16993 (SYSCALL_GETTIME): Set errno on error.
16995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16996 count references to noai6ai_cached.
16998 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17000 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17002 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17003 FD_CLOEXEC for /proc/self/maps.
17005 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17006 FD_CLOEXEC for /proc/meminfo.
17008 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17011 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17012 FD_CLOEXEC for given file.
17014 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17016 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17017 FD_CLOEXEC for /etc/hosts.
17018 (_gethtent): Likewise.
17020 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17022 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17023 cancellation and set FD_CLOEXEC for /etc/netgroup.
17025 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17026 reading /etc/publickey.
17028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17029 allow cancellation when reading /etc/group.
17031 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17033 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17035 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17036 when using data file.
17038 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17040 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17041 (write_nis_obj): Use "c" and "e" in fopen.
17043 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17045 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17047 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17049 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17051 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17054 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17056 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17058 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17060 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17061 file parsing and set FD_CLOEXEC.
17063 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17065 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17067 2011-11-14 Andreas Schwab <schwab@redhat.com>
17069 * malloc/arena.c (arena_get2): Don't call reused_arena when
17070 _int_new_arena failed.
17072 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17074 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17075 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17080 to compile strcasecmp and strncasecmp.
17081 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17082 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17086 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17088 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17089 locale-defines.sym to gen-as-const-headers.
17090 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17091 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17093 to compile strcasecmp and strncasecmp.
17094 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17095 strcasecmp_l and strncasecmp_l.
17096 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17097 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17098 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17099 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17100 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17101 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17102 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17103 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17104 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17105 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17106 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17108 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17110 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17111 result of SYSDEP_GETTIME_CPU to retval.
17112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17113 parameter list to macro. Remove trailing semicolon. Adjust users.
17115 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17118 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17123 from unused variable.
17125 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17127 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17130 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17133 * sunrpc/rpc_prot.c (rejected): Fix case value.
17135 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17136 unsigned long long int to avoid warnings in shift.
17138 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17140 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17143 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17144 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17147 * nis/nis_table.c (nis_list): Use variable of correct type for
17148 result of __follow_path call.
17150 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17152 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17153 of math functions ceil, trunc, floor, round, and sqrt, when
17154 avaliable on the platform.
17155 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17157 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17158 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17159 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17161 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17163 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17164 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17166 2011-11-11 Roland McGrath <roland@hack.frob.com>
17168 * include/unistd.h: Fix __readlink return type.
17169 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17171 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17173 * stdlib/ucontext.h: Undo last change for makecontext.
17175 2011-11-11 Andreas Schwab <schwab@redhat.com>
17177 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17179 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17180 * setjmp/setjmp.h: Mark functions as non-leaf.
17181 * setjmp/bits/setjmp2.h: Likewise.
17182 * stdlib/ucontext.h: Likewise.
17184 2011-11-10 Andreas Schwab <schwab@redhat.com>
17186 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17187 (reused_arena): Don't check arena limit.
17188 (arena_get2): Atomically check arena limit.
17190 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17192 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17193 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17198 2011-11-07 Andreas Schwab <schwab@redhat.com>
17200 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17201 handler when locking.
17203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17204 Fix size of allocated buffer.
17206 2011-11-04 Andreas Schwab <schwab@redhat.com>
17209 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17210 declarations for long double functions.
17211 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17213 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17215 2011-11-03 Andreas Schwab <schwab@redhat.com>
17217 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17220 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17223 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17225 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17227 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17229 * include/alloca.h (stackinfo_alloca_round): Define.
17230 (extend_alloca): Use it.
17231 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17232 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17235 * scripts/check-local-headers.sh: Ignore libaudit.h.
17237 * nscd/Makefile (extra-objs): Make recursively expanded.
17239 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17241 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17244 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17245 * posix/tst-rfc3484-2.c: Likewise.
17246 * posix/tst-rfc3484-3.c: Likewise.
17248 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17250 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17252 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17253 process_vm_writev from libc using GLIBC_2.15 version.
17255 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17257 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17259 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17262 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17265 * nss/getent.c (initgroups_keys): Show error message in case no group
17268 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17269 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17270 __bump_nl_timestamp.
17271 * nscd/connections (nscd_init): When host database is served open
17272 netlink socket and request notification about configuration changes.
17273 (main_loop_poll): Track netlink file descriptor and bump timestamp
17274 in case data becomes available.
17275 (main_loop_epoll): Likewise.
17276 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17277 (database_pers_head): Add extra_data fileds.
17278 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17280 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17283 in6ai data, call __free_in6ai.
17284 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17285 Add -DHAVE_NETLINK.
17286 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17287 interface information. Reuse previous data if netlink timestamp
17289 (__bump_nl_timestamp): New function.
17290 (__free_in6ai): New function.
17292 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17295 close_not_cancel_no_status here.
17296 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17298 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17301 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17304 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17305 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17306 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17308 2011-07-03 Andreas Jaeger <aj@suse.de>
17311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17312 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17313 * math/libm-test.inc (sin_test): Add test case.
17315 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17318 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17319 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17321 * elf/chroot_canon.c (chroot_canon): Cleanups.
17323 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17326 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17327 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17329 * string/test-strchr.c: Make usable for strchrnul testing.
17330 * string/test-strchrnul.c: New file.
17331 * string/Makefile (strop-tests): Add strchrnul.
17333 * po/it.po: Update from translation team.
17334 * po/es.po: Likewise.
17336 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17339 the three constants needed as parameters. Drop the others.
17340 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17341 __m128i_strloadu_tolower.
17342 Create and initialize variable zero and use it in all the places
17343 where _mm_setzero_si128 was used.
17345 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17346 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17347 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17350 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17351 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17352 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17353 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17355 __mpranred, __mptan.
17356 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17357 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17358 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17359 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17360 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17361 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17366 2011-10-28 Andreas Schwab <schwab@redhat.com>
17368 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17369 redefine if SHARED.
17370 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17373 wide char related routines to wcsmbs subdir.
17375 2011-10-27 Andreas Schwab <schwab@redhat.com>
17378 * misc/sys/cdefs.h (__THROWNL): Define.
17379 * posix/unistd.h: Use __THREADNL instead of __THREAD
17380 for memory synchronization functions.
17382 2011-10-26 Roland McGrath <roland@hack.frob.com>
17385 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17387 * manual/stdio.texi (Obstack Streams): Node removed.
17389 2011-10-26 Andreas Schwab <schwab@redhat.com>
17391 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17395 * math/math_private.h (math_force_eval): Allow non-addressable
17397 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17399 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17401 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17402 file is not needed.
17404 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17411 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17413 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17414 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17415 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17416 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17417 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17418 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17419 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17420 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17421 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17422 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17423 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17424 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17426 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17427 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17428 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17429 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17430 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17431 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17433 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17434 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17437 place. Use VEX encoding when compiling for AVX.
17439 2011-10-25 Andreas Schwab <schwab@redhat.com>
17441 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17442 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17444 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17446 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17448 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17449 useless if() expression.
17450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17451 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17454 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17455 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17460 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17468 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17470 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17472 2011-10-25 Andreas Schwab <schwab@redhat.com>
17474 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17478 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17480 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17481 .text section. Avoid duplicate constants.
17482 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17493 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17494 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17499 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17506 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17507 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17508 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17509 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17510 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17511 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17512 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17513 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17515 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17516 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17518 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17520 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17521 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17524 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17525 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17526 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17528 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17530 * sysdeps/x86_64/dla.h: Move to ...
17531 * sysdeps/x86_64/fpu/dla.h: ...here.
17532 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17533 situations. Use __builtin_fma only for gcc 4.6 and up.
17535 * config.make.in: Add have-mfma4 entry.
17536 * configure.in: Substitute libc_cv_cc_fma4.
17537 * math/Makefile (dbl-only-routines): Add sincostab.
17538 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17539 Use __sincostab not sincos.
17540 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17547 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17548 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17549 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17550 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17553 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17555 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17556 define aliases when function name is a macro.
17557 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17558 sysdeps/ieee754/dbl-64/sincos.tbl.
17559 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17560 fma4-enabled routines.
17561 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17562 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17563 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17564 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17566 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17570 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17571 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17573 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17574 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17575 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17576 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17577 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17579 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17581 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17582 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17586 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17588 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17589 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17590 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17592 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17603 2011-10-24 Andreas Schwab <schwab@redhat.com>
17605 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17607 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17611 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17615 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17616 Remove unused variable magic_bits.
17617 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17619 * string/strnlen.c: Define and use STRNLEN macro.
17620 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17621 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17623 * wcsmbs/wcslen.c: Define and use WCSLEN.
17624 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17625 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17626 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17627 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17628 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17629 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17630 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17632 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17635 strnlen-sse2-no-bsf.
17636 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17638 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17639 Add strnlen support.
17640 (USE_AS_STRNLEN): New macro.
17641 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17643 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17644 * sysdeps/x86_64/wcslen.S: New file.
17646 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17649 XMM-moves are used for copying on small sizes.
17651 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17653 * wcsmbs/Makefile (strop-tests): Add wcschr.
17654 * wcsmbs/test-wcschr.c: New file.
17655 * string/test-strchr.c: Update.
17656 Add wcschr support.
17659 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17661 * wcsmbs/Makefile (strop-tests): Add wcslen.
17662 * wcsmbs/test-wcslen.c: New file.
17663 * string/test-strlen.c: Update.
17664 Add wcslen support.
17667 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17669 * po/it.po: Update from translation team.
17671 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17673 * sysdeps/x86_64/wcscmp.S: Update.
17674 Fix wrong comparison semantics.
17675 wcscmp shall use signed comparison not unsigned.
17676 Don't use substraction to avoid overflow bug.
17677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17678 * wcsmbc/wcscmp.c: Likewise.
17679 * string/test-strcmp.c: Likewise.
17680 Add new tests to check cases with negative values.
17682 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17684 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17685 * sysdeps/x86_64/dla.h: ...here. New file.
17686 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17696 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17699 __ynl_finite aliases.
17701 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17705 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17707 [DLA_FMA] (EMULV): Use DLA_FMA.
17708 [DLA_FMA] (MUL12): Use EMULV.
17709 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17710 that are not needed.
17711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17719 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17721 * math/s_nan.c: Undef __nan.
17722 * math/s_nanf.c: Undef __nanf.
17723 * math/s_nanl.c: Undef __nanl.
17724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17727 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17729 * math/s_catan.c: Add branch predictions.
17730 * math/s_catanf.c: Likewise.
17731 * math/s_catanh.c: Likewise.
17732 * math/s_catanhf.c: Likewise.
17733 * math/s_catanhl.c: Likewise.
17734 * math/s_catanl.c: Likewise.
17735 * math/s_cexp.c: Likewise.
17736 * math/s_cexpf.c: Likewise.
17737 * math/s_cexpl.c: Likewise.
17738 * math/s_clog.c: Likewise.
17739 * math/s_clog10.c: Likewise.
17740 * math/s_clog10f.c: Likewise.
17741 * math/s_clog10l.c: Likewise.
17742 * math/s_clogf.c: Likewise.
17743 * math/s_clogl.c: Likewise.
17744 * math/s_csqrt.c: Likewise.
17745 * math/s_csqrtf.c: Likewise.
17746 * math/s_csqrtl.c: Likewise.
17747 * math/s_ctanf.c: Likewise.
17748 * math/s_ctanh.c: Likewise.
17749 * math/s_ctanhf.c: Likewise.
17750 * math/s_ctanhl.c: Likewise.
17751 * math/s_ctanl.c: Likewise.
17753 * math/math_private.h: Define __nan, __nanf, __nanl.
17754 * math/s_cacosh.c: Include <math_private.h>.
17755 * math/s_cacoshl.c: Likewise.
17756 * math/s_casinh.c: Likewise.
17757 * math/s_casinhf.c: Likewise.
17758 * math/s_casinhl.c: Likewise.
17759 * math/s_ccos.c: Rely entire on ccosh.
17760 * math/s_ccosf.c: Rely entire on ccoshf.
17761 * math/s_ccosl.c: Rely entirely on ccoshl.
17762 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17763 Remove tests for FE_INVALID.
17764 * math/s_ccoshf.c: Likewise.
17765 * math/s_ccoshl.c: Likewise.
17766 * math/s_csin.c: Likewise.
17767 * math/s_csinf.c: Likewise.
17768 * math/s_csinh.c Likewise.
17769 * math/s_csinhf.c: Likewise.
17770 * math/s_csinhl.c: Likewise.
17771 * math/s_csinl.c: Likewise.
17772 * math/s_ctan.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17774 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17777 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17780 compilation problems.
17782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17785 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17787 * sysdeps/i386/configure.in: Test for -mfma4 option.
17788 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17789 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17790 COMMON_CPUID_INDEX_80000001.
17791 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17792 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17793 use it if FMA3 is not supported.
17794 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17796 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17797 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17799 2011-10-20 Andreas Schwab <schwab@redhat.com>
17802 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17803 it would create a cycle with a link time dependency.
17805 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17807 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17809 * string/Makefile (strop-tests): Add rawmemchr.
17810 * string/test-rawmemchr.c: New file.
17812 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17814 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17815 when compiling str{,n}casecmp and when AVX is available. Hook up
17816 new optimized code in initializers.
17818 2011-10-19 Andreas Schwab <schwab@redhat.com>
17820 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17821 __feraiseexcept instead of feraiseexcept.
17823 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17825 * math/math_private.h: Define defaults for libc_fetestexcept and
17827 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17828 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17830 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17833 libc_fetestexcept and libc_feupdateenv.
17835 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17836 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17837 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17838 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17839 libc_feholdexcept_setround.
17841 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17842 Add s_nearbyint-c and s_nearbyintf-c.
17843 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17844 nearbyintf inlines.
17845 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17846 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17848 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17850 * math/math_private.h: Define defaults for libc_fegetround,
17851 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17852 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17853 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17855 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17856 standard functions.
17857 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17858 Remove comments and hacks for old compiler versions.
17859 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17860 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17861 libc_feholdexceptl.
17863 2011-10-18 Andreas Schwab <schwab@redhat.com>
17865 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17866 (__feraiseexcept_renamed): Add __NTH.
17867 (feraiseexcept): Add __NTH. Rename local variables to fix
17868 namespace violations.
17870 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17872 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17874 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17876 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17877 recently added interfaces.
17878 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17880 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17881 about macro parameter expansion.
17883 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17884 __NO_MATH_INLINES is defined. Cleanups.
17886 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17887 and __floorf is target has SSE4.1.
17888 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17889 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17890 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17891 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17893 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17895 (floorf): Likewise.
17897 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17899 2011-10-17 Andreas Schwab <schwab@redhat.com>
17901 * misc/sys/cdefs.h: Fix last change.
17903 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17906 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17908 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17910 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17917 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17918 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17919 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17920 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17921 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17922 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17923 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17925 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17927 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17928 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17929 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17930 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17931 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17933 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17934 ceil, ceilf, floor, floorf.
17936 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17937 Perform IRELATIVE relocations last.
17939 * elf/do-rel.h: Add another parameter nrelative, replacing the
17940 local variable with the same name. Change name of the function
17941 to end in Rel or Rela (uppercase).
17942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17943 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17944 elf_dynamic_do_##reloc function.
17946 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17948 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17949 is sufficient, at least on modern CPUs.
17951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17953 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17956 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17958 * math/bits/math-finite.h: Add entries for exp.
17959 * math/e_expl.c: Add __*_finite alias.
17960 * sysdeps/i386/fpu/e_exp.S: Likewise.
17961 * sysdeps/i386/fpu/e_expf.S: Likewise.
17962 * sysdeps/i386/fpu/e_expl.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17964 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17968 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17969 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17971 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17972 is sufficient, at least on modern CPUs.
17974 * ctype/ctype-info.c (__ctype_init): Define.
17975 * include/ctype.h (__ctype_init): Declare.
17976 (__ctype_b_loc): The variable is always initialized.
17977 (__ctype_toupper_loc): Likewise.
17978 (__ctype_tolower_loc): Likewise.
17979 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17980 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17982 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17984 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17986 * configure.in: Also look in $cxxmachine/include for C++ system
17989 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17991 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17992 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17993 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17994 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17996 (USE_AS_WMEMCMP): New macro.
17998 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17999 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18000 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18001 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18003 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18004 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18005 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18006 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18007 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18009 (USE_AS_WMEMCMP): New macro.
18010 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18011 * sysdeps/string/test-memcmp.c: Update.
18012 Fix simple_wmemcmp.
18014 * wcsmbs/wmemcmp.c: Update.
18015 (WMEMCMP): New macro.
18018 2011-10-12 Andreas Jaeger <aj@suse.de>
18021 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18023 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18025 * libio/iofwide.c (do_length): Avoid warning.
18027 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18029 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18031 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18033 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18034 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18035 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18036 * sysdeps/i386/i686/fpu/e_log.S: New file.
18037 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18038 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18040 * ctype/ctype.h: Add support for inlined isXXX functions when
18041 compiling C++ code.
18043 2011-10-14 Andreas Schwab <schwab@redhat.com>
18045 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18047 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18049 2011-10-13 Roland McGrath <roland@hack.frob.com>
18052 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18054 2011-10-13 Andreas Schwab <schwab@redhat.com>
18056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18057 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18060 * sysdeps/x86_64/memrchr.S: Check for zero size.
18062 * string/stratcliff.c: Add memrchr tests.
18064 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18067 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18068 rawmemchr-sse2 rawmemchr-sse2-bsf.
18069 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18070 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18071 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18072 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18073 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18074 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18075 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18076 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18077 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18078 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18079 * string/memrchr.c (MEMRCHR): New macro.
18081 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18083 Add integration with gcc's -ffinite-math-only and optimize wrapper
18085 * Versions.def: Define GLIBC_2.15 version for libm.
18086 * math/Makefile (headers): Add bits/math-finite.h.
18087 * math/bits/math-finite.h: New file.
18088 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18089 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18090 * math/e_acoshl.c: Add __*_finite alias.
18091 * math/e_acosl.c: Likewise.
18092 * math/e_asinl.c: Likewise.
18093 * math/e_atan2l.c: Likewise.
18094 * math/e_atanhl.c: Likewise.
18095 * math/e_coshl.c: Likewise.
18096 * math/e_exp10.c: Likewise.
18097 * math/e_exp10f.c: Likewise.
18098 * math/e_exp10l.c: Likewise.
18099 * math/e_exp2l.c: Likewise.
18100 * math/e_fmodl.c: Likewise.
18101 * math/e_gammal_r.c: Likewise.
18102 * math/e_hypotl.c: Likewise.
18103 * math/e_j0l.c: Likewise.
18104 * math/e_j1l.c: Likewise.
18105 * math/e_jnl.c: Likewise.
18106 * math/e_lgammal_r.c: Likewise.
18107 * math/e_log10l.c: Likewise.
18108 * math/e_log2l.c: Likewise.
18109 * math/e_logl.c: Likewise.
18110 * math/e_powl.c: Likewise.
18111 * math/e_sinhl.c: Likewise.
18112 * math/e_sqrtl.c: Likewise.
18113 * math/e_scalb.c: Completely rewritten and optimized.
18114 * math/e_scalbf.c: Likewise.
18115 * math/e_scalbl.c: Likewise.
18116 * math/w_acos.c: Likewise.
18117 * math/w_acosf.c: Likewise.
18118 * math/w_acosl.c: Likewise.
18119 * math/w_acosh.c: Likewise.
18120 * math/w_acoshf.c: Likewise.
18121 * math/w_acoshl.c: Likewise.
18122 * math/w_asin.c: Likewise.
18123 * math/w_asinf.c: Likewise.
18124 * math/w_asinl.c: Likewise.
18125 * math/w_atan2.c: Likewise.
18126 * math/w_atan2f.c: Likewise.
18127 * math/w_atan2l.c: Likewise.
18128 * math/w_atanh.c: Likewise.
18129 * math/w_atanhf.c: Likewise.
18130 * math/w_atanhl.c: Likewise.
18131 * math/w_exp10.c: Likewise.
18132 * math/w_exp10f.c: Likewise.
18133 * math/w_exp10l.c: Likewise.
18134 * math/w_fmod.c: Likewise.
18135 * math/w_fmodf.c: Likewise.
18136 * math/w_fmodl.c: Likewise.
18137 * math/w_j0.c: Likewise.
18138 * math/w_j0f.c: Likewise.
18139 * math/w_j0l.c: Likewise.
18140 * math/w_j1.c: Likewise.
18141 * math/w_j1f.c: Likewise.
18142 * math/w_j1l.c: Likewise.
18143 * math/w_jn.c: Likewise.
18144 * math/w_jnf.c: Likewise.
18145 * math/w_log.c: Likewise.
18146 * math/w_logf.c: Likewise.
18147 * math/w_logl.c: Likewise.
18148 * math/w_log10.c: Likewise.
18149 * math/w_log10f.c: Likewise.
18150 * math/w_log10l.c: Likewise.
18151 * math/w_log2.c: Likewise.
18152 * math/w_log2f.c: Likewise.
18153 * math/w_log2l.c: Likewise.
18154 * math/w_pow.c: Likewise.
18155 * math/w_powf.c: Likewise.
18156 * math/w_powl.c: Likewise.
18157 * math/w_remainder.c: Likewise.
18158 * math/w_remainderf.c: Likewise.
18159 * math/w_remainderl.c: Likewise.
18160 * math/w_scalb.c: Likewise.
18161 * math/w_scalbf.c: Likewise.
18162 * math/w_scalbl.c: Likewise.
18163 * math/w_sqrt.c: Likewise.
18164 * math/w_sqrtf.c: Likewise.
18165 * math/w_sqrtl.c: Likewise.
18166 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18167 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18169 * math/math_private.h: Declare __kernel_standard_f.
18170 * math/w_cosh.c: Remove cruft and optimize a bit.
18171 * math/w_coshf.c: Likewise.
18172 * math/w_coshl.c: Likewise.
18173 * math/w_exp2.c: Likewise.
18174 * math/w_exp2f.c: Likewise.
18175 * math/w_exp2l.c: Likewise.
18176 * math/w_hypot.c: Likewise.
18177 * math/w_hypotf.c: Likewise.
18178 * math/w_hypotl.c: Likewise.
18179 * math/w_lgamma.c: Likewise.
18180 * math/w_lgamma_r.c: Likewise.
18181 * math/w_lgammaf.c: Likewise.
18182 * math/w_lgammaf_r.c: Likewise.
18183 * math/w_lgammal.c: Likewise.
18184 * math/w_lgammal_r.c: Likewise.
18185 * math/w_sinh.c: Likewise.
18186 * math/w_sinhf.c: Likewise.
18187 * math/w_sinhl.c: Likewise.
18188 * math/w_tgamma.c: Likewise.
18189 * math/w_tgammaf.c: Likewise.
18190 * math/w_tgammal.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18193 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18194 Minor optimizations. Pretty printing. Remove cruft.
18195 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18196 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18199 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18200 * sysdeps/i386/fpu/e_asin.S: Likewise.
18201 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18202 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18203 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18204 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18207 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18208 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18209 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18210 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18211 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18212 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18213 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18214 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18215 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18216 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18217 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18218 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18219 * sysdeps/i386/fpu/e_log.S: Likewise.
18220 * sysdeps/i386/fpu/e_log10.S: Likewise.
18221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18223 * sysdeps/i386/fpu/e_log2.S: Likewise.
18224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18225 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18226 * sysdeps/i386/fpu/e_logf.S: Likewise.
18227 * sysdeps/i386/fpu/e_logl.S: Likewise.
18228 * sysdeps/i386/fpu/e_pow.S: Likewise.
18229 * sysdeps/i386/fpu/e_powf.S: Likewise.
18230 * sysdeps/i386/fpu/e_powl.S: Likewise.
18231 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18232 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18233 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18235 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18237 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18238 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18239 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18265 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18266 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18269 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18271 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18274 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18275 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18276 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18277 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18281 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18331 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18332 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18333 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18337 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18338 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18339 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18340 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18341 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18342 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18343 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18348 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18349 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18350 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18351 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18352 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18353 (__isnanf): Likewise.
18354 (__isinf_ns): Likewise.
18355 (__isinf_nsf): Likewise.
18356 (__finite): Likewise.
18357 (__finitef): Likewise.
18358 (__ieee754_sqrt): Define as macro.
18359 (__ieee754_sqrtf): Define as macro.
18360 (__ieee754_sqrtl): Define as macro.
18361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18363 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18364 __FINITE_MATH_ONLY__ consistent.
18365 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18367 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18369 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18374 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18376 * po/ja.po: Update from translation team.
18378 2011-10-08 Roland McGrath <roland@hack.frob.com>
18380 * locale/programs/locarchive.c (prepare_address_space): New function.
18381 (create_archive, enlarge_archive, open_archive): Use it.
18383 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18384 inside [SHARED], where it is used.
18386 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18388 * nss/getent.c (netgroup_keys): Remove unused variable.
18389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18391 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18393 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18394 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18396 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18397 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18399 * math/Makefile (libm-calls): Add s_isinf_ns.
18400 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18401 * math/multc3.c: Likewise.
18402 * math/s_casin.c: Likewise.
18403 * math/s_casinf.c: Likewise.
18404 * math/s_casinl.c: Likewise.
18405 * math/s_ccos.c: Likewise.
18406 * math/s_ccosf.c: Likewise.
18407 * math/s_ccosl.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/w_fmod.c: Likewise.
18415 * math/w_fmodf.c: Likewise.
18416 * math/w_fmodl.c: Likewise.
18417 * math/w_remainder.c: Likewise.
18418 * math/w_remainderf.c: Likewise.
18419 * math/w_remainderl.c: Likewise.
18420 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18421 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18424 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18425 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18426 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18427 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18429 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18431 * stdio-common/printf_fphex.c: Likewise.
18432 * stdio-common/printf_size.c: Likewise.
18434 * math/e_exp10.c: Include math_private.h using <...> not "...".
18435 * math/e_exp10f.c: Likewise.
18436 * math/e_exp10l.c: Likewise.
18437 * math/e_exp2l.c: Likewise.
18438 * math/e_j0l.c: Likewise.
18439 * math/e_j1l.c: Likewise.
18440 * math/e_jnl.c: Likewise.
18441 * math/e_lgammal_r.c: Likewise.
18442 * math/e_rem_pio2l.c: Likewise.
18443 * math/e_scalb.c: Likewise.
18444 * math/e_scalbf.c: Likewise.
18445 * math/e_scalbl.c: Likewise.
18446 * math/k_cosl.c: Likewise.
18447 * math/k_sinl.c: Likewise.
18448 * math/k_tanl.c: Likewise.
18449 * math/s_cacoshf.c: Likewise.
18450 * math/s_catan.c: Likewise.
18451 * math/s_catanf.c: Likewise.
18452 * math/s_catanh.c: Likewise.
18453 * math/s_catanhf.c: Likewise.
18454 * math/s_catanhl.c: Likewise.
18455 * math/s_catanl.c: Likewise.
18456 * math/s_ccosh.c: Likewise.
18457 * math/s_ccoshf.c: Likewise.
18458 * math/s_ccoshl.c: Likewise.
18459 * math/s_cexp.c: Likewise.
18460 * math/s_cexpf.c: Likewise.
18461 * math/s_cexpl.c: Likewise.
18462 * math/s_clog.c: Likewise.
18463 * math/s_clog10.c: Likewise.
18464 * math/s_clog10f.c: Likewise.
18465 * math/s_clog10l.c: Likewise.
18466 * math/s_clogf.c: Likewise.
18467 * math/s_clogl.c: Likewise.
18468 * math/s_csin.c: Likewise.
18469 * math/s_csinf.c: Likewise.
18470 * math/s_csinh.c: Likewise.
18471 * math/s_csinhf.c: Likewise.
18472 * math/s_csinhl.c: Likewise.
18473 * math/s_csinl.c: Likewise.
18474 * math/s_csqrt.c: Likewise.
18475 * math/s_csqrtf.c: Likewise.
18476 * math/s_csqrtl.c: Likewise.
18477 * math/s_ctan.c: Likewise.
18478 * math/s_ctanf.c: Likewise.
18479 * math/s_ctanh.c: Likewise.
18480 * math/s_ctanhf.c: Likewise.
18481 * math/s_ctanhl.c: Likewise.
18482 * math/s_ctanl.c: Likewise.
18483 * math/s_ldexp.c: Likewise.
18484 * math/s_ldexpf.c: Likewise.
18485 * math/s_ldexpl.c: Likewise.
18486 * math/s_significand.c: Likewise.
18487 * math/s_significandf.c: Likewise.
18488 * math/s_significandl.c: Likewise.
18489 * math/w_acos.c: Likewise.
18490 * math/w_acosf.c: Likewise.
18491 * math/w_acosh.c: Likewise.
18492 * math/w_acoshf.c: Likewise.
18493 * math/w_acoshl.c: Likewise.
18494 * math/w_acosl.c: Likewise.
18495 * math/w_asin.c: Likewise.
18496 * math/w_asinf.c: Likewise.
18497 * math/w_asinl.c: Likewise.
18498 * math/w_atan2.c: Likewise.
18499 * math/w_atan2f.c: Likewise.
18500 * math/w_atan2l.c: Likewise.
18501 * math/w_atanh.c: Likewise.
18502 * math/w_atanhf.c: Likewise.
18503 * math/w_atanhl.c: Likewise.
18504 * math/w_cosh.c: Likewise.
18505 * math/w_coshf.c: Likewise.
18506 * math/w_coshl.c: Likewise.
18507 * math/w_dremf.c: Likewise.
18508 * math/w_exp10.c: Likewise.
18509 * math/w_exp10f.c: Likewise.
18510 * math/w_exp10l.c: Likewise.
18511 * math/w_exp2.c: Likewise.
18512 * math/w_exp2f.c: Likewise.
18513 * math/w_fmod.c: Likewise.
18514 * math/w_fmodf.c: Likewise.
18515 * math/w_fmodl.c: Likewise.
18516 * math/w_hypot.c: Likewise.
18517 * math/w_hypotf.c: Likewise.
18518 * math/w_hypotl.c: Likewise.
18519 * math/w_j0.c: Likewise.
18520 * math/w_j0f.c: Likewise.
18521 * math/w_j0l.c: Likewise.
18522 * math/w_j1.c: Likewise.
18523 * math/w_j1f.c: Likewise.
18524 * math/w_j1l.c: Likewise.
18525 * math/w_jn.c: Likewise.
18526 * math/w_jnf.c: Likewise.
18527 * math/w_jnl.c: Likewise.
18528 * math/w_lgamma.c: Likewise.
18529 * math/w_lgamma_r.c: Likewise.
18530 * math/w_lgammaf.c: Likewise.
18531 * math/w_lgammaf_r.c: Likewise.
18532 * math/w_lgammal.c: Likewise.
18533 * math/w_lgammal_r.c: Likewise.
18534 * math/w_log.c: Likewise.
18535 * math/w_log10.c: Likewise.
18536 * math/w_log10f.c: Likewise.
18537 * math/w_log10l.c: Likewise.
18538 * math/w_log2.c: Likewise.
18539 * math/w_log2f.c: Likewise.
18540 * math/w_log2l.c: Likewise.
18541 * math/w_logf.c: Likewise.
18542 * math/w_logl.c: Likewise.
18543 * math/w_pow.c: Likewise.
18544 * math/w_powf.c: Likewise.
18545 * math/w_powl.c: Likewise.
18546 * math/w_remainder.c: Likewise.
18547 * math/w_remainderf.c: Likewise.
18548 * math/w_remainderl.c: Likewise.
18549 * math/w_scalb.c: Likewise.
18550 * math/w_scalbf.c: Likewise.
18551 * math/w_scalbl.c: Likewise.
18552 * math/w_sinh.c: Likewise.
18553 * math/w_sinhf.c: Likewise.
18554 * math/w_sinhl.c: Likewise.
18555 * math/w_sqrt.c: Likewise.
18556 * math/w_sqrtf.c: Likewise.
18557 * math/w_sqrtl.c: Likewise.
18558 * math/w_tgamma.c: Likewise.
18559 * math/w_tgammaf.c: Likewise.
18560 * math/w_tgammal.c: Likewise.
18562 * po/ja.po: Update from translation team.
18564 2011-09-29 Andreas Jaeger <aj@suse.de>
18567 * sunrpc/netname.c (netname2host): Fix logic.
18571 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18573 * math/w_remainder.c (__remainder): Likewise.
18574 * math/w_remainderf.c (__remainderf): Likewise.
18575 * math/libm-test.inc (remainder_test): Add test cases.
18577 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18579 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18582 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18584 * string/test-memcmp.c: Avoid unncessary #defines.
18585 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18587 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18589 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18590 Use new sse2 version for core i3 - i7 as it's faster
18591 than sse42 version.
18592 (bit_Prefer_PMINUB_for_stringop): New.
18593 * sysdeps/x86_64/rawmemchr.S: Update.
18594 Replace with faster SSE2 version.
18595 * sysdeps/x86_64/memrchr.S: New file.
18596 * sysdeps/x86_64/memchr.S: Update.
18597 Replace with faster SSE2 version.
18599 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18601 * elf/dl-load.c (lose): Add cast to avoid warning.
18603 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18605 * po/ca.po: Update from translation team.
18607 * inet/getnetgrent_r.c: Hook up nscd.
18608 * nscd/Makefile (routines): Add nscd_netgroup.
18609 (nscd-modules): Add netgroupcache.
18610 (CFLAGS-netgroupcache.c): Define.
18611 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18612 (cache_search): Add const to second parameter.
18613 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18615 (dbs): Add netgrdb entry.
18616 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18617 (verify_persistent_db): Handle netgrdb.
18618 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18619 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18621 (netgroup_response_header): Define.
18622 (innetgroup_response_header): Define.
18623 (datahead): Add netgroup_response_header and innetgroup_response_header
18625 * nscd/nscd.conf: Add entries for netgroup cache.
18626 * nscd/nscd.h (dbtype): Add netgrdb.
18627 (_PATH_NSCD_NETGROUP_DB): Define.
18628 (netgroup_iov_disabled): Declare.
18629 (xmalloc, xcalloc, xrealloc): Move declarations here.
18630 (cache_search): Adjust prototype.
18631 Add netgroup-related prototypes.
18632 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18633 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18634 (__nscd_innetgr): Declare.
18635 * nscd/selinux.c (perms): Use access_vector_t as element type and
18636 add netgroup-related initializers.
18637 * nscd/netgroupcache.c: New file.
18638 * nscd/nscd_netgroup.c: New file.
18639 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18640 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18641 For four parameters use innetgr.
18642 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18643 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18644 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18645 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18647 * nscd/connections.c (register_traced_file): Don't register file
18648 for disabled databases.
18650 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18652 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18654 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18655 from tree and freeing node.
18657 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18659 * nss/nsswitch.c (__nss_database_lookup): Handle
18660 nss_parse_service_list out of memory case.
18662 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18664 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18665 out of memory case.
18667 2011-10-04 Andreas Schwab <schwab@redhat.com>
18669 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18670 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18672 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18673 elf_machine_rela, elf_machine_lazy_rel.
18674 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18675 (ELF_DYNAMIC_DO_REL): Likewise.
18676 (ELF_DYNAMIC_DO_RELA): Likewise.
18677 (ELF_DYNAMIC_RELOCATE): Likewise.
18678 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18679 to ELF_DYNAMIC_DO_REL.
18680 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18681 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18682 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18685 skip_ifunc, don't call ifunc function if non-zero.
18686 (elf_machine_rela): Likewise.
18687 (elf_machine_lazy_rel): Likewise.
18688 (elf_machine_lazy_rela): Likewise.
18689 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18690 (elf_machine_lazy_rel): Likewise.
18691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18693 (elf_machine_lazy_rel): Likewise.
18694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18696 (elf_machine_lazy_rel): Likewise.
18697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18698 (elf_machine_lazy_rel): Likewise.
18699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18700 (elf_machine_lazy_rel): Likewise.
18701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18702 (elf_machine_lazy_rel): Likewise.
18703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18704 (elf_machine_lazy_rel): Likewise.
18705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18706 (elf_machine_lazy_rel): Likewise.
18707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18708 (elf_machine_lazy_rel): Likewise.
18710 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18712 * nss/nss_files/files-init.c (_nss_files_init): Use static
18713 initialization for all the *_traced_file variables.
18715 2011-09-28 Andreas Schwab <schwab@redhat.com>
18717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18719 2011-09-27 Roland McGrath <roland@hack.frob.com>
18722 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18724 2011-09-27 Andreas Schwab <schwab@redhat.com>
18726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18727 Reread the line before reparsing it.
18729 2011-09-26 Andreas Schwab <schwab@redhat.com>
18731 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18733 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18734 Maxim Kuvyrkov <maxim@codesourcery.com>
18735 Joseph Myers <joseph@codesourcery.com>
18737 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18738 if needed for __stack_chk_guard.
18740 2011-09-19 Roland McGrath <roland@hack.frob.com>
18742 * sysdeps/posix/spawni.c (script_execute): Always define it.
18743 It will be optimized away if unused.
18744 (maybe_script_execute): New function.
18745 (__spawni): Call it.
18747 * Makerules: Don't include tls.make.
18748 (config-tls): Always set to thread.
18749 * tls.make.c: File removed.
18751 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18753 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18754 * config.make.in (CPPFLAGS-config): New substituted variable.
18756 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18761 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18762 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18764 2011-09-15 Roland McGrath <roland@hack.frob.com>
18766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18767 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18769 (CALL_FAIL): Likewise.
18770 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18771 (CALL_FAIL): Macro removed.
18772 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18774 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18776 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18777 for __FINITE_MATH_ONLY__ == 1.
18779 2011-09-15 Andreas Schwab <schwab@redhat.com>
18781 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18782 __ieee754_sqrt instead of sqrt.
18783 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18784 __ieee754_sqrtf instead of sqrtf.
18785 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18786 __floorf instead of floorf.
18787 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18788 __floorf, __truncf instead of floorf, truncf.
18790 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18792 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18794 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18795 __extern_always_inline.
18796 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18799 2011-09-14 Andreas Schwab <schwab@redhat.com>
18801 * elf/rtld.c (dl_main): Also relocate in dependency order when
18802 doing symbol dependency testing.
18804 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18807 Always define `refsym'.
18809 2011-09-13 Andreas Schwab <schwab@redhat.com>
18811 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18812 (__FD_ELT): Renamed from __FDELT.
18813 * misc/bits/select2.h (__FD_ELT): Likewise.
18814 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18815 __FD_MASK instead of __FDELT, __FDMASK.
18816 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18818 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18821 * elf/Makefile (gen-ldd): Fix pattern.
18823 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18824 (init_tls): Likewise.
18826 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18830 2011-09-12 Andreas Schwab <schwab@redhat.com>
18832 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18833 `struct cmsghdr *' instead of `void *'.
18834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18837 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18839 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18841 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18842 ldd_rewrite_script.
18844 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18846 * configure.in: Remove --with-tls option.
18847 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18848 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18849 out in case it is missing.
18850 * sysdeps/ia64/elf/configure.in: Likewise.
18851 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18852 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18853 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18854 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18855 * sysdeps/sh/elf/configure.in: Likewise.
18856 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18857 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18858 * sysdeps/x86_64/elf/configure.in: Likewise.
18859 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18860 * sysdeps/mach/hurd/tls.h: Likewise.
18863 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18866 * configure.in: Fix use of AC_INIT.
18868 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18870 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18872 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18874 * malloc/hooks.c: Likewise.
18877 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18878 variables statically.
18879 (narenas): Initialize.
18880 (list_lock): Initialize.
18881 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18882 initializtion of main_arena and list_lock. Small cleanups.
18883 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18884 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18885 Add initializers to main_arena and mp_.
18886 (malloc_state): Remove pagesize member. Change all users to use
18889 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18890 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18891 is always initialized.
18893 * malloc/malloc.c: Removed unused configurations and dead code.
18894 * malloc/arena.c: Likewise.
18895 * malloc/hooks.c: Likewise.
18896 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18898 * include/tls.h: Removed. USE___THREAD must always be defined.
18899 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18900 * elf/dl-libc.c: Likewise.
18901 * elf/dl-tsd.c: Likewise.
18902 * include/errno.h: Likewise.
18903 * include/netdb.h: Likewise.
18904 * include/resolv.h: Likewise.
18905 * inet/herrno-loc.c: Likewise.
18906 * inet/herrno.c: Likewise.
18907 * malloc/arena.c: Likewise.
18908 * malloc/hooks.c: Likewise.
18909 * malloc/malloc.c: Likewise.
18910 * resolv/res-state.c: Likewise.
18911 * resolv/res_libc.c: Likewise.
18912 * sysdeps/i386/dl-machine.h: Likewise.
18913 * sysdeps/ia64/dl-machine.h: Likewise.
18914 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18915 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18916 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18917 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18918 * sysdeps/sh/dl-machine.h: Likewise.
18919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18920 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18921 * sysdeps/unix/i386/sysdep.S: Likewise.
18922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18923 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18928 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18933 * sysdeps/x86_64/dl-machine.h: Likewise.
18934 * tls.make.c: Likewise.
18936 * configure.in: Remove --with-__thread option. Make tests for
18937 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18938 tls_model attribute fail if no support is available. Remove
18940 * Makeconfig: Adjust for dropped configure option. All features are
18942 * Makerules: Likewise.
18943 * Versions.def: Likewise.
18944 * argp/argp-fmtstream.c: Likewise.
18945 * argp/argp-fmtstream.h: Likewise.
18946 * argp/argp-help.c: Likewise.
18947 * assert/assert.c: Likewise.
18948 * config.h.in: Likewise.
18949 * config.make.in: Likewise.
18950 * configure: Likewise.
18951 * configure.in: Likewise.
18952 * csu/Versions: Likewise.
18953 * csu/init.c: Likewise.
18954 * elf/tst-audit2.c: Likewise.
18955 * elf/tst-tls10.c: Likewise.
18956 * elf/tst-tls10.h: Likewise.
18957 * elf/tst-tls11.c: Likewise.
18958 * elf/tst-tls12.c: Likewise.
18959 * elf/tst-tls14.c: Likewise.
18960 * elf/tst-tlsmod11.c: Likewise.
18961 * elf/tst-tlsmod12.c: Likewise.
18962 * elf/tst-tlsmod13.c: Likewise.
18963 * elf/tst-tlsmod13a.c: Likewise.
18964 * elf/tst-tlsmod14a.c: Likewise.
18965 * elf/tst-tlsmod15b.c: Likewise.
18966 * elf/tst-tlsmod16a.c: Likewise.
18967 * elf/tst-tlsmod16b.c: Likewise.
18968 * elf/tst-tlsmod7.c: Likewise.
18969 * elf/tst-tlsmod8.c: Likewise.
18970 * elf/tst-tlsmod9.c: Likewise.
18971 * gmon/gmon.c: Likewise.
18972 * grp/fgetgrent_r.c: Likewise.
18973 * grp/putgrent.c: Likewise.
18974 * hurd/fopenport.c: Likewise.
18975 * include/libc-symbols.h: Likewise.
18976 * include/tls.h: Likewise.
18977 * intl/gettextP.h: Likewise.
18978 * intl/loadinfo.h: Likewise.
18979 * locale/global-locale.c: Likewise.
18980 * locale/localeinfo.h: Likewise.
18981 * mach/devstream.c: Likewise.
18982 * malloc/arena.c: Likewise.
18983 * malloc/set-freeres.c: Likewise.
18984 * misc/err.c: Likewise.
18985 * misc/getttyent.c: Likewise.
18986 * misc/mntent_r.c: Likewise.
18987 * posix/getopt.c: Likewise.
18988 * posix/wordexp.c: Likewise.
18989 * pwd/fgetpwent_r.c: Likewise.
18990 * resolv/Versions: Likewise.
18991 * resolv/res_hconf.c: Likewise.
18992 * shadow/fgetspent_r.c: Likewise.
18993 * shadow/putspent.c: Likewise.
18994 * stdio-common/printf_fphex.c: Likewise.
18995 * stdio-common/tmpfile.c: Likewise.
18996 * stdlib/abort.c: Likewise.
18997 * stdlib/fmtmsg.c: Likewise.
18998 * sunrpc/auth_unix.c: Likewise.
18999 * sunrpc/clnt_perr.c: Likewise.
19000 * sunrpc/clnt_tcp.c: Likewise.
19001 * sunrpc/clnt_udp.c: Likewise.
19002 * sunrpc/clnt_unix.c: Likewise.
19003 * sunrpc/openchild.c: Likewise.
19004 * sunrpc/svc_simple.c: Likewise.
19005 * sunrpc/svc_tcp.c: Likewise.
19006 * sunrpc/svc_udp.c: Likewise.
19007 * sunrpc/svc_unix.c: Likewise.
19008 * sunrpc/xdr.c: Likewise.
19009 * sunrpc/xdr_array.c: Likewise.
19010 * sunrpc/xdr_rec.c: Likewise.
19011 * sunrpc/xdr_ref.c: Likewise.
19012 * sunrpc/xdr_stdio.c: Likewise.
19014 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19016 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19018 2011-07-03 Andreas Jaeger <aj@suse.de>
19020 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19021 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19022 regenerate with gen-libm-tests.pl.
19024 2010-05-12 Petr Baudis <pasky@suse.cz>
19027 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19028 around j0() zero points by switching to j1().
19029 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19034 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19036 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19038 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19041 Patch in part by Pavel Roskin <proski@gnu.org>.
19044 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19046 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19047 Free memory block if necessary.
19050 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19051 be NULL. Don't lock in this case.
19053 2011-09-09 Roland McGrath <roland@hack.frob.com>
19055 * elf/elf.h (ELFOSABI_GNU): New macro.
19056 (ELFOSABI_LINUX): Define to that.
19058 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19060 * string/strncat.c (strncat): Undef the symbol in case it has been
19061 defined in bits/string.h.
19063 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19065 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19067 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19070 2011-08-17 Andreas Jaeger <aj@suse.de>
19072 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19074 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19075 Ian Lance Taylor <iant@google.com>
19077 * math/libm-test.inc (lround_test): New testcase.
19078 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19080 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19082 * Makefile: Remove support for automatic cvs check-ins.
19083 * Makerules: Likewise.
19084 * config.make.in: Likewise.
19085 * configure.in: Likewise.
19086 * intl/Makefile: Likewise.
19087 * locale/Makefile: Likewise.
19088 * po/Makefile: Likewise.
19089 * posix/Makefile: Likewise.
19090 * sysdeps/gnu/Makefile: Likewise.
19091 * sysdeps/mach/hurd/Makefile: Likewise.
19092 * sysdeps/sparc/sparc32/Makefile: Likewise.
19095 * posix/Makefile (bug-regex32-ENV): Define.
19096 Patch by John Stanley <jpsinthemix@verizon.net>.
19098 * misc/Makefile (headers): Add bits/select2.h.
19099 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19100 * misc/bits/select2.h: New file.
19101 * include/bits/select2.h: New file.
19102 * debug/Makefile (routines): Add fdelt_chk.
19103 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19104 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19106 * debug/fdelt_chk.c: New file.
19108 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19109 * wcsmbs/test-wmemcmp.c: Likewise.
19110 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19111 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19113 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19115 * string/Makefile (strop-tests): Add memcmp.
19116 * string/test-wmemcmp.c: New file.
19117 * string/test-memcmp.c: Add wmemcmp support.
19119 2011-09-08 Roland McGrath <roland@hack.frob.com>
19122 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19125 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19126 garbage value in a __mach_port_mod_refs call in the cases of the
19127 task-self and thread-self ports.
19129 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19131 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19133 2011-09-08 Andreas Schwab <schwab@redhat.com>
19135 * elf/dl-load.c (lose): Check for non-null L.
19137 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19139 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19141 * elf/dl-libc.c (dlerror_run): Pass back error code from
19145 * elf/dl-load.c (lose): Free l_origin if it is valid.
19147 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19149 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19153 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19154 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19156 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19158 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19159 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19160 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19161 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19162 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19163 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19164 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19165 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19166 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19167 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19169 2011-08-15 Alan Modra <amodra@gmail.com>
19172 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19173 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19174 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19175 ppc_mcount to static-only-routines.
19176 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19178 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19179 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19181 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19183 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19184 for finite and infinity parameters.
19186 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19189 and add nop instructions for throughput optimization.
19190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19192 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19195 aligned copy for power7 with vector-scalar instructions.
19196 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19198 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19203 2011-09-07 Andreas Schwab <schwab@redhat.com>
19206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19209 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19211 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19212 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19213 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19217 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19220 Forgot to demangle the pointer.
19222 * sysdeps/i386/sysdep.h: Define atom_text_section.
19223 * sysdeps/x86_64/sysdep.h: Likewise.
19224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19225 section with atom_text_section.
19226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19228 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19233 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19234 already be defined. Change to take two parameters and don't assign
19235 result to variable. Adjust all users.
19236 Define INTERNAL_GETTIME if not already defined.
19237 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19240 HAVE_CLOCK_GETTIME_VSYSCALL.
19241 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19244 gettimeofday vsyscall, just use time.
19246 2011-09-06 Andreas Schwab <schwab@redhat.com>
19248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19251 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19253 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19257 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19259 syscall if possible.
19261 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19263 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19264 e_ident. Don't pass to find_mapsXX.
19265 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19267 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19270 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19271 * sysdeps/x86_64/multiarch/strchr.S: Update.
19272 Check bit_slow_BSF bit.
19273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19274 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19275 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19277 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19280 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19282 (tryshell): Define.
19283 (__spawni): Change last parameter to be flag. Test
19284 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19285 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19286 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19287 * posix/spawni.c: Likewise.
19288 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19289 * posix/spawnp.c: Likewise. Change normal version to use
19290 SPAWN_XFLAGS_USE_PATH.
19291 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19292 SPAWN_XFLAGS_TRY_SHELL.
19295 * posix/glob.h: Remove gcc 1.x support.
19298 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19300 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19303 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19305 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19306 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19309 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19312 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19314 * sysdeps/x86_64/wcscmp.S: New file.
19316 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19317 wcscmp-c wcscmp-sse2
19318 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19319 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19320 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19321 * wcsmbs/wcscmp.c: Allow renaming.
19323 2011-09-05 David S. Miller <davem@davemloft.net>
19325 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19326 stack slot, rather than the struct return pointer slot.
19327 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19328 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19330 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19332 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19334 * po/ja.po: Update from translation team.
19337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19338 kernel in 64-bit binaries.
19340 2011-09-01 David S. Miller <davem@davemloft.net>
19342 * elf/elf.h (HWCAP_SPARC_*): Move to..
19343 * sysdeps/sparc/sysdep.h: this new file and add new values.
19344 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19345 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19346 _DL_HWCAP_COUNT to 24.
19347 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19349 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19350 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19351 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19353 instead of magic constants.
19354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19356 2011-08-31 David S. Miller <davem@davemloft.net>
19358 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19360 Reimplement to do errno handling inline.
19361 (SYSCALL_ERROR_HANDLER): New macro.
19362 (__SYSCALL_STRING): Do not do errno handling in asm.
19363 (__CLONE_SYSCALL_STRING): Delete.
19364 (__INTERNAL_SYSCALL_STRING): Delete.
19365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19366 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19367 (PSEUDO): Reimplement to do errno handling inline.
19368 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19369 (SYSCALL_ERROR_HANDLER): New macro.
19370 (__SYSCALL_STRING): Do not do errno handling in asm.
19371 (__CLONE_SYSCALL_STRING): Delete.
19372 (__INTERNAL_SYSCALL_STRING): Delete.
19373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19374 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19376 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19377 (inline_syscall*): Add 'err' argument.
19378 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19379 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19380 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19381 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19383 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19384 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19386 2011-08-30 Andreas Schwab <schwab@redhat.com>
19388 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19390 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19392 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19395 2011-08-24 David S. Miller <davem@davemloft.net>
19397 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19399 2011-08-24 Andreas Schwab <schwab@redhat.com>
19401 * elf/Makefile: Add rules to build and run unload8 test.
19402 * elf/unload8.c: New file.
19403 * elf/unload8mod1.c: New file.
19404 * elf/unload8mod1x.c: New file.
19405 * elf/unload8mod2.c: New file.
19406 * elf/unload8mod3.c: New file.
19408 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19411 2011-08-23 David S. Miller <davem@davemloft.net>
19413 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19414 subtract stack bias.
19415 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19416 %sp not %fp in calculations.
19417 (_JMPBUF_UNWINDS_ADJ): Likewise.
19419 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19420 (aio_suspend): Call it to force an exception region around the
19421 AIO_MISC_WAIT() invocation.
19423 2011-08-23 Andreas Schwab <schwab@redhat.com>
19425 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19428 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19430 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19432 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19433 and <dl-machine.h>.
19434 (Elf64_FuncDesc): Remove.
19436 2011-08-22 David S. Miller <davem@davemloft.net>
19438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19439 sigaltstack check, add missing cfi directives.
19440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19441 missing cfi directives, and sigaltstack handling.
19443 2011-08-16 Andreas Schwab <schwab@redhat.com>
19446 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19447 object is seen twice.
19448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19450 * elf/Makefile (distribute): Add tst-initorder2.c.
19451 (tests): Add tst-initorder2.
19452 (modules-names): Add tst-initorder2a tst-initorder2b
19453 tst-initorder2c tst-initorder2d. Add rules to build them.
19454 ($(objpfx)tst-initorder2.out): New rule.
19455 * elf/tst-initorder2.c: New file.
19456 * elf/tst-initorder2.exp: New file.
19458 2011-08-22 Andreas Schwab <schwab@redhat.com>
19460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19462 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19463 dependencies back to end of function.
19465 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19466 $(elfobjdir)/ld.so.
19468 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19471 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19473 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19474 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19475 of __vdso_gettimeofday.
19476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19477 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19479 (_libc_vdso_platform_setup): Remove initialization of
19480 __vdso_gettimeofday and __vdso_time.
19482 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19484 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19485 and fgetc_unlocked.
19486 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19489 * elf/dl-open.c (add_to_global): Report additions to the global scope
19490 for LD_DEBUG=scopes.
19491 (dl_open_worker): Also print scope of newly loaded dependencies.
19492 (_dl_show_scope): Indicate if there is no scope.
19495 * stdio-common/Makefile (tests): Add bug24.
19496 * stdio-common/bug24.c: New file.
19498 2011-08-19 Andreas Jaeger <aj@suse.de>
19501 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19502 non-existant file when using close-on-exec mode.
19504 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19507 the very first instruction.
19509 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19510 the CFI state in the end.
19511 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19512 inclusion of dl-trampoline.h.
19513 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19515 2011-08-19 Andreas Schwab <schwab@redhat.com>
19517 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19518 expectations for long double.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19521 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19523 2011-08-14 David S. Miller <davem@davemloft.net>
19525 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19526 artificual limit depends upon the system page size.
19528 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19530 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19531 * resolv/Makefile: Define CFLAGS-libresolv.
19533 2011-08-17 Andreas Schwab <schwab@redhat.com>
19535 * nss/makedb.c (compute_tables): Make variables used in nested
19538 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19540 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19541 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19542 if buffer was too small.
19544 * elf/pldd.c (main): Attach to all threads in the process.
19545 Rewrite /proc handling to use *at functions.
19547 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19549 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19550 specifies first scope to show.
19551 (dl_open_worker): Update callers. Move printing scope of new
19552 object to before the relocation.
19553 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19554 * sysdeps/generic/ldsodefs.h: Update declaration.
19556 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19557 string for the scope number.
19559 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19561 * nscd/servicescache.c (cache_addserv): Make sure written is always
19564 2011-08-14 Roland McGrath <roland@hack.frob.com>
19566 * sysdeps/i386/i486/bits/atomic.h
19567 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19568 statement expression, so as to suppress "set but not used" warning.
19569 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19571 * string/strncat.c (STRNCAT): Use prototype definition.
19573 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19574 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19576 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19577 (localedef-modules): Add localedef.
19578 (locale-modules): Add locale.
19580 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19581 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19582 to avoid a warning.
19584 2011-08-14 David S. Miller <davem@davemloft.net>
19586 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19587 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19589 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19591 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19592 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19593 * elf/rtld.c (dl_main): Set l_name of vDSO.
19594 Call _dl_show_scope when DL_DEBUG_SCOPES.
19595 (process_dl_debug): Recognize scopes flag and also set it for all.
19596 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19597 Declare _dl_show_scope.
19599 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19600 (do_dlopen): Pass caller_dlopen to dl_open.
19601 (__libc_dlopen_mode): Initialize caller_dlopen.
19603 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19604 of libc. Make tolower call locale-independent. Optimize a bit by
19605 using isdigit instead of isalnum.
19606 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19608 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19610 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19611 was a dependency or dynamically loaded.
19613 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19615 * intl/l10nflist.c: Allow architecture-specific pop function.
19616 * sysdeps/x86_64/l10nflist.c: New file.
19618 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19621 2011-08-10 Andreas Schwab <schwab@redhat.com>
19623 * include/dirent.h: Add libc_hidden_proto for scandirat and
19624 scandirat64. Don't declare __scandirat64.
19625 * dirent/scandirat.c: Add libc_hidden_def.
19626 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19627 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19629 2011-08-10 David S. Miller <davem@davemloft.net>
19631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19637 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19639 * Versions.def [libc]: Add GLIBC_2.15.
19640 * dirent/Makefile (routines): Add scandirat and scandirat64.
19641 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19643 * dirent/dirent.h: Declare scandirat and scandirat64.
19644 * dirent/scandirat.c: New file.
19645 * dirent/scandirat64.c: New file.
19646 * sysdeps/wordsize-64/scandirat.c: New file.
19647 * sysdeps/wordsize-64/scandirat64.c: New file.
19648 * dirent/opendir.c: Define opendirat.
19649 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19651 * dirent/scandir64.c: Adjust for scandir.c change.
19652 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19653 __scandirat64, and __scandir_cancel_handler.
19654 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19655 additional parameter and use openat instead of open (outside of ld.so).
19656 Add new __opendir as wrapper around __opendirat.
19657 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19658 here without requiring old scandirat implementation.
19660 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19662 * dirent/scandir.c (cancel_handler): Renamed to
19663 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19664 defined. Adjust users.
19665 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19668 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19670 * string/test-string.h (IMPL): Use __STRING to expand name and then
19673 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19676 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19678 * string/Makefile: Update.
19679 (strop-tests): Append strncat.
19680 * string/test-wcscmp.c: New file.
19681 New comprehensive test for wcscmp.
19682 * string/test-strcmp.c: Update.
19683 (WIDE): New define.
19685 2011-07-22 Andreas Schwab <schwab@redhat.com>
19687 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19690 2011-07-26 Andreas Schwab <schwab@redhat.com>
19692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19693 encoding to ACE if AI_IDN.
19695 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19698 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19700 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19703 Fix overflow bug in strncat.
19704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19706 * string/test-strncat.c: Update.
19707 Add new tests for checking overflow bugs.
19709 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19712 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19713 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19714 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19716 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19717 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19718 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19719 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19722 (USE_AS_STRCAT): Define.
19723 Add strcat and strncat support.
19724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19726 2011-07-25 Andreas Schwab <schwab@redhat.com>
19728 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19729 __n bigger than INT_MAX+1.
19730 (__strncmp_g): Likewise.
19732 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19734 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19735 * libio/stido.h: Likewise.
19737 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19742 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19749 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19754 (_dl_x86_64_save_sse): Likewise.
19756 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19760 (_dl_x86_64_save_sse): Likewise.
19762 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19764 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19766 2011-07-21 Andreas Schwab <schwab@redhat.com>
19768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19770 (_dl_x86_64_save_sse): Use correct AVX check.
19772 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19774 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19775 bug in strncpy/strncat.
19776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19778 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19780 * string/tester.c (test_strcat): Add tests for different alignments
19781 of source and destination.
19782 (test_strncat): Likewise.
19784 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19787 * posix/glob.c (glob): Check passed in values before using them in
19788 expressions to avoid some overflows.
19789 (glob_in_dir): Likewise.
19792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19793 check for AVX enablement so that we don't crash with old kernels and
19795 * elf/tst-audit4.c: Add same checks here.
19796 * elf/tst-audit6.c: Likewise.
19798 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19800 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19802 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19804 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19806 * po/cs.po: Update from translation team.
19807 * po/bg.po: Likewise.
19809 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19811 * misc/sys/cdefs.h: Add support for const attribute.
19812 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19813 to gnu_dev_{major,minor,makedev} functions.
19815 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19817 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19819 2011-07-20 Andreas Schwab <schwab@redhat.com>
19821 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19824 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19827 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19828 register in order to avoid conflicts with the soft frame pointer
19829 being held in r11 when necessary.
19830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19831 (INTERNAL_VSYSCALL_NCS): Likewise.
19833 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19835 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19836 * elf/dl-fini.c (_dl_fini): Adjust caller.
19837 * elf/dl-close.c (_dl_close_worker): Likewise.
19838 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19840 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19842 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19843 "aux_cache->nlibs < 0".
19845 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19846 in the reload-count case.
19848 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19851 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19852 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19853 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19854 * sysdeps/x86_64/multiarch/strcat.S: New file.
19855 * sysdeps/x86_64/multiarch/strncat.S: New file.
19856 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19858 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19859 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19861 (USE_AS_STRCAT): Define.
19862 Add strcat and strncat support.
19863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19864 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19865 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19866 * string/strncat.c: Update.
19867 (USE_AS_STRNCAT): Define.
19868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19869 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19871 * sysdeps/x86_64/multiarch/init-arch.h
19872 (bit_Prefer_PMINUB_for_stringop): New.
19873 (index_Prefer_PMINUB_for_stringop): Likewise.
19874 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19875 bit_Prefer_PMINUB_for_stringop.
19877 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19879 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19881 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19882 of casting of buffer.
19883 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19884 buffer32 and buffer64.
19885 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19886 writes instead of casting of buffer.
19887 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19889 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19892 2011-07-19 Andreas Schwab <schwab@redhat.com>
19894 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19896 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19898 * nscd/nscd.c (termination_handler): Don't do anything for a database
19899 if it has not yet been initialized.
19901 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19903 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19905 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19907 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19909 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19911 * po/nl.po: Update from translation team.
19912 * po/sv.po: Likewise.
19914 2011-07-16 Roland McGrath <roland@hack.frob.com>
19916 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19917 now disallowed by GCC.
19919 * configure.in (use-default-link): Default to yes if a test -shared
19920 link meets our qualifications.
19921 * configure: Regenerated.
19923 * config.make.in (output-format): New variable.
19924 * configure.in: Check for ld --print-output-format support.
19925 * configure: Regenerated.
19926 * Makerules ($(common-objpfx)format.lds)
19927 [$(output-format) != unknown]: Just use $(output-format),
19928 instead of the linker-script munging.
19930 2011-07-14 Roland McGrath <roland@hack.frob.com>
19932 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19933 of $(common-objpfx)shlib.lds.
19934 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19936 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19937 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19939 * configure.in (-z relro check): Adjust test code to add a large
19940 writable data section after it.
19941 * configure: Regenerated.
19943 2011-07-11 Roland McGrath <roland@hack.frob.com>
19945 * configure.in (-z relro check): Fix test code to make the variable
19947 * configure: Regenerated.
19949 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19951 * nscd/nscd.h (struct traced_file): Define.
19952 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19953 elements. Add traced_files.
19954 (inotify_fd): Declare.
19955 (register_traced_file): Declare.
19956 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19957 (inotify_fd): Export.
19958 (resolv_conf_descr): Remove.
19959 (nscd_init): Move inotify descriptor creation to main.
19960 Don't register files for notification here.
19961 (register_traced_file): New function.
19962 (invalidate_cache): Don't use reset_res to determine whether to call
19963 res_init, go through the list of registered files.
19964 (main_loop_poll): The inotify descriptors are now stored in the
19965 structures for the traced files.
19966 (main_loop_epoll): Likewise
19967 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19968 to __nss_disable_nscd.
19969 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19970 for a database anymore. Check the records for all the registered
19972 * nss/Makefile (libnss_files-routines): Add files-init.
19973 (libnss_db-routines): Add db-init.
19974 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19975 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19976 * nss/nss_db/db-init.c: New file.
19977 * nss/nss_files/files-init.c: New file.
19978 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19979 __nss_lookup_function.
19980 (__nss_lookup_function): Call nss_load_library.
19981 (nss_load_all_libraries): New function.
19982 (__nss_disable_nscd): Take parameter with callback function for files
19983 to register. Set is_nscd. Load all the DSOs for the NSS modules
19984 used for the cached services.
19985 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19986 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19987 options for features to all the files in nscd.
19989 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19991 2011-07-10 Roland McGrath <roland@hack.frob.com>
19993 * csu/elf-init.c (__libc_csu_init): Comment typo.
19995 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19997 * po/pl.po: Update from translation team.
19998 * po/ja.po: Likewise.
19999 * po/ru.po: Likewise.
20000 * po/ko.po: Likewise.
20001 * po/fr.po: Likewise.
20003 2011-07-09 Roland McGrath <roland@hack.frob.com>
20005 * configure.in (.ctors/.dtors header and trailer check):
20006 Use an empirical test on a built program.
20007 * configure: Regenerated.
20009 * configure.in (-z relro check): Use an empirical test on a built DSO.
20010 Detect, but do not require, on ia64.
20011 * configure: Regenerated.
20013 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20014 Update tests that use readelf to use $READELF instead.
20015 * configure: Regenerated.
20017 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20019 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20020 if the result is not used.
20022 2011-07-05 Andreas Jaeger <aj@suse.de>
20025 * stdlib/tst-strtod.c: Add testcase.
20027 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20029 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20030 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20031 The latter has a higher limit. Take additional parameter to pass to
20033 (__pathconf): Pass file to __statfs_link_max.
20034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20036 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20040 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20044 (__statfs_filesize_max): Likewise.
20045 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20047 2011-07-05 Andreas Jaeger <aj@suse.de>
20049 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20051 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20053 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20055 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20058 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20060 * Makefile (strop-tests): Add strncat.
20061 * string/test-strncat.c: New file.
20063 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20065 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20067 2011-06-21 Andreas Jaeger <aj@suse.de>
20069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20070 Copy rule from iconvdata/Makefile.
20072 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20075 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20076 but no long options are defined, just return 'W'.
20078 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20081 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20083 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20085 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20087 (innetgr): Likewise.
20089 2011-07-05 Roland McGrath <roland@hack.frob.com>
20091 * config.make.in (install_root): Default to $(DESTDIR).
20093 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20097 2011-07-02 Roland McGrath <roland@hack.frob.com>
20099 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20101 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20102 containing directory rather than embedding absolute directory names.
20104 * scripts/check-local-headers.sh: Rewritten using awk.
20105 Match by word, not by line. Print error messages for matches.
20106 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20108 * Makerules [shlib-lds-flags empty]:
20109 ($(common-objpfx)libc_pic.opts): New target.
20110 ($(common-objpfx)libc_pic.os.clean): New target.
20111 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20113 * config.make.in (OBJCOPY): New variable.
20114 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20115 * configure: Regenerated.
20117 * config.make.in (use-default-link): New variable.
20118 * configure.in (use_default_link): Grok --with-default-link to set it.
20119 * configure: Regenerated.
20120 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20121 (shlib-lds, shlib-lds-flags): Define to empty.
20123 * Makerules (shlib-lds): New variable.
20124 (shlib-lds-flags): New variable.
20125 (build-shlib, build-moduile, build-module-asneeded): Use it.
20126 ($(common-objpfx)libc.so): Use $(shlib-lds).
20127 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20128 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20130 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20131 DT_FLAGS/DT_FLAGS_1 with zero flags.
20133 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20134 linker script munging.
20136 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20138 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20140 * crypt/sha512.c (sha512_process_block): Perform total addition using
20141 128-bit if possible.
20142 (__sha512_finish_ctx): Likewise.
20143 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20145 * crypt/sha256.c (SWAP64): Define.
20146 (sha256_process_block): Perform total addition using 64-bit if
20148 (__sha256_finish_ctx): Likewise.
20150 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20152 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20154 * nscd/hstcache.c (cache_addhst): Likewise.
20155 * nscd/grpcache.c (cache_addgr): Likewise.
20156 * nscd/aicache.c (addhstaiX): Likewise
20157 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20159 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20161 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20163 * nscd/hstcache.c (cache_addhst): Likewise.
20164 * nscd/grpcache.c (cache_addgr): Likewise.
20165 * nscd/aicache.c (addhstaiX): Likewise
20167 2011-07-01 Andreas Schwab <schwab@redhat.com>
20169 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20170 domain only when needed.
20172 2011-06-30 Andreas Schwab <schwab@redhat.com>
20174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20175 is always restored.
20177 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20179 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20180 are re-adding the entry.
20181 * nscd/servicescache.c (cache_addserv): Likewise.
20183 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20185 * sysdeps/generic/dl-irel.h: fix protection against multiple
20187 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20189 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20192 * malloc/memusage.sh: Fix quoting in message.
20193 * debug/xtrace.sh: Likewise.
20195 * configure.in: Remove support for --experimental-malloc option, make
20197 * config.make.in: Likewise.
20198 * malloc/Makefile: Likewise.
20200 2011-06-27 Andreas Schwab <schwab@redhat.com>
20202 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20203 two-byte characters.
20205 2011-06-27 Roland McGrath <roland@hack.frob.com>
20207 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20208 AC_CACHE_CHECK invocation.
20209 * configure: Regenerated.
20211 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20213 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20216 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20217 bit from old_res_options.
20219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20221 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20222 value type for setfct.
20224 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20227 __gettimeofday instead of gettimeofday.
20229 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20231 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20233 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20240 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20243 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20244 strcpy-sse2-unaligned strncpy-sse2-unaligned
20245 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20246 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20247 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20248 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20249 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20252 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20253 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20254 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20255 (STRCPY): Support SSE2 and SSSE3 versions.
20257 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20260 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20261 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20262 kernels which artificially limit size of requests.
20264 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20267 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20268 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20269 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20270 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20271 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20272 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20273 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20276 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20277 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20278 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20279 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20280 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20282 Enable unaligned load optimization for Intel Core i3, i5 and i7
20284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20286 (index_Fast_Unaligned_Load): Define.
20287 (HAS_FAST_UNALIGNED_LOAD): Define.
20289 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20291 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20293 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20296 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20297 until it is clear that the information is realy needed.
20298 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20300 2011-06-22 Andreas Schwab <schwab@redhat.com>
20302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20304 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20307 /sys/devices/system/cpu/online if it is usable.
20309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20310 reading the information from the /proc filesystem to once a second.
20312 2011-06-21 Andreas Jaeger <aj@suse.de>
20314 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20315 NULL after inclusion of kernel headers.
20317 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20319 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20320 calls to internal_setent.
20323 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20324 addresses using gethostbyname4_r ignore IPv4 addresses.
20326 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20327 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20329 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20331 2011-06-20 David S. Miller <davem@davemloft.net>
20333 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20335 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20337 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20338 (elf_irel): Use it.
20339 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20340 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20341 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20342 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20343 * sysdeps/x86_64/dl-irel.h: Likewise.
20345 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20346 * elf/dl-sym.c: Likewise.
20348 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20350 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20351 need to dereference resplen2.
20353 2011-06-14 Andreas Schwab <schwab@redhat.com>
20355 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20357 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20359 * Makeconfig: Define vardbdir and inst_vardbdir.
20360 * nss/Makefile: Add rules to install db-Makefile.
20362 * nss/nss_db/db-XXX.c: Cleanup.
20364 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20365 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20367 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20368 * nss/makedb.c: Implement -g option to specify that value strings
20369 are generated and should not be added to table iterated over for
20371 * nss/nss_db/db-initgroups.c: New file.
20373 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20376 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20377 (internal_getgrouplist): Adjust to name change.
20378 Update use_initgroups_entry if this is not the first call.
20379 * nss/databases.def: Add initgroups entry.
20381 * nss/makedb.c (compute_tables): Check result of multiple hash table
20382 sizes to minimize maximum chain length.
20384 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20386 * Versions.def: Add entry for libnss_db.
20387 * shlib-versions: Likewise.
20388 * nss/Makefile: Add rules to build libnss_db.
20389 * nss/Versions: Add libnss_db information. Organize libnss_files
20391 * nss/db-Makefile: Add gshadow support. Change rules for the new
20392 makedb progra. Some minor improvements to generate smaller files.
20393 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20395 * nss/makedb.c: ...here.
20396 Improve database format to be smaller and require less memory at
20398 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20400 * nss/nss_db/db-netgrp.c: Likewise.
20401 * nss/nss_db/db-open.c: Likewise.
20402 * nss/nss_files/flies-XXX.x: Adjust comments.
20403 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20404 * nss/nss_files/files-grp.c: Likewise.
20405 * nss/nss_files/files-hosts.c: Likewise.
20406 * nss/nss_files/files-network.c: Likewise.
20407 * nss/nss_files/files-proto.c: Likewise.
20408 * nss/nss_files/files-pwd.c: Likewise.
20409 * nss/nss_files/files-rpc.c: Likewise.
20410 * nss/nss_files/files-service.c: Likewise.
20411 * nss/nss_files/files-sgrp.c: Likewise.
20412 * nss/nss_files/files-spwd.c: Likewise.
20413 * nss/nss_db/db-alias.c: Removed.
20414 * nss/nss_db/dummy-db.h: Removed.
20416 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20418 * nss/makedb.c: Rewritten to not use database library.
20419 * nss/Makefile: Update to build new makedb program.
20421 2011-06-14 Andreas Jaeger <aj@suse.de>
20423 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20424 memset declaration.
20426 2011-06-10 Andreas Schwab <schwab@redhat.com>
20428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20431 2011-06-10 Roland McGrath <roland@hack.frob.com>
20433 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20434 * elf/Makefile ($(objpfx)ld.so): Likewise.
20436 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20437 Don't list ld.so twice in dependencies.
20439 * posix/bug-regex31.c: Include <stdlib.h>.
20441 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20443 * nis/nss_compat/compat-spwd.c
20444 (getspent_next_nss_netgr): Remove unused variable.
20445 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20447 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20448 nonmembers" output to use the right array.
20450 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20452 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20454 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20455 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20456 * catgets/gencat.c (read_input_file): Likewise.
20457 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20459 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20460 variable definition inside #if's controlling its use.
20462 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20464 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20466 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20468 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20471 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20473 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20474 * configure: Regenerated.
20476 * Makerules: Revert last change.
20477 * elf/Makefile: Likewise.
20479 2011-06-09 Roland McGrath <roland@hack.frob.com>
20481 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20482 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20483 (reloc-link): Likewise.
20485 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20487 * elf/Makefile: Add rules to build pldd.
20488 * elf/pldd.c: New file.
20489 * elf/pldd-xx.c: New file.
20491 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20493 * version.h: Update for 2.15 development version.
20495 2011-06-07 David S. Miller <davem@davemloft.net>
20497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20500 elf_machine_lazy_rel): Likewise.
20501 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20502 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20503 elf_machine_lazy_rel): Likewise.
20504 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20505 dl_hwcap via passed in argument.
20506 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20509 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20511 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20513 2011-06-06 Roland McGrath <roland@hack.frob.com>
20516 * manual/fdl-1.1.texi: New file, verbatim from:
20517 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20518 * manual/lgpl-2.1.texi: New file, verbatim from:
20519 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20520 * manual/Makefile (licenses): New variable, list those new file names.
20522 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20524 * manual/fdl.texi: File removed.
20525 * manual/lesser.texi: File removed.
20526 * manual/libc.texinfo (Copying, Documentation License):
20527 Use new @include file names, put @appendix directive before @include.
20529 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20532 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20533 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20534 (mq_open): Add __NTH.
20536 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20539 Assume Intel Core i3/i5/i7 processor if AVX is available.
20541 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20546 2011-05-31 Andreas Schwab <schwab@redhat.com>
20548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20549 memory. Use alloca_account. Fix memory leak when retrying.
20551 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20553 * version.h (RELEASE): Bump for 2.14 release.
20554 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20556 * config.make.in (RANLIB): Remove entry.
20558 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20560 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20561 (libc.pot): Work around missing support for .ksh extension in xgettext.
20564 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20565 if both request failed.
20566 (send_dg): In case of server errors clear resplen or *resplen2.
20569 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20570 when there are multiple maps.
20571 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20572 (_dl_fini): Remove test here.
20574 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20576 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20579 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20580 bit from old_res_options.
20581 (gaih_inet): Likewise.
20584 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20587 * resolv/res_init.c (res_setoptions): Make the code more compact.
20590 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20594 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20596 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20599 * malloc/malloc.h: Declare malloc hook variables as volatile.
20601 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20605 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20606 raise in the comment.
20607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20609 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20611 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20614 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20615 grow the buffers more if it already has to be sufficient.
20616 (build_wcs_upper_buffer): Likewise.
20617 * posix/regexec.c (check_matching): Likewise.
20618 (clean_state_log_if_needed): Likewise.
20619 (extend_buffers): Don't enlarge buffers beyond size of the input
20621 Patches mostly by Emil Wojak <emil@wojak.eu>.
20622 * posix/bug-regex32.c: New file.
20623 * posix/Makefile (tests): Add bug-regex32.
20625 * locale/findlocale.c (_nl_find_locale): Return right away if
20626 _nl_explode_name failed.
20627 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20629 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20631 * debug/xtrace.sh: Unify messages.
20632 * malloc/memusage.sh: Likewise.
20635 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20636 time symbol from vDSO. Substitute with vsyscall if not available.
20637 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20640 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20641 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20642 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20643 Add sendmmsg and internal_sendmmsg.
20644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20645 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20648 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20649 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20652 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20655 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20656 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20662 * iconvdata/Makefile (tests): Add bug-iconv9.
20663 * iconvdata/bug-iconv9.c: New file.
20665 2011-05-27 Andreas Schwab <schwab@redhat.com>
20668 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20670 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20672 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20673 (struct user_regs_struct): Change intcs field back to cs.
20675 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20677 * po/ja.po: Update from translation team.
20679 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20683 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20685 2011-05-20 Andreas Schwab <schwab@redhat.com>
20687 * stdlib/longlong.h: Update from GCC.
20689 2011-05-23 Andreas Schwab <schwab@redhat.com>
20691 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20693 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20694 Add parameter name.
20695 (__sysconf): Pass it down.
20697 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20700 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20703 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20704 add in in __libc_use_alloca calls. Adjust callers.
20705 (glob): Use malloc in some situations.
20707 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20708 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20711 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20713 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20714 and CLOCK_BOOTTIME_ALARM.
20717 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20720 * string/_strerror.c (__strerror_r): Print negative errors as signed
20724 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20725 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20726 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20728 * configure.in: Fix typo in redirection and correct removal of test
20729 files in two cases.
20732 * locale/setlocale.c (new_composite_name): Fix test to check for
20733 identical name of all categories.
20736 * libio/filedoalloc.c (local_isatty): New function.
20737 (_IO_file_doallocate): Use local_isatty.
20738 * stdio-common/perror.c (perror): In case a new stream is used
20739 forward the stream error.
20740 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20743 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20748 * include/alloca.h (extend_alloca_account): Define.
20751 * posix/regex.h: Fix comments with documentation of user-accessible
20752 fields after compilation and describe correct free'ing of pattern
20753 after re_compile_pattern.
20754 Patch by Reuben Thomas <rrt@sc3d.org>.
20756 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20758 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20759 and -mno-altivec to prevent the compiler from using Altivec and/or
20760 VSX instructions when the corresponding registers are not available.
20762 2011-05-19 Andreas Schwab <schwab@redhat.com>
20764 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20766 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20768 * libio/freopen.c (freopen): Use __dup2, not dup2.
20769 * libio/freopen64.c (freopen64): Likewise.
20771 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20774 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20775 * math/Makefile (tests): Add test-powl.
20776 (CFLAGS-test-powl.c): Define.
20777 * math/test-powl.c: New file.
20779 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20781 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20783 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20786 * iconvdata/gb18030.c: Update to GB18020-2005.
20788 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20790 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20791 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20792 Patch by Aharon Robbins <arnold@skeeve.com>.
20795 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20799 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20800 through underflows.
20803 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20804 point to strings before performing equality test for error_one_per_line
20808 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20812 (struct user_fpregs_struct): Avoid __uint*_t types.
20815 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20816 symbol info. Use it instead of calling _dl_addr locally.
20817 (lock_and_info): New function.
20818 (tr_freehook): Call lock_and_info and pass symbol info as additional
20819 parameter to tr_where.
20820 (tr_mallochook): Likewise.
20821 (tr_reallochook): Likewise.
20822 (tr_memalignhook): Likewise.
20824 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20825 used and couldn't be at all thread-safe.
20827 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20829 * libio/freopen.c (freopen): Don't close old file descriptor
20830 before the new one is opened. Instead dup the new file descriptor
20831 to the old one after the new stream is created.
20832 * libio/freopen64.c (freopen64): Likewise.
20833 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20834 * libio/fileops.c (_IO_new_file_close_it): Handle new
20835 _IO_FLAGS2_NOCLOSE flag.
20836 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20837 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20838 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20839 _IO_FLAGS2_NOCLOSE flag.
20840 * include/unistd.h: Add hidden_proto for dup3.
20841 Define __have_dup3.
20842 * io/dup3.c: Define hidden symbol.
20843 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20846 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20847 when an incomplete long option is used.
20848 * posix/tst-getopt_long1.c: New file.
20849 * posix/Makefile (tests): Add tst-getopt_long1.
20852 * scripts/config.guess: Update from autoconf-2.68.
20853 * scripts/config.sub: Likewise.
20856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20858 (has_cpuclock): ...this. New function.
20859 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20860 macro here based on has_cpuclock code.
20863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20864 First byte (not low byte) is now always NUL.
20865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20868 Use non-cancelable interfaces.
20871 * locale/iso-639.def: Add entry for Sorani.
20874 * include/stdlib.h: Move include protection to the right place.
20875 Define abort_msg_s. Declare __abort_msg with it.
20876 * stdlib/abort.c (__abort_msg): Adjust type.
20877 * assert/assert.c (__assert_fail_base): New function. Majority
20878 of code from __assert_fail. Allocate memory for __abort_msg with
20880 (__assert_fail): Now call __assert_fail_base.
20881 * assert/assert-perr.c: Remove bulk of implementation. Use
20882 __assert_fail_base.
20883 * include/assert.hL Declare __assert_fail_base.
20884 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20886 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20888 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20892 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20893 until all modules are registered in the DTV.
20894 * elf/Makefile: Add rules to build and run tst-tls19.
20895 * elf/tst-tls19.c: New file.
20896 * elf/tst-tls19mod1.c: New file.
20897 * elf/tst-tls19mod2.c: New file.
20898 * elf/tst-tls19mod3.c: New file.
20899 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20902 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20906 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20907 two-byte sequence errors.
20908 * iconvdata/Makefile (tests): Add bug-iconv8.
20909 * iconvdata/bug-iconv8.c: New file.
20912 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20915 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20918 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20919 (dummy_getcfa): New function.
20920 (init): Get _Unwind_GetCFA address, use dummy if not found.
20921 (backtrace_helper): In recursion check, also check whether CFA changes.
20922 (__backtrace): Completely initialize arg.
20924 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20925 storing incomplete byte sequence in state object. Avoid testing for
20926 guaranteed too small input if we know there is enough data available.
20928 2011-05-11 Andreas Schwab <schwab@redhat.com>
20930 * Makeconfig (+link-pie): Indent.
20931 * Rules (binaries-pie): Define if $(have-fpie) and
20933 (binaries-shared): Also filter out $(binaries-pie).
20934 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20935 * nscd/Makefile (others-pie): Add nscd.
20936 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20937 ($(objpfx)nscd): Remove command override.
20938 * login/Makefile (others-pie): Add pt_chown.
20939 ($(objpfx)pt_chown): Remove command override.
20940 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20941 remove command overrides.
20943 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20945 * libio/tst_putwc.c: Fix error messages.
20948 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20949 currently writing and seek to current position when not.
20950 * libio/Makefile (tests): Add bug-fclose1.
20951 * libio/bug-fclose1.c: New file.
20953 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20956 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20957 don't set DF_1_NODELETE here.
20958 (do_lookup_x): When entering new entry test for copy relocation
20959 and if necessary set DF_1_NODELETE flag.
20960 * elf/tst-unique4.cc: New file.
20961 * elf/tst-unique4.h: New file.
20962 * elf/tst-unique4lib.cc: New file.
20963 * elf/Makefile: Add rules to build and run tst-unique4.
20964 Patch by Piotr Bury <pbury@goahead.com>.
20966 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20969 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20972 * misc/mntent_r.c (addmntent): Flush the stream after the output
20975 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20976 (is_trusted_path_normalize): Skip initial colon. Append slash
20977 to empty buffer. Duplicate is_trusted_path code but allow
20978 constructed patch to be prefix.
20979 (is_dst): Allow $ORIGIN followed by /.
20980 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20981 Correct testing of result of is_trusted_path_normalize
20982 (decompose_rpath): Fix warning.
20984 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20987 * grp/initgroups.c (internal_getgrouplist): When we found the service
20988 list through the initgroups entry in nsswitch.conf do not always
20989 continue on a successful lookup. Don't always use the
20990 __nss_group_database value if it is set.
20991 * nss/nsswitch.conf (initgroups): Change action for successful db
20992 lookup to continue for compatibility.
20994 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20997 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20999 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21001 * iconvdata/tst-tables.sh: Likewise.
21002 * iconvdata/cp770.c: New file.
21003 * iconvdata/cp771.c: New file.
21004 * iconvdata/cp772.c: New file.
21005 * iconvdata/cp773.c: New file.
21006 * iconvdata/cp774.c: New file.
21007 * iconvdata/testdata/CP770: New file.
21008 * iconvdata/testdata/CP770..UTF8: New file.
21009 * iconvdata/testdata/CP771: New file.
21010 * iconvdata/testdata/CP771..UTF8: New file.
21011 * iconvdata/testdata/CP772: New file.
21012 * iconvdata/testdata/CP772..UTF8: New file.
21013 * iconvdata/testdata/CP773: New file.
21014 * iconvdata/testdata/CP773..UTF8: New file.
21015 * iconvdata/testdata/CP774: New file.
21016 * iconvdata/testdata/CP774..UTF8: New file.
21018 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21020 * iconvdata/gen-8bit-gap.sh: Likewise.
21021 * iconvdata/gen-8bit.sh: Likewise.
21023 * locale/iso-639.def: Add ary entry.
21026 * locale/C-translit.h.in: Add U20A1 transliteration.
21029 * locale/iso-639.def: Add wae entry.
21030 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21033 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21037 * locale/C-translit.h.in: Add entry for U20B9.
21038 Patch by pravin.d.s@gmail.com.
21040 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21043 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21044 ENAMETOOLONG use generic getcwd.
21045 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21046 in rtld. Use *stat64.
21047 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21048 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21049 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21050 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21051 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21052 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21053 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21054 __fstatat64 macros.
21055 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21056 * dirent/rewinddir.c: Add libc_hidden_def.
21057 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21058 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21060 * include/dirent.h (__alloc_dir): Add flags parameter.
21061 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21062 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21064 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21065 from fdopendir if O_CLOEXEC is already set.
21067 2011-03-15 Alan Modra <amodra@gmail.com>
21069 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21070 l_tls_firstbyte_offset non-zero. Save padding offset in
21071 l_tls_firstbyte_offset for later use.
21072 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21073 freeing static tls block.
21075 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21077 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21078 where #ifdef was intended. The intent is to prevent ARG_MAX from
21079 being defined by the kernel headers.
21081 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21084 * resolv/resolv.h: Define RES_NOTLDQUERY.
21085 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21086 no-tld-query and set RES_NOTLDQUERY.
21087 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21088 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21089 modern BIND to search name as TLD unless forbidden.
21091 2011-05-07 Petr Baudis <pasky@suse.cz>
21092 Ulrich Drepper <drepper@gmail.com>
21095 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21096 (is_trusted_path): ...to here.
21097 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21098 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21099 using is_trusted_path_normalize() in setuid scripts.
21101 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21103 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21104 __BEGIN/__END_DECLS.
21106 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21109 NSS_STATUS_NOTFOUND if no record was found.
21111 2011-05-05 Andreas Schwab <schwab@redhat.com>
21113 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21114 (headers-not-in-tirpc): Remove rpc/netdb.h
21115 * resolv/netdb.h: Revert last change.
21117 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21119 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21120 circular dependency between libgcc.a and libc.a.
21122 2011-05-05 Andreas Schwab <schwab@redhat.com>
21124 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21125 * nis/Makefile: Don't install rpcsvc/*.
21126 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21127 instead of <rpc/types.h>.
21128 (MAXHOSTNAMELEN): Define.
21130 2011-05-03 Andreas Schwab <schwab@redhat.com>
21132 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21134 2011-04-28 Maciej Babinski <mbabinski@google.com>
21137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21138 gethostbyname4_r when IPv6 results are possible.
21140 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21143 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21144 _PC_PIPE_BUF handling.
21146 2011-04-30 Bruno Haible <bruno@clisp.org>
21149 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21150 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21152 * inet/getnameinfo.c (getnameinfo): Likewise.
21154 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21156 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21157 to groups setting in database lookup.
21158 * nss/nsswitch.conf: Add initgroups entry.
21160 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21163 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21165 Patch by Eric Blake <eblake@redhat.com>.
21167 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21169 * sunrpc/Makefile (need-export-routines): Add svc_run.
21170 (routines): Remove svc_run.
21171 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21172 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21173 * sunrpc/svc_run.c (svc_run): Likewise.
21174 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21176 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21179 problem in reallocation in last patch.
21181 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21183 * sunrpc/Makefile: Move inclusion of Rules.
21185 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21187 * nss/nss_files/files-initgroups.c: New file.
21188 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21189 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21190 _nss_files_initgroups_dyn.
21192 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21194 * elf/elf.h (R_ARM_IRELATIVE): Define.
21196 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21198 * po/ru.po: Update from translation team.
21200 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21202 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21205 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21208 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21209 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21214 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21216 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21218 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21222 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21225 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21227 * stdlib/bug-getcontext.c: New file.
21228 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21230 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21232 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21233 instructions into .machine "z9-109".
21234 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21235 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21237 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21239 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21240 between environment variables and auxiliary vector.
21242 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21244 * Makefile: Add rules to build linkobj/libc.so.
21245 * include/libc-symbols.h: Define libc_hidden_nolink.
21246 * include/rpc/auth.h: Mark functions which are to be hidden.
21247 * include/rpc/auth_des.h: Likewise.
21248 * include/rpc/auth_unix.h: Likewise.
21249 * include/rpc/clnt.h: Likewise.
21250 * include/rpc/des_crypt.h: Likewise.
21251 * include/rpc/key_prot.h: Likewise.
21252 * include/rpc/pmap_clnt.h: Likewise.
21253 * include/rpc/pmap_prot.h: Likewise.
21254 * include/rpc/pmap_rmt.h: Likewise.
21255 * include/rpc/rpc_msg.h: Likewise.
21256 * include/rpc/svc.h: Likewise.
21257 * include/rpc/svc_auth.h: Likewise.
21258 * include/rpc/xdr.h: Likewise.
21259 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21260 * nss/Makefile: Likewise.
21261 * sunrpc/Makefile: Don't install headers. Build library with normal
21262 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21263 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21264 for the compat linking library. Remove use of INTDEF/INTUSE.
21265 * sunrpc/auth_none.c: Likewise.
21266 * sunrpc/auth_unix.c: Likewise.
21267 * sunrpc/authdes_prot.c: Likewise.
21268 * sunrpc/authuxprot.c: Likewise.
21269 * sunrpc/clnt_gen.c: Likewise.
21270 * sunrpc/clnt_perr.c: Likewise.
21271 * sunrpc/clnt_raw.c: Likewise.
21272 * sunrpc/clnt_simp.c: Likewise.
21273 * sunrpc/clnt_tcp.c: Likewise.
21274 * sunrpc/clnt_udp.c: Likewise.
21275 * sunrpc/clnt_unix.c: Likewise.
21276 * sunrpc/des_crypt.c: Likewise.
21277 * sunrpc/des_soft.c: Likewise.
21278 * sunrpc/get_myaddr.c: Likewise.
21279 * sunrpc/key_call.c: Likewise.
21280 * sunrpc/key_prot.c: Likewise.
21281 * sunrpc/netname.c: Likewise.
21282 * sunrpc/pm_getmaps.c: Likewise.
21283 * sunrpc/pm_getport.c: Likewise.
21284 * sunrpc/pmap_clnt.c: Likewise.
21285 * sunrpc/pmap_prot.c: Likewise.
21286 * sunrpc/pmap_prot2.c: Likewise.
21287 * sunrpc/pmap_rmt.c: Likewise.
21288 * sunrpc/publickey.c: Likewise.
21289 * sunrpc/rpc_cmsg.c: Likewise.
21290 * sunrpc/rpc_common.c: Likewise.
21291 * sunrpc/rpc_dtable.c: Likewise.
21292 * sunrpc/rpc_prot.c: Likewise.
21293 * sunrpc/rpc_thread.c: Likewise.
21294 * sunrpc/rtime.c: Likewise.
21295 * sunrpc/svc.c: Likewise.
21296 * sunrpc/svc_auth.c: Likewise.
21297 * sunrpc/svc_authux.c: Likewise.
21298 * sunrpc/svc_raw.c: Likewise.
21299 * sunrpc/svc_run.c: Likewise.
21300 * sunrpc/svc_simple.c: Likewise.
21301 * sunrpc/svc_tcp.c: Likewise.
21302 * sunrpc/svc_udp.c: Likewise.
21303 * sunrpc/svc_unix.c: Likewise.
21304 * sunrpc/svcauth_des.c: Likewise.
21305 * sunrpc/xcrypt.c: Likewise.
21306 * sunrpc/xdr.c: Likewise.
21307 * sunrpc/xdr_array.c: Likewise.
21308 * sunrpc/xdr_float.c: Likewise.
21309 * sunrpc/xdr_intXX_t.c: Likewise.
21310 * sunrpc/xdr_mem.c: Likewise.
21311 * sunrpc/xdr_rec.c: Likewise.
21312 * sunrpc/xdr_ref.c: Likewise.
21313 * sunrpc/xdr_sizeof.c: Likewise.
21314 * sunrpc/xdr_stdio.c: Likewise.
21316 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21319 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21320 * sysdeps/ia64/dl-tls.h: Likewise.
21321 * sysdeps/powerpc/dl-tls.h: Likewise.
21322 * sysdeps/s390/dl-tls.h: Likewise.
21323 * sysdeps/sh/dl-tls.h: Likewise.
21324 * sysdeps/sparc/dl-tls.h: Likewise.
21325 * sysdeps/x86_64/dl-tls.h: Likewise.
21326 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21328 2011-03-14 Andreas Schwab <schwab@redhat.com>
21330 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21331 rpath element also skip the following colon.
21332 (expand_dynamic_string_token): Add is_path parameter and pass
21333 down to DL_DST_REQUIRED and _dl_dst_substitute.
21334 (decompose_rpath): Call expand_dynamic_string_token with
21335 non-zero is_path. Ignore empty rpaths.
21336 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21339 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21344 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21347 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21348 Patch by Filipe David Manana <fdmanana@apache.org>.
21350 2011-04-07 Andreas Schwab <schwab@redhat.com>
21352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21353 Maintain aligned stack.
21354 (CHECK_RSP): Remove unused macro.
21356 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21358 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21359 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21361 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21363 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21365 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21367 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21370 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21371 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21372 * sysdeps/x86_64/memmove.c: New file.
21373 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21374 (memcpy): Renamed to ...
21375 (__new_memcpy): This.
21376 (memcpy): Provide GLIBC_2_14 memcpy.
21377 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21378 (memcpy): Provide GLIBC_2_2_5 memcpy.
21380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21383 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21385 2011-03-30 Andreas Schwab <schwab@redhat.com>
21387 * misc/syncfs.c: New file.
21388 * misc/Makefile (routines): Add syncfs.
21389 * posix/unistd.h: Declare syncfs.
21390 * sysdeps/unix/syscalls.list: Add syncfs.
21392 2011-04-01 Andreas Schwab <schwab@redhat.com>
21394 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21401 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21404 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21414 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21415 sync_file_range.c with -fexceptions.
21416 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21417 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21418 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21419 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21420 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21421 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21423 sync_file_range as cancellation point
21424 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21425 now a wrapper around __call_sync_file_range with cancellation handling.
21426 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21427 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21428 function name to __call_sync_file_range.
21429 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21430 Add call_sync_file_range.
21432 2011-04-01 Andreas Schwab <schwab@redhat.com>
21434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21437 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21439 * iconv/iconv.h: Fix typo in comment.
21440 * io/fcntl.h: Likewise.
21441 * libio/stdio.h: Likewise.
21442 * posix/spawn.h: Likewise.
21443 * posix/unistd.h: Likewise.
21444 * stdlib/stdlib.h: Likewise.
21445 * time/time.h: Likewise.
21446 * wcsmbs/wchar.h: Likewise.
21448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21449 open_by_handle): Add.
21450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21451 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21452 Augment a few comments.
21453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21458 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21461 * io/fcntl.h (AT_EMPTY_PATH): Define.
21463 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21465 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21466 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21467 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21469 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21470 * Versions.def: Add GLIBC_2.14.
21471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21474 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21476 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21478 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21480 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21483 * string/test-strncmp.c (do_page_test): New function.
21484 (check2): Likewise.
21485 (test_main): Call check2.
21486 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21488 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21492 Handle cache information in CPU leaf 4.
21493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21495 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21498 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21499 character representation.
21500 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21502 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21504 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21505 END(__isnan) to END(__isnanf) to match function entry point/label
21506 EALIGN(__isnanf,...).
21508 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21510 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21512 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21515 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21516 copy from the symbol referenced in the relocation to initialize the
21518 Patch by Piotr Bury <pbury@goahead.com>.
21519 * elf/Makefile: Add rules to build and tst-unique3.
21520 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21521 * elf/tst-unique3.cc: New file.
21522 * elf/tst-unique3.h: New file.
21523 * elf/tst-unique3lib.cc: New file.
21524 * elf/tst-unique3lib2.cc: New file.
21526 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21528 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21530 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21531 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21534 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21536 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21537 to-be-loaded object along a path to loader is ld.so.
21539 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21540 Ulrich Drepper <drepper@gmail.com>
21542 * sysdeps/x86_64/memset.S: After aligning destination, code
21543 branches to different locations depending on the value of
21544 misalignment, when multiarch is enabled. Fix this.
21546 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21548 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21549 Set _x86_64_preferred_memory_instruction for AMD processsors.
21550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21551 Set bit_Prefer_SSE_for_memop for AMD processors.
21553 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21555 * libio/fmemopen.c (fmemopen): Optimize a bit.
21557 2011-03-03 Andreas Schwab <schwab@redhat.com>
21559 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21561 2011-03-03 Roland McGrath <roland@redhat.com>
21563 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21565 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21567 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21568 __bzero_ultra1 instead of __memset_ultra1.
21570 2011-02-23 Andreas Schwab <schwab@redhat.com>
21571 Ulrich Drepper <drepper@gmail.com>
21574 * include/link.h (struct link_map): Add l_orig_initfini.
21575 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21576 returning unsuccessfully.
21577 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21578 close of a file loaded at startup, restore the original l_initfini
21580 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21581 list, store the pointer.
21582 * elf/Makefile ($(objpfx)noload-mem): New rule.
21583 (noload-ENV): Define.
21584 (tests): Add $(objpfx)noload-mem.
21585 * elf/noload.c: Include <memcheck.h>.
21586 (main): Call mtrace. Close all opened handles.
21588 2011-02-17 Andreas Schwab <schwab@redhat.com>
21591 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21592 dependencies are missing.
21594 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21596 Fix __if_freereq crash: Unlike the generic version which uses free,
21598 * sysdeps/mach/hurd/ifreq.h: New file.
21600 2011-01-27 Petr Baudis <pasky@suse.cz>
21601 Ulrich Drepper <drepper@gmail.com>
21604 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21605 to extend_alloca().
21606 * stdio-common/bug23.c: New file.
21607 * stdio-common/Makefile (tests): Add bug23.
21609 2010-09-28 Andreas Schwab <schwab@redhat.com>
21610 Ulrich Drepper <drepper@gmail.com>
21613 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21614 before performing relro protection. At old place add assertion
21615 to make sure nothing changed.
21617 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21618 Glauber de Oliveira Costa <glommer@gmail.com>
21620 * elf/elf.h: Add new ARM TLS relocs.
21622 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21625 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21627 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21629 * sysdeps/wordsize-64/tst-writev.c: New file.
21631 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21633 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21634 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21635 insns in _dl_start to prevent a TOC reference before relocs are
21638 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21641 * Makeconfig: Remove RANLIB definition.
21642 * Makerules: Don't use RANLIB.
21643 * aclocal.m4: Remove ranlib test.
21644 * configure.in: No need to check for ranlib.
21645 * elf/rtld-Rules: Don't use RANLIB.
21647 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21649 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21651 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21652 inclusion protection macro.
21654 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21655 SIGRTMIN and SIGRTMAX and print information in that case only when
21656 SIGRTMIN is defined.
21658 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21660 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21661 arginfo fn returning -1.
21663 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21664 and thousands string is zero terminated.
21666 2011-02-03 Andreas Schwab <schwab@redhat.com>
21668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21669 sysdeps/unix/sysv/linux/bits/socket.h.
21671 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21673 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21674 (__CPU_COUNT): Remove old macros.
21675 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21676 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21677 (__CPU_ALLOC, __CPU_FREE): Add macros.
21678 (__sched_cpualloc, __sched_cpufree): Add declarations.
21680 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21682 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21683 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21684 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21685 (readdhstai): Return value of addhstaiX call.
21686 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21687 (addgrbyX): Return value returned by cache_addgr.
21688 (readdgrbyname): Return value returned by addgrbyX.
21689 (readdgrbygid): Likewise.
21690 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21691 (addpwbyX): Return value returned by cache_addpw.
21692 (readdpwbyname): Return value returned by addhstbyX.
21693 (readdpwbyuid): Likewise.
21694 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21695 (addservbyX): Return value returned by cache_addserv.
21696 (readdservbyname): Return value returned by addservbyX:
21697 (readdservbyport): Likewise.
21698 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21699 (addhstbyX): Return value returned by cache_addhst.
21700 (readdhstbyname): Return value returned by addhstbyX.
21701 (readdhstbyaddr): Likewise.
21702 (readdhstbynamev6): Likewise.
21703 (readdhstbyaddrv6): Likewise.
21704 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21705 (readdinitgroups): Return value returned by addinitgroupsX.
21706 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21707 (prune_cache): Keep track of timeout value of re-added entries.
21708 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21709 * nscd/nscd.h: Adjust prototypes of readd* functions.
21711 2011-02-04 Roland McGrath <roland@redhat.com>
21713 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21714 (nis_stats): Likewise.
21715 * nis/nis_modify.c (nis_modify): Likewise.
21716 * nis/nis_remove.c (nis_remove): Likewise.
21717 * nis/nis_add.c (nis_add): Likewise.
21719 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21721 * posix/fnmatch_loop.c: Add some consts.
21723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21725 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21728 * config.make.in (config-cflags-novzeroupper): Define.
21729 * configure.in: Substitute libc_cv_cc_novzeroupper.
21730 * elf/Makefile (AVX-CFLAGS): Define.
21731 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21732 (CFLAGS-tst-auditmod4a.c): Likewise.
21733 (CFLAGS-tst-auditmod4b.c): Likewise.
21734 (CFLAGS-tst-auditmod6b.c): Likewise.
21735 (CFLAGS-tst-auditmod6c.c): Likewise.
21736 (CFLAGS-tst-auditmod7b.c): Likewise.
21737 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21739 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21741 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21742 function to the callback.
21743 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21745 2011-02-02 Andreas Schwab <schwab@redhat.com>
21747 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21750 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21753 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21755 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21757 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21760 * elf/Makefile: Add rules to build and run new test.
21761 * elf/tst-initorder.c: New file.
21762 * elf/tst-initorder.exp: New file.
21763 * elf/tst-initordera1.c: New file.
21764 * elf/tst-initordera2.c: New file.
21765 * elf/tst-initordera3.c: New file.
21766 * elf/tst-initordera4.c: New file.
21767 * elf/tst-initorderb1.c: New file.
21768 * elf/tst-initorderb2.c: New file.
21769 * elf/tst-order-a1.c: New file.
21770 * elf/tst-order-a2.c: New file.
21771 * elf/tst-order-a3.c: New file.
21772 * elf/tst-order-a4.c: New file.
21773 * elf/tst-order-b1.c: New file.
21774 * elf/tst-order-b2.c: New file.
21775 * elf/tst-order-main.c: New file.
21776 New test case by George Gensure <werkt0@gmail.com>.
21778 2010-10-01 Andreas Schwab <schwab@redhat.com>
21780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21781 decoding ACE if AI_CANONIDN.
21783 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21785 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21787 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21789 * version.h (RELEASE): Bump for 2.13 release.
21790 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21792 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21794 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21796 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21798 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21799 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21800 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21801 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21803 * posix/getconf.c: Update copyright year.
21804 * catgets/gencat.c: Likewise.
21805 * csu/version.c: Likewise.
21806 * debug/catchsegv.sh: Likewise.
21807 * debug/xtrace.sh: Likewise.
21808 * elf/ldconfig.c: Likewise.
21809 * elf/ldd.bash.in: Likewise.
21810 * elf/sprof.c (print_version): Likewise.
21811 * iconv/iconv_prog.c: Likewise.
21812 * iconv/iconvconfig.c: Likewise.
21813 * locale/programs/locale.c: Likewise.
21814 * locale/programs/localedef.c: Likewise.
21815 * malloc/memusage.sh: Likewise.
21816 * malloc/mtrace.pl: Likewise.
21817 * nscd/nscd.c (print_version): Likewise.
21818 * nss/getent.c: Likewise.
21820 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21821 PF_CAIF, and PF_ALG.
21822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21824 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21826 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21827 (modules-names): Use them.
21828 (ifunc-test-modules, ifunc-pie-tests): Define.
21829 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21830 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21831 (test-extras): Likewise.
21832 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21833 $(compile-command.c).
21834 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21835 (all-built-dso): Define.
21836 (check-textrel.out, check-execstack.out): Depend on it.
21838 * configure.in: Don't override --enable-multi-arch.
21840 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21843 * nscd/hstcache.c (tryagain): Define.
21844 (cache_addhst): Return tryagain not notfound for temporary errors.
21845 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21848 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21851 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21852 to make the syscall.
21853 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21856 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21857 and fall back to matching as normal character if the string ends before
21858 the matching ']' is found. This is what POSIX requires.
21859 * posix/testfnm.c: Adjust test result.
21860 * posix/globtest.sh: Adjust test result. Add new test.
21861 * posix/tst-fnmatch.input: Likewise.
21862 * posix/tst-fnmatch2.c: Add new test.
21864 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21866 * elf/Makefile (check-execstack): Revert last change. Depend on
21868 (check-execstack.h): New target.
21869 (generated): Add check-execstack.h.
21870 * elf/check-execstack.c: Include "check-execstack.h".
21871 (main): Revert last change.
21872 (handle_file): Return zero if GNU_STACK is absent and
21873 DEFAULT_STACK_PERMS doesn't include PF_X.
21875 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21877 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21878 in child fails because the descriptor is already closed.
21879 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21880 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21881 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21884 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21888 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21889 temporary buffer used to handle multi lookups locally.
21890 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21892 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21894 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21897 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21899 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21900 alignment for SSE2.
21902 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21905 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21906 characters. When rounding increased number of integer digits recompute
21908 * stdio-common/tst-grouping.c: New file.
21909 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21911 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21913 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21914 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21916 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21918 * bits/select.h: Likewise.
21920 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21922 * po/ja.po: Update from translation team.
21924 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21927 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21928 implementation just like for lxstat, fxstatat, et al.
21930 2010-12-27 Jim Meyering <meyering@redhat.com>
21933 * posix/regexec.c (build_trtable): Return failure indication upon
21934 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21936 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21939 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21940 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21945 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21948 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21949 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21951 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21953 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21954 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21955 script has SORT_BY_INIT_PRIORITY.
21956 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21957 NO_CTORS_DTORS_SECTIONS is defined.
21958 * elf/soinit.c: Likewise.
21959 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21960 NO_CTORS_DTORS_SECTIONS is defined.
21961 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21962 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21963 * sysdeps/sh/init-first.c: Likewise.
21964 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21966 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21968 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21969 always use the slow path.
21971 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21973 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21974 similar rule which adds the sysdep directories to the header search in
21975 order to pick up the correct platform stackinfo.h.
21976 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21977 perform test if it is, otherwise return successfully without testing.
21978 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21979 DEFAULT_STACK_PERMS define in stackinfo.h.
21980 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21981 defined in stackinfo.h.
21982 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21983 DEFAULT_STACK_PERMS defined in stackinfo.h.
21984 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21985 * sysdeps/ia64/stackinfo.h: Likewise.
21986 * sysdeps/s390/stackinfo.h: Likewise.
21987 * sysdeps/sh/stackinfo.h: Likewise.
21988 * sysdeps/sparc/stackinfo.h: Likewise.
21989 * sysdeps/x86_64/stackinfo.h: Likewise.
21990 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21991 PF_X for powerpc64. Retain PF_X for powerpc32.
21993 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21995 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21997 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21998 GETDENTS_64BIT_ALIGNED.
22000 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22002 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22004 2010-12-10 Andreas Schwab <schwab@redhat.com>
22006 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22010 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22012 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22013 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22015 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22018 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22021 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22023 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22025 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22027 * po/it.po: Update from translation team.
22029 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22034 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22036 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22038 2010-11-24 Andreas Schwab <schwab@redhat.com>
22040 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22042 (gaih_getanswer_slice): Likewise.
22044 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22048 2010-05-31 Petr Baudis <pasky@suse.cz>
22051 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22052 silently even in the chroot mode.
22054 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22056 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22057 last patch a bit. Pretty printing
22059 2010-05-31 Petr Baudis <pasky@suse.cz>
22062 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22063 initialization of skip_initgroups_dyn.
22065 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22070 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22072 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22074 2010-11-11 Andreas Schwab <schwab@redhat.com>
22076 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22077 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22078 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22079 ($(objpfx)tst-fnmatch-mem): New rule.
22080 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22081 * posix/tst-fnmatch.c (main): Call mtrace.
22083 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22086 Support Intel processor model 6 and model 0x2c.
22088 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22093 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22096 * string/test-strncasecmp.c (check_result): New function.
22097 (do_one_test): Use it.
22098 (check1): New function.
22099 (test_main): Use it.
22100 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22101 Support strcasecmp and strncasecmp.
22103 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22106 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22109 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22111 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22115 * sysdeps/x86_64/multiarch/bzero.S: New file.
22116 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22117 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22118 * sysdeps/x86_64/multiarch/memset.S: New file.
22119 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22121 Set bit_Prefer_SSE_for_memop for Intel processors.
22122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22124 (index_Prefer_SSE_for_memop): Define.
22125 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22127 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22129 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22130 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22132 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22135 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22136 (__x86_64_raw_data_cache_size_half): Likewise.
22137 (__x86_64_raw_shared_cache_size): Likewise.
22138 (__x86_64_raw_shared_cache_size_half): Likewise.
22140 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22141 (__x86_64_raw_data_cache_size_half): Likewise.
22142 (__x86_64_raw_shared_cache_size): Likewise.
22143 (__x86_64_raw_shared_cache_size_half): Likewise.
22144 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22145 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22146 and __x86_64_raw_shared_cache_size_half. Round
22147 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22148 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22149 to multiple of 256 bytes.
22151 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22155 of inacessible symlinks. Verify result of symlink before returning it.
22156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22157 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22159 2010-10-28 Erich Ritz <erichritz@gmail.com>
22161 * math/math.h (isinf): Fix typo in comment.
22163 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22165 * po/da.po: Update from translation team.
22167 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22169 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22170 is added to the list.
22172 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22173 Ulrich Drepper <drepper@gmail.com>
22175 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22176 the global list here. Move code to...
22177 (_dl_add_to_namespace_list): ...here. New function.
22178 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22179 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22180 * elf/dl-load.c (lose): Don't remove the element from the list.
22181 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22182 (_dl_map_object): Likewise.
22184 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22187 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22188 into all bytes of SSE register.
22189 Patch by Richard Li <richardpku@gmail.com>.
22191 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22194 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22197 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22199 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22200 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22202 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22207 2010-10-22 Andreas Schwab <schwab@redhat.com>
22209 * include/dlfcn.h (__RTLD_SECURE): Define.
22210 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22211 mode & __RTLD_SECURE instead.
22212 (open_path): Rename preloaded parameter to secure.
22213 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22214 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22215 * elf/dl-deps.c (openaux): Likewise.
22216 * elf/rtld.c (struct map_args): Remove is_preloaded.
22217 (map_doit): Don't use it.
22218 (dl_main): Likewise.
22219 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22220 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22222 2010-09-09 Andreas Schwab <schwab@redhat.com>
22224 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22225 (sysd-rules-targets): Remove duplicates.
22226 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22227 rtld-%.$o dependency.
22229 2010-10-18 Andreas Schwab <schwab@redhat.com>
22231 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22232 _dl_map_object do it.
22234 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22236 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22237 fast fma builtins, define the macros in the C99 standard.
22238 (FP_FAST_FMAF): Likewise.
22239 (FP_FAST_FMAL): Likewise.
22240 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22242 * bits/mathdef.h: Update copyright year.
22243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22245 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22247 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22248 builtins, define the macros in the C99 standard.
22249 (FP_FAST_FMAF): Likewise.
22250 (FP_FAST_FMAL): Likewise.
22251 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22253 (FP_FAST_FMAF): Likewise.
22255 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22258 * math/libm-test.inc (fma_test): Some new testcases.
22259 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22261 y and infinite z. Do multiplication by C already in long double.
22262 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22264 y and infinite z. Do bitwise or of inexact bit into u.d.
22265 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22266 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22267 * sysdeps/i386/fpu/s_fma.S: Removed.
22268 * sysdeps/i386/fpu/s_fmal.S: Removed.
22270 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22273 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22275 computation is not scheduled after fetestexcept. Fix value
22276 of minimum denormal long double.
22278 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22281 * math/libm-test.inc (fma_test): Add some more tests.
22282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22285 2010-10-15 Andreas Schwab <schwab@redhat.com>
22287 * scripts/data/localplt-s390-linux-gnu.data: New file.
22288 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22290 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22293 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22294 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22296 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22298 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22300 if one of x and y is very large and the other is subnormal.
22301 * sysdeps/s390/fpu/s_fmaf.c: New file.
22302 * sysdeps/s390/fpu/s_fma.c: New file.
22303 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22304 * sysdeps/powerpc/fpu/s_fma.S: New file.
22305 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22306 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22307 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22309 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22312 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22315 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22316 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22317 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22318 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22319 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22322 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22325 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22326 * posix/bug-regex31.input: Add test case.
22328 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22330 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22331 * posix/bug-regex31.input: New file.
22334 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22335 (parse_sub_exp): Fix last change, use postorder.
22337 * posix/bug-regex31.c: New file.
22338 * posix/Makefile: Add rules to build and run bug-regex31.
22340 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22343 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22346 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22347 to have entries in sys_siglist.
22350 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22353 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22356 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22357 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22358 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22359 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22361 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22362 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22363 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22364 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22365 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22366 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22367 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22368 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22369 * math/ftestexcept.c (fetestexcept): Likewise.
22370 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22371 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22372 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22373 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22374 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22375 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22378 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22381 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22384 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22386 * string/bug-strstr1.c: New file.
22387 * string/Makefile: Add rules to build and run bug-strstr1.
22389 2010-10-05 Eric Blake <eblake@redhat.com>
22392 * string/str-two-way.h (two_way_long_needle): Always clear memory
22393 when skipping input due to the shift table.
22395 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22398 * malloc/mcheck.c: Handle large requests.
22401 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22402 for strncmp and strncasecmp.
22403 * string/stratcliff.c: Add tests for strcmp and strncmp.
22404 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22406 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22408 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22411 2010-09-30 Andreas Jaeger <aj@suse.de>
22413 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22414 (CGROUP_SUPER_MAGIC): Define.
22415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22416 Handle btrfs and cgroup file systems.
22417 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22420 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22422 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22423 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22425 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22428 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22429 trying to locate the ELF header.
22431 2010-09-27 Andreas Schwab <schwab@redhat.com>
22434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22435 Mask out sign-bit copies when constructing f_fsid.
22437 2010-09-24 Petr Baudis <pasky@suse.cz>
22439 * debug/stack_chk_fail_local.c: Add missing licence exception.
22440 * debug/warning-nop.c: Likewise.
22442 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22444 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22445 implementing getdents64 using getdents syscall, set d_type if
22446 __ASSUME_GETDENTS32_D_TYPE.
22448 2010-09-16 Andreas Schwab <schwab@redhat.com>
22450 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22451 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22453 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22456 * posix/unistd.h: Undo change of feature selection for ftruncate from
22459 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22461 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22464 2010-09-20 Andreas Schwab <schwab@redhat.com>
22466 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22468 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22470 2010-09-14 Andreas Schwab <schwab@redhat.com>
22472 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22473 variables after CHECK_SP call.
22474 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22476 2010-09-13 Andreas Schwab <schwab@redhat.com>
22477 Ulrich Drepper <drepper@redhat.com>
22479 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22480 re-relocationg ld.so.
22481 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22482 _dl_init_paths call.
22483 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22486 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22488 * resolv/res_init.c (__res_vinit): Count the default server we added.
22490 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22491 Ulrich Drepper <drepper@redhat.com>
22494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22495 (____longjmp_chk): Use %ebx for saving value across system call.
22498 2010-09-06 Andreas Schwab <schwab@redhat.com>
22500 * manual/Makefile: Don't mix pattern rules with normal rules.
22502 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22504 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22506 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22507 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22508 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22509 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22513 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22516 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22517 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22519 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22521 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22522 * sysdeps/x86_64/addmul_1.S: Likewise.
22523 * sysdeps/x86_64/lshift.S: Likewise.
22524 * sysdeps/x86_64/mul_1.S: Likewise.
22525 * sysdeps/x86_64/rshift.S: Likewise.
22526 * sysdeps/x86_64/sub_n.S: Likewise.
22527 * sysdeps/x86_64/submul_1.S: Likewise.
22529 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22531 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22532 Define __sched_param instead of SCHED_* and sched_param when
22533 <bits/sched.h> is included with __need_schedparam defined.
22534 * bits/sched.h [__need_schedparam]
22535 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22536 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22537 (__defined_schedparam): Define to 1.
22538 (__sched_param): New structure, identical to sched_param.
22539 (__need_schedparam): Undefine.
22541 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22544 (epoll_create1): Declare.
22546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22548 2010-08-31 Andreas Schwab <schwab@redhat.com>
22551 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22552 shifting retval into place.
22554 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22556 * nis/rpcsvc/nis.h: Update copyright notice.
22557 * nis/rpcsvc/nis.x: Likewise.
22558 * nis/rpcsvc/nis_callback.h: Likewise.
22559 * nis/rpcsvc/nis_callback.x: Likewise.
22560 * nis/rpcsvc/nis_object.x: Likewise.
22561 * nis/rpcsvc/nis_tags.h: Likewise.
22562 * nis/rpcsvc/yp.h: Likewise.
22563 * nis/rpcsvc/yp.x: Likewise.
22564 * nis/rpcsvc/ypupd.h: Likewise.
22565 * nis/yp_xdr.c: Likewise.
22566 * nis/ypupdate_xdr.c: Likewise.
22568 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22569 mainly the body of pmap_getport. Add parameters to specify timeouts.
22570 (pmap_getport): Use __libc_rpc_getport.
22571 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22572 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22573 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22575 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22580 2010-08-27 Roland McGrath <roland@redhat.com>
22582 * sysdeps/i386/i686/multiarch/Makefile
22583 (CFLAGS-varshift.c): New variable.
22585 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22587 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22588 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22592 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22594 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22596 * sysdeps/x86_64/strlen.S: Unroll the loop.
22597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22598 strlen-sse2 strlen-sse2-bsf.
22599 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22600 __strlen_no_bsf if bit_Slow_BSF is set.
22601 (__strlen_sse42): Removed.
22602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22603 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22605 2010-08-25 Roland McGrath <roland@redhat.com>
22607 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22608 * sysdeps/x86_64/multiarch/varshift.c: New file.
22609 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22610 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22611 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22614 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22617 strlen-sse2 strlen-sse2-bsf.
22618 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22619 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22620 (__strlen_sse2): Removed.
22621 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22624 bit_Slow_BSF for Atom.
22625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22626 (index_Slow_BSF): Define.
22627 (HAS_SLOW_BSF): Define.
22629 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22632 * resolv/res_init.c (__res_vinit): When no server address at all
22633 is given default to loopback.
22635 2010-08-24 Roland McGrath <roland@redhat.com>
22637 * configure.in: Remove config-name.h generation.
22638 * configure: Regenerated.
22639 * config-name.in: File removed.
22640 * scripts/config-uname.sh: New file.
22641 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22642 ($(objdir)config-name.h): New target.
22644 * sunrpc/rpc_parse.h: Avoid nested comment.
22646 2010-08-24 Richard Henderson <rth@redhat.com>
22647 Ulrich Drepper <drepper@redhat.com>
22648 H.J. Lu <hongjiu.lu@intel.com>
22650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22652 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22653 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22654 _mm_alignr_epi8 with _mm_loadu_si128.
22655 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22656 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22657 (__m128i_shift_right): Removed.
22658 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22659 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22660 * sysdeps/x86_64/multiarch/varshift.h: New file.
22661 * sysdeps/x86_64/multiarch/varshift.S: New file.
22663 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22665 * configure.in: Move assembler checks to before sysdep dir checking.
22667 2010-08-20 Petr Baudis <pasky@suse.cz>
22669 * LICENSES: Sync the sunrpc license.
22671 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22673 * sunrpc/auth_des.c: Update copyright notice once again.
22674 * sunrpc/auth_none.c: Likewise.
22675 * sunrpc/auth_unix.c: Likewise.
22676 * sunrpc/authdes_prot.c: Likewise.
22677 * sunrpc/authuxprot.c: Likewise.
22678 * sunrpc/bindrsvprt.c: Likewise.
22679 * sunrpc/clnt_gen.c: Likewise.
22680 * sunrpc/clnt_perr.c: Likewise.
22681 * sunrpc/clnt_raw.c: Likewise.
22682 * sunrpc/clnt_simp.c: Likewise.
22683 * sunrpc/clnt_tcp.c: Likewise.
22684 * sunrpc/clnt_udp.c: Likewise.
22685 * sunrpc/clnt_unix.c: Likewise.
22686 * sunrpc/des_crypt.c: Likewise.
22687 * sunrpc/des_soft.c: Likewise.
22688 * sunrpc/get_myaddr.c: Likewise.
22689 * sunrpc/getrpcport.c: Likewise.
22690 * sunrpc/key_call.c: Likewise.
22691 * sunrpc/key_prot.c: Likewise.
22692 * sunrpc/openchild.c: Likewise.
22693 * sunrpc/pm_getmaps.c: Likewise.
22694 * sunrpc/pm_getport.c: Likewise.
22695 * sunrpc/pmap_clnt.c: Likewise.
22696 * sunrpc/pmap_prot.c: Likewise.
22697 * sunrpc/pmap_prot2.c: Likewise.
22698 * sunrpc/pmap_rmt.c: Likewise.
22699 * sunrpc/rpc/auth.h: Likewise.
22700 * sunrpc/rpc/auth_unix.h: Likewise.
22701 * sunrpc/rpc/clnt.h: Likewise.
22702 * sunrpc/rpc/des_crypt.h: Likewise.
22703 * sunrpc/rpc/key_prot.h: Likewise.
22704 * sunrpc/rpc/netdb.h: Likewise.
22705 * sunrpc/rpc/pmap_clnt.h: Likewise.
22706 * sunrpc/rpc/pmap_prot.h: Likewise.
22707 * sunrpc/rpc/pmap_rmt.h: Likewise.
22708 * sunrpc/rpc/rpc.h: Likewise.
22709 * sunrpc/rpc/rpc_des.h: Likewise.
22710 * sunrpc/rpc/rpc_msg.h: Likewise.
22711 * sunrpc/rpc/svc.h: Likewise.
22712 * sunrpc/rpc/svc_auth.h: Likewise.
22713 * sunrpc/rpc/types.h: Likewise.
22714 * sunrpc/rpc/xdr.h: Likewise.
22715 * sunrpc/rpc_clntout.c: Likewise.
22716 * sunrpc/rpc_cmsg.c: Likewise.
22717 * sunrpc/rpc_common.c: Likewise.
22718 * sunrpc/rpc_cout.c: Likewise.
22719 * sunrpc/rpc_dtable.c: Likewise.
22720 * sunrpc/rpc_hout.c: Likewise.
22721 * sunrpc/rpc_main.c: Likewise.
22722 * sunrpc/rpc_parse.c: Likewise.
22723 * sunrpc/rpc_parse.h: Likewise.
22724 * sunrpc/rpc_prot.c: Likewise.
22725 * sunrpc/rpc_sample.c: Likewise.
22726 * sunrpc/rpc_scan.c: Likewise.
22727 * sunrpc/rpc_scan.h: Likewise.
22728 * sunrpc/rpc_svcout.c: Likewise.
22729 * sunrpc/rpc_tblout.c: Likewise.
22730 * sunrpc/rpc_util.c: Likewise.
22731 * sunrpc/rpc_util.h: Likewise.
22732 * sunrpc/rpcinfo.c: Likewise.
22733 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22734 * sunrpc/rpcsvc/key_prot.x: Likewise.
22735 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22736 * sunrpc/rpcsvc/mount.x: Likewise.
22737 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22738 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22739 * sunrpc/rpcsvc/rex.x: Likewise.
22740 * sunrpc/rpcsvc/rstat.x: Likewise.
22741 * sunrpc/rpcsvc/rusers.x: Likewise.
22742 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22743 * sunrpc/rpcsvc/spray.x: Likewise.
22744 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22745 * sunrpc/rtime.c: Likewise.
22746 * sunrpc/svc.c: Likewise.
22747 * sunrpc/svc_auth.c: Likewise.
22748 * sunrpc/svc_authux.c: Likewise.
22749 * sunrpc/svc_raw.c: Likewise.
22750 * sunrpc/svc_run.c: Likewise.
22751 * sunrpc/svc_simple.c: Likewise.
22752 * sunrpc/svc_tcp.c: Likewise.
22753 * sunrpc/svc_udp.c: Likewise.
22754 * sunrpc/svc_unix.c: Likewise.
22755 * sunrpc/svcauth_des.c: Likewise.
22756 * sunrpc/xcrypt.c: Likewise.
22757 * sunrpc/xdr.c: Likewise.
22758 * sunrpc/xdr_array.c: Likewise.
22759 * sunrpc/xdr_float.c: Likewise.
22760 * sunrpc/xdr_mem.c: Likewise.
22761 * sunrpc/xdr_rec.c: Likewise.
22762 * sunrpc/xdr_ref.c: Likewise.
22763 * sunrpc/xdr_sizeof.c: Likewise.
22764 * sunrpc/xdr_stdio.c: Likewise.
22766 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22769 2010-08-19 Andreas Schwab <schwab@redhat.com>
22771 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22773 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22775 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22777 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22778 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22779 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22780 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22781 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22782 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22784 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22785 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22787 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22788 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22790 2010-07-26 Anton Blanchard <anton@samba.org>
22792 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22793 * malloc/arena.c (heap_trim): Likewise.
22795 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22797 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22800 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22802 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22804 * sysdeps/i386/elf/Makefile: New file.
22806 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22808 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22809 from fanotify_init.
22810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22813 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22815 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22817 * sysdeps/multiarch/strcmp.S: Likewise.
22819 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22821 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22822 strncase_l-nonascii.
22823 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22824 Add strncase_l-ssse3.
22825 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22826 * sysdeps/x86_64/strcmp.S: Likewise.
22827 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22828 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22829 * sysdeps/x86_64/strncase.S: New file.
22830 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22831 * sysdeps/x86_64/strncase_l.S: New file.
22832 * string/Makefile (strop-tests): Add strncasecmp.
22833 * string/test-strncasecmp.c: New file.
22835 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22838 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22839 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22841 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22843 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22845 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22847 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22848 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22851 2010-05-01 Alan Modra <amodra@gmail.com>
22853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22854 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22855 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22856 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22857 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22858 tidying. Don't tail-call __sigjmp_save for static lib.
22859 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22861 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22862 (CALL_MCOUNT): Add eh info, and nop after bl.
22863 (TAIL_CALL_SYSCALL_ERROR): New macro.
22864 (PSEUDO_RET): Use it.
22865 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22866 Correct save location of integer regs and cr.
22867 (_dl_profile_resolve): Correct cr save location. Delete nops
22868 after bl when SHARED. Reduce cfi size a little by better
22869 placement of cfi directives.
22870 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22871 make a stack frame. Instead use parm save area as a temp.
22872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22873 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22875 Don't make a stack frame for parent, use parm save area.
22876 Increase child stack frame to 112 bytes. Don't save unused reg,
22877 and adjust reg usage. Set up cfi on error recovery and
22878 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22880 (__makecontext): Add dummy nop after jump to exit.
22881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22882 Use correct parm save area and cr save, reduce stack frame.
22883 Correct cfi for possible PSEUDO_RET frame setup.
22884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22885 Branch to local label emitted by PSEUDO_RET rather than
22888 2010-08-12 Andreas Schwab <schwab@redhat.com>
22891 * locale/programs/locale.c (print_assignment): New function.
22892 (show_locale_vars): Use it.
22894 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22896 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22898 (struct statfs64): Likewise.
22899 (_STATFS_F_FLAGS): Define.
22900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22902 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22903 (ST_VALID): Define locally.
22904 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22905 __statvfs_getflags, use the provided value.
22906 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22907 __ASSUME_STATFS_F_FLAGS.
22909 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22911 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22912 Add sys/fanotify.h.
22913 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22914 fanotify_mask for GLIBC_2.13.
22915 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22916 fanotify_init and fanotify_mark.
22917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22918 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22920 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22922 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22923 prlimit64 for GLIBC_2.13.
22924 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22929 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22930 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22934 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22937 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22938 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22940 * nss/Makefile: Add rules to build and run tst-nss-test1.
22941 * shlib-versions: Add entry for libnss_test1.
22942 * nss/nss_test1.c: New file.
22943 * nss/tst-nss-test1.c: New file.
22945 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22946 (__nss_configure_lookup): Set appropriate entry in
22947 __nss_configure_lookup to true.
22948 * nss/nsswitch.h: Define enum with indeces of databases in
22949 databases and __nss_database_custom arrays. Declare
22950 __nss_database_custom.
22951 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22952 to avoid using nscd when custom rules are installed.
22953 * nss/getXXbyYY_r.c: Likewise.
22954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22956 * nss/nss_files/files-parse.c: Whitespace fixes.
22958 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22961 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22962 * posix/fnmatch_loop.c: Likewise.
22964 2010-07-17 Andi Kleen <ak@linux.intel.com>
22966 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22967 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22968 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22969 * Versions.def [GLIBC_2.13]: Add.
22971 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22974 Also fail if tpwd after pwuid call is NULL.
22976 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22978 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22979 when converting to ms.
22981 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22983 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22984 EOPNOTSUPP errors with ENOTTY.
22985 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22986 EOPNOTSUPP errors with ENOTTY.
22988 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22991 Add strcasecmp_l-ssse3.
22992 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22994 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22995 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22996 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22998 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23000 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23002 * string/Makefile (strop-tests): Add strcasecmp.
23003 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23004 strcasecmp_l-nonascii.
23005 (gen-as-const-headers): Add locale-defines.sym.
23006 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23007 * sysdeps/x86_64/strcasecmp.S: New file.
23008 * sysdeps/x86_64/strcasecmp_l.S: New file.
23009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23010 * sysdeps/x86_64/locale-defines.sym: New file.
23011 * string/test-strcasecmp.c: New file.
23013 * string/test-strcasestr.c: Test both ends of the range of characters.
23014 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23016 2010-07-29 Roland McGrath <roland@redhat.com>
23019 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23021 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23023 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23026 2010-07-27 Andreas Schwab <schwab@redhat.com>
23028 * manual/memory.texi (Malloc Tunable Parameters): Document
23031 2010-07-26 Roland McGrath <roland@redhat.com>
23034 * configure.in (-fgnu89-inline check): Set and substitute
23035 gnu89_inline, not libc_cv_gnu89_inline.
23036 * configure: Regenerated.
23037 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23039 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23041 * string/test-strnlen.c: New file.
23042 * string/Makefile (strop-tests): Add strnlen.
23043 * string/tester.c (test_strnlen): Add a few more test cases.
23044 * string/tst-strlen.c: Better error reporting.
23046 * sysdeps/x86_64/strnlen.S: New file.
23048 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23050 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23051 lower-latency instructions.
23053 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23055 * string/test-strcasestr.c: New file.
23056 * string/test-strstr.c: New file.
23057 * string/Makefile (strop-tests): Add strstr and strcasestr.
23058 * string/str-two-way.h: Don't undefine MAX.
23059 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23061 2010-07-21 Andreas Schwab <schwab@redhat.com>
23063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23064 strcasestr-nonascii.
23065 (CFLAGS-strcasestr-nonascii.c): Define.
23066 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23068 Remove unused attribute.
23070 2010-07-20 Roland McGrath <roland@redhat.com>
23072 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23073 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23074 ld.so.cache was broken. With it, there is no way to disable dsocaps
23075 like LD_HWCAP_MASK can disable hwcaps.
23077 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23079 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23081 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23083 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23084 call in strcasestr.
23085 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23086 __strcasestr_sse42_nonascii.
23087 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23088 strcasestr-nonascii.c.
23089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23091 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23094 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23096 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23098 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23103 2010-07-06 Andreas Schwab <schwab@redhat.com>
23106 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23109 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23112 _PC_PIPE_BUF using F_GETPIPE_SZ.
23114 2010-07-05 Roland McGrath <roland@redhat.com>
23116 * manual/arith.texi (Rounding Functions): Fix rint description
23117 implicit in round description.
23119 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23121 * elf/Makefile: Fix linking for a few tests to make recent linker
23124 2010-06-30 Andreas Schwab <schwab@redhat.com>
23126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23127 $(common-objpfx)libc_nonshared.a.
23129 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23131 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23132 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23133 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23134 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23135 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23136 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23137 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23138 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23153 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23154 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23155 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23156 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23157 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23158 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23159 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23160 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23161 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23162 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23163 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23164 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23180 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23182 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23183 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23184 * string/memmove.c (memmove): Renamed to ...
23185 (MEMMOVE): ...this. Default to memmove.
23186 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23187 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23190 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23191 mempcpy-ssse3-back memmove-ssse3-back.
23192 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23195 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23196 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23197 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23198 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23199 * sysdeps/x86_64/multiarch/memmove.c: New file.
23200 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23201 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23202 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23203 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23204 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23207 (index_Fast_Copy_Backward): Define.
23208 (HAS_ARCH_FEATURE): Define.
23209 (HAS_FAST_REP_STRING): Define.
23210 (HAS_FAST_COPY_BACKWARD): Define.
23212 2010-06-21 Andreas Schwab <schwab@redhat.com>
23214 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23215 Restore proper fallback handling.
23217 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23220 * posix/group_member.c (__group_member): Correct checking loop.
23222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23223 OOM in getpwuid_r correctly. Return error number when the caller
23224 should return, otherwise -1.
23225 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23226 call returning > 0 value.
23227 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23229 2010-06-07 Andreas Schwab <schwab@redhat.com>
23231 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23232 libc_nonshared.a from targets in modules-names.
23234 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23236 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23239 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23242 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23246 2010-06-02 Andreas Schwab <schwab@redhat.com>
23248 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23250 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23252 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23261 2010-06-14 Roland McGrath <roland@redhat.com>
23263 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23265 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23267 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23268 __REDIRECT followed by __THROW.
23269 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23270 * posix/getopt.h (getopt): Likewise.
23272 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23274 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23275 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23276 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23278 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23279 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23281 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23285 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23289 Properly check family and model.
23291 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23293 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23295 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23297 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23299 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23301 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23304 2010-05-19 Andreas Schwab <schwab@redhat.com>
23306 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23309 2010-05-21 Andreas Schwab <schwab@redhat.com>
23311 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23312 and internal_recvmmsg.
23313 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23314 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23315 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23316 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23318 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23319 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23320 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23322 2010-05-20 Andreas Schwab <schwab@redhat.com>
23324 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23326 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23328 POWER7 optimizations.
23329 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23330 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23332 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23334 * version.h: Update for 2.13 development version.
23336 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23338 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23339 exceptions. Return 0.
23341 2010-05-07 Roland McGrath <roland@redhat.com>
23343 * elf/ldconfig.c (main): Add a const.
23345 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23347 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23348 (args_options): Add no-idn option.
23349 (ahosts_keys_int): Add idn_flags to ai_flags.
23350 (parse_option): Handle 'i' option to clear idn_flags.
23352 * malloc/malloc.c (_int_free): Possible race in the most recently
23353 added check. Only act on the data if no current modification
23356 See ChangeLog.17 for earlier changes.