1 2012-03-30 Jeff Law <law@redhat.com>
3 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8 * resolv/nss_dns/dns-host.c: Update copyright year.
10 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13 requests to save a system call. Fix check that all bytes are sent.
15 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16 comments for sendmmsg.
18 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22 with only 1 character between 0x0041 and 0x01b0.
23 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24 * wcsmbs/tst-mbsnrtowcs.c: New file.
26 2012-03-29 David S. Miller <davem@davemloft.net>
28 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
35 _nss_compat_initgroups_dyn): Fall back to malloc/free
36 for large group memberships.
38 2012-03-28 David S. Miller <davem@davemloft.net>
40 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41 that branches into memcpy.
42 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50 * sysdeps/sparc/mempcpy.S: New file.
52 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53 the IFUNC routine in the libc case.
54 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66 loop to 256 bytes instead of 64 bytes and fix test signedness.
68 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69 * sysdeps/sparc/sparc32/Makefile: rather than here...
70 * sysdeps/sparc/sparc64/Makefile: and here.
72 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74 * malloc/mallocbug.c: Avoid warnings about unused variables.
76 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
79 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
80 in the right place. Discard and retry query if response is
81 larger than input buffer size.
83 2012-03-28 Joseph Myers <joseph@codesourcery.com>
88 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
89 x for large integer exponent.
90 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
91 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
92 sign of result as needed afterwards.
93 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
94 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
95 result for underflowing pow the same as for overflow.
96 (__kernel_standard_l): Handle powl overflow and underflow here
97 rather than calling __kernel_standard.
98 * math/libm-test.inc (pow_test): Add more tests.
113 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
114 * sysdeps/ieee754/k_standard.c: Include <float.h>.
115 (__kernel_standard_l): New function.
116 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
118 * math/w_acosl.c (__acosl): Likewise.
119 * math/w_asinl.c (__asinl): Likewise.
120 * math/w_atan2l.c (__atan2l): Likewise.
121 * math/w_atanhl.c (__atanhl): Likewise.
122 * math/w_coshl.c (__coshl): Likewise.
123 * math/w_exp10l.c (__exp10l): Likewise.
124 * math/w_exp2l.c (__exp2l): Likewise.
125 * math/w_fmodl.c (__fmodl): Likewise.
126 * math/w_hypotl.c (__hypotl): Likewise.
127 * math/w_j0l.c (__j0l, __y0l): Likewise.
128 * math/w_j1l.c (__j1l, __y1l): Likewise.
129 * math/w_jnl.c (__jnl, __ynl): Likewise.
130 * math/w_lgammal.c (__lgammal): Likewise.
131 * math/w_log10l.c (__log10l): Likewise.
132 * math/w_log2l.c (__log2l): Likewise.
133 * math/w_logl.c (__logl): Likewise.
134 * math/w_powl.c (__powl): Likewise.
135 * math/w_remainderl.c (__remainderl): Likewise.
136 * math/w_scalbl.c (sysv_scalbl): Likewise.
137 * math/w_sinhl.c (__sinhl): Likewise.
138 * math/w_sqrtl.c (__sqrtl): Likewise.
139 * math/w_tgammal.c (__tgammal): Likewise.
140 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
141 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
142 * math/libm-test.inc (acos_test): Add more tests.
143 (acosh_test): Likewise.
144 (asin_test): Likewise.
145 (atanh_test): Likewise.
146 (exp_test): Likewise.
147 (exp10_test): Likewise.
148 (exp2_test): Likewise.
149 (expm1_test): Likewise.
150 (lgamma_test): Likewise.
151 (log_test): Likewise.
152 (log10_test): Likewise.
153 (log1p_test): Likewise.
154 (log2_test): Likewise.
155 (pow_test): Do not allow some spurious overflow exceptions.
156 (sqrt_test): Add more tests.
157 (tgamma_test): Likewise.
162 2012-03-27 Anton Blanchard <anton@samba.org>
164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
170 2012-03-27 David S. Miller <davem@davemloft.net>
172 * conform/Makefile: Run run-conformtest.sh using $(BASH).
174 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
177 2012-03-27 Andreas Jaeger <aj@suse.de>
179 * sysdeps/x86_64/elf/configure.in: Moved to ...
180 * sysdeps/x86_64/configure.in: ... here.
181 * sysdeps/x86_64/elf/start.S: Moved to ...
182 * sysdeps/x86_64/start.S: ... here.
183 * sysdeps/x86_64/elf/configure: Delete.
185 * sysdeps/x86_64/configure.in: Merge contents from
186 sysdeps/i386/configure.in (without i686 check).
188 * sysdeps/i386/elf/Versions: Merge into ...
189 * sysdeps/i386/Versions: ... this.
190 * sysdeps/i386/elf/Versions: Delete file.
191 * sysdeps/i386/elf/start.S: Moved to ...
192 * sysdeps/i386/start.S: ...here.
193 * sysdeps/i386/elf/configure.in: Merge into...
194 * sysdeps/i386/configure.in: ...here.
195 * sysdeps/i386/elf/configure.in: Delete file.
196 * sysdeps/i386/elf/configure: Delete file.
198 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
199 * debug/backtracesyms.c: ... here.
200 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
201 * debug/backtracesymsfd.c: ... here.
202 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
203 * sysdeps/generic/ifunc-sel.h: ... here.
205 * sysdeps/unix/i386/start.c: Delete file.
206 * sysdeps/unix/sparc/start.c: Delete file.
207 * sysdeps/unix/start.c: Delete file.
209 * sysdeps/sh/elf/configure.in: Moved to ...
210 * sysdeps/sh/configure.in: ... here.
211 * sysdeps/sh/elf/start.S: Moved to ...
212 * sysdeps/sh/start.S: ... here.
213 * sysdeps/sh/elf/configure: Delete file.
215 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
216 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
217 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
218 * sysdeps/powerpc/powerpc64/entry.h: ... here.
219 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
220 * sysdeps/powerpc/powerpc64/start.S: here.
221 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
222 * sysdeps/powerpc/powerpc64/Makefile: ... this.
223 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
224 * sysdeps/powerpc/powerpc64/configure.in: ... this.
225 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
227 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
228 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
229 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
230 * sysdeps/powerpc/powerpc32/start.S: ... here.
231 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
232 * sysdeps/powerpc/powerpc32/configure.in: ... this.
233 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
235 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
236 * sysdeps/powerpc/ifunc-sel.h: ... here.
237 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
238 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
240 * sysdeps/sparc/elf/configure.in: Moved to ...
241 * sysdeps/sparc/configure.in: ... here.
242 * sysdeps/sparc/elf/configure: Delete file.
243 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
244 * sysdeps/sparc/sparc32/start.S: ... here.
245 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
246 * sysdeps/sparc/sparc64/start.S: ... here.
247 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
248 * sysdeps/sparc/sparc32/Makefile: ... this.
249 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
250 * sysdeps/sparc/sparc64/Makefile: ... this.
252 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
253 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
254 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
255 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
256 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
257 * sysdeps/s390/s390-32/setjmp.S: ... here.
258 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
259 * sysdeps/s390/s390-32/configure.in: ... here.
260 * sysdeps/s390/s390-32/elf/configure: Delete file.
261 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
262 * sysdeps/s390/s390-32/start.S: ... here.
264 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
265 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
266 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
267 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
268 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
269 * sysdeps/s390/s390-64/setjmp.S: ... here.
270 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
271 * sysdeps/s390/s390-64/configure.in: ... here
272 * sysdeps/s390/s390-64/elf/configure: Delete file.
273 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
274 * sysdeps/s390/s390-64/start.S: ... here.
275 * sysdeps/s390/s390-64/elf/configure: Delete.
277 * configure.in: Remove support for elf directories in sysdeps.
279 * configure: Regenerated.
280 * sysdeps/i386/configure: Regenerated.
281 * sysdeps/powerpc/powerpc32/configure: Regenerated.
282 * sysdeps/powerpc/powerpc64/configure: Regenerated.
283 * sysdeps/s390/s390-32/configure: Regenerated.
284 * sysdeps/s390/s390-64/configure: Regenerated.
285 * sysdeps/sh/configure: Regenerated.
286 * sysdeps/sparc/configure: Regenerated.
287 * sysdeps/x86_64/configure: Regenerated.
289 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
294 denormal result into account.
296 2012-03-25 Roland McGrath <roland@hack.frob.com>
298 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
299 Reported by Allan McRae <allan@archlinux.org>.
301 2012-03-23 Jeff Law <law@redhat.com>
303 * nss/getnssent.c (__nss_getent): Fix typo.
305 2012-03-23 David S. Miller <davem@davemloft.net>
307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
309 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
311 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
312 to pad to uint64_t for each field.
313 (dl_tls_index): Replace unsigned long with uint64_t.
315 2012-03-23 Daniel Jacobowitz <dmj@google.com>
316 Paul Pluzhnikov <ppluzhnikov@google.com>
319 * grp/Makefile (otherlibs): Don't set it.
320 * inet/Makefile (otherlibs): Likewise.
321 * login/Makefile (otherlibs): Likewise.
322 * nscd/Makefile (otherlibs): Likewise.
323 * posix/Makefile (otherlibs): Likewise.
324 * pwd/Makefile (otherlibs): Likewise.
325 * rt/Makefile (otherlibs): Likewise.
326 * sunrpc/Makefile (otherlibs): Likewise.
327 * nss/Makefile (otherlibs): Likewise.
328 Add libnss_files to routines and static-only-routines.
329 ($(objpfx)getent): Remove rule.
330 * resolv/Makefile: Add libnss_dns and libresolv to routines and
331 static-only-routines.
333 2012-03-22 Joseph Myers <joseph@codesourcery.com>
336 * math/s_cexp.c: Include <float.h>.
337 (__cexp): Handle exp result overflowing not necessarily
338 overflowing both real and imaginary parts of result.
339 * math/s_cexpf.c: Likewise.
340 * math/s_cexpl.c: Likewise.
341 * math/libm-test.inc (cexp_test): Add more tests.
342 * sysdeps/i386/fpu/libm-test-ulps: Update.
343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
345 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
347 * include/link.h (ELFW): New macro.
348 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
349 Replace ELF64_R_TYPE with ELFW(R_TYPE).
351 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
353 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
356 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
358 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
360 (struct La_x32_retval): Likewise.
362 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
364 * sysdeps/x86_64/preconfigure.in: New file.
365 * sysdeps/x86_64/preconfigure: New generated file.
367 2012-03-22 Joseph Myers <joseph@codesourcery.com>
370 * math/e_exp2l.c: Include <float.h>.
371 (__ieee754_exp2l): Handle overflow and underflow cases
372 separately. Only pass fractional part of argument to
374 * math/libm-test.inc (exp2_test): Add more tests.
376 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
377 negating x to take absolute value.
378 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
383 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
384 computing low part if x was negated.
385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
387 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
389 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
391 (pltexit): Cast int_retval to ptrdiff_t.
392 * elf/tst-auditmod3b.c: Likewise.
393 * elf/tst-auditmod4b.c: Likewise.
394 * elf/tst-auditmod5b.c: Likewise.
395 * elf/tst-auditmod6b.c: Likewise.
396 * elf/tst-auditmod6c.c: Likewise.
397 * elf/tst-auditmod7b.c: Likewise.
399 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
402 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
404 (La_x32_regs): New macro.
405 (La_x32_retval): Likewise.
406 (la_x32_gnu_pltenter): New function prototype.
407 (la_x32_gnu_pltexit): Likewise.
409 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
416 * configure.in (libc_cv_cc_nofma): Check for option to disable
417 generation of FMA instructions.
418 * configure: Regenerate.
419 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
420 * sysdeps/ieee754/dbl-64/Makefile: New file.
421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
422 Remove brandred-fma4.
423 (CFLAGS-brandred-fma4.c): Remove.
424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
430 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
432 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
433 LLONG_MAX != LONG_MAX.
434 (_itoa_word): Use _ITOA_WORD_TYPE on value.
435 (_fitoa_word): Likewise.
436 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
437 LLONG_MAX != LONG_MAX.
438 * stdio-common/_itowa.h: Include <_itoa.h>.
439 (_itowa_word): Use _ITOA_WORD_TYPE on value.
440 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
441 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
443 (_ITOA_WORD_TYPE): Likewise.
444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
445 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
447 2012-03-21 David S. Miller <davem@davemloft.net>
449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
451 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
453 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
454 of x86_64 when setting libc_cv_slibdir, libdir and
456 * sysdeps/unix/sysv/linux/configure: Regenerated.
458 2012-03-21 Joseph Myers <joseph@codesourcery.com>
460 * manual/lang.texi (Old Varargs): Remove section.
461 (How Variadic): Update menu.
462 (va_start): Do not mention varargs.h.
464 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
465 Joseph Myers <joseph@codesourcery.com>
467 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
469 * configure: Regenerated.
471 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
473 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
474 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
477 2012-03-21 Joseph Myers <joseph@codesourcery.com>
480 * Makefile (files-for-dist): Remove NOTES.
481 (NOTES): Remove rule.
482 * README: Don't refer to NOTES.
483 * manual/creature.texi: Don't include macros.texi.
484 * manual/intro.texi (creature.texi): Remove comment referring to
487 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
488 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
489 * configure: Regenerated.
490 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
492 (libc_cv_as_i686): Likewise.
493 (libc_cv_cc_avx): Likewise.
494 (libc_cv_cc_sse2avx): Likewise.
495 (libc_cv_cc_fma4): Likewise.
496 (libc_cv_cc_novzeroupper): Likewise.
497 * sysdeps/i386/configure: Regenerated.
500 * sysdeps/i386/fpu/s_cexp.S: Remove.
501 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
502 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
503 * math/libm-test.inc (cexp_test): Add more tests.
504 * sysdeps/i386/fpu/libm-test-ulps: Update.
505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
507 2012-03-21 Allan McRae <allan@archlinux.org>
509 * timezone/Makefile: Do not install iso3166.tab and zone.tab
511 2012-03-21 Joseph Myers <joseph@codesourcery.com>
514 * math/w_exp2.c: Do not include <float.h>.
515 (o_threshold, u_threshold): Remove.
516 (__exp2): Calculate result before checking finiteness and calling
518 * math/w_exp2f.c: Likewise.
519 * math/w_exp2l.c: Likewise.
520 * math/libm-test.inc (exp2_test): Require overflow exception for
524 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
525 range of signed 64-bit integers before using fistpll. Remove
526 checks for whether integers fit in mantissa bits.
527 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
528 the range of signed 32-bit integers before using fistpl. Remove
529 checks for whether integers fit in mantissa bits.
530 * sysdeps/i386/fpu/e_powl.S (p64): New object.
531 (__ieee754_powl): Test for y outside the range of signed 64-bit
532 integers before using fistpll. Reduce 64-bit values to 63-bit
534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
535 divide-by-zero is raised for zero to large negative powers.
536 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
537 (__ieee754_powl): Test for y outside the range of signed 64-bit
538 integers before using fistpll. Reduce 64-bit values to 63-bit
540 * math/libm-test.inc (pow_test): Add more tests.
542 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
544 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
545 <stdio-common/_itoa.h>.
546 * debug/segfault.c: Likewise.
547 * elf/dl-cache.c: Likewise.
548 * elf/dl-minimal.c: Likewise.
549 * elf/dl-misc.c: Likewise.
550 * elf/dl-sysdep.c: Likewise.
551 * elf/dl-version.c: Likewise.
552 * elf/rtld.c: Likewise.
553 * hurd/hurdsock.c: Likewise.
554 * hurd/lookup-retry.c: Likewise.
555 * malloc/malloc.c: Likewise.
556 * malloc/mtrace.c: Likewise.
557 * nscd/nscd_getgr_r.c: Likewise.
558 * nscd/nscd_getpw_r.c: Likewise.
559 * nscd/nscd_getserv_r.c: Likewise.
560 * posix/getopt_init.c: Likewise.
561 * posix/wordexp.c: Likewise.
562 * stdio-common/_itoa.c: Likewise.
563 * stdio-common/printf_fphex.c: Likewise.
564 * stdio-common/vfprintf.c: Likewise.
565 * string/_strerror.c: Likewise.
566 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
567 * sysdeps/i386/i686/hp-timing.h: Likewise.
568 * sysdeps/mach/_strerror.c: Likewise.
569 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
570 * sysdeps/mach/hurd/sethostid.c: Likewise.
571 * sysdeps/mach/hurd/xmknodat.c: Likewise.
572 * sysdeps/mach/xpg-strerror.c: Likewise.
573 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
574 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
575 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
576 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
577 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
578 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
579 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
580 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
581 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
582 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
583 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
584 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
585 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
586 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
587 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
588 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
589 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
591 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
592 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
595 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
597 * stdio-common/_itoa.h: Moved to ...
598 * sysdeps/generic/_itoa.h: Here.
600 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
602 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
603 instead of "_itoa.h" and "_itowa.h".
604 * stdio-common/vfprintf.: Likewise.
606 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
608 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
610 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
611 (__signbit): Likwise.
615 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
617 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
620 2012-03-20 Joseph Myers <joseph@codesourcery.com>
622 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
623 OVERFLOW_EXCEPTION_OK.
624 * math/libm-test.inc ("Philosophy"): Update comment about
626 (OVERFLOW_EXCEPTION): Define.
627 (OVERFLOW_EXCEPTION_OK): Likewise.
628 (INVALID_EXCEPTION_OK): Renumber.
629 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
630 (IGNORE_ZERO_INF_SIGN): Likewise.
631 (test_exceptions): Handle FE_OVERFLOW.
632 (exp10_test): Expect overflow exceptions.
633 (exp2_test): Likewise.
634 (expm1_test): Likewise.
635 (nextafter_test): Likewise.
636 (pow_test): Likewise.
637 (scalbn_test): Likewise.
638 (scalbln_test): Likewise.
640 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
642 * sysdeps/x86_64/bits/atomic.h
643 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
645 (atomic_exchange_acq): Likewise.
646 (__arch_exchange_and_add_body): Likewise.
647 (__arch_add_body): Likewise.
648 (atomic_add_negative): Likewise.
649 (atomic_add_zero): Likewise.
651 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
653 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
654 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
656 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
658 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
659 Check __x86_64__ instead of __WORDSIZE.
661 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
663 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
665 2012-03-19 David S. Miller <davem@davemloft.net>
667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
669 * sysdeps/sparc/fpu/fenv_private.h: New file.
670 * sysdeps/sparc/fpu/math_private.h: Use it.
671 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
673 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
674 (libc_feholdexcept_setroundl): Remove.
675 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
677 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
678 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
680 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
682 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
683 int64_t instead of long int.
684 (INSERT_WORDS64): Likwise.
686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
688 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
689 _Unwind_GetCFA return to _Unwind_Ptr first.
691 2012-03-19 Joseph Myers <joseph@codesourcery.com>
694 * math/s_clog.c: Include <float.h>.
695 (__clog): Scale large or subnormal inputs.
696 * math/s_clogf.c: Likewise.
697 * math/s_clogl.c: Likewise.
698 * math/s_clog10.c: Include <float.h>.
700 (__clog10): Scale large or subnormal inputs.
701 * math/s_clog10f.c: Likewise.
702 * math/s_clog10l.c: Likewise.
703 * math/libm-test.inc (clog_test): Add more tests.
704 (clog10_test): Likewise.
705 * sysdeps/i386/fpu/libm-test-ulps: Update.
706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
709 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
711 * math/libm-test.inc (atan2_test): Add another test.
713 * Makerules (common-objdir-compile): Remove.
714 * sysdeps/unix/Makefile (config-generated): Do not add
715 $(unix-generated) to variable.
716 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
717 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
719 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
721 [generic bits/local_lim.h] (before-compile): Do not append to
723 [generic bits/local_lim.h] (common-generated): Likewise.
724 [generic sys/param.h] (before-compile): Do not append to variable.
725 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
726 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
727 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
728 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
730 [generic sys/param.h] (sys/param.h-includes): Remove variable.
731 [generic sys/param.h] (sys/param.h-includes): Remove rule.
732 [generic sys/param.h] ($(addprefix
733 $(common-objpfx),$(sys/param.h-includes))): Likewise.
734 [generic sys/param.h] (common-generated): Do not append to
736 [generic sys/param.h] (sysdep_headers): Likewise.
737 [generic bits/errno.h] (before-compile): Do not append to
739 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
741 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
742 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
743 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
744 [generic bits/errno.h] (common-generated): Do not append to
746 [generic bits/ioctls.h] (before-compile): Do not append to
748 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
750 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
751 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
752 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
754 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
755 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
756 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
757 [generic bits/ioctls.h] (common-generated): Do not append to
759 [generic sys/syscall.h] (syscall.h): Remove variable.
760 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
762 [generic sys/syscall.h] (before-compile): Do not append to
764 [generic sys/syscall.h] (common-generated): Likewise.
765 * sysdeps/unix/errnos-tmpl.c: Remove file.
766 * sysdeps/unix/errnos.awk: Likewise.
767 * sysdeps/unix/ioctls-tmpl.c: Likewise.
768 * sysdeps/unix/ioctls.awk: Likewise.
769 * sysdeps/unix/mk-local_lim.c: Likewise.
770 * sysdeps/unix/snarf-ioctls: Likewise.
772 2012-03-19 Richard Henderson <rth@twiddle.net>
774 * sysdeps/i386/fpu/fenv_private.h: New file.
775 * sysdeps/i386/fpu/math_private.h: Use it.
776 (math_opt_barrier, math_force_eval): Remove.
777 (libc_feholdexcept_setround_53bit): Remove.
778 (libc_feupdateenv_53bit): Remove.
779 * sysdeps/x86_64/fpu/math_private.h: Likewise.
780 (math_opt_barrier, math_force_eval): Remove.
781 (libc_feholdexcept): Remove.
782 (libc_feholdexcept_setround): Remove.
783 (libc_fetestexcept, libc_fesetenv): Remove.
784 (libc_feupdateenv_test): Remove.
785 (libc_feupdateenv, libc_feholdsetround): Remove.
786 (libc_feresetround): Remove.
788 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
789 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
791 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
792 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
793 (libc_feupdateenv_testl): New.
794 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
795 (libc_feupdateenv_testf): New.
796 (libc_feupdateenv): Use libc_feupdateenv_test.
797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
800 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
801 (libc_feholdsetroundf, libc_feholdsetroundl): New.
802 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
803 (libc_feresetround_noex): New.
804 (libc_feresetround_noexf): New.
805 (libc_feresetround_noexl): New.
806 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
807 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
808 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
809 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
814 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
815 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
816 SET_RESTORE_ROUND_NOEX.
817 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
818 SET_RESTORE_ROUND_NOEXF.
819 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
820 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
821 (libc_feholdsetroundf): New.
822 (libc_feresetround, libc_feresetroundf): New.
824 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
825 (libc_feholdexcept_setround_53bit): Convert from macro to function.
826 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
828 * sysdeps/generic/math_private.h: Include <fenv.h>.
829 (default_libc_feholdexcept): New.
830 (default_libc_feholdexcept_setround): New.
831 (default_libc_fesetenv, default_libc_feupdateenv): New.
832 (libc_feholdexcept): Only define if undefined.
833 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
834 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
835 (libc_feholdexcept_setroundl): Likewise.
836 (libc_feholdexcept_setround_53bit): Likewise.
837 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
838 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
839 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
840 (libc_feupdateenv_53bit): Likewise.
841 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
842 (libc_feholdexcept): Convert from macro to inline function.
843 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
844 (libc_fesetenv, libc_feupdateenv): Likewise.
846 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
847 not previously defined.
848 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
849 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
850 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
851 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
852 * sysdeps/ieee754/flt-32/math_private.h: New file.
853 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
854 math_private.h below SET_FLOAT_WORD.
855 (__isnan, __isinf_ns, __finite): Remove.
856 (__isnanf, __isinf_nsf, __finitef): Remove.
858 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
862 2012-03-17 David S. Miller <davem@davemloft.net>
865 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
868 2012-03-16 David S. Miller <davem@davemloft.net>
870 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
876 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
877 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
878 sysdep_routines when subdir is sysvipc.
879 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
882 * sysdeps/sparc/fpu/libm-test/ulps: Update.
884 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
886 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
889 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
892 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
893 (__lround): Renamed to ...
894 (__llround): This. Replace long int with long long int.
895 Define lround functions as aliases of llround functions.
896 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
898 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
900 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
901 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
902 adresses to uintptr_t. Replace "long int" and "unsigned long
903 int" with "greg_t" on va_arg.
905 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
907 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
908 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
910 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
911 Move e_machine check before EI_CLASS check. Handle x32
912 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
913 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
914 SKIP_EM_IA_64 and include
915 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
917 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
918 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
919 (add_system_dir): New macro.
921 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
922 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
924 2012-03-16 Joseph Myers <joseph@codesourcery.com>
935 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
937 * math/w_j0f.c (j0f): Likewise.
939 * math/w_j0l.c (__j0l): Likewise.
941 * math/w_j1.c (j1): Likewise.
943 * math/w_j1f.c (j1f): Likewise.
945 * math/w_j1l.c (__j1l): Likewise.
947 * math/w_jn.c (jn): Likewise.
949 * math/w_jnf.c (jnf): Likewise.
951 * math/w_jnl.c (__jnl): Likewise.
953 * math/libm-test.inc (j0_test): Add more tests.
955 (jn_test): Likewise. Add trailing semicolon to existing test.
958 * sysdeps/i386/fpu/libm-test-ulps: Update.
959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
963 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
964 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
965 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
967 (__tanl): Set errno for infinite argument.
968 * sysdeps/i386/fpu/mptan.c: Remove.
969 * sysdeps/i386/fpu/s_tan.S: Likewise.
970 * sysdeps/i386/fpu/s_tanl.S: Likewise.
971 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
972 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
973 * math/libm-test.inc (tan_test): Add more tests and enable more
974 tests for double and long double.
975 * sysdeps/i386/fpu/libm-test-ulps: Update.
976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
978 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
980 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
981 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
983 2012-03-16 Roland McGrath <roland@hack.frob.com>
985 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
986 * configure.in: Use it for both main tree and add-ons.
987 * configure: Regenerated.
989 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
991 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
993 2012-03-16 Joseph Myers <joseph@codesourcery.com>
995 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
999 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1000 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1001 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1002 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1003 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1005 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1008 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1009 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1010 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1011 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1012 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1013 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1014 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1015 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1016 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1017 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1018 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1019 * math/libm-test.inc (cos_test): Add more tests and enable more
1020 tests for long double.
1021 (sin_test): Likewise.
1022 (sincos_test): Likewise.
1023 * sysdeps/i386/fpu/libm-test-ulps: Update.
1024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026 2012-03-16 David S. Miller <davem@davemloft.net>
1028 * sysdeps/sparc/fpu/math_private.h: New file.
1030 2012-03-15 David S. Miller <davem@davemloft.net>
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1046 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1047 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1049 * sysdeps/sparc/sparc-ifunc.h: New file.
1050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1095 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1097 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1101 2012-03-15 Andreas Jaeger <aj@suse.de>
1104 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1105 ieee754/flt-32 implementation for sin, cos and sincos.
1106 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1107 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1108 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1109 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1110 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1111 ieee754/flt-32 implementation for tan.
1113 * math/libm-test.inc (cos_test): Enable some large input tests for
1115 (sin_test): Likewise.
1116 (sincos_test): Likewise.
1117 (tan_test): Add tests for large input.
1119 * sysdeps/i386/fpu/libm-test-ulps: Update.
1121 2012-03-15 Andreas Jaeger <aj@suse.de>
1124 * math/libm-test.inc (cos_test): Add more test cases.
1125 (sin_test): Likewise.
1126 (sincos_test): Likewise.
1128 2012-03-15 Andreas Jaeger <aj@suse.de>
1131 * math/libm-test.inc (cos_test): Add a test case for large input
1133 (sin_test): Likewise.
1134 (sincos_test): Likewise.
1136 2012-03-15 Andreas Jaeger <aj@suse.de>,
1137 Joseph Myers <joseph@codesourcery.com>
1140 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1141 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1142 * sysdeps/i386/fpu/branred.c: Likewise.
1143 * sysdeps/i386/fpu/dosincos.c: Likewise.
1144 * sysdeps/i386/fpu/mpa.c: Likewise.
1145 * sysdeps/i386/fpu/s_cos.S: Likewise.
1146 * sysdeps/i386/fpu/s_sin.S: Likewise.
1147 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1148 * sysdeps/i386/fpu/sincos32.c: Likewise.
1150 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1152 (libc_feupdateenv_53bit): Define.
1153 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1155 (libc_feupdateenv_53bit): Define.
1157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1158 53 bit (without extend i386 double precision).
1160 * math/libm-test.inc (sincos_test): Add tests for large input.
1164 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1166 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1170 2012-03-15 David S. Miller <davem@davemloft.net>
1172 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1173 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1174 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1175 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1200 fmin/fmax sysdep routines.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1203 2012-03-14 David S. Miller <davem@davemloft.net>
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1282 * sysdeps/sparc/configure.in: New file.
1283 * sysdeps/sparc/configure: Generate.
1284 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1285 * configure: Regenerate.
1286 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1287 * config.make.in (have-as-vis3): New.
1288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1289 available use -Av9d instead of -Av9a.
1290 * sysdeps/sparc/sparc64/Makefile: Likewise.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1306 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1307 fzeros/fnegs to load 0x80000000 into a float register instead of
1309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1311 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1315 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1316 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1317 ($(inst_includedir)/bits/syscall.h): Remove rule.
1318 ($(objpfx)bits/syscall.d): Include instead of
1319 $(objpfx)syscall-list.d.
1320 (generated): Change syscall-list.h and syscall-list.d to
1321 bits/syscall.h and bits/syscall.d.
1323 2012-03-14 Roland McGrath <roland@hack.frob.com>
1326 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1328 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1331 * math/s_csqrt.c: Include <float.h>.
1332 (__csqrt): Scale large or subnormal inputs.
1333 * math/s_csqrtf.c: Likewise.
1334 * math/s_csqrtl.c: Likewise.
1335 * math/libm-test.inc (csqrt_test): Add more tests.
1336 * sysdeps/i386/fpu/libm-test-ulps: Update.
1337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1340 * math/libm-test.inc (hypot_test): Add more tests.
1342 2012-03-13 David S. Miller <davem@davemloft.net>
1345 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1346 double-precision for the calculation instead of scaling.
1348 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1351 manipulate bits before adding and subtracting TWO52[sx].
1352 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1355 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1357 2012-03-13 David S. Miller <davem@davemloft.net>
1359 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1360 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1362 rtld-global-offsets.h
1363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1365 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1368 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1370 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1371 'err' in the ifdef scope in which it is actually used.
1373 * nss/nss_db/db-init.c: Include string.h
1375 2012-03-12 David S. Miller <davem@davemloft.net>
1377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1378 masking out of the most significant byte of random value used.
1379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1380 Fix coding style in previous change.
1382 * sysdeps/unix/sysv/linux/kernel-features.h
1383 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1384 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1386 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1389 2012-03-11 David S. Miller <davem@davemloft.net>
1391 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1392 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1394 for 'resultvar' otherwise things get truncated on 64-bit.
1396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1397 Fix masking out of the most significant byte of random value used.
1399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1401 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1405 2012-03-09 David S. Miller <davem@davemloft.net>
1407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1408 variables with appropriate CPP guards.
1409 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1410 frame pointer, not the stack pointer. Correct layout comments. Fix test
1411 on resulting framesize and the management of the outregs buffer for pltexit.
1412 Preserve floating point return values across _dl_call_pltexit call.
1413 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1414 framesize and the management of the outregs buffer for pltexit.
1415 Preserve floating point return values across _dl_call_pltexit
1417 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1418 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1419 (print_exit): Fix format string for return register value.
1421 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1423 * sunrpc/Makefile (others): Add rpcgen.
1424 ($(objpfx)rpcgen): Remove special build rule and dependency on
1426 * sunrpc/rpcgen.c: New file.
1428 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1431 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1432 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1433 * sysdeps/i386/crti.S: Likewise.
1434 * sysdeps/i386/crtn.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1436 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1437 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1439 * sysdeps/sh/crti.S: Likewise.
1440 * sysdeps/sh/crtn.S: Likewise.
1441 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1444 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1446 * locale/programs/locfile-kw.gperf: Likewise.
1447 * locale/programs/charmap-kw.h: Regenerated.
1448 * locale/programs/locfile-kw.h: Likewise.
1451 * intl/plural.y: Replace FSF snail mail address with URL.
1452 * intl/plural.c: Regenerated.
1454 2012-03-09 Richard Henderson <rth@twiddle.net>
1456 * include/math_private.h: Remove file.
1457 * math/math_private.h: Move file ...
1458 * sysdeps/generic/math_private.h: ... here.
1460 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1461 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1462 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1464 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1465 and <math_private.h>.
1466 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1467 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1468 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1469 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1470 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1554 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1556 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1558 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1571 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1572 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1574 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1575 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1576 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1577 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1580 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1581 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1582 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1585 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1586 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1588 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1589 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1590 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1592 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1603 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1608 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1615 * sysdeps/ieee754/k_standard.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1765 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1766 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1776 * sysdeps/ieee754/s_lib_version.c: Likewise.
1777 * sysdeps/ieee754/s_matherr.c: Likewise.
1778 * sysdeps/ieee754/s_signgam.c: Likewise.
1779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1781 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1782 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1783 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1784 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1785 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1786 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1787 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1788 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1789 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1790 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1791 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1793 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1794 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1795 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1801 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1803 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1804 * sunrpc/rpc_main.c: Likewise.
1805 * sunrpc/rpc_svcout.c: Likewise.
1807 2012-03-09 David S. Miller <davem@davemloft.net>
1809 * include/math_private.h: New file.
1811 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1813 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1814 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1815 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1816 from <bits/socket_type.h>.
1817 (enum __socket_type): Don't define here.
1818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1823 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1826 * Makerules ($(inst_includedir)/%.h): New rule.
1827 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1828 (install-others): Remove variable setting.
1829 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1831 2012-03-08 Richard Henderson <rth@twiddle.net>
1833 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1834 from macro to inline function; merge with the
1835 !__LIBC_INTERNAL_MATH_INLINES version.
1836 (__ieee754_sqrtf): Likewise.
1838 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1840 (__rintf, __floor, __floorf): Likewise.
1842 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1843 macro to inline function.
1844 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1847 not <math/math_private.h>.
1849 2012-03-08 David S. Miller <davem@davemloft.net>
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1853 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1855 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1857 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1859 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1860 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1862 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1864 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1865 be defined individually, they must be defined as a block. Define
1866 S for printing a string instead of hidint the different by using a
1867 macro for adding the 'l'.
1868 * stdio-common/tst-fphex-wide.c: Adjust.
1870 2012-03-07 Marek Polacek <polacek@redhat.com>
1872 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1874 2012-03-08 Marek Polacek <polacek@redhat.com>
1877 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1878 * stdio-common/tst-fphex.c: Define a few macros to make the
1879 test reusable. Use them.
1880 * stdio-common/tst-fphex-wide.c: New file.
1882 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1885 * manual/macros.texi (gnusystems): New macro.
1886 (nongnusystems): Likewise.
1887 (gnulinuxhurdsystems): Likewise.
1888 (gnuhurdsystems): Likewise..
1889 (gnulinuxsystems): Likewise.
1890 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1891 variants of the GNU system, not "GNU system".
1892 * manual/conf.texi: Likewise.
1893 * manual/errno.texi: Likewise. Update example of errno macro
1895 * manual/filesys.texi: Likewise.
1896 (getumask): Document as specific to GNU/Hurd.
1897 * manual/install.texi: Likewise. Reword some references to
1899 * manual/intro.texi: Likewise.
1900 * manual/io.texi: Likewise.
1901 (File Name Portability): Detail which constraints are inapplicable
1902 to all GNU systems and which are only inapplicable to GNU/Hurd.
1903 * manual/job.texi: Likewise.
1904 * manual/llio.texi: Likewise.
1905 (O_NOCTTY): Document as present on GNU/Linux.
1906 * manual/maint.texi: Likewise.
1907 * manual/memory.texi: Likewise.
1908 * manual/pattern.texi: Likewise.
1909 * manual/pipe.texi: Likewise.
1910 * manual/process.texi: Likewise.
1911 * manual/resource.texi: Likewise.
1912 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1914 * manual/setjmp.texi: Likewise.
1915 * manual/signal.texi: Likewise.
1916 * manual/startup.texi: Likewise.
1917 * manual/stdio.texi: Likewise.
1918 * manual/terminal.texi: Likewise.
1919 (ONLCR): Document as POSIX.
1920 (OXTABS): Document availability on GNU/Linux as XTABS.
1921 (ONOEOT): Document availability separately from other bits.
1922 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1923 * manual/time.texi: Likewise.
1924 * manual/users.texi: Likewise.
1925 * INSTALL: Regenerated.
1926 * sysdeps/gnu/errlist.c: Regenerated.
1928 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1929 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1930 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1932 * configure: Regenerated.
1934 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1936 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1937 default includes instead of AC_HEADER_CHECK.
1938 * sysdeps/i386/configure: Regenerated.
1941 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1942 * math/s_cacoshf.c (__cacoshf): Likewise.
1943 * math/s_cacoshl.c (__cacoshl): Likewise.
1944 * math/s_casinh.c (__casinh): Set signs of result from argument.
1945 * math/s_casinhf.c (__casinhf): Likewise.
1946 * math/s_casinhl.c (__casinhl): Likewise.
1947 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1948 (casinh_test): Add more tests.
1949 * sysdeps/i386/fpu/libm-test-ulps: Update.
1950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1952 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1954 * po/zh_TW.po: Update from translation team.
1956 * login/Makefile (distribute): Remove variable.
1957 * catgets/Makefile: Likewise.
1958 * mach/Makefile: Likewise.
1959 * malloc/Makefile: Likewise.
1960 * misc/Makefile: Likewise.
1961 * iconv/Makefile: Likewise.
1962 * nscd/Makefile: Likewise.
1963 * hurd/Makefile: Likewise.
1964 * manual/Makefile: Likewise.
1965 * locale/Makefile: Likewise.
1966 * intl/Makefile: Likewise.
1967 * conform/Makefile: Likewise.
1968 * nss/Makefile: Likewise.
1969 * time/Makefile: Likewise.
1970 * soft-fp/Makefile: Likewise.
1971 * dirent/Makefile: Likewise.
1972 * gmon/Makefile: Likewise.
1973 * po/Makefile: Likewise.
1974 * rt/Makefile: Likewise.
1975 * socket/Makefile: Likewise.
1976 * math/Makefile: Likewise.
1977 * signal/Makefile: Likewise.
1978 * debug/Makefile: Likewise.
1979 * elf/Makefile: Likewise.
1980 * timezone/Makefile: Likewise.
1981 * stdlib/Makefile: Likewise.
1982 * iconvdata/Makefile: Likewise.
1983 * sunrpc/Makefile: Likewise.
1984 * io/Makefile: Likewise.
1985 * argp/Makefile: Likewise.
1986 * inet/Makefile: Likewise.
1987 * hesiod/Makefile: Likewise.
1988 * grp/Makefile: Likewise.
1989 * csu/Makefile: Likewise.
1990 * wctype/Makefile: Likewise.
1991 * crypt/Makefile: Likewise.
1992 * libio/Makefile: Likewise.
1993 * string/Makefile: Likewise.
1994 * nis/Makefile: Likewise.
1995 * resolv/Makefile: Likewise.
1996 * stdio-common/Makefile: Likewise.
1997 * wcsmbs/Makefile: Likewise.
1998 * dlfcn/Makefile: Likewise.
1999 * posix/Makefile: Likewise.
2001 * timezone/Makefile: Don't install timezone files, just the programs
2004 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2006 * nss/databases.def: Add missing gshadow entry.
2008 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2010 2012-03-06 Marek Polacek <polacek@redhat.com>
2013 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2014 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2015 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2016 * stdio-common/tst-long-dbl-fphex.c: New file.
2018 2012-03-06 David S. Miller <davem@davemloft.net>
2020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2021 (set_obp_int): New function.
2022 (get_obp_int): New function.
2023 (__get_clockfreq_via_dev_openprom): Likewise.
2024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2025 Avoid unused variable warnings on 'val' and use builtin_expect.
2026 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2028 (INLINE_CLONE_SYSCALL): Likewise.
2030 2012-03-05 David S. Miller <davem@davemloft.net>
2032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2034 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2042 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2045 Replace gettimeofday with __vdso_gettimeofday.
2047 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2048 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2049 __vdso_clock_gettime and __vdso_getcpu.
2051 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2052 time with __vdso_time.
2054 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2056 * manual/lang.texi (size_t): Note types to which size_t may be
2057 equivalent with the GNU C Library, but do not describe when
2058 differences between them are significant.
2060 2012-03-05 Andreas Jaeger <aj@suse.de>
2062 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2068 (__ieee754_pow): Save and restore rounding mode and use
2069 round-to-nearest for main computations.
2070 * math/libm-test.inc (pow_test_tonearest): New function.
2071 (pow_test_towardzero): Likewise.
2072 (pow_test_downward): Likewise.
2073 (pow_test_upward): Likewise.
2074 (main): Call the new functions.
2075 * sysdeps/i386/fpu/libm-test-ulps: Update.
2076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2079 * math/libm-test.inc (cosh_test_tonearest): New function.
2080 (cosh_test_towardzero): Likewise.
2081 (cosh_test_downward): Likewise.
2082 (cosh_test_upward): Likewise.
2083 (sinh_test_tonearest): Likewise.
2084 (sinh_test_towardzero): Likewise.
2085 (sinh_test_downward): Likewise.
2086 (sinh_test_upward): Likewise.
2087 (main): Call the new functions.
2088 * sysdeps/i386/fpu/libm-test-ulps: Update.
2089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2091 2012-03-05 Tom de Vries <tom@codesourcery.com>
2093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2094 default stack guard is set in last bytes.
2095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2097 2012-03-05 Kees Cook <keescook@chromium.org>
2099 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2102 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2103 possibly allocate from heap instead of stack.
2104 * stdio-common/bug-vfprintf-nargs.c: New file.
2105 * stdio-common/Makefile (tests): Add nargs overflow test.
2107 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2111 2012-03-03 Marek Polacek <polacek@redhat.com>
2113 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2114 * math/math_private.h: Likewise.
2115 * stdlib/tst-strtod.c: Likewise.
2116 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2117 * sysdeps/x86_64/bits/atomic.h: Likewise.
2119 2012-03-02 David S. Miller <davem@davemloft.net>
2121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2125 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2126 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2127 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2128 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2130 2012-03-02 Roland McGrath <roland@hack.frob.com>
2133 * manual/examples/README: New file, says the example source files
2134 can be used under GPL>=2.
2135 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2136 line containing just "*/".
2137 * manual/examples/add.c: Add copyright header (GPL>=2).
2138 * manual/examples/argp-ex1.c: Likewise.
2139 * manual/examples/argp-ex2.c: Likewise.
2140 * manual/examples/argp-ex3.c: Likewise.
2141 * manual/examples/argp-ex4.c: Likewise.
2142 * manual/examples/atexit.c: Likewise.
2143 * manual/examples/db.c: Likewise.
2144 * manual/examples/dir.c: Likewise.
2145 * manual/examples/dir2.c: Likewise.
2146 * manual/examples/execinfo.c: Likewise.
2147 * manual/examples/filecli.c: Likewise.
2148 * manual/examples/filesrv.c: Likewise.
2149 * manual/examples/fmtmsgexpl.c: Likewise.
2150 * manual/examples/genpass.c: Likewise.
2151 * manual/examples/inetcli.c: Likewise.
2152 * manual/examples/inetsrv.c: Likewise.
2153 * manual/examples/isockad.c: Likewise.
2154 * manual/examples/longopt.c: Likewise.
2155 * manual/examples/memopen.c: Likewise.
2156 * manual/examples/memstrm.c: Likewise.
2157 * manual/examples/mkfsock.c: Likewise.
2158 * manual/examples/mkisock.c: Likewise.
2159 * manual/examples/mygetpass.c: Likewise.
2160 * manual/examples/pipe.c: Likewise.
2161 * manual/examples/popen.c: Likewise.
2162 * manual/examples/rprintf.c: Likewise.
2163 * manual/examples/search.c: Likewise.
2164 * manual/examples/select.c: Likewise.
2165 * manual/examples/setjmp.c: Likewise.
2166 * manual/examples/sigh1.c: Likewise.
2167 * manual/examples/sigusr.c: Likewise.
2168 * manual/examples/stpcpy.c: Likewise.
2169 * manual/examples/strdupa.c: Likewise.
2170 * manual/examples/strftim.c: Likewise.
2171 * manual/examples/strncat.c: Likewise.
2172 * manual/examples/subopt.c: Likewise.
2173 * manual/examples/swapcontext.c: Likewise.
2174 * manual/examples/termios.c: Likewise.
2175 * manual/examples/testopt.c: Likewise.
2176 * manual/examples/testpass.c: Likewise.
2177 * manual/examples/timeval_subtract.c: Likewise.
2180 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2182 * manual/timeval_subtract.c.texi: ... here, new file.
2184 2012-03-02 David S. Miller <davem@davemloft.net>
2186 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2188 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2191 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2192 (__sin): Save and restore rounding mode and use round-to-nearest
2193 for all computations.
2194 (__cos): Save and restore rounding mode and use round-to-nearest
2195 for all computations.
2196 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2198 (tan): Save and restore rounding mode and use round-to-nearest for
2200 * math/libm-test.inc (cos_test_tonearest): New function.
2201 (cos_test_towardzero): Likewise.
2202 (cos_test_downward): Likewise.
2203 (cos_test_upward): Likewise.
2204 (sin_test_tonearest): Likewise.
2205 (sin_test_towardzero): Likewise.
2206 (sin_test_downward): Likewise.
2207 (sin_test_upward): Likewise.
2208 (tan_test_tonearest): Likewise.
2209 (tan_test_towardzero): Likewise.
2210 (tan_test_downward): Likewise.
2211 (tan_test_upward): Likewise.
2212 (main): Call the new functions.
2213 * sysdeps/i386/fpu/libm-test-ulps: Update.
2214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2218 small n, then large n, before computing and testing k+n.
2219 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2224 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2225 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2232 * math/libm-test.inc (scalbn_test): Add more tests.
2233 (scalbln_test): Likewise.
2235 * manual/filesys.texi (mode_t): Describe constraints on size and
2236 signedness, not exact equivalence to a particular type.
2238 (ino64_t): Likewise.
2240 (nlink_t): Likewise.
2241 (blkcnt_t): Likewise.
2242 (blkcnt64_t): Likewise.
2243 * manual/llio.texi (off_t): Likewise.
2246 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2247 (__ieee754_exp): Save and restore rounding mode and use
2248 round-to-nearest for all computations.
2249 * math/libm-test.inc (exp_test_tonearest): New function.
2250 (exp_test_towardzero): Likewise.
2251 (exp_test_downward): Likewise.
2252 (exp_test_upward): Likewise.
2253 (main): Call the new functions.
2254 * sysdeps/i386/fpu/libm-test-ulps: Update.
2255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2257 2012-03-01 Chris Demetriou <cgd@google.com>
2259 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2260 have predictable order.
2262 2012-03-01 David S. Miller <davem@davemloft.net>
2264 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2266 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2267 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2268 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2269 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2271 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2272 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2273 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2275 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2276 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2277 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2278 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2279 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2284 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2287 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2289 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2290 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2291 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2294 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2296 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2297 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2301 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2303 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2304 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2305 * sysdeps/sparc/elf/configure: Regenerated.
2307 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2309 * configure.in (AS, LD): Require binutils 2.20 or later.
2310 * configure: Regenerated.
2311 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2312 as required minimum version.
2313 * INSTALL: Regenerated.
2317 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2318 before squaring exponent.
2319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2320 bottom long double and 27 bits of top long double before squaring
2322 * math/libm-test.inc (erfc_test): Add more tests.
2323 * sysdeps/i386/fpu/libm-test-ulps: Update.
2324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2327 2012-03-01 Kai Tietz <ktietz@redhat.com>
2329 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2330 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2331 containing bit-fields.
2332 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2333 * soft-fp/single.h (_FP_UNION_S): Likewise.
2334 * soft-fp/double.h (_FP_UNION_D): Likewise.
2336 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2339 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2340 not include ../strcmp.S.
2341 [USE_AS_STRNCASECMP_L]: Likewise.
2342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2343 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2344 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2345 (__strncasecmp_l_ia32): Define as alias to
2346 __strncasecmp_l_nonascii.
2349 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2350 * sysdeps/i386/fpu/libm-test-ulps: Update.
2351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2353 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2356 2012-02-29 Jeff Law <law@redhat.com>
2358 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2361 2012-02-29 Marek Polacek <polacek@redhat.com>
2364 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2365 * elf/Makefile: Add rules to run tst-unused-dep.out.
2367 2012-02-28 David S. Miller <davem@davemloft.net>
2369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2376 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2378 * math/libm-test.inc (llround_test): Move one test from
2379 lround_test. Use TEST_f_L in moved test.
2380 (lround_test): Move misplaced test to llround_test. Add testcase
2383 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2385 * sysdeps/x86_64/fpu/e_expf.S: New file.
2386 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2388 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2391 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2392 of remain_len that may cause incomplete multi-byte character and
2394 * posix/bug-regex33.c: New file.
2395 * posix/Makefile (tests): Add bug-regex33.
2397 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2399 * manual/macros.texi: New file.
2400 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2401 * manual/libc.texinfo: Include macros.texi.
2402 * manual/creatute.texi: Likewise.
2403 * manual/install.texi: Likewise.
2404 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2405 @glibcadj{} in references to the GNU C Library.
2406 * manual/charset.texi: Likewise.
2407 * manual/conf.texi: Likewise.
2408 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2409 when not using those macros.
2410 * manual/creature.texi: Likewise.
2411 * manual/crypt.texi: Likewise.
2412 * manual/errno.texi: Likewise.
2413 * manual/filesys.texi: Likewise.
2414 * manual/header.texi: Likewise.
2415 * manual/install.texi: Likewise.
2416 * manual/intro.texi: Likewise.
2417 * manual/io.texi: Likewise.
2418 * manual/job.texi: Likewise.
2419 * manual/lang.texi: Likewise.
2420 * manual/libc.texiinfo: Likewise.
2421 * manual/llio.texi: Likewise.
2422 * manual/locale.texi: Likewise.
2423 * manual/maint.texi: Likewise.
2424 * manual/math.texi: Likewise.
2425 * manual/memory.texi: Likewise.
2426 * manual/message.texi: Likewise.
2427 * manual/nss.texi: Likewise.
2428 * manual/pattern.texi: Likewise.
2429 * manual/process.texi: Likewise.
2430 * manual/resource.texi: Likewise.
2431 * manual/search.texi: Likewise.
2432 * manual/setjmp.texi: Likewise.
2433 * manual/signal.texi: Likewise.
2434 * manual/socket.texi: Likewise.
2435 * manual/startup.texi: Likewise.
2436 * manual/stdio.texi: Likewise.
2437 * manual/string.texi: Likewise.
2438 * manual/sysinfo.texi: Likewise.
2439 * manual/syslog.texi: Likewise.
2440 * manual/terminal.texi: Likewise.
2441 * manual/time.texi: Likewise.
2442 * manual/users.texi: Likewise.
2443 * INSTALL: Regenerated.
2444 * NOTES: Regenerated.
2445 * sysdeps/gnu/errlist.c: Regenerated.
2447 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2449 * include/dirent.h: Include <dirstream.h> before
2452 2012-02-28 David S. Miller <davem@davemloft.net>
2454 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2455 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2456 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2459 2012-02-27 David S. Miller <davem@davemloft.net>
2461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2463 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2464 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2467 frame pointer instead of stack pointer relative arg slot.
2468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2472 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2475 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2477 2012-02-27 David S. Miller <davem@davemloft.net>
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2485 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2486 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2488 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2490 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2491 later. Allow versions 5-9.
2492 * configure: Regenerated.
2493 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2494 required minimum version and 4.6 as recommended version. Do not
2495 mention bugs in GCC 2.7 and 2.8.
2496 * INSTALL: Regenerated.
2498 2012-02-27 David S. Miller <davem@davemloft.net>
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2506 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2510 manipulate bits before adding and subtracting TWO112[sx].
2511 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2513 2012-02-27 Roland McGrath <roland@hack.frob.com>
2516 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2517 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2518 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2519 being in POSIX, because they are in 1003.1-2008.
2521 * rt/tst-aio.c: Include <fcntl.h>.
2522 * rt/tst-aio7.c: Likewise.
2523 * rt/tst-aio64.c: Likewise.
2525 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2527 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2529 * manual/install.texi (--with-headers): Describe headers as
2530 interface headers, not private headers.
2531 (Specific advice for GNU/Linux systems): Describe use of headers
2532 from "make headers_install", not private headers from older
2534 * INSTALL: Regenerated.
2535 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2537 * sysdeps/unix/sysv/linux/configure: Regenerated.
2539 * manual/llio.texi (fclean): Remove documentation.
2541 * manual/Makefile (libc-texi-generated): New variable. Include
2543 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2544 $(libc-texi-generated), not duplicated list of files.
2545 (version.texi, stamp-version): New rules.
2546 (realclean): Remove $(libc-texi-generated), not individual files
2547 from that list. Do not remove dir-add.texinfo.
2548 * manual/libc.texinfo: Comment out uses of edition numbers and
2549 references to printed manual. Remove last-updated dates.
2550 (EDITION): Comment out.
2552 (VERSION, UPDATED): Remove.
2553 (version.texi): Include.
2555 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2557 * sysdeps/posix/spawni.c: Include <signal.h>.
2558 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2559 * sysdeps/pthread/aio_fsync.c: Likewise.
2561 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2563 * conform/Makefile (tests): Run only when not cross-compiling and
2564 when fast-check is not defined.
2566 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2567 * conform/data/limits.h-data: Fixes for POSIX2008.
2568 * conform/run-conformtest.sh: Run all tests.
2569 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2571 * include/bits/dlfcn.h: Likewise.
2572 * include/langinfo.h: Likewise.
2573 * include/monetary.h: Likewise.
2574 * include/sys/poll.h: Likewise.
2576 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2578 * posix/spawn.h: Define __need_sigset_t.
2579 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2580 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2581 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2582 to get sigevent_t only.
2583 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2587 process_vm_writev only for __USE_GNU.
2588 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2590 * conform/Makefile: For now ignore errors from run-conformtest.
2591 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2592 POSIX to avoid namespace pollution. Don't prepend headers.
2593 * conform/data/aio.h-data: Fixes for POSIX testing.
2594 * conform/data/fcntl.h-data: Likewise.
2595 * conform/data/glob.h-data: Likewise.
2596 * conform/data/grp.h-data: Likewise.
2597 * conform/data/pthread.h-data: Likewise.
2598 * conform/data/pwd.h-data: Likewise.
2599 * conform/data/signal.h-data: Likewise.
2600 * conform/data/spawn.h-data: Likewise.
2601 * conform/data/stdio.h-data: Likewise.
2602 * conform/data/stdlib.h-data: Likewise.
2603 * conform/data/stropts.h-data: Likewise.
2604 * conform/data/sys/mman.h-data: Likewise.
2605 * conform/data/sys/stat.h-data: Likewise.
2606 * conform/data/sys/types.h-data: Likewise.
2607 * conform/data/sys/wait.h-data: Likewise.
2608 * conform/data/time.h-data: Likewise.
2609 * conform/data/unistd.h-data: Likewise.
2610 * conform/data/utime.h-data: Likewise.
2612 * io/sys/stat.h: fchmod was always in POSIX.
2613 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2614 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2615 * rt/aio.h: Define __need_timespec before including <time.h>.
2616 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2617 struct. Add forward declaration of pthread_attr_t and use it in
2619 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2621 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2622 always remove CLK_TCK definition.
2624 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2626 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2628 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2630 * conform/run-conformtest.sh: New file.
2631 * conform/Makefile: Run run-conformtest for tests.
2632 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2635 * conform/data/uchar.h-data: New file.
2636 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2637 * conform/data/arpa/inet.h-data: Likewise.
2638 * conform/data/assert.h-data: Likewise.
2639 * conform/data/complex.h-data: Likewise.
2640 * conform/data/cpio.h-data: Likewise.
2641 * conform/data/ctype.h-data: Likewise.
2642 * conform/data/dirent.h-data: Likewise.
2643 * conform/data/dlfcn.h-data: Likewise.
2644 * conform/data/errno.h-data: Likewise.
2645 * conform/data/fcntl.h-data: Likewise.
2646 * conform/data/float.h-data: Likewise.
2647 * conform/data/fmtmsg.h-data: Likewise.
2648 * conform/data/fnmatch.h-data: Likewise.
2649 * conform/data/ftw.h-data: Likewise.
2650 * conform/data/glob.h-data: Likewise.
2651 * conform/data/grp.h-data: Likewise.
2652 * conform/data/iconv.h-data: Likewise.
2653 * conform/data/inttypes.h-data: Likewise.
2654 * conform/data/langinfo.h-data: Likewise.
2655 * conform/data/libgen.h-data: Likewise.
2656 * conform/data/limits.h-data: Likewise.
2657 * conform/data/locale.h-data: Likewise.
2658 * conform/data/math.h-data: Likewise.
2659 * conform/data/monetary.h-data: Likewise.
2660 * conform/data/mqueue.h-data: Likewise.
2661 * conform/data/ndbm.h-data: Likewise.
2662 * conform/data/net/if.h-data: Likewise.
2663 * conform/data/netdb.h-data: Likewise.
2664 * conform/data/netinet/in.h-data: Likewise.
2665 * conform/data/nl_types.h-data: Likewise.
2666 * conform/data/poll.h-data: Likewise.
2667 * conform/data/pthread.h-data: Likewise.
2668 * conform/data/pwd.h-data: Likewise.
2669 * conform/data/regex.h-data: Likewise.
2670 * conform/data/sched.h-data: Likewise.
2671 * conform/data/search.h-data: Likewise.
2672 * conform/data/semaphore.h-data: Likewise.
2673 * conform/data/setjmp.h-data: Likewise.
2674 * conform/data/signal.h-data: Likewise.
2675 * conform/data/spawn.h-data: Likewise.
2676 * conform/data/stdarg.h-data: Likewise.
2677 * conform/data/stdio.h-data: Likewise.
2678 * conform/data/stdlib.h-data: Likewise.
2679 * conform/data/string.h-data: Likewise.
2680 * conform/data/strings.h-data: Likewise.
2681 * conform/data/stropts.h-data: Likewise.
2682 * conform/data/sys/ipc.h-data: Likewise.
2683 * conform/data/sys/mman.h-data: Likewise.
2684 * conform/data/sys/msg.h-data: Likewise.
2685 * conform/data/sys/resource.h-data: Likewise.
2686 * conform/data/sys/select.h-data: Likewise.
2687 * conform/data/sys/sem.h-data: Likewise.
2688 * conform/data/sys/shm.h-data: Likewise.
2689 * conform/data/sys/socket.h-data: Likewise.
2690 * conform/data/sys/stat.h-data: Likewise.
2691 * conform/data/sys/statvfs.h-data: Likewise.
2692 * conform/data/sys/time.h-data: Likewise.
2693 * conform/data/sys/timeb.h-data: Likewise.
2694 * conform/data/sys/times.h-data: Likewise.
2695 * conform/data/sys/types.h-data: Likewise.
2696 * conform/data/sys/uio.h-data: Likewise.
2697 * conform/data/sys/un.h-data: Likewise.
2698 * conform/data/sys/utsname.h-data: Likewise.
2699 * conform/data/sys/wait.h-data: Likewise.
2700 * conform/data/syslog.h-data: Likewise.
2701 * conform/data/tar.h-data: Likewise.
2702 * conform/data/termios.h-data: Likewise.
2703 * conform/data/utime.h-data: Likewise.
2704 * conform/data/utmpx.h-data: Likewise.
2705 * conform/data/varargs.h-data: Likewise.
2706 * conform/data/wchar.h-data: Likewise.
2707 * conform/data/wctype.h-data: Likewise.
2708 * conform/data/wordexp.h-data: Likewise.
2710 * include/stropts.h: New file.
2711 * include/uchar.h: New file.
2712 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2713 * include/assert.h: Likewise.
2714 * include/ctype.h: Likewise.
2715 * include/dirent.h: Likewise.
2716 * include/dlfcn.h: Likewise.
2717 * include/fcntl.h: Likewise.
2718 * include/fnmatch.h: Likewise.
2719 * include/glob.h: Likewise.
2720 * include/grp.h: Likewise.
2721 * include/libio.h: Likewise.
2722 * include/locale.h: Likewise.
2723 * include/math.h: Likewise.
2724 * include/net/if.h: Likewise.
2725 * include/netdb.h: Likewise.
2726 * include/netinet/in.h: Likewise.
2727 * include/pthread.h: Likewise.
2728 * include/pwd.h: Likewise.
2729 * include/regex.h: Likewise.
2730 * include/sched.h: Likewise.
2731 * include/search.h: Likewise.
2732 * include/setjmp.h: Likewise.
2733 * include/signal.h: Likewise.
2734 * include/stdio.h: Likewise.
2735 * include/stdlib.h: Likewise.
2736 * include/string.h: Likewise.
2737 * include/sys/cdefs.h: Likewise.
2738 * include/sys/mman.h: Likewise.
2739 * include/sys/msg.h: Likewise.
2740 * include/sys/resource.h: Likewise.
2741 * include/sys/select.h: Likewise.
2742 * include/sys/socket.h: Likewise.
2743 * include/sys/stat.h: Likewise.
2744 * include/sys/statvfs.h: Likewise.
2745 * include/sys/time.h: Likewise.
2746 * include/sys/times.h: Likewise.
2747 * include/sys/uio.h: Likewise.
2748 * include/sys/utsname.h: Likewise.
2749 * include/sys/wait.h: Likewise.
2750 * include/termios.h: Likewise.
2751 * include/time.h: Likewise.
2752 * include/ulimit.h: Likewise.
2753 * include/unistd.h: Likewise.
2754 * include/utime.h: Likewise.
2755 * include/wchar.h: Likewise.
2756 * include/wctype.h: Likewise.
2757 * include/wordexp.h: Likewise.
2759 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2761 * time/time.h: TIME_UTC must be a macro.
2762 Make timespec_get available for ISO C11 only as well.
2764 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2766 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2767 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2769 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2771 * configure.in: Use -o not -a in test for unsupported multi-arch.
2773 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2775 * manual/texinfo.tex: Update to version 2012-01-19.16.
2777 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2779 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2781 2012-02-24 Roland McGrath <roland@hack.frob.com>
2784 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2785 * manual/fdl-1.3.texi: New file.
2786 * manual/fdl-1.1.texi: File removed.
2789 * manual/libc.texinfo (FDL_VERSION): New @set.
2790 Use it for mention of FDL in cover text.
2791 (Documentation License): Use it in @include file name.
2793 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2794 Roland McGrath <roland@hack.frob.com>
2797 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2798 not LONG_LONG_MAX and LONG_LONG_MIN.
2799 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2800 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2802 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2804 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2808 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2809 manipulate bits before adding and subtracting TWO23[sx].
2810 * math/libm-test.inc (nearbyint_test): Add more tests.
2812 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2816 bits before adding and subtracting TWO23[sx].
2817 * math/libm-test.inc (rint_test): Add more tests.
2818 (rint_test_tonearest): Likewise.
2819 (rint_test_towardzero): Likewise.
2820 (rint_test_downward): Likewise.
2821 (rint_test_upward: Likewise.
2823 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2826 * include/stdc-predef.h: New file. Extracted from features.h.
2827 * include/features.h: Include stdc-predef.h.
2828 * Makefile (headers): Add stdc-predef.h.
2829 * CONFORMANCE (Compiler limitations): Update.
2831 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2833 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2835 2012-02-21 David S. Miller <davem@davemloft.net>
2837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2840 2012-02-20 David S. Miller <davem@davemloft.net>
2842 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2843 using a normal save/restore sequence, rather than allocating a
2844 dummy stack frame just to store a frame pointer and restore.
2845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2847 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2849 * manual/install.texi: Fix stray word in line-wrapped comment.
2851 2012-02-20 David S. Miller <davem@davemloft.net>
2853 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2854 both binutils and gcc support GOTDATA.
2856 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2857 "rd %pc" in the PIC register setup sequences.
2859 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2860 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2863 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2868 (SYSCALL_ERROR_HANDLER): Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2872 (SYSCALL_ERROR_HANDLER): Likewise.
2874 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2875 (HAVE_GCC_GOTDATA): New.
2876 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2877 relocation support in both binutils and gcc.
2878 * sysdeps/sparc/elf/configure: Regenerate.
2880 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2881 * sysdeps/sparc/sparc32/elf/configure: Delete.
2882 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2883 * sysdeps/sparc/sparc64/elf/configure: Delete.
2884 * sysdeps/sparc/elf/configure.in: New file.
2885 * sysdeps/sparc/elf/configure: Generate.
2887 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2888 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2890 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2891 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2893 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2895 * manual/install.texi: Do not mention specific glibc version
2897 * manual/libc.texinfo (VERSION, UPDATED): Update.
2898 (@copying): Use @copyright{} and range of years.
2900 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2903 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2904 [crti.S not in sysdirs] (generated): Do not append.
2905 [crti.S not in sysdirs] (omit-deps): Likewise.
2906 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2907 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2908 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2909 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2910 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2912 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2913 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2914 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2915 * csu/defs.awk: Remove file.
2916 * sysdeps/generic/initfini.c: Likewise.
2917 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2919 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2922 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2924 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2925 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2929 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2931 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2932 (__EPOLL_PACKED): Define to empty if not defined by
2934 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2938 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2940 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2941 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2942 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2945 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2949 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2951 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2958 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2963 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2965 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2966 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2968 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2970 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2973 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2975 * math/w_acos.c: Use non-signaling floating-point comparisons.
2976 * math/w_acosf.c: Likewise.
2977 * math/w_acosh.c: Likewise.
2978 * math/w_acoshf.c: Likewise.
2979 * math/w_acoshl.c: Likewise.
2980 * math/w_acosl.c: Likewise.
2981 * math/w_asin.c: Likewise.
2982 * math/w_asinf.c: Likewise.
2983 * math/w_asinl.c: Likewise.
2984 * math/w_atanh.c: Likewise.
2985 * math/w_atanhf.c: Likewise.
2986 * math/w_atanhl.c: Likewise.
2987 * math/w_exp2.c: Likewise.
2988 * math/w_exp2f.c: Likewise.
2989 * math/w_exp2l.c: Likewise.
2990 * math/w_j0.c: Likewise.
2991 * math/w_j0f.c: Likewise.
2992 * math/w_j0l.c: Likewise.
2993 * math/w_j1.c: Likewise.
2994 * math/w_j1f.c: Likewise.
2995 * math/w_j1l.c: Likewise.
2996 * math/w_jn.c: Likewise.
2997 * math/w_jnf.c: Likewise.
2998 * math/w_log.c: Likewise.
2999 * math/w_log10.c: Likewise.
3000 * math/w_log10f.c: Likewise.
3001 * math/w_log10l.c: Likewise.
3002 * math/w_log2.c: Likewise.
3003 * math/w_log2f.c: Likewise.
3004 * math/w_log2l.c: Likewise.
3005 * math/w_logf.c: Likewise.
3006 * math/w_logl.c: Likewise.
3007 * math/w_sqrt.c: Likewise.
3008 * math/w_sqrtf.c: Likewise.
3009 * math/w_sqrtl.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3011 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3013 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3014 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3016 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3019 * manual/string.texi (strnlen): Use correct parameter name in
3020 equivalent expression.
3022 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3025 * manual/users.texi (seteuid): Consistently use neweuid for
3028 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3031 * manual/nss.texi (Services in the NSS configuration): Correct
3032 list of services in example configuration file.
3034 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3037 * manual/arith.texi: Remove statements about negative zero
3038 behaving identically to zero.
3040 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3043 * manual/install.texi: Do not document upgrading from libc5.
3045 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3048 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3050 2012-02-18 David S. Miller <davem@davemloft.net>
3052 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3053 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3054 %o7 across the call.
3055 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3060 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3061 * sysdeps/sparc/crtn.S: Likewise.
3063 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3065 * aout/Makefile: Remove.
3067 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3070 * manual/examples/argp-ex1.c (main): Format definition in GNU
3072 * manual/examples/argp-ex2.c (main): Likewise.
3073 * manual/examples/argp-ex3.c (main): Likewise.
3074 * manual/examples/argp-ex4.c (main): Likewise.
3075 * manual/examples/longopt.c (main): Use new-style prototype
3077 * manual/examples/strncat.c (main): Specify return type and use
3078 (void) for arguments.
3079 * manual/examples/subopt.c (main): Use char **argv argument.
3081 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3084 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3087 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3090 * manual/string.texi (strchr): Change when strchrnul is
3093 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3096 * manual/locale.texi (setlocale): Document LOCPATH.
3098 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3101 * manual/process.texi (execle): Move @dots{} before last argument.
3103 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3106 * manual/charset.texi (Generic Charset Conversion): Fix typo
3107 (LC_TYPE -> LC_CTYPE).
3109 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3112 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3113 (scalbnf): Likewise.
3114 (scalbnl): Likewise.
3115 (scalbln): Likewise.
3116 (scalblnf): Likewise.
3117 (scalblnl): Likewise.
3118 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3122 * manual/filesys.texi (telldir): Use braces around return type.
3123 * manual/llio.texi (mmap): Add space after comma.
3125 * manual/math.texi (jn): Use @var{} on parameter names.
3131 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3133 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3135 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3136 (sched_get_priority_max): Likewise.
3137 * manual/signal.texi (sigvec): Add space after comma.
3138 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3140 (if_indextoname): Likewise.
3141 (if_freenameindex): Likewise.
3142 (sendto): Use ',' instead of '.' in prototype.
3143 * manual/startup.texi (syscall): Use @dots{} instead of literal
3145 * manual/stdio.texi (__fpending): Separate initial words of
3146 paragraph from @deftypefun line.
3147 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3149 (vsyslog): Use @var{} on parameter names.
3150 * manual/terminal.texi (stty): Use @var{} on parameter names.
3151 * manual/users.texi (getutmp): Use @var{} on parameter names.
3152 (getutmpx): Likewise.
3154 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3157 * manual/stdio.texi (fopen): Fix typos in description of
3160 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3163 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3164 get clock_id definition.
3166 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3169 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3170 (madvise): Cast every argument to void on its own.
3172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3175 * manual/startup.texi (Exit Status): Fix typo.
3177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3180 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3181 * manual/examples/argp-ex2.c: Likewise.
3182 * manual/examples/argp-ex3.c: Likewise.
3184 2012-02-16 Richard Henderson <rth@redhat.com>
3186 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3187 * sysdeps/s390/s390-32/initfini.c: Remove.
3188 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3189 * sysdeps/s390/s390-64/initfini.c: Remove.
3191 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3193 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3194 compiler output for sysdeps/generic/initfini.c.
3195 * sysdeps/sh/elf/initfini.c: Remove file.
3197 2012-02-16 David S. Miller <davem@davemloft.net>
3200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3202 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3203 * sysdeps/sparc/crti.S: New file.
3204 * sysdeps/sparc/crtn.S: New file.
3205 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3206 * sysdeps/sparc/sparc64/Makefile: Likewise.
3208 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3211 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3213 2012-02-15 Roland McGrath <roland@hack.frob.com>
3216 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3218 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3219 (write, read, close): Likewise.
3220 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3222 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3224 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3225 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3227 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3229 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3233 2012-02-14 Marek Polacek <polacek@redhat.com>
3235 * sysdeps/x86_64/crti.S: New file.
3236 * sysdeps/x86_64/crtn.S: New file.
3237 * sysdeps/x86_64/elf/initfini.c: Remove file.
3239 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3241 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3242 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3244 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3246 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3250 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3252 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3254 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3255 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3257 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3261 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3264 __feraiseexcept instead of feraiseexcept.
3266 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3267 nanosleep invocations.
3268 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3269 strings, and add error checking for a nanosleep invocations.
3271 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3273 Replace FSF snail mail address with URLs, as per GNU coding standards.
3274 Most of the snail mail addresses were wrong anyway, and omitting
3275 them makes the source code easier to maintain. Almost all of the
3276 changes are to license notices and to locale LC_IDENTIFICATION
3277 addresses, except for this one:
3278 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3279 not its snail mail address.
3281 2012-02-09 Richard Henderson <rth@twiddle.net>
3283 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3284 of kernel-features.h.
3286 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3288 2012-02-08 Marek Polacek <polacek@redhat.com>
3290 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3291 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3292 * sysdeps/gnu/_G_config.h: Likewise.
3293 * sysdeps/generic/_G_config.h: Likewise.
3295 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3297 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3301 * sysdeps/powerpc/powerpc32/crti.S: New file.
3302 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3303 * sysdeps/powerpc/powerpc64/crti.S: New file.
3304 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3306 * Makeconfig (have-initfini): Don't set.
3307 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3308 * configure.in (nopic_initfini): Don't substitute.
3309 * config.h.in (HAVE_INITFINI): Don't #undef.
3310 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3311 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3313 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3315 Support crti.S and crtn.S provided directly by architectures.
3316 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3317 [crti.S in sysdirs] (omit-deps): Likewise.
3318 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3319 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3320 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3321 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3322 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3323 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3324 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3325 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3326 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3327 compiler output for sysdeps/generic/initfini.c.
3328 * sysdeps/i386/elf/Makefile: Remove file.
3329 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3331 2012-02-07 Marek Polacek <polacek@redhat.com>
3333 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3334 * sysdeps/gnu/_G_config.h: Likewise.
3335 * sysdeps/mach/hurd/_G_config.h: Likewise.
3337 2012-02-07 Marek Polacek <polacek@redhat.com>
3339 * math/Makefile (tests): Add tst-CMPLX2.
3340 * math/tst-CMPLX2.c: New file.
3342 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3346 * math/libm-test.inc (jn_test): Add missing L suffix.
3348 2012-02-06 Marek Polacek <polacek@redhat.com>
3350 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3351 * sysdeps/i386/fpu/e_powf.S: Likewise.
3352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3355 * sysdeps/i386/fpu/e_pow.S: Likewise.
3356 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3358 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3359 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3360 * sysdeps/i386/fpu/e_log2.S: Likewise.
3361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3363 * sysdeps/i386/fpu/e_powl.S: Likewise.
3364 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3365 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3366 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3367 * sysdeps/i386/fpu/e_logl.S: Likewise.
3368 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3369 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3374 * sysdeps/i386/fpu/e_log.S: Likewise.
3375 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3376 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3377 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3378 * sysdeps/i386/fpu/e_logf.S: Likewise.
3379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3381 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3382 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3384 * sysdeps/i386/fpu/e_log10.S: Likewise.
3385 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3387 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3388 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3390 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3391 * sysdeps/i386/asm-syntax.h: Likewise.
3392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3395 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3396 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3398 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3399 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3401 * sysdeps/powerpc/sysdep.h: Likewise.
3402 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3405 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3408 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3410 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3412 * sysdeps/i386/sysdep.h: Include <features.h>.
3413 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3416 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3420 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3423 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3425 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3426 (SETUP_PIC_REG): Use GET_PC_THUNK.
3427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3430 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3432 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3433 for non-PIC compilation.
3434 (SETUP_PIC_REG): Add .p2align directive.
3435 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3436 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3479 * math/tst-CMPLX.c: Include <stdio.h>.
3481 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3483 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3485 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3486 * sysdeps/sparc/bits/mathdef.h: Likewise.
3488 2012-01-31 Marek Polacek <polacek@redhat.com>
3490 * libio/libio.h: Don't define _PARAMS.
3491 * locale/programs/config.h: Don't define PARAMS.
3492 * stdlib/strtol_l.c: Likewise.
3493 (__strtol_l): Remove PARAMS from the prototype.
3495 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3497 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3498 names. Just use the correct names. Remove unnecessary wrapper
3500 * malloc/arena.c: Likewise.
3501 * malloc/hooks.c: Likewise.
3503 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3504 ARENA_TEST says not to. Simplify test for creation of a new arena.
3505 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3507 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3509 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3511 (update_get_addr): New function.
3512 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3513 GET_ADDR_MODULE parameter.
3515 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3517 * crypt/cert.c: Remove __STDC__ conditionals.
3518 * crypt/crypt-entry.c: Likewise.
3519 * crypt/crypt_util.c: Likewise.
3520 * libio/filedoalloc.c: Likewise.
3521 * libio/fileops.c: Likewise.
3522 * libio/genops.c: Likewise.
3523 * libio/iofclose.c: Likewise.
3524 * libio/iofdopen.c: Likewise.
3525 * libio/iofopen.c: Likewise.
3526 * libio/iofopen64.c: Likewise.
3527 * libio/iogetdelim.c: Likewise.
3528 * libio/iopopen.c: Likewise.
3529 * libio/obprintf.c: Likewise.
3530 * libio/oldfileops.c: Likewise.
3531 * libio/oldiofclose.c: Likewise.
3532 * libio/oldiofdopen.c: Likewise.
3533 * libio/oldiofopen.c: Likewise.
3534 * libio/oldiopopen.c: Likewise.
3535 * libio/wfiledoalloc.c: Likewise.
3536 * libio/wgenops.c: Likewise.
3537 * locale/programs/xmalloc.c: Likewise.
3538 * misc/syslog.c: Likewise.
3539 * stdio-common/xbug.c: Likewise.
3540 * string/memchr.c: Likewise.
3541 * string/memcmp.c: Likewise.
3542 * string/memrchr.c: Likewise.
3543 * string/rawmemchr.c: Likewise.
3544 * sysdeps/posix/getcwd.c: Likewise.
3545 * time/strftime_l.c: Likewise.
3547 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3549 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3550 * config.make.in (config-cflags-sse2avx): Define.
3551 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3554 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3556 * scripts/config.guess: Update from upstream config git repository.
3557 * scripts/config.sub: Likewise.
3559 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3561 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3563 (R_TILEPRO_*, R_TILEGX_*): New macros.
3565 * scripts/firstversions.awk: Fix bug in version range handling.
3567 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3571 * include/sys/epoll.h: New file.
3572 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3575 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3577 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3578 Avoid unnecessary __WORDSIZE == 64 test.
3579 (fmaxf): Use VEX format if possible.
3584 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3585 * math/math_private.h: Remove libc_fegetround* and
3587 * sysdeps/i386/configure.in: Check for -msse2avx.
3588 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3589 also if SSE2AVX is defined.
3590 Remove libc_fegetround* and libc_fesetround*.
3591 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3592 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3601 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3603 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3607 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3609 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3612 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3614 * Makeconfig (libm): Define.
3615 * elf/Makefile: Add rules to build and run tst-relsort1.
3616 * elf/tst-relsort1.c: New file.
3617 * elf/tst-relsort1mod1.c: New file.
3618 * elf/tst-relsort1mod2.c: New file.
3620 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3622 * math/s_ldexp.c: Remove __STDC__ conditionals.
3623 * math/s_ldexpf.c: Likewise.
3624 * math/s_ldexpl.c: Likewise.
3625 * math/s_nextafter.c: Likewise.
3626 * math/s_nexttowardf.c: Likewise.
3627 * math/s_significand.c: Likewise.
3628 * math/s_significandf.c: Likewise.
3629 * math/s_significandl.c: Likewise.
3630 * math/w_jnl.c: Likewise.
3631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3653 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3655 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3656 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3666 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3667 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3668 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3669 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3671 * sysdeps/ieee754/k_standard.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3751 * sysdeps/ieee754/s_matherr.c: Likewise.
3752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3757 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3759 * crypt/md5.h: Remove __STDC__ conditionals.
3760 * libio/libioP.h: Likewise.
3761 * locale/programs/config.h: Likewise.
3762 * sysdeps/generic/sysdep.h: Likewise.
3763 * sysdeps/i386/asm-syntax.h: Likewise.
3764 * sysdeps/s390/asm-syntax.h: Likewise.
3765 * sysdeps/unix/sysdep.h: Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3769 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3771 * libio/libio.h: Remove __STDC__ conditionals.
3772 * malloc/obstack.h: Likewise.
3773 * math/complex.h: Likewise.
3774 * math/math.h: Likewise.
3775 * sysdeps/generic/_G_config.h: Likewise.
3776 * sysdeps/gnu/_G_config.h: Likewise.
3777 * sysdeps/mach/hurd/_G_config.h: Likewise.
3778 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3779 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3780 * sysdeps/sparc/bits/mathdef.h: Likewise.
3782 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3786 Clean up HAS_* macros.
3787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3788 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3798 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3800 * elf/tst-unique3.cc (gets): Remove declaration.
3801 * elf/tst-unique3lib.cc (gets): Likewise.
3802 * elf/tst-unique3lib2.cc (gets): Likewise.
3803 * elf/tst-unique4.cc (gets): Likewise.
3805 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3807 * include/stdio.h: Add C++ protection. Add gets declarations and
3809 * debug/tst-chk1.c: Don't declare gets here.
3810 * stdio-common/tst-gets.c: Likewise.
3812 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3814 * posix/glob: Remove directory.
3816 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3818 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3820 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3822 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3823 of the non-standard EPFNOSUPPORT.
3825 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3827 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3828 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3829 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3831 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3833 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3835 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3837 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3839 * nscd/grpcache.c (cache_addgr): Likewise.
3840 * nscd/hstcache.c (cache_addhst): Likewise.
3841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3842 * nscd/pwdcache.c (cache_addpw): Likewise.
3843 * nscd/servicescache.c (cache_addserv): Likewise.
3845 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3847 * malloc/malloc.c: Various cleanups.
3848 * malloc/hooks.c: Likewise.
3850 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3851 * stdlib/bug-fmtmsg1.c: New file.
3853 * stdlib/fmtmsg.c (init): Add missing unlock.
3854 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3856 2012-01-12 Marek Polacek <polacek@redhat.com>
3858 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3861 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3863 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3865 macro to ensure uniqueness of label name.
3866 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3867 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3869 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3874 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3878 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3882 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3883 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3884 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3886 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3888 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3889 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3893 * math/bits/math-finite.h: Add ldexp support.
3895 2012-01-10 Marek Polacek <polacek@redhat.com>
3897 * locale/programs/localedef.h (show_archive_content): Add noreturn
3900 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3904 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3906 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3908 * io/Makefile (headers): Add bits/poll2.h.
3910 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3913 typo #include statement.
3915 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3917 * include/sys/cdefs.h: Define __attribute_alloc_size.
3918 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3919 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3920 * elf/pldd.c: Likewise.
3921 * iconv/iconv_charmap.c: Likewise.
3922 * iconv/iconvconfig.c: Likewise.
3923 * iconv/strtab.c: Likewise.
3924 * locale/programs/locale.c: Likewise.
3925 * locale/programs/localedef.h: Likewise.
3926 * locale/programs/simple-hash.c: Likewise.
3927 * nscd/nscd.h: Likewise.
3928 * nss/makedb.c: Likewise.
3929 * sysdeps/generic/ldconfig.h: Likewise.
3930 * locale/programs/localedef.c: Remove xmalloc prototype.
3931 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3933 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3938 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3940 * math/Makefile (tests): Add tst-CMPLX.
3941 * math/tst-CMPLX.c: New file.
3943 * math/complex.h (CMPLXL): Fix typo.
3945 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3946 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3948 * debug/tst-chk1.c: Add poll and ppoll tests.
3949 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3950 * include/sys/poll.h: Add hidden proto for ppoll.
3951 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3952 * sysdeps/mach/hurd/ppoll.c: Likewise.
3953 * io/ppoll.c: Likewise.
3954 * debug/poll_chk.c: New file.
3955 * debug/ppoll_chk.c: New file.
3956 * include/bits/poll2.h: New file.
3957 * io/bits/poll2.h: New file.
3960 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3962 * configure.in: static is always set to yes. Remove.
3963 * config.make.in: Don't set build-static.
3964 * Makeconfig: Remove use of build-static.
3965 * dlfcn/Makefile: Likewise.
3966 * elf/Makefile: Likewise.
3967 * math/Makefile: Likewise.
3968 * misc/Makefile: Likewise.
3969 * nptl/Makefile: Likewise.
3970 * sysdeps/mach/hurd/Makefile: Likewise.
3972 * configure.in: PWD_P is not used anymore.
3973 * config.make.in: Remove PWD_P entry.
3975 * configure.in: Remove last remnants of RANLIB.
3976 No need to check for signed size_t anymore.
3977 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3979 Remove __builtin_expect test because we require at least gcc 3.4.
3980 * aclocal.m4: Likewise.
3982 * wcsmbs/mbrtoc16.c: Implement using towc function.
3983 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3984 * wcsmbs/wcsmbsload.c: Likewise.
3985 * iconv/gconv_simple.c: Likewise.
3986 * iconv/gconv_int.h: Likewise.
3987 * iconv/gconv_builtin.h: Likewise.
3988 * iconv/iconv_prog.c: Remove CHAR16 handling.
3990 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3992 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3994 * configure.in: Remove --with-elf and --enable-bounded options.
3995 Dont set base_machine for ia64. More non-ELF conditions removed.
3996 Remove testing and setting of leading underscore information.
3997 * config.make.in (build-bounded): Set to no.
3998 * config.h.in: Remove NO_UNDERSCORES entry.
3999 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4001 * csu/start.c: Remove !NO_UNDERSCORE code.
4002 * locale/localeinfo.h: Likewise.
4003 * sysdeps/generic/machine-gmon.h: Likewise.
4004 * sysdeps/generic/sysdep.h: Likewise.
4005 * sysdeps/i386/sysdep.h: Likewise.
4006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4007 * sysdeps/mach/sysdep.h: Likewise.
4008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4010 * sysdeps/sh/sysdep.h: Likewise.
4011 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4012 * sysdeps/unix/i386/sysdep.S: Likewise.
4013 * sysdeps/unix/sparc/start.c: Likewise.
4014 * sysdeps/unix/sparc/sysdep.S: Likewise.
4015 * sysdeps/unix/sparc/sysdep.h: Likewise.
4016 * sysdeps/unix/start.c: Likewise.
4017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4018 * sysdeps/x86_64/sysdep.h: Likewise.
4020 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4023 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4025 * argp/argp-fmtstream.h: Use const instead __const.
4026 * argp/argp.h: Likewise.
4027 * assert/assert.h: Likewise.
4028 * bits/fenv.h: Likewise.
4029 * bits/sched.h: Likewise.
4030 * bits/sigset.h: Likewise.
4031 * bits/sigthread.h: Likewise.
4032 * catgets/nl_types.h: Likewise.
4033 * conform/data/pthread.h-data: Likewise.
4034 * crypt/crypt-private.h: Likewise.
4035 * crypt/crypt.h: Likewise.
4036 * crypt/crypt_util.c: Likewise.
4037 * ctype/ctype.h: Likewise.
4038 * debug/execinfo.h: Likewise.
4039 * debug/mbsnrtowcs_chk.c: Likewise.
4040 * debug/mbsrtowcs_chk.c: Likewise.
4041 * debug/wcsnrtombs_chk.c: Likewise.
4042 * debug/wcsrtombs_chk.c: Likewise.
4043 * debug/wcstombs_chk.c: Likewise.
4044 * dirent/dirent.h: Likewise.
4045 * dlfcn/dlfcn.h: Likewise.
4046 * elf/neededtest4.c: Likewise.
4047 * grp/grp.h: Likewise.
4048 * gshadow/gshadow.h: Likewise.
4049 * iconv/gconv.h: Likewise.
4050 * iconv/gconv_int.h: Likewise.
4051 * iconv/gconv_simple.c: Likewise.
4052 * iconv/iconv.h: Likewise.
4053 * iconv/loop.c: Likewise.
4054 * iconv/skeleton.c: Likewise.
4055 * include/aio.h: Likewise.
4056 * include/aliases.h: Likewise.
4057 * include/argz.h: Likewise.
4058 * include/arpa/inet.h: Likewise.
4059 * include/assert.h: Likewise.
4060 * include/dirent.h: Likewise.
4061 * include/dlfcn.h: Likewise.
4062 * include/execinfo.h: Likewise.
4063 * include/fcntl.h: Likewise.
4064 * include/fenv.h: Likewise.
4065 * include/glob.h: Likewise.
4066 * include/grp.h: Likewise.
4067 * include/libintl.h: Likewise.
4068 * include/mntent.h: Likewise.
4069 * include/netdb.h: Likewise.
4070 * include/pwd.h: Likewise.
4071 * include/rpc/netdb.h: Likewise.
4072 * include/sched.h: Likewise.
4073 * include/search.h: Likewise.
4074 * include/shadow.h: Likewise.
4075 * include/signal.h: Likewise.
4076 * include/stdio.h: Likewise.
4077 * include/stdlib.h: Likewise.
4078 * include/string.h: Likewise.
4079 * include/sys/socket.h: Likewise.
4080 * include/sys/stat.h: Likewise.
4081 * include/sys/statfs.h: Likewise.
4082 * include/sys/statvfs.h: Likewise.
4083 * include/sys/syslog.h: Likewise.
4084 * include/sys/time.h: Likewise.
4085 * include/sys/uio.h: Likewise.
4086 * include/time.h: Likewise.
4087 * include/unistd.h: Likewise.
4088 * include/utmp.h: Likewise.
4089 * include/wchar.h: Likewise.
4090 * include/wctype.h: Likewise.
4091 * inet/aliases.h: Likewise.
4092 * inet/arpa/inet.h: Likewise.
4093 * inet/netinet/ether.h: Likewise.
4094 * inet/netinet/in.h: Likewise.
4095 * intl/libintl.h: Likewise.
4096 * io/bits/fcntl2.h: Likewise.
4097 * io/fcntl.h: Likewise.
4098 * io/ftw.h: Likewise.
4099 * io/sys/poll.h: Likewise.
4100 * io/sys/stat.h: Likewise.
4101 * io/sys/statfs.h: Likewise.
4102 * io/sys/statvfs.h: Likewise.
4103 * io/utime.h: Likewise.
4104 * libio/bits/stdio.h: Likewise.
4105 * libio/bits/stdio2.h: Likewise.
4106 * libio/libio.h: Likewise.
4107 * libio/libioP.h: Likewise.
4108 * libio/stdio.h: Likewise.
4109 * locale/lc-ctype.c: Likewise.
4110 * locale/locale.h: Likewise.
4111 * login/utmp.h: Likewise.
4112 * malloc/arena.c: Likewise.
4113 * malloc/malloc.c: Likewise.
4114 * malloc/malloc.h: Likewise.
4115 * malloc/mcheck.c: Likewise.
4116 * malloc/mtrace.c: Likewise.
4117 * math/bits/mathcalls.h: Likewise.
4118 * math/fenv.h: Likewise.
4119 * math/math_private.h: Likewise.
4120 * misc/bits/error.h: Likewise.
4121 * misc/bits/syslog.h: Likewise.
4122 * misc/err.h: Likewise.
4123 * misc/error.h: Likewise.
4124 * misc/fstab.h: Likewise.
4125 * misc/mntent.h: Likewise.
4126 * misc/regexp.h: Likewise.
4127 * misc/search.h: Likewise.
4128 * misc/sgtty.h: Likewise.
4129 * misc/sys/mman.h: Likewise.
4130 * misc/sys/syslog.h: Likewise.
4131 * misc/sys/uio.h: Likewise.
4132 * misc/sys/xattr.h: Likewise.
4133 * misc/ttyent.h: Likewise.
4134 * nis/rpcsvc/ypclnt.h: Likewise.
4135 * nss/nss.h: Likewise.
4136 * posix/bits/unistd.h: Likewise.
4137 * posix/fnmatch.h: Likewise.
4138 * posix/glob.h: Likewise.
4139 * posix/sched.h: Likewise.
4140 * posix/spawn.h: Likewise.
4141 * posix/sys/wait.h: Likewise.
4142 * posix/unistd.h: Likewise.
4143 * posix/wordexp.h: Likewise.
4144 * pwd/pwd.h: Likewise.
4145 * resolv/netdb.h: Likewise.
4146 * resource/sys/resource.h: Likewise.
4147 * rt/aio.h: Likewise.
4148 * rt/bits/mqueue2.h: Likewise.
4149 * rt/mqueue.h: Likewise.
4150 * shadow/shadow.h: Likewise.
4151 * signal/signal.h: Likewise.
4152 * socket/send.c: Likewise.
4153 * socket/sendto.c: Likewise.
4154 * socket/sys/socket.h: Likewise.
4155 * stdio-common/printf.h: Likewise.
4156 * stdlib/bits/stdlib.h: Likewise.
4157 * stdlib/fmtmsg.h: Likewise.
4158 * stdlib/monetary.h: Likewise.
4159 * stdlib/stdlib.h: Likewise.
4160 * stdlib/ucontext.h: Likewise.
4161 * streams/stropts.h: Likewise.
4162 * string/argz.h: Likewise.
4163 * string/bits/string2.h: Likewise.
4164 * string/string.h: Likewise.
4165 * string/strings.h: Likewise.
4166 * sunrpc/rpc/auth.h: Likewise.
4167 * sunrpc/rpc/auth_des.h: Likewise.
4168 * sunrpc/rpc/clnt.h: Likewise.
4169 * sunrpc/rpc/netdb.h: Likewise.
4170 * sunrpc/rpc/pmap_clnt.h: Likewise.
4171 * sunrpc/rpc/xdr.h: Likewise.
4172 * sysdeps/generic/inttypes.h: Likewise.
4173 * sysdeps/generic/net/if.h: Likewise.
4174 * sysdeps/generic/sys/swap.h: Likewise.
4175 * sysdeps/gnu/net/if.h: Likewise.
4176 * sysdeps/gnu/utmpx.h: Likewise.
4177 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4178 * sysdeps/i386/i486/bits/string.h: Likewise.
4179 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4180 * sysdeps/s390/bits/string.h: Likewise.
4181 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4182 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4183 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4184 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4185 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4186 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4187 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4188 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4189 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4190 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4191 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4192 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4193 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4195 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4201 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4203 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4204 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4205 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4206 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4207 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4209 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4210 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4211 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4212 * sysvipc/sys/ipc.h: Likewise.
4213 * sysvipc/sys/msg.h: Likewise.
4214 * sysvipc/sys/sem.h: Likewise.
4215 * sysvipc/sys/shm.h: Likewise.
4216 * termios/termios.h: Likewise.
4217 * time/sys/time.h: Likewise.
4218 * time/time.h: Likewise.
4219 * wcsmbs/bits/wchar2.h: Likewise.
4220 * wcsmbs/uchar.h: Likewise.
4221 * wcsmbs/wchar.h: Likewise.
4222 * wctype/wctype.h: Likewise.
4225 * Makeconfig: Remove all but ELF support including AIX support.
4226 * Makerules: Likewise.
4227 * config.h.in: Likewise.
4228 * config.make.in: Likewise.
4229 * configure: Likewise.
4230 * configure.in: Likewise.
4231 * csu/Makefile: Likewise.
4232 * csu/version.c: Likewise.
4233 * debug/Makefile: Likewise.
4234 * dlfcn/Makefile: Likewise.
4235 * elf/Makefile: Likewise.
4236 * extra-lib.mk: Likewise.
4237 * iconv/Makefile: Likewise.
4238 * include/libc-symbols.h: Likewise.
4239 * include/shlib-compat.h: Likewise.
4240 * resolv/Makefile: Likewise.
4241 * resolv/res_libc.c: Likewise.
4242 * rt/Makefile: Likewise.
4243 * sysdeps/i386/asm-syntax.h: Likewise.
4244 * sysdeps/i386/sysdep.h: Likewise.
4245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4246 * sysdeps/mach/sysdep.h: Likewise.
4247 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4248 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4249 * sysdeps/s390/asm-syntax.h: Likewise.
4250 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4252 * sysdeps/sh/sysdep.h: Likewise.
4253 * sysdeps/unix/sparc/sysdep.h: Likewise.
4254 * sysdeps/wordsize-32/divdi3.c: Likewise.
4255 * sysdeps/x86_64/sysdep.h: Likewise.
4257 * argp/Versions: Remove _argp_unlock_xxx.
4260 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4261 * abilist/libBrokenLocale.abilist: Likewise.
4262 * abilist/libanl.abilist: Likewise.
4263 * abilist/libc.abilist: Likewise.
4264 * abilist/libcrypt.abilist: Likewise.
4265 * abilist/libdl.abilist: Likewise.
4266 * abilist/libm.abilist: Likewise.
4267 * abilist/libnsl.abilist: Likewise.
4268 * abilist/libpthread.abilist: Likewise.
4269 * abilist/libresolv.abilist: Likewise.
4270 * abilist/librt.abilist: Likewise.
4271 * abilist/libthread_db.abilist: Likewise.
4272 * abilist/libutil.abilist: Likewise.
4273 * abilist/libnss_db.abilist: New file.
4275 * scripts/abilist.awk: Add support for indirect functions.
4277 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4279 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4281 * shlib-versions: Remove entries for ports architectures.
4283 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4285 * elf/stackguard-macros.h: Remove support for IA-64.
4286 * elf/tst-auditmod1.c: Likewise.
4287 * sysdeps/generic/ldsodefs.h: Likewise.
4289 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4290 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4294 * configure.in: Remove --enable-omitfp support.
4296 * config.make.in: Likewise.
4297 * Makeconfig: Likewise.
4298 * manual/install.texi: Likewise.
4300 In case anyone cares, the IA-64 architecture could move to ports.
4301 * sysdeps/ia64/*: Removed.
4302 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4303 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4306 * configure.in: Remove entries for unsupported architectures.
4309 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4310 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4312 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4313 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4314 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4315 fall back to using wcrtomb.
4316 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4317 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4319 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4320 * wcsmbs/tst-c16c32-1.c: New file.
4322 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4325 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4327 * elf/tst-unique3.cc: Add explicit declaration of gets.
4328 * elf/tst-unique3lib.cc: Likewise.
4329 * elf/tst-unique3lib2.cc: Likewise.
4330 * elf/tst-unique4.cc: Likewise.
4332 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4334 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4337 * assert/assert.h (static_assert): Don't define for C++.
4338 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4339 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4341 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4343 * iconv/loop.c (single loop): Fix assertion in storing of
4346 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4348 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4350 * posix/getconf.c: Update copyright year.
4351 * nss/getent.c: Likewise.
4352 * nss/makedb.c: Likewise.
4353 * iconv/iconvconfig.c: Likewise.
4354 * iconv/iconv_prog.c: Likewise.
4355 * elf/ldconfig.c: Likewise.
4356 * elf/pldd.c: Likewise.
4357 * elf/sotruss.ksh: Likewise.
4358 * catgets/gencat.c: Likewise.
4359 * csu/version.c: Likewise.
4360 * elf/ldd.bash.in: Likewise.
4361 * elf/sprof.c (print_version): Likewise.
4362 * locale/programs/locale.c: Likewise.
4363 * locale/programs/localedef.c: Likewise.
4364 * login/programs/pt_chown.c: Likewise.
4365 * nscd/nscd.c (print_version): Likewise.
4366 * debug/xtrace.sh: Likewise.
4367 * malloc/memusage.sh: Likewise.
4368 * malloc/mtrace.pl: Likewise.
4369 * debug/catchsegv.sh: Likewise.
4371 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4373 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4376 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4379 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4380 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4382 * iconv/gconv_int.h: Likewise.
4383 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4384 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4385 from libc for GLIBC_2.16.
4386 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4387 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4388 * wcsmbs/uchar.h: Really define mbstate_t.
4389 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4390 * wcsmbs/c16rtomb.c: New file.
4391 * wcsmbs/mbrtoc16.c: New file.
4392 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4394 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4395 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4397 * wcsmbs/wchar.h: Add missing __restrict.
4399 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4402 * time/Makefile (routines): Add timespec_get.
4403 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4404 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4405 timespec for ISO C11.
4406 * time/timespec_get.c: New file.
4407 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4408 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4411 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4412 * stdlib/stdlib.h: Declare aligned_alloc.
4413 * Versions.def: Add GLIBC_2.16 for libc.
4414 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4417 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4420 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4424 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4427 * assert/assert.h (static_assert): Define.
4429 * version.h: Update for 2.16 development version.
4432 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4435 * version.h (RELEASE): Bump for 2.15 release.
4436 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4438 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4439 Patch by Marek Polacek <mpolacek@redhat.com>.
4441 * bits/byteswap.h: Protect long long constants with __extension__.
4442 * sysdeps/i386/bits/byteswap.h: Likewise.
4443 * sysdeps/ia64/bits/byteswap.h: Likewise.
4444 * sysdeps/s390/bits/byteswap.h: Likewise.
4445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4447 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4452 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4454 2011-12-23 Marek Polacek <polacek@redhat.com>
4456 * elf/dl-addr.c (determine_info): Add inline keyword.
4457 * elf/tst-auditmod4b.c (check_avx): Likewise.
4458 * elf/tst-auditmod6b.c (check_avx): Likewise.
4459 * elf/tst-auditmod6c.c (check_avx): Likewise.
4460 * elf/tst-auditmod7b.c (check_avx): Likewise.
4462 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4464 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4467 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4470 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4471 processing for last bytes.
4473 2011-08-06 Bruno Haible <bruno@clisp.org>
4476 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4477 U+0385, not to U+1FEE.
4480 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4481 entry for U+00A5 U+0301.
4483 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4486 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4487 buffer for the output is too small.
4489 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4493 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4494 SSE flags if possible.
4496 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4500 processing for last bytes.
4502 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4504 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4505 (syscall-list-default-options, syscall-list-default-condition)
4506 (syscall-list-includes): Define.
4507 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4508 list of ABIs and options and #if conditions for each ABI. Do not
4509 handle common syscalls between ABIs specially.
4510 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4512 (syscall-list-variants, syscall-list-32bit-options)
4513 (syscall-list-32bit-condition, syscall-list-64bit-options)
4514 (syscall-list-64bit-condition): Define.
4515 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4516 (syscall-list-variants, syscall-list-32bit-options)
4517 (syscall-list-32bit-condition, syscall-list-64bit-options)
4518 (syscall-list-64bit-condition): Define.
4519 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4521 (syscall-list-variants, syscall-list-32bit-options)
4522 (syscall-list-32bit-condition, syscall-list-64bit-options)
4523 (syscall-list-64bit-condition): Define.
4524 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4526 (syscall-list-variants, syscall-list-32bit-options)
4527 (syscall-list-32bit-condition, syscall-list-64bit-options)
4528 (syscall-list-64bit-condition): Define.
4530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4532 * locale/iso-639.def: Add brx entry.
4535 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4536 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4538 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4539 __feraiseexcept_renamed.
4541 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4544 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4545 EPOLLET with unsigned values.
4546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4549 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4550 to large cancellation.
4551 * math/s_cacoshf.c: Likewise.
4552 * math/s_cacoshl.c: Likewise.
4554 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4558 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4559 * math/s_cacoshf.c: Likewise.
4560 * math/s_cacoshl.c: Likewise.
4562 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4565 * iconv/gconv.h: Define __GCONV_SWAP.
4566 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4567 * iconvdata/utf-16.c: Likewise.
4568 * iconvdata/utf-32.c: Likewise.
4570 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4574 numerator after shifting it by one limb.
4576 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4578 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4579 under [__USE_EXTERN_INLINES].
4581 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4584 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4586 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4588 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4589 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4591 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4593 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4594 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4595 for strncasecmp/strncasecmp_l compilation.
4596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4597 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4599 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4602 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4605 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4608 * time/tzfile.c (__tzfile_read): Check values from file header.
4610 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4612 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4613 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4614 * powerpc/powerpc32/dl-start.S: Likewise.
4615 * powerpc/powerpc32/elf/start.S: Likewise.
4616 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4617 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4618 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4619 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4620 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4621 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4622 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4623 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4624 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4625 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4626 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4627 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4628 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4629 * powerpc/powerpc32/memset.S: Likewise.
4630 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4631 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4632 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4633 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4634 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4635 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4636 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4637 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4638 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4639 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4640 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4641 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4642 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4644 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4646 * math/libm-test.inc: Added more nearbyint tests.
4647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4652 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4654 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4657 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4659 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4660 Add wcscpy-ssse3 wcscpy-c.
4661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4662 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4663 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4664 * sysdeps/x86_64/wcschr.S: New file.
4665 * sysdeps/x86_64/wcsrchr.S: New file.
4666 * string/test-strcmp.c: Remove checking of wcscmp function for
4668 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4669 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4670 wcsrchr-sse2 wcsrchr-c.
4671 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4672 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4673 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4674 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4675 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4676 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4677 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4678 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4680 * wcsmbc/wcschr.c (WCSCHR): New macro.
4682 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4684 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4685 * wcsmbs/test-wcsrchr.c: New file.
4686 * string/test-strrchr.c: Add wcsrchr support.
4688 * wcsmbs/test-wcscpy.c: New file.
4689 * string/test-strcpy.c: Add wcscpy support.
4692 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4697 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4700 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4702 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4705 Minor optimizations.
4707 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4708 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4709 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4711 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4713 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4714 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4715 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4716 for gcc to avoid warnings.
4717 * inet/Makefile (tests): Add tst-checks.
4718 * inet/tst-checks.c: New file.
4720 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4723 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4726 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4727 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4729 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4731 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4733 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4736 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4738 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4740 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4741 conditional on GCC version.
4742 (__arch_compare_and_exchange_val_8_acq)
4743 (__arch_compare_and_exchange_val_16_acq)
4744 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4745 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4746 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4748 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4750 * sysdeps/sh/backtrace.c: New file.
4752 2011-12-02 Andreas Schwab <schwab@redhat.com>
4754 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4757 2011-12-01 Andreas Schwab <schwab@redhat.com>
4759 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4760 falling back to utime.
4762 2011-11-30 Andreas Schwab <schwab@redhat.com>
4764 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4765 expectations for float.
4767 2011-11-29 Andreas Schwab <schwab@redhat.com>
4769 * locale/weight.h (findidx): Add parameter len.
4770 * locale/weightwc.h (findidx): Likewise.
4771 * posix/fnmatch_loop.c (FCT): Adjust caller.
4772 * posix/regcomp.c (build_equiv_class): Likewise.
4773 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4774 * posix/regexec.c (check_node_accept_bytes): Likewise.
4775 * string/strcoll_l.c (STRCOLL): Likewise.
4776 * string/strxfrm_l.c (STRXFRM): Likewise.
4778 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4780 * Makefile.in: Remove CVSOPT handling.
4781 * configure.in: Remove use of AC_REVISION.
4782 * iconvdata/Makefile (distribute): No need to filter out CVS.
4783 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4786 2011-11-16 Andreas Schwab <schwab@redhat.com>
4788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4789 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4790 [USE_AS_STRNCASECMP_L]: Likewise.
4791 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4792 NO_TLS_DIRECT_SEG_REFS.
4793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4794 Fix argument offsets for non-PIC.
4795 [USE_AS_STRNCASECMP_L]: Likewise.
4796 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4797 NO_TLS_DIRECT_SEG_REFS.
4799 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4801 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4803 * locale/loadlocale.c (_nl_load_locale): Likewise.
4805 2011-11-15 Andreas Schwab <schwab@redhat.com>
4807 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4808 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4809 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4810 (SYSCALL_GETTIME): Set errno on error.
4812 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4813 count references to noai6ai_cached.
4815 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4817 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4819 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4820 FD_CLOEXEC for /proc/self/maps.
4822 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4823 FD_CLOEXEC for /proc/meminfo.
4825 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4828 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4829 FD_CLOEXEC for given file.
4831 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4833 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4834 FD_CLOEXEC for /etc/hosts.
4835 (_gethtent): Likewise.
4837 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4839 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4840 cancellation and set FD_CLOEXEC for /etc/netgroup.
4842 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4843 reading /etc/publickey.
4845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4846 allow cancellation when reading /etc/group.
4848 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4850 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4852 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4853 when using data file.
4855 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4857 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4858 (write_nis_obj): Use "c" and "e" in fopen.
4860 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4862 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4864 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4866 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4868 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4871 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4873 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4875 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4877 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4878 file parsing and set FD_CLOEXEC.
4880 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4882 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4884 2011-11-14 Andreas Schwab <schwab@redhat.com>
4886 * malloc/arena.c (arena_get2): Don't call reused_arena when
4887 _int_new_arena failed.
4889 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4892 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4897 to compile strcasecmp and strncasecmp.
4898 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4899 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4903 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4905 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4906 locale-defines.sym to gen-as-const-headers.
4907 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4908 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4910 to compile strcasecmp and strncasecmp.
4911 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4912 strcasecmp_l and strncasecmp_l.
4913 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4914 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4915 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4917 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4918 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4919 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4920 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4921 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4922 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4923 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4925 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4927 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4928 result of SYSDEP_GETTIME_CPU to retval.
4929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4930 parameter list to macro. Remove trailing semicolon. Adjust users.
4932 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4940 from unused variable.
4942 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4944 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4947 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4950 * sunrpc/rpc_prot.c (rejected): Fix case value.
4952 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4953 unsigned long long int to avoid warnings in shift.
4955 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4957 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4961 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4964 * nis/nis_table.c (nis_list): Use variable of correct type for
4965 result of __follow_path call.
4967 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4969 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4970 of math functions ceil, trunc, floor, round, and sqrt, when
4971 avaliable on the platform.
4972 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4975 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4976 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4978 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4980 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4983 2011-11-11 Roland McGrath <roland@hack.frob.com>
4985 * include/unistd.h: Fix __readlink return type.
4986 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4988 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4990 * stdlib/ucontext.h: Undo last change for makecontext.
4992 2011-11-11 Andreas Schwab <schwab@redhat.com>
4994 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4996 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4997 * setjmp/setjmp.h: Mark functions as non-leaf.
4998 * setjmp/bits/setjmp2.h: Likewise.
4999 * stdlib/ucontext.h: Likewise.
5001 2011-11-10 Andreas Schwab <schwab@redhat.com>
5003 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5004 (reused_arena): Don't check arena limit.
5005 (arena_get2): Atomically check arena limit.
5007 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5009 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5010 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5015 2011-11-07 Andreas Schwab <schwab@redhat.com>
5017 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5018 handler when locking.
5020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5021 Fix size of allocated buffer.
5023 2011-11-04 Andreas Schwab <schwab@redhat.com>
5026 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5027 declarations for long double functions.
5028 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5030 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5032 2011-11-03 Andreas Schwab <schwab@redhat.com>
5034 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5037 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5040 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5042 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5044 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5046 * include/alloca.h (stackinfo_alloca_round): Define.
5047 (extend_alloca): Use it.
5048 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5049 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5052 * scripts/check-local-headers.sh: Ignore libaudit.h.
5054 * nscd/Makefile (extra-objs): Make recursively expanded.
5056 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5058 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5061 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5062 * posix/tst-rfc3484-2.c: Likewise.
5063 * posix/tst-rfc3484-3.c: Likewise.
5065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5067 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5069 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5070 process_vm_writev from libc using GLIBC_2.15 version.
5072 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5074 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5076 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5079 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5082 * nss/getent.c (initgroups_keys): Show error message in case no group
5085 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5086 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5087 __bump_nl_timestamp.
5088 * nscd/connections (nscd_init): When host database is served open
5089 netlink socket and request notification about configuration changes.
5090 (main_loop_poll): Track netlink file descriptor and bump timestamp
5091 in case data becomes available.
5092 (main_loop_epoll): Likewise.
5093 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5094 (database_pers_head): Add extra_data fileds.
5095 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5096 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5097 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5100 in6ai data, call __free_in6ai.
5101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5103 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5104 interface information. Reuse previous data if netlink timestamp
5106 (__bump_nl_timestamp): New function.
5107 (__free_in6ai): New function.
5109 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5112 close_not_cancel_no_status here.
5113 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5115 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5118 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5121 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5122 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5123 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5125 2011-07-03 Andreas Jaeger <aj@suse.de>
5128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5129 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5130 * math/libm-test.inc (sin_test): Add test case.
5132 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5135 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5138 * elf/chroot_canon.c (chroot_canon): Cleanups.
5140 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5143 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5144 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5146 * string/test-strchr.c: Make usable for strchrnul testing.
5147 * string/test-strchrnul.c: New file.
5148 * string/Makefile (strop-tests): Add strchrnul.
5150 * po/it.po: Update from translation team.
5151 * po/es.po: Likewise.
5153 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5156 the three constants needed as parameters. Drop the others.
5157 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5158 __m128i_strloadu_tolower.
5159 Create and initialize variable zero and use it in all the places
5160 where _mm_setzero_si128 was used.
5162 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5163 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5164 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5170 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5171 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5172 __mpranred, __mptan.
5173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5181 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5183 2011-10-28 Andreas Schwab <schwab@redhat.com>
5185 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5187 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5190 wide char related routines to wcsmbs subdir.
5192 2011-10-27 Andreas Schwab <schwab@redhat.com>
5195 * misc/sys/cdefs.h (__THROWNL): Define.
5196 * posix/unistd.h: Use __THREADNL instead of __THREAD
5197 for memory synchronization functions.
5199 2011-10-26 Roland McGrath <roland@hack.frob.com>
5202 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5204 * manual/stdio.texi (Obstack Streams): Node removed.
5206 2011-10-26 Andreas Schwab <schwab@redhat.com>
5208 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5212 * math/math_private.h (math_force_eval): Allow non-addressable
5214 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5216 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5228 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5235 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5236 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5238 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5239 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5240 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5241 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5246 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5247 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5248 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5250 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5251 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5254 place. Use VEX encoding when compiling for AVX.
5256 2011-10-25 Andreas Schwab <schwab@redhat.com>
5258 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5259 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5261 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5265 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5266 useless if() expression.
5267 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5283 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5287 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5289 2011-10-25 Andreas Schwab <schwab@redhat.com>
5291 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5295 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5297 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5298 .text section. Avoid duplicate constants.
5299 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5309 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5311 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5312 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5323 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5328 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5329 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5343 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5345 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5347 * sysdeps/x86_64/dla.h: Move to ...
5348 * sysdeps/x86_64/fpu/dla.h: ...here.
5349 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5350 situations. Use __builtin_fma only for gcc 4.6 and up.
5352 * config.make.in: Add have-mfma4 entry.
5353 * configure.in: Substitute libc_cv_cc_fma4.
5354 * math/Makefile (dbl-only-routines): Add sincostab.
5355 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5356 Use __sincostab not sincos.
5357 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5364 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5365 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5366 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5367 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5370 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5372 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5373 define aliases when function name is a macro.
5374 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5375 sysdeps/ieee754/dbl-64/sincos.tbl.
5376 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5377 fma4-enabled routines.
5378 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5379 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5380 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5381 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5382 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5388 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5389 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5390 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5391 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5393 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5397 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5399 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5405 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5406 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5407 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5409 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5420 2011-10-24 Andreas Schwab <schwab@redhat.com>
5422 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5424 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5428 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5432 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5433 Remove unused variable magic_bits.
5434 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5436 * string/strnlen.c: Define and use STRNLEN macro.
5437 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5438 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5440 * wcsmbs/wcslen.c: Define and use WCSLEN.
5441 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5442 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5443 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5444 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5445 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5446 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5449 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5452 strnlen-sse2-no-bsf.
5453 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5455 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5456 Add strnlen support.
5457 (USE_AS_STRNLEN): New macro.
5458 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5459 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5460 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5461 * sysdeps/x86_64/wcslen.S: New file.
5463 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5466 XMM-moves are used for copying on small sizes.
5468 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5470 * wcsmbs/Makefile (strop-tests): Add wcschr.
5471 * wcsmbs/test-wcschr.c: New file.
5472 * string/test-strchr.c: Update.
5476 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5478 * wcsmbs/Makefile (strop-tests): Add wcslen.
5479 * wcsmbs/test-wcslen.c: New file.
5480 * string/test-strlen.c: Update.
5484 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5486 * po/it.po: Update from translation team.
5488 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5490 * sysdeps/x86_64/wcscmp.S: Update.
5491 Fix wrong comparison semantics.
5492 wcscmp shall use signed comparison not unsigned.
5493 Don't use substraction to avoid overflow bug.
5494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5495 * wcsmbc/wcscmp.c: Likewise.
5496 * string/test-strcmp.c: Likewise.
5497 Add new tests to check cases with negative values.
5499 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5501 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5502 * sysdeps/x86_64/dla.h: ...here. New file.
5503 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5513 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5516 __ynl_finite aliases.
5518 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5522 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5524 [DLA_FMA] (EMULV): Use DLA_FMA.
5525 [DLA_FMA] (MUL12): Use EMULV.
5526 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5527 that are not needed.
5528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5536 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5538 * math/s_nan.c: Undef __nan.
5539 * math/s_nanf.c: Undef __nanf.
5540 * math/s_nanl.c: Undef __nanl.
5541 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5544 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5546 * math/s_catan.c: Add branch predictions.
5547 * math/s_catanf.c: Likewise.
5548 * math/s_catanh.c: Likewise.
5549 * math/s_catanhf.c: Likewise.
5550 * math/s_catanhl.c: Likewise.
5551 * math/s_catanl.c: Likewise.
5552 * math/s_cexp.c: Likewise.
5553 * math/s_cexpf.c: Likewise.
5554 * math/s_cexpl.c: Likewise.
5555 * math/s_clog.c: Likewise.
5556 * math/s_clog10.c: Likewise.
5557 * math/s_clog10f.c: Likewise.
5558 * math/s_clog10l.c: Likewise.
5559 * math/s_clogf.c: Likewise.
5560 * math/s_clogl.c: Likewise.
5561 * math/s_csqrt.c: Likewise.
5562 * math/s_csqrtf.c: Likewise.
5563 * math/s_csqrtl.c: Likewise.
5564 * math/s_ctanf.c: Likewise.
5565 * math/s_ctanh.c: Likewise.
5566 * math/s_ctanhf.c: Likewise.
5567 * math/s_ctanhl.c: Likewise.
5568 * math/s_ctanl.c: Likewise.
5570 * math/math_private.h: Define __nan, __nanf, __nanl.
5571 * math/s_cacosh.c: Include <math_private.h>.
5572 * math/s_cacoshl.c: Likewise.
5573 * math/s_casinh.c: Likewise.
5574 * math/s_casinhf.c: Likewise.
5575 * math/s_casinhl.c: Likewise.
5576 * math/s_ccos.c: Rely entire on ccosh.
5577 * math/s_ccosf.c: Rely entire on ccoshf.
5578 * math/s_ccosl.c: Rely entirely on ccoshl.
5579 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5580 Remove tests for FE_INVALID.
5581 * math/s_ccoshf.c: Likewise.
5582 * math/s_ccoshl.c: Likewise.
5583 * math/s_csin.c: Likewise.
5584 * math/s_csinf.c: Likewise.
5585 * math/s_csinh.c Likewise.
5586 * math/s_csinhf.c: Likewise.
5587 * math/s_csinhl.c: Likewise.
5588 * math/s_csinl.c: Likewise.
5589 * math/s_ctan.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5591 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5594 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5597 compilation problems.
5599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5602 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5604 * sysdeps/i386/configure.in: Test for -mfma4 option.
5605 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5606 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5607 COMMON_CPUID_INDEX_80000001.
5608 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5609 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5610 use it if FMA3 is not supported.
5611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5613 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5614 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5616 2011-10-20 Andreas Schwab <schwab@redhat.com>
5619 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5620 it would create a cycle with a link time dependency.
5622 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5624 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5626 * string/Makefile (strop-tests): Add rawmemchr.
5627 * string/test-rawmemchr.c: New file.
5629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5631 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5632 when compiling str{,n}casecmp and when AVX is available. Hook up
5633 new optimized code in initializers.
5635 2011-10-19 Andreas Schwab <schwab@redhat.com>
5637 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5638 __feraiseexcept instead of feraiseexcept.
5640 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5642 * math/math_private.h: Define defaults for libc_fetestexcept and
5644 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5645 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5650 libc_fetestexcept and libc_feupdateenv.
5652 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5653 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5654 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5655 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5656 libc_feholdexcept_setround.
5658 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5659 Add s_nearbyint-c and s_nearbyintf-c.
5660 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5663 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5664 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5667 * math/math_private.h: Define defaults for libc_fegetround,
5668 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5669 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5670 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5672 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5675 Remove comments and hacks for old compiler versions.
5676 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5677 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5680 2011-10-18 Andreas Schwab <schwab@redhat.com>
5682 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5683 (__feraiseexcept_renamed): Add __NTH.
5684 (feraiseexcept): Add __NTH. Rename local variables to fix
5685 namespace violations.
5687 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5693 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5694 recently added interfaces.
5695 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5697 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5698 about macro parameter expansion.
5700 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5701 __NO_MATH_INLINES is defined. Cleanups.
5703 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5704 and __floorf is target has SSE4.1.
5705 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5710 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5714 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5716 2011-10-17 Andreas Schwab <schwab@redhat.com>
5718 * misc/sys/cdefs.h: Fix last change.
5720 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5723 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5725 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5727 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5736 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5737 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5738 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5739 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5740 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5742 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5743 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5744 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5746 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5748 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5751 ceil, ceilf, floor, floorf.
5753 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5754 Perform IRELATIVE relocations last.
5756 * elf/do-rel.h: Add another parameter nrelative, replacing the
5757 local variable with the same name. Change name of the function
5758 to end in Rel or Rela (uppercase).
5759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5760 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5761 elf_dynamic_do_##reloc function.
5763 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5765 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5766 is sufficient, at least on modern CPUs.
5768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5770 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5773 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5775 * math/bits/math-finite.h: Add entries for exp.
5776 * math/e_expl.c: Add __*_finite alias.
5777 * sysdeps/i386/fpu/e_exp.S: Likewise.
5778 * sysdeps/i386/fpu/e_expf.S: Likewise.
5779 * sysdeps/i386/fpu/e_expl.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5788 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5789 is sufficient, at least on modern CPUs.
5791 * ctype/ctype-info.c (__ctype_init): Define.
5792 * include/ctype.h (__ctype_init): Declare.
5793 (__ctype_b_loc): The variable is always initialized.
5794 (__ctype_toupper_loc): Likewise.
5795 (__ctype_tolower_loc): Likewise.
5796 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5797 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5799 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5801 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5803 * configure.in: Also look in $cxxmachine/include for C++ system
5806 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5808 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5809 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5810 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5811 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5813 (USE_AS_WMEMCMP): New macro.
5815 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5816 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5817 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5818 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5820 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5821 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5823 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5824 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5826 (USE_AS_WMEMCMP): New macro.
5827 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5828 * sysdeps/string/test-memcmp.c: Update.
5831 * wcsmbs/wmemcmp.c: Update.
5832 (WMEMCMP): New macro.
5835 2011-10-12 Andreas Jaeger <aj@suse.de>
5838 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5840 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5842 * libio/iofwide.c (do_length): Avoid warning.
5844 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5846 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5848 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5850 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5851 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5852 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5853 * sysdeps/i386/i686/fpu/e_log.S: New file.
5854 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5855 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5857 * ctype/ctype.h: Add support for inlined isXXX functions when
5860 2011-10-14 Andreas Schwab <schwab@redhat.com>
5862 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5864 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5866 2011-10-13 Roland McGrath <roland@hack.frob.com>
5869 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5871 2011-10-13 Andreas Schwab <schwab@redhat.com>
5873 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5874 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5877 * sysdeps/x86_64/memrchr.S: Check for zero size.
5879 * string/stratcliff.c: Add memrchr tests.
5881 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5884 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5885 rawmemchr-sse2 rawmemchr-sse2-bsf.
5886 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5887 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5888 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5889 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5890 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5891 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5892 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5893 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5894 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5895 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5896 * string/memrchr.c (MEMRCHR): New macro.
5898 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5900 Add integration with gcc's -ffinite-math-only and optimize wrapper
5902 * Versions.def: Define GLIBC_2.15 version for libm.
5903 * math/Makefile (headers): Add bits/math-finite.h.
5904 * math/bits/math-finite.h: New file.
5905 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5906 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5907 * math/e_acoshl.c: Add __*_finite alias.
5908 * math/e_acosl.c: Likewise.
5909 * math/e_asinl.c: Likewise.
5910 * math/e_atan2l.c: Likewise.
5911 * math/e_atanhl.c: Likewise.
5912 * math/e_coshl.c: Likewise.
5913 * math/e_exp10.c: Likewise.
5914 * math/e_exp10f.c: Likewise.
5915 * math/e_exp10l.c: Likewise.
5916 * math/e_exp2l.c: Likewise.
5917 * math/e_fmodl.c: Likewise.
5918 * math/e_gammal_r.c: Likewise.
5919 * math/e_hypotl.c: Likewise.
5920 * math/e_j0l.c: Likewise.
5921 * math/e_j1l.c: Likewise.
5922 * math/e_jnl.c: Likewise.
5923 * math/e_lgammal_r.c: Likewise.
5924 * math/e_log10l.c: Likewise.
5925 * math/e_log2l.c: Likewise.
5926 * math/e_logl.c: Likewise.
5927 * math/e_powl.c: Likewise.
5928 * math/e_sinhl.c: Likewise.
5929 * math/e_sqrtl.c: Likewise.
5930 * math/e_scalb.c: Completely rewritten and optimized.
5931 * math/e_scalbf.c: Likewise.
5932 * math/e_scalbl.c: Likewise.
5933 * math/w_acos.c: Likewise.
5934 * math/w_acosf.c: Likewise.
5935 * math/w_acosl.c: Likewise.
5936 * math/w_acosh.c: Likewise.
5937 * math/w_acoshf.c: Likewise.
5938 * math/w_acoshl.c: Likewise.
5939 * math/w_asin.c: Likewise.
5940 * math/w_asinf.c: Likewise.
5941 * math/w_asinl.c: Likewise.
5942 * math/w_atan2.c: Likewise.
5943 * math/w_atan2f.c: Likewise.
5944 * math/w_atan2l.c: Likewise.
5945 * math/w_atanh.c: Likewise.
5946 * math/w_atanhf.c: Likewise.
5947 * math/w_atanhl.c: Likewise.
5948 * math/w_exp10.c: Likewise.
5949 * math/w_exp10f.c: Likewise.
5950 * math/w_exp10l.c: Likewise.
5951 * math/w_fmod.c: Likewise.
5952 * math/w_fmodf.c: Likewise.
5953 * math/w_fmodl.c: Likewise.
5954 * math/w_j0.c: Likewise.
5955 * math/w_j0f.c: Likewise.
5956 * math/w_j0l.c: Likewise.
5957 * math/w_j1.c: Likewise.
5958 * math/w_j1f.c: Likewise.
5959 * math/w_j1l.c: Likewise.
5960 * math/w_jn.c: Likewise.
5961 * math/w_jnf.c: Likewise.
5962 * math/w_log.c: Likewise.
5963 * math/w_logf.c: Likewise.
5964 * math/w_logl.c: Likewise.
5965 * math/w_log10.c: Likewise.
5966 * math/w_log10f.c: Likewise.
5967 * math/w_log10l.c: Likewise.
5968 * math/w_log2.c: Likewise.
5969 * math/w_log2f.c: Likewise.
5970 * math/w_log2l.c: Likewise.
5971 * math/w_pow.c: Likewise.
5972 * math/w_powf.c: Likewise.
5973 * math/w_powl.c: Likewise.
5974 * math/w_remainder.c: Likewise.
5975 * math/w_remainderf.c: Likewise.
5976 * math/w_remainderl.c: Likewise.
5977 * math/w_scalb.c: Likewise.
5978 * math/w_scalbf.c: Likewise.
5979 * math/w_scalbl.c: Likewise.
5980 * math/w_sqrt.c: Likewise.
5981 * math/w_sqrtf.c: Likewise.
5982 * math/w_sqrtl.c: Likewise.
5983 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5984 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5986 * math/math_private.h: Declare __kernel_standard_f.
5987 * math/w_cosh.c: Remove cruft and optimize a bit.
5988 * math/w_coshf.c: Likewise.
5989 * math/w_coshl.c: Likewise.
5990 * math/w_exp2.c: Likewise.
5991 * math/w_exp2f.c: Likewise.
5992 * math/w_exp2l.c: Likewise.
5993 * math/w_hypot.c: Likewise.
5994 * math/w_hypotf.c: Likewise.
5995 * math/w_hypotl.c: Likewise.
5996 * math/w_lgamma.c: Likewise.
5997 * math/w_lgamma_r.c: Likewise.
5998 * math/w_lgammaf.c: Likewise.
5999 * math/w_lgammaf_r.c: Likewise.
6000 * math/w_lgammal.c: Likewise.
6001 * math/w_lgammal_r.c: Likewise.
6002 * math/w_sinh.c: Likewise.
6003 * math/w_sinhf.c: Likewise.
6004 * math/w_sinhl.c: Likewise.
6005 * math/w_tgamma.c: Likewise.
6006 * math/w_tgammaf.c: Likewise.
6007 * math/w_tgammal.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6010 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6011 Minor optimizations. Pretty printing. Remove cruft.
6012 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6015 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6016 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6017 * sysdeps/i386/fpu/e_asin.S: Likewise.
6018 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6019 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6020 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6021 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6025 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6026 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6027 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6028 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6029 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6030 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6031 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6032 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6033 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6034 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6035 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6036 * sysdeps/i386/fpu/e_log.S: Likewise.
6037 * sysdeps/i386/fpu/e_log10.S: Likewise.
6038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6040 * sysdeps/i386/fpu/e_log2.S: Likewise.
6041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6042 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6043 * sysdeps/i386/fpu/e_logf.S: Likewise.
6044 * sysdeps/i386/fpu/e_logl.S: Likewise.
6045 * sysdeps/i386/fpu/e_pow.S: Likewise.
6046 * sysdeps/i386/fpu/e_powf.S: Likewise.
6047 * sysdeps/i386/fpu/e_powl.S: Likewise.
6048 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6049 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6050 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6054 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6055 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6056 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6082 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6083 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6085 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6150 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6154 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6155 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6156 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6157 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6158 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6159 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6160 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6162 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6163 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6164 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6165 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6167 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6168 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6169 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6170 (__isnanf): Likewise.
6171 (__isinf_ns): Likewise.
6172 (__isinf_nsf): Likewise.
6173 (__finite): Likewise.
6174 (__finitef): Likewise.
6175 (__ieee754_sqrt): Define as macro.
6176 (__ieee754_sqrtf): Define as macro.
6177 (__ieee754_sqrtl): Define as macro.
6178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6180 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6181 __FINITE_MATH_ONLY__ consistent.
6182 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6184 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6186 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6189 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6191 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6193 * po/ja.po: Update from translation team.
6195 2011-10-08 Roland McGrath <roland@hack.frob.com>
6197 * locale/programs/locarchive.c (prepare_address_space): New function.
6198 (create_archive, enlarge_archive, open_archive): Use it.
6200 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6201 inside [SHARED], where it is used.
6203 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6205 * nss/getent.c (netgroup_keys): Remove unused variable.
6206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6208 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6210 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6211 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6215 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6216 * math/Makefile (libm-calls): Add s_isinf_ns.
6217 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6218 * math/multc3.c: Likewise.
6219 * math/s_casin.c: Likewise.
6220 * math/s_casinf.c: Likewise.
6221 * math/s_casinl.c: Likewise.
6222 * math/s_ccos.c: Likewise.
6223 * math/s_ccosf.c: Likewise.
6224 * math/s_ccosl.c: Likewise.
6225 * math/s_ctan.c: Likewise.
6226 * math/s_ctanf.c: Likewise.
6227 * math/s_ctanh.c: Likewise.
6228 * math/s_ctanhf.c: Likewise.
6229 * math/s_ctanhl.c: Likewise.
6230 * math/s_ctanl.c: Likewise.
6231 * math/w_fmod.c: Likewise.
6232 * math/w_fmodf.c: Likewise.
6233 * math/w_fmodl.c: Likewise.
6234 * math/w_remainder.c: Likewise.
6235 * math/w_remainderf.c: Likewise.
6236 * math/w_remainderl.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6238 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6239 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6241 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6242 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6243 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6244 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6246 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6248 * stdio-common/printf_fphex.c: Likewise.
6249 * stdio-common/printf_size.c: Likewise.
6251 * math/e_exp10.c: Include math_private.h using <...> not "...".
6252 * math/e_exp10f.c: Likewise.
6253 * math/e_exp10l.c: Likewise.
6254 * math/e_exp2l.c: Likewise.
6255 * math/e_j0l.c: Likewise.
6256 * math/e_j1l.c: Likewise.
6257 * math/e_jnl.c: Likewise.
6258 * math/e_lgammal_r.c: Likewise.
6259 * math/e_rem_pio2l.c: Likewise.
6260 * math/e_scalb.c: Likewise.
6261 * math/e_scalbf.c: Likewise.
6262 * math/e_scalbl.c: Likewise.
6263 * math/k_cosl.c: Likewise.
6264 * math/k_sinl.c: Likewise.
6265 * math/k_tanl.c: Likewise.
6266 * math/s_cacoshf.c: Likewise.
6267 * math/s_catan.c: Likewise.
6268 * math/s_catanf.c: Likewise.
6269 * math/s_catanh.c: Likewise.
6270 * math/s_catanhf.c: Likewise.
6271 * math/s_catanhl.c: Likewise.
6272 * math/s_catanl.c: Likewise.
6273 * math/s_ccosh.c: Likewise.
6274 * math/s_ccoshf.c: Likewise.
6275 * math/s_ccoshl.c: Likewise.
6276 * math/s_cexp.c: Likewise.
6277 * math/s_cexpf.c: Likewise.
6278 * math/s_cexpl.c: Likewise.
6279 * math/s_clog.c: Likewise.
6280 * math/s_clog10.c: Likewise.
6281 * math/s_clog10f.c: Likewise.
6282 * math/s_clog10l.c: Likewise.
6283 * math/s_clogf.c: Likewise.
6284 * math/s_clogl.c: Likewise.
6285 * math/s_csin.c: Likewise.
6286 * math/s_csinf.c: Likewise.
6287 * math/s_csinh.c: Likewise.
6288 * math/s_csinhf.c: Likewise.
6289 * math/s_csinhl.c: Likewise.
6290 * math/s_csinl.c: Likewise.
6291 * math/s_csqrt.c: Likewise.
6292 * math/s_csqrtf.c: Likewise.
6293 * math/s_csqrtl.c: Likewise.
6294 * math/s_ctan.c: Likewise.
6295 * math/s_ctanf.c: Likewise.
6296 * math/s_ctanh.c: Likewise.
6297 * math/s_ctanhf.c: Likewise.
6298 * math/s_ctanhl.c: Likewise.
6299 * math/s_ctanl.c: Likewise.
6300 * math/s_ldexp.c: Likewise.
6301 * math/s_ldexpf.c: Likewise.
6302 * math/s_ldexpl.c: Likewise.
6303 * math/s_significand.c: Likewise.
6304 * math/s_significandf.c: Likewise.
6305 * math/s_significandl.c: Likewise.
6306 * math/w_acos.c: Likewise.
6307 * math/w_acosf.c: Likewise.
6308 * math/w_acosh.c: Likewise.
6309 * math/w_acoshf.c: Likewise.
6310 * math/w_acoshl.c: Likewise.
6311 * math/w_acosl.c: Likewise.
6312 * math/w_asin.c: Likewise.
6313 * math/w_asinf.c: Likewise.
6314 * math/w_asinl.c: Likewise.
6315 * math/w_atan2.c: Likewise.
6316 * math/w_atan2f.c: Likewise.
6317 * math/w_atan2l.c: Likewise.
6318 * math/w_atanh.c: Likewise.
6319 * math/w_atanhf.c: Likewise.
6320 * math/w_atanhl.c: Likewise.
6321 * math/w_cosh.c: Likewise.
6322 * math/w_coshf.c: Likewise.
6323 * math/w_coshl.c: Likewise.
6324 * math/w_dremf.c: Likewise.
6325 * math/w_exp10.c: Likewise.
6326 * math/w_exp10f.c: Likewise.
6327 * math/w_exp10l.c: Likewise.
6328 * math/w_exp2.c: Likewise.
6329 * math/w_exp2f.c: Likewise.
6330 * math/w_fmod.c: Likewise.
6331 * math/w_fmodf.c: Likewise.
6332 * math/w_fmodl.c: Likewise.
6333 * math/w_hypot.c: Likewise.
6334 * math/w_hypotf.c: Likewise.
6335 * math/w_hypotl.c: Likewise.
6336 * math/w_j0.c: Likewise.
6337 * math/w_j0f.c: Likewise.
6338 * math/w_j0l.c: Likewise.
6339 * math/w_j1.c: Likewise.
6340 * math/w_j1f.c: Likewise.
6341 * math/w_j1l.c: Likewise.
6342 * math/w_jn.c: Likewise.
6343 * math/w_jnf.c: Likewise.
6344 * math/w_jnl.c: Likewise.
6345 * math/w_lgamma.c: Likewise.
6346 * math/w_lgamma_r.c: Likewise.
6347 * math/w_lgammaf.c: Likewise.
6348 * math/w_lgammaf_r.c: Likewise.
6349 * math/w_lgammal.c: Likewise.
6350 * math/w_lgammal_r.c: Likewise.
6351 * math/w_log.c: Likewise.
6352 * math/w_log10.c: Likewise.
6353 * math/w_log10f.c: Likewise.
6354 * math/w_log10l.c: Likewise.
6355 * math/w_log2.c: Likewise.
6356 * math/w_log2f.c: Likewise.
6357 * math/w_log2l.c: Likewise.
6358 * math/w_logf.c: Likewise.
6359 * math/w_logl.c: Likewise.
6360 * math/w_pow.c: Likewise.
6361 * math/w_powf.c: Likewise.
6362 * math/w_powl.c: Likewise.
6363 * math/w_remainder.c: Likewise.
6364 * math/w_remainderf.c: Likewise.
6365 * math/w_remainderl.c: Likewise.
6366 * math/w_scalb.c: Likewise.
6367 * math/w_scalbf.c: Likewise.
6368 * math/w_scalbl.c: Likewise.
6369 * math/w_sinh.c: Likewise.
6370 * math/w_sinhf.c: Likewise.
6371 * math/w_sinhl.c: Likewise.
6372 * math/w_sqrt.c: Likewise.
6373 * math/w_sqrtf.c: Likewise.
6374 * math/w_sqrtl.c: Likewise.
6375 * math/w_tgamma.c: Likewise.
6376 * math/w_tgammaf.c: Likewise.
6377 * math/w_tgammal.c: Likewise.
6379 * po/ja.po: Update from translation team.
6381 2011-09-29 Andreas Jaeger <aj@suse.de>
6384 * sunrpc/netname.c (netname2host): Fix logic.
6388 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6390 * math/w_remainder.c (__remainder): Likewise.
6391 * math/w_remainderf.c (__remainderf): Likewise.
6392 * math/libm-test.inc (remainder_test): Add test cases.
6394 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6396 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6399 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6401 * string/test-memcmp.c: Avoid unncessary #defines.
6402 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6404 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6406 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6407 Use new sse2 version for core i3 - i7 as it's faster
6409 (bit_Prefer_PMINUB_for_stringop): New.
6410 * sysdeps/x86_64/rawmemchr.S: Update.
6411 Replace with faster SSE2 version.
6412 * sysdeps/x86_64/memrchr.S: New file.
6413 * sysdeps/x86_64/memchr.S: Update.
6414 Replace with faster SSE2 version.
6416 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6418 * elf/dl-load.c (lose): Add cast to avoid warning.
6420 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6422 * po/ca.po: Update from translation team.
6424 * inet/getnetgrent_r.c: Hook up nscd.
6425 * nscd/Makefile (routines): Add nscd_netgroup.
6426 (nscd-modules): Add netgroupcache.
6427 (CFLAGS-netgroupcache.c): Define.
6428 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6429 (cache_search): Add const to second parameter.
6430 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6432 (dbs): Add netgrdb entry.
6433 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6434 (verify_persistent_db): Handle netgrdb.
6435 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6436 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6438 (netgroup_response_header): Define.
6439 (innetgroup_response_header): Define.
6440 (datahead): Add netgroup_response_header and innetgroup_response_header
6442 * nscd/nscd.conf: Add entries for netgroup cache.
6443 * nscd/nscd.h (dbtype): Add netgrdb.
6444 (_PATH_NSCD_NETGROUP_DB): Define.
6445 (netgroup_iov_disabled): Declare.
6446 (xmalloc, xcalloc, xrealloc): Move declarations here.
6447 (cache_search): Adjust prototype.
6448 Add netgroup-related prototypes.
6449 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6450 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6451 (__nscd_innetgr): Declare.
6452 * nscd/selinux.c (perms): Use access_vector_t as element type and
6453 add netgroup-related initializers.
6454 * nscd/netgroupcache.c: New file.
6455 * nscd/nscd_netgroup.c: New file.
6456 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6457 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6458 For four parameters use innetgr.
6459 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6460 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6461 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6462 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6464 * nscd/connections.c (register_traced_file): Don't register file
6465 for disabled databases.
6467 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6469 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6471 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6472 from tree and freeing node.
6474 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6476 * nss/nsswitch.c (__nss_database_lookup): Handle
6477 nss_parse_service_list out of memory case.
6479 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6481 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6484 2011-10-04 Andreas Schwab <schwab@redhat.com>
6486 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6487 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6489 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6490 elf_machine_rela, elf_machine_lazy_rel.
6491 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6492 (ELF_DYNAMIC_DO_REL): Likewise.
6493 (ELF_DYNAMIC_DO_RELA): Likewise.
6494 (ELF_DYNAMIC_RELOCATE): Likewise.
6495 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6496 to ELF_DYNAMIC_DO_REL.
6497 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6498 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6499 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6502 skip_ifunc, don't call ifunc function if non-zero.
6503 (elf_machine_rela): Likewise.
6504 (elf_machine_lazy_rel): Likewise.
6505 (elf_machine_lazy_rela): Likewise.
6506 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6507 (elf_machine_lazy_rel): Likewise.
6508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6510 (elf_machine_lazy_rel): Likewise.
6511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6513 (elf_machine_lazy_rel): Likewise.
6514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6515 (elf_machine_lazy_rel): Likewise.
6516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6517 (elf_machine_lazy_rel): Likewise.
6518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6519 (elf_machine_lazy_rel): Likewise.
6520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6521 (elf_machine_lazy_rel): Likewise.
6522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6523 (elf_machine_lazy_rel): Likewise.
6524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6525 (elf_machine_lazy_rel): Likewise.
6527 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6529 * nss/nss_files/files-init.c (_nss_files_init): Use static
6530 initialization for all the *_traced_file variables.
6532 2011-09-28 Andreas Schwab <schwab@redhat.com>
6534 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6536 2011-09-27 Roland McGrath <roland@hack.frob.com>
6539 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6541 2011-09-27 Andreas Schwab <schwab@redhat.com>
6543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6544 Reread the line before reparsing it.
6546 2011-09-26 Andreas Schwab <schwab@redhat.com>
6548 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6550 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6551 Maxim Kuvyrkov <maxim@codesourcery.com>
6552 Joseph Myers <joseph@codesourcery.com>
6554 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6555 if needed for __stack_chk_guard.
6557 2011-09-19 Roland McGrath <roland@hack.frob.com>
6559 * sysdeps/posix/spawni.c (script_execute): Always define it.
6560 It will be optimized away if unused.
6561 (maybe_script_execute): New function.
6562 (__spawni): Call it.
6564 * Makerules: Don't include tls.make.
6565 (config-tls): Always set to thread.
6566 * tls.make.c: File removed.
6568 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6570 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6571 * config.make.in (CPPFLAGS-config): New substituted variable.
6573 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6578 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6579 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6581 2011-09-15 Roland McGrath <roland@hack.frob.com>
6583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6584 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6586 (CALL_FAIL): Likewise.
6587 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6588 (CALL_FAIL): Macro removed.
6589 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6591 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6594 for __FINITE_MATH_ONLY__ == 1.
6596 2011-09-15 Andreas Schwab <schwab@redhat.com>
6598 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6599 __ieee754_sqrt instead of sqrt.
6600 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6601 __ieee754_sqrtf instead of sqrtf.
6602 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6603 __floorf instead of floorf.
6604 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6605 __floorf, __truncf instead of floorf, truncf.
6607 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6609 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6611 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6612 __extern_always_inline.
6613 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6616 2011-09-14 Andreas Schwab <schwab@redhat.com>
6618 * elf/rtld.c (dl_main): Also relocate in dependency order when
6619 doing symbol dependency testing.
6621 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6624 Always define `refsym'.
6626 2011-09-13 Andreas Schwab <schwab@redhat.com>
6628 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6629 (__FD_ELT): Renamed from __FDELT.
6630 * misc/bits/select2.h (__FD_ELT): Likewise.
6631 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6632 __FD_MASK instead of __FDELT, __FDMASK.
6633 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6635 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6638 * elf/Makefile (gen-ldd): Fix pattern.
6640 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6641 (init_tls): Likewise.
6643 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6647 2011-09-12 Andreas Schwab <schwab@redhat.com>
6649 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6650 `struct cmsghdr *' instead of `void *'.
6651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6654 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6656 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6658 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6661 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6663 * configure.in: Remove --with-tls option.
6664 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6665 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6666 out in case it is missing.
6667 * sysdeps/ia64/elf/configure.in: Likewise.
6668 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6669 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6670 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6671 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6672 * sysdeps/sh/elf/configure.in: Likewise.
6673 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6674 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6675 * sysdeps/x86_64/elf/configure.in: Likewise.
6676 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6677 * sysdeps/mach/hurd/tls.h: Likewise.
6680 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6683 * configure.in: Fix use of AC_INIT.
6685 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6687 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6689 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6691 * malloc/hooks.c: Likewise.
6694 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6695 variables statically.
6696 (narenas): Initialize.
6697 (list_lock): Initialize.
6698 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6699 initializtion of main_arena and list_lock. Small cleanups.
6700 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6701 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6702 Add initializers to main_arena and mp_.
6703 (malloc_state): Remove pagesize member. Change all users to use
6706 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6707 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6708 is always initialized.
6710 * malloc/malloc.c: Removed unused configurations and dead code.
6711 * malloc/arena.c: Likewise.
6712 * malloc/hooks.c: Likewise.
6713 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6715 * include/tls.h: Removed. USE___THREAD must always be defined.
6716 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6717 * elf/dl-libc.c: Likewise.
6718 * elf/dl-tsd.c: Likewise.
6719 * include/errno.h: Likewise.
6720 * include/netdb.h: Likewise.
6721 * include/resolv.h: Likewise.
6722 * inet/herrno-loc.c: Likewise.
6723 * inet/herrno.c: Likewise.
6724 * malloc/arena.c: Likewise.
6725 * malloc/hooks.c: Likewise.
6726 * malloc/malloc.c: Likewise.
6727 * resolv/res-state.c: Likewise.
6728 * resolv/res_libc.c: Likewise.
6729 * sysdeps/i386/dl-machine.h: Likewise.
6730 * sysdeps/ia64/dl-machine.h: Likewise.
6731 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6733 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6734 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6735 * sysdeps/sh/dl-machine.h: Likewise.
6736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6737 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6738 * sysdeps/unix/i386/sysdep.S: Likewise.
6739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6740 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6745 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6750 * sysdeps/x86_64/dl-machine.h: Likewise.
6751 * tls.make.c: Likewise.
6753 * configure.in: Remove --with-__thread option. Make tests for
6754 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6755 tls_model attribute fail if no support is available. Remove
6757 * Makeconfig: Adjust for dropped configure option. All features are
6759 * Makerules: Likewise.
6760 * Versions.def: Likewise.
6761 * argp/argp-fmtstream.c: Likewise.
6762 * argp/argp-fmtstream.h: Likewise.
6763 * argp/argp-help.c: Likewise.
6764 * assert/assert.c: Likewise.
6765 * config.h.in: Likewise.
6766 * config.make.in: Likewise.
6767 * configure: Likewise.
6768 * configure.in: Likewise.
6769 * csu/Versions: Likewise.
6770 * csu/init.c: Likewise.
6771 * elf/tst-audit2.c: Likewise.
6772 * elf/tst-tls10.c: Likewise.
6773 * elf/tst-tls10.h: Likewise.
6774 * elf/tst-tls11.c: Likewise.
6775 * elf/tst-tls12.c: Likewise.
6776 * elf/tst-tls14.c: Likewise.
6777 * elf/tst-tlsmod11.c: Likewise.
6778 * elf/tst-tlsmod12.c: Likewise.
6779 * elf/tst-tlsmod13.c: Likewise.
6780 * elf/tst-tlsmod13a.c: Likewise.
6781 * elf/tst-tlsmod14a.c: Likewise.
6782 * elf/tst-tlsmod15b.c: Likewise.
6783 * elf/tst-tlsmod16a.c: Likewise.
6784 * elf/tst-tlsmod16b.c: Likewise.
6785 * elf/tst-tlsmod7.c: Likewise.
6786 * elf/tst-tlsmod8.c: Likewise.
6787 * elf/tst-tlsmod9.c: Likewise.
6788 * gmon/gmon.c: Likewise.
6789 * grp/fgetgrent_r.c: Likewise.
6790 * grp/putgrent.c: Likewise.
6791 * hurd/fopenport.c: Likewise.
6792 * include/libc-symbols.h: Likewise.
6793 * include/tls.h: Likewise.
6794 * intl/gettextP.h: Likewise.
6795 * intl/loadinfo.h: Likewise.
6796 * locale/global-locale.c: Likewise.
6797 * locale/localeinfo.h: Likewise.
6798 * mach/devstream.c: Likewise.
6799 * malloc/arena.c: Likewise.
6800 * malloc/set-freeres.c: Likewise.
6801 * misc/err.c: Likewise.
6802 * misc/getttyent.c: Likewise.
6803 * misc/mntent_r.c: Likewise.
6804 * posix/getopt.c: Likewise.
6805 * posix/wordexp.c: Likewise.
6806 * pwd/fgetpwent_r.c: Likewise.
6807 * resolv/Versions: Likewise.
6808 * resolv/res_hconf.c: Likewise.
6809 * shadow/fgetspent_r.c: Likewise.
6810 * shadow/putspent.c: Likewise.
6811 * stdio-common/printf_fphex.c: Likewise.
6812 * stdio-common/tmpfile.c: Likewise.
6813 * stdlib/abort.c: Likewise.
6814 * stdlib/fmtmsg.c: Likewise.
6815 * sunrpc/auth_unix.c: Likewise.
6816 * sunrpc/clnt_perr.c: Likewise.
6817 * sunrpc/clnt_tcp.c: Likewise.
6818 * sunrpc/clnt_udp.c: Likewise.
6819 * sunrpc/clnt_unix.c: Likewise.
6820 * sunrpc/openchild.c: Likewise.
6821 * sunrpc/svc_simple.c: Likewise.
6822 * sunrpc/svc_tcp.c: Likewise.
6823 * sunrpc/svc_udp.c: Likewise.
6824 * sunrpc/svc_unix.c: Likewise.
6825 * sunrpc/xdr.c: Likewise.
6826 * sunrpc/xdr_array.c: Likewise.
6827 * sunrpc/xdr_rec.c: Likewise.
6828 * sunrpc/xdr_ref.c: Likewise.
6829 * sunrpc/xdr_stdio.c: Likewise.
6831 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6833 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6835 2011-07-03 Andreas Jaeger <aj@suse.de>
6837 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6839 regenerate with gen-libm-tests.pl.
6841 2010-05-12 Petr Baudis <pasky@suse.cz>
6844 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6845 around j0() zero points by switching to j1().
6846 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6851 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6855 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6858 Patch in part by Pavel Roskin <proski@gnu.org>.
6861 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6863 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6864 Free memory block if necessary.
6867 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6868 be NULL. Don't lock in this case.
6870 2011-09-09 Roland McGrath <roland@hack.frob.com>
6872 * elf/elf.h (ELFOSABI_GNU): New macro.
6873 (ELFOSABI_LINUX): Define to that.
6875 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6877 * string/strncat.c (strncat): Undef the symbol in case it has been
6878 defined in bits/string.h.
6880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6882 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6884 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6887 2011-08-17 Andreas Jaeger <aj@suse.de>
6889 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6891 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6892 Ian Lance Taylor <iant@google.com>
6894 * math/libm-test.inc (lround_test): New testcase.
6895 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6897 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6899 * Makefile: Remove support for automatic cvs check-ins.
6900 * Makerules: Likewise.
6901 * config.make.in: Likewise.
6902 * configure.in: Likewise.
6903 * intl/Makefile: Likewise.
6904 * locale/Makefile: Likewise.
6905 * po/Makefile: Likewise.
6906 * posix/Makefile: Likewise.
6907 * sysdeps/gnu/Makefile: Likewise.
6908 * sysdeps/mach/hurd/Makefile: Likewise.
6909 * sysdeps/sparc/sparc32/Makefile: Likewise.
6912 * posix/Makefile (bug-regex32-ENV): Define.
6913 Patch by John Stanley <jpsinthemix@verizon.net>.
6915 * misc/Makefile (headers): Add bits/select2.h.
6916 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6917 * misc/bits/select2.h: New file.
6918 * include/bits/select2.h: New file.
6919 * debug/Makefile (routines): Add fdelt_chk.
6920 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6921 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6923 * debug/fdelt_chk.c: New file.
6925 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6926 * wcsmbs/test-wmemcmp.c: Likewise.
6927 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6928 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6930 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6932 * string/Makefile (strop-tests): Add memcmp.
6933 * string/test-wmemcmp.c: New file.
6934 * string/test-memcmp.c: Add wmemcmp support.
6936 2011-09-08 Roland McGrath <roland@hack.frob.com>
6939 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6942 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6943 garbage value in a __mach_port_mod_refs call in the cases of the
6944 task-self and thread-self ports.
6946 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6948 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6950 2011-09-08 Andreas Schwab <schwab@redhat.com>
6952 * elf/dl-load.c (lose): Check for non-null L.
6954 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6956 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6958 * elf/dl-libc.c (dlerror_run): Pass back error code from
6962 * elf/dl-load.c (lose): Free l_origin if it is valid.
6964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6966 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6969 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6971 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6973 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6975 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6976 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6977 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6978 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6979 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6980 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6981 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6982 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6983 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6984 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6986 2011-08-15 Alan Modra <amodra@gmail.com>
6989 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6990 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6991 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6992 ppc_mcount to static-only-routines.
6993 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6995 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6996 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6998 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7000 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7001 for finite and infinity parameters.
7003 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7006 and add nop instructions for throughput optimization.
7007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7009 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7012 aligned copy for power7 with vector-scalar instructions.
7013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7015 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7020 2011-09-07 Andreas Schwab <schwab@redhat.com>
7023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7026 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7028 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7029 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7030 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7031 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7034 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7037 Forgot to demangle the pointer.
7039 * sysdeps/i386/sysdep.h: Define atom_text_section.
7040 * sysdeps/x86_64/sysdep.h: Likewise.
7041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7042 section with atom_text_section.
7043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7045 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7051 already be defined. Change to take two parameters and don't assign
7052 result to variable. Adjust all users.
7053 Define INTERNAL_GETTIME if not already defined.
7054 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7057 HAVE_CLOCK_GETTIME_VSYSCALL.
7058 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7061 gettimeofday vsyscall, just use time.
7063 2011-09-06 Andreas Schwab <schwab@redhat.com>
7065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7068 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7070 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7074 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7076 syscall if possible.
7078 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7080 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7081 e_ident. Don't pass to find_mapsXX.
7082 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7084 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7087 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7088 * sysdeps/x86_64/multiarch/strchr.S: Update.
7089 Check bit_slow_BSF bit.
7090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7091 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7094 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7097 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7100 (__spawni): Change last parameter to be flag. Test
7101 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7102 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7103 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7104 * posix/spawni.c: Likewise.
7105 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7106 * posix/spawnp.c: Likewise. Change normal version to use
7107 SPAWN_XFLAGS_USE_PATH.
7108 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7109 SPAWN_XFLAGS_TRY_SHELL.
7112 * posix/glob.h: Remove gcc 1.x support.
7115 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7117 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7120 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7122 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7123 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7125 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7129 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7131 * sysdeps/x86_64/wcscmp.S: New file.
7133 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7134 wcscmp-c wcscmp-sse2
7135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7136 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7137 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7138 * wcsmbs/wcscmp.c: Allow renaming.
7140 2011-09-05 David S. Miller <davem@davemloft.net>
7142 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7143 stack slot, rather than the struct return pointer slot.
7144 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7145 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7147 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7149 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7151 * po/ja.po: Update from translation team.
7154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7155 kernel in 64-bit binaries.
7157 2011-09-01 David S. Miller <davem@davemloft.net>
7159 * elf/elf.h (HWCAP_SPARC_*): Move to..
7160 * sysdeps/sparc/sysdep.h: this new file and add new values.
7161 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7162 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7163 _DL_HWCAP_COUNT to 24.
7164 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7166 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7167 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7168 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7170 instead of magic constants.
7171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7173 2011-08-31 David S. Miller <davem@davemloft.net>
7175 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7177 Reimplement to do errno handling inline.
7178 (SYSCALL_ERROR_HANDLER): New macro.
7179 (__SYSCALL_STRING): Do not do errno handling in asm.
7180 (__CLONE_SYSCALL_STRING): Delete.
7181 (__INTERNAL_SYSCALL_STRING): Delete.
7182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7183 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7184 (PSEUDO): Reimplement to do errno handling inline.
7185 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7186 (SYSCALL_ERROR_HANDLER): New macro.
7187 (__SYSCALL_STRING): Do not do errno handling in asm.
7188 (__CLONE_SYSCALL_STRING): Delete.
7189 (__INTERNAL_SYSCALL_STRING): Delete.
7190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7191 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7193 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7194 (inline_syscall*): Add 'err' argument.
7195 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7196 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7197 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7198 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7200 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7201 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7203 2011-08-30 Andreas Schwab <schwab@redhat.com>
7205 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7207 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7209 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7212 2011-08-24 David S. Miller <davem@davemloft.net>
7214 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7216 2011-08-24 Andreas Schwab <schwab@redhat.com>
7218 * elf/Makefile: Add rules to build and run unload8 test.
7219 * elf/unload8.c: New file.
7220 * elf/unload8mod1.c: New file.
7221 * elf/unload8mod1x.c: New file.
7222 * elf/unload8mod2.c: New file.
7223 * elf/unload8mod3.c: New file.
7225 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7228 2011-08-23 David S. Miller <davem@davemloft.net>
7230 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7231 subtract stack bias.
7232 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7233 %sp not %fp in calculations.
7234 (_JMPBUF_UNWINDS_ADJ): Likewise.
7236 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7237 (aio_suspend): Call it to force an exception region around the
7238 AIO_MISC_WAIT() invocation.
7240 2011-08-23 Andreas Schwab <schwab@redhat.com>
7242 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7245 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7247 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7249 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7251 (Elf64_FuncDesc): Remove.
7253 2011-08-22 David S. Miller <davem@davemloft.net>
7255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7256 sigaltstack check, add missing cfi directives.
7257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7258 missing cfi directives, and sigaltstack handling.
7260 2011-08-16 Andreas Schwab <schwab@redhat.com>
7263 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7264 object is seen twice.
7265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7267 * elf/Makefile (distribute): Add tst-initorder2.c.
7268 (tests): Add tst-initorder2.
7269 (modules-names): Add tst-initorder2a tst-initorder2b
7270 tst-initorder2c tst-initorder2d. Add rules to build them.
7271 ($(objpfx)tst-initorder2.out): New rule.
7272 * elf/tst-initorder2.c: New file.
7273 * elf/tst-initorder2.exp: New file.
7275 2011-08-22 Andreas Schwab <schwab@redhat.com>
7277 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7279 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7280 dependencies back to end of function.
7282 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7285 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7288 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7290 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7291 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7292 of __vdso_gettimeofday.
7293 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7294 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7296 (_libc_vdso_platform_setup): Remove initialization of
7297 __vdso_gettimeofday and __vdso_time.
7299 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7301 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7303 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7306 * elf/dl-open.c (add_to_global): Report additions to the global scope
7307 for LD_DEBUG=scopes.
7308 (dl_open_worker): Also print scope of newly loaded dependencies.
7309 (_dl_show_scope): Indicate if there is no scope.
7312 * stdio-common/Makefile (tests): Add bug24.
7313 * stdio-common/bug24.c: New file.
7315 2011-08-19 Andreas Jaeger <aj@suse.de>
7318 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7319 non-existant file when using close-on-exec mode.
7321 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7324 the very first instruction.
7326 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7327 the CFI state in the end.
7328 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7329 inclusion of dl-trampoline.h.
7330 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7332 2011-08-19 Andreas Schwab <schwab@redhat.com>
7334 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7335 expectations for long double.
7337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7338 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7340 2011-08-14 David S. Miller <davem@davemloft.net>
7342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7343 artificual limit depends upon the system page size.
7345 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7347 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7348 * resolv/Makefile: Define CFLAGS-libresolv.
7350 2011-08-17 Andreas Schwab <schwab@redhat.com>
7352 * nss/makedb.c (compute_tables): Make variables used in nested
7355 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7357 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7358 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7359 if buffer was too small.
7361 * elf/pldd.c (main): Attach to all threads in the process.
7362 Rewrite /proc handling to use *at functions.
7364 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7366 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7367 specifies first scope to show.
7368 (dl_open_worker): Update callers. Move printing scope of new
7369 object to before the relocation.
7370 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7371 * sysdeps/generic/ldsodefs.h: Update declaration.
7373 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7374 string for the scope number.
7376 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7378 * nscd/servicescache.c (cache_addserv): Make sure written is always
7381 2011-08-14 Roland McGrath <roland@hack.frob.com>
7383 * sysdeps/i386/i486/bits/atomic.h
7384 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7385 statement expression, so as to suppress "set but not used" warning.
7386 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7388 * string/strncat.c (STRNCAT): Use prototype definition.
7390 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7391 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7393 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7394 (localedef-modules): Add localedef.
7395 (locale-modules): Add locale.
7397 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7398 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7401 2011-08-14 David S. Miller <davem@davemloft.net>
7403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7404 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7406 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7408 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7409 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7410 * elf/rtld.c (dl_main): Set l_name of vDSO.
7411 Call _dl_show_scope when DL_DEBUG_SCOPES.
7412 (process_dl_debug): Recognize scopes flag and also set it for all.
7413 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7414 Declare _dl_show_scope.
7416 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7417 (do_dlopen): Pass caller_dlopen to dl_open.
7418 (__libc_dlopen_mode): Initialize caller_dlopen.
7420 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7421 of libc. Make tolower call locale-independent. Optimize a bit by
7422 using isdigit instead of isalnum.
7423 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7425 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7427 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7428 was a dependency or dynamically loaded.
7430 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7432 * intl/l10nflist.c: Allow architecture-specific pop function.
7433 * sysdeps/x86_64/l10nflist.c: New file.
7435 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7438 2011-08-10 Andreas Schwab <schwab@redhat.com>
7440 * include/dirent.h: Add libc_hidden_proto for scandirat and
7441 scandirat64. Don't declare __scandirat64.
7442 * dirent/scandirat.c: Add libc_hidden_def.
7443 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7444 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7446 2011-08-10 David S. Miller <davem@davemloft.net>
7448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7454 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7456 * Versions.def [libc]: Add GLIBC_2.15.
7457 * dirent/Makefile (routines): Add scandirat and scandirat64.
7458 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7460 * dirent/dirent.h: Declare scandirat and scandirat64.
7461 * dirent/scandirat.c: New file.
7462 * dirent/scandirat64.c: New file.
7463 * sysdeps/wordsize-64/scandirat.c: New file.
7464 * sysdeps/wordsize-64/scandirat64.c: New file.
7465 * dirent/opendir.c: Define opendirat.
7466 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7468 * dirent/scandir64.c: Adjust for scandir.c change.
7469 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7470 __scandirat64, and __scandir_cancel_handler.
7471 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7472 additional parameter and use openat instead of open (outside of ld.so).
7473 Add new __opendir as wrapper around __opendirat.
7474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7475 here without requiring old scandirat implementation.
7477 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7479 * dirent/scandir.c (cancel_handler): Renamed to
7480 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7481 defined. Adjust users.
7482 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7483 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7485 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7487 * string/test-string.h (IMPL): Use __STRING to expand name and then
7490 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7493 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7495 * string/Makefile: Update.
7496 (strop-tests): Append strncat.
7497 * string/test-wcscmp.c: New file.
7498 New comprehensive test for wcscmp.
7499 * string/test-strcmp.c: Update.
7502 2011-07-22 Andreas Schwab <schwab@redhat.com>
7504 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7507 2011-07-26 Andreas Schwab <schwab@redhat.com>
7509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7510 encoding to ACE if AI_IDN.
7512 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7515 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7517 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7520 Fix overflow bug in strncat.
7521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7523 * string/test-strncat.c: Update.
7524 Add new tests for checking overflow bugs.
7526 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7529 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7530 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7531 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7533 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7534 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7535 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7536 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7539 (USE_AS_STRCAT): Define.
7540 Add strcat and strncat support.
7541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7543 2011-07-25 Andreas Schwab <schwab@redhat.com>
7545 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7546 __n bigger than INT_MAX+1.
7547 (__strncmp_g): Likewise.
7549 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7551 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7552 * libio/stido.h: Likewise.
7554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7559 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7566 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7571 (_dl_x86_64_save_sse): Likewise.
7573 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7577 (_dl_x86_64_save_sse): Likewise.
7579 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7581 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7583 2011-07-21 Andreas Schwab <schwab@redhat.com>
7585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7587 (_dl_x86_64_save_sse): Use correct AVX check.
7589 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7592 bug in strncpy/strncat.
7593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7595 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7597 * string/tester.c (test_strcat): Add tests for different alignments
7598 of source and destination.
7599 (test_strncat): Likewise.
7601 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7604 * posix/glob.c (glob): Check passed in values before using them in
7605 expressions to avoid some overflows.
7606 (glob_in_dir): Likewise.
7609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7610 check for AVX enablement so that we don't crash with old kernels and
7612 * elf/tst-audit4.c: Add same checks here.
7613 * elf/tst-audit6.c: Likewise.
7615 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7617 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7619 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7621 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7623 * po/cs.po: Update from translation team.
7624 * po/bg.po: Likewise.
7626 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7628 * misc/sys/cdefs.h: Add support for const attribute.
7629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7630 to gnu_dev_{major,minor,makedev} functions.
7632 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7634 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7636 2011-07-20 Andreas Schwab <schwab@redhat.com>
7638 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7641 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7644 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7645 register in order to avoid conflicts with the soft frame pointer
7646 being held in r11 when necessary.
7647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7648 (INTERNAL_VSYSCALL_NCS): Likewise.
7650 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7652 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7653 * elf/dl-fini.c (_dl_fini): Adjust caller.
7654 * elf/dl-close.c (_dl_close_worker): Likewise.
7655 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7657 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7659 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7660 "aux_cache->nlibs < 0".
7662 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7663 in the reload-count case.
7665 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7668 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7669 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7671 * sysdeps/x86_64/multiarch/strcat.S: New file.
7672 * sysdeps/x86_64/multiarch/strncat.S: New file.
7673 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7675 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7676 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7678 (USE_AS_STRCAT): Define.
7679 Add strcat and strncat support.
7680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7682 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7683 * string/strncat.c: Update.
7684 (USE_AS_STRNCAT): Define.
7685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7686 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7688 * sysdeps/x86_64/multiarch/init-arch.h
7689 (bit_Prefer_PMINUB_for_stringop): New.
7690 (index_Prefer_PMINUB_for_stringop): Likewise.
7691 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7692 bit_Prefer_PMINUB_for_stringop.
7694 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7696 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7698 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7699 of casting of buffer.
7700 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7701 buffer32 and buffer64.
7702 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7703 writes instead of casting of buffer.
7704 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7706 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7709 2011-07-19 Andreas Schwab <schwab@redhat.com>
7711 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7713 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7715 * nscd/nscd.c (termination_handler): Don't do anything for a database
7716 if it has not yet been initialized.
7718 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7720 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7722 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7724 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7726 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7728 * po/nl.po: Update from translation team.
7729 * po/sv.po: Likewise.
7731 2011-07-16 Roland McGrath <roland@hack.frob.com>
7733 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7734 now disallowed by GCC.
7736 * configure.in (use-default-link): Default to yes if a test -shared
7737 link meets our qualifications.
7738 * configure: Regenerated.
7740 * config.make.in (output-format): New variable.
7741 * configure.in: Check for ld --print-output-format support.
7742 * configure: Regenerated.
7743 * Makerules ($(common-objpfx)format.lds)
7744 [$(output-format) != unknown]: Just use $(output-format),
7745 instead of the linker-script munging.
7747 2011-07-14 Roland McGrath <roland@hack.frob.com>
7749 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7750 of $(common-objpfx)shlib.lds.
7751 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7753 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7754 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7756 * configure.in (-z relro check): Adjust test code to add a large
7757 writable data section after it.
7758 * configure: Regenerated.
7760 2011-07-11 Roland McGrath <roland@hack.frob.com>
7762 * configure.in (-z relro check): Fix test code to make the variable
7764 * configure: Regenerated.
7766 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7768 * nscd/nscd.h (struct traced_file): Define.
7769 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7770 elements. Add traced_files.
7771 (inotify_fd): Declare.
7772 (register_traced_file): Declare.
7773 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7774 (inotify_fd): Export.
7775 (resolv_conf_descr): Remove.
7776 (nscd_init): Move inotify descriptor creation to main.
7777 Don't register files for notification here.
7778 (register_traced_file): New function.
7779 (invalidate_cache): Don't use reset_res to determine whether to call
7780 res_init, go through the list of registered files.
7781 (main_loop_poll): The inotify descriptors are now stored in the
7782 structures for the traced files.
7783 (main_loop_epoll): Likewise
7784 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7785 to __nss_disable_nscd.
7786 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7787 for a database anymore. Check the records for all the registered
7789 * nss/Makefile (libnss_files-routines): Add files-init.
7790 (libnss_db-routines): Add db-init.
7791 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7792 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7793 * nss/nss_db/db-init.c: New file.
7794 * nss/nss_files/files-init.c: New file.
7795 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7796 __nss_lookup_function.
7797 (__nss_lookup_function): Call nss_load_library.
7798 (nss_load_all_libraries): New function.
7799 (__nss_disable_nscd): Take parameter with callback function for files
7800 to register. Set is_nscd. Load all the DSOs for the NSS modules
7801 used for the cached services.
7802 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7803 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7804 options for features to all the files in nscd.
7806 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7808 2011-07-10 Roland McGrath <roland@hack.frob.com>
7810 * csu/elf-init.c (__libc_csu_init): Comment typo.
7812 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7814 * po/pl.po: Update from translation team.
7815 * po/ja.po: Likewise.
7816 * po/ru.po: Likewise.
7817 * po/ko.po: Likewise.
7818 * po/fr.po: Likewise.
7820 2011-07-09 Roland McGrath <roland@hack.frob.com>
7822 * configure.in (.ctors/.dtors header and trailer check):
7823 Use an empirical test on a built program.
7824 * configure: Regenerated.
7826 * configure.in (-z relro check): Use an empirical test on a built DSO.
7827 Detect, but do not require, on ia64.
7828 * configure: Regenerated.
7830 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7831 Update tests that use readelf to use $READELF instead.
7832 * configure: Regenerated.
7834 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7836 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7837 if the result is not used.
7839 2011-07-05 Andreas Jaeger <aj@suse.de>
7842 * stdlib/tst-strtod.c: Add testcase.
7844 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7846 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7847 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7848 The latter has a higher limit. Take additional parameter to pass to
7850 (__pathconf): Pass file to __statfs_link_max.
7851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7853 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7857 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7861 (__statfs_filesize_max): Likewise.
7862 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7864 2011-07-05 Andreas Jaeger <aj@suse.de>
7866 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7868 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7870 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7875 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7877 * Makefile (strop-tests): Add strncat.
7878 * string/test-strncat.c: New file.
7880 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7882 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7884 2011-06-21 Andreas Jaeger <aj@suse.de>
7886 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7887 Copy rule from iconvdata/Makefile.
7889 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7892 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7893 but no long options are defined, just return 'W'.
7895 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7898 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7900 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7902 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7904 (innetgr): Likewise.
7906 2011-07-05 Roland McGrath <roland@hack.frob.com>
7908 * config.make.in (install_root): Default to $(DESTDIR).
7910 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7914 2011-07-02 Roland McGrath <roland@hack.frob.com>
7916 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7918 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7919 containing directory rather than embedding absolute directory names.
7921 * scripts/check-local-headers.sh: Rewritten using awk.
7922 Match by word, not by line. Print error messages for matches.
7923 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7925 * Makerules [shlib-lds-flags empty]:
7926 ($(common-objpfx)libc_pic.opts): New target.
7927 ($(common-objpfx)libc_pic.os.clean): New target.
7928 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7930 * config.make.in (OBJCOPY): New variable.
7931 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7932 * configure: Regenerated.
7934 * config.make.in (use-default-link): New variable.
7935 * configure.in (use_default_link): Grok --with-default-link to set it.
7936 * configure: Regenerated.
7937 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7938 (shlib-lds, shlib-lds-flags): Define to empty.
7940 * Makerules (shlib-lds): New variable.
7941 (shlib-lds-flags): New variable.
7942 (build-shlib, build-moduile, build-module-asneeded): Use it.
7943 ($(common-objpfx)libc.so): Use $(shlib-lds).
7944 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7945 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7947 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7948 DT_FLAGS/DT_FLAGS_1 with zero flags.
7950 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7951 linker script munging.
7953 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7955 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7957 * crypt/sha512.c (sha512_process_block): Perform total addition using
7958 128-bit if possible.
7959 (__sha512_finish_ctx): Likewise.
7960 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7962 * crypt/sha256.c (SWAP64): Define.
7963 (sha256_process_block): Perform total addition using 64-bit if
7965 (__sha256_finish_ctx): Likewise.
7967 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7969 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7971 * nscd/hstcache.c (cache_addhst): Likewise.
7972 * nscd/grpcache.c (cache_addgr): Likewise.
7973 * nscd/aicache.c (addhstaiX): Likewise
7974 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7976 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7978 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7980 * nscd/hstcache.c (cache_addhst): Likewise.
7981 * nscd/grpcache.c (cache_addgr): Likewise.
7982 * nscd/aicache.c (addhstaiX): Likewise
7984 2011-07-01 Andreas Schwab <schwab@redhat.com>
7986 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7987 domain only when needed.
7989 2011-06-30 Andreas Schwab <schwab@redhat.com>
7991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7994 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7996 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7997 are re-adding the entry.
7998 * nscd/servicescache.c (cache_addserv): Likewise.
8000 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8002 * sysdeps/generic/dl-irel.h: fix protection against multiple
8004 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8006 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8009 * malloc/memusage.sh: Fix quoting in message.
8010 * debug/xtrace.sh: Likewise.
8012 * configure.in: Remove support for --experimental-malloc option, make
8014 * config.make.in: Likewise.
8015 * malloc/Makefile: Likewise.
8017 2011-06-27 Andreas Schwab <schwab@redhat.com>
8019 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8020 two-byte characters.
8022 2011-06-27 Roland McGrath <roland@hack.frob.com>
8024 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8025 AC_CACHE_CHECK invocation.
8026 * configure: Regenerated.
8028 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8030 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8033 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8034 bit from old_res_options.
8036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8038 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8039 value type for setfct.
8041 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8044 __gettimeofday instead of gettimeofday.
8046 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8048 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8050 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8057 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8060 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8061 strcpy-sse2-unaligned strncpy-sse2-unaligned
8062 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8063 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8064 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8065 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8066 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8069 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8070 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8071 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8072 (STRCPY): Support SSE2 and SSSE3 versions.
8074 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8078 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8079 kernels which artificially limit size of requests.
8081 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8084 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8085 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8086 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8087 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8088 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8089 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8090 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8093 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8094 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8095 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8096 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8097 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8099 Enable unaligned load optimization for Intel Core i3, i5 and i7
8101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8103 (index_Fast_Unaligned_Load): Define.
8104 (HAS_FAST_UNALIGNED_LOAD): Define.
8106 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8108 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8110 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8114 until it is clear that the information is realy needed.
8115 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8117 2011-06-22 Andreas Schwab <schwab@redhat.com>
8119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8121 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8124 /sys/devices/system/cpu/online if it is usable.
8126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8127 reading the information from the /proc filesystem to once a second.
8129 2011-06-21 Andreas Jaeger <aj@suse.de>
8131 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8132 NULL after inclusion of kernel headers.
8134 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8136 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8137 calls to internal_setent.
8140 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8141 addresses using gethostbyname4_r ignore IPv4 addresses.
8143 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8144 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8146 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8148 2011-06-20 David S. Miller <davem@davemloft.net>
8150 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8152 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8154 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8156 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8157 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8158 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8159 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8160 * sysdeps/x86_64/dl-irel.h: Likewise.
8162 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8163 * elf/dl-sym.c: Likewise.
8165 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8167 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8168 need to dereference resplen2.
8170 2011-06-14 Andreas Schwab <schwab@redhat.com>
8172 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8174 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8176 * Makeconfig: Define vardbdir and inst_vardbdir.
8177 * nss/Makefile: Add rules to install db-Makefile.
8179 * nss/nss_db/db-XXX.c: Cleanup.
8181 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8182 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8184 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8185 * nss/makedb.c: Implement -g option to specify that value strings
8186 are generated and should not be added to table iterated over for
8188 * nss/nss_db/db-initgroups.c: New file.
8190 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8193 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8194 (internal_getgrouplist): Adjust to name change.
8195 Update use_initgroups_entry if this is not the first call.
8196 * nss/databases.def: Add initgroups entry.
8198 * nss/makedb.c (compute_tables): Check result of multiple hash table
8199 sizes to minimize maximum chain length.
8201 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8203 * Versions.def: Add entry for libnss_db.
8204 * shlib-versions: Likewise.
8205 * nss/Makefile: Add rules to build libnss_db.
8206 * nss/Versions: Add libnss_db information. Organize libnss_files
8208 * nss/db-Makefile: Add gshadow support. Change rules for the new
8209 makedb progra. Some minor improvements to generate smaller files.
8210 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8212 * nss/makedb.c: ...here.
8213 Improve database format to be smaller and require less memory at
8215 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8217 * nss/nss_db/db-netgrp.c: Likewise.
8218 * nss/nss_db/db-open.c: Likewise.
8219 * nss/nss_files/flies-XXX.x: Adjust comments.
8220 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8221 * nss/nss_files/files-grp.c: Likewise.
8222 * nss/nss_files/files-hosts.c: Likewise.
8223 * nss/nss_files/files-network.c: Likewise.
8224 * nss/nss_files/files-proto.c: Likewise.
8225 * nss/nss_files/files-pwd.c: Likewise.
8226 * nss/nss_files/files-rpc.c: Likewise.
8227 * nss/nss_files/files-service.c: Likewise.
8228 * nss/nss_files/files-sgrp.c: Likewise.
8229 * nss/nss_files/files-spwd.c: Likewise.
8230 * nss/nss_db/db-alias.c: Removed.
8231 * nss/nss_db/dummy-db.h: Removed.
8233 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8235 * nss/makedb.c: Rewritten to not use database library.
8236 * nss/Makefile: Update to build new makedb program.
8238 2011-06-14 Andreas Jaeger <aj@suse.de>
8240 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8243 2011-06-10 Andreas Schwab <schwab@redhat.com>
8245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8248 2011-06-10 Roland McGrath <roland@hack.frob.com>
8250 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8251 * elf/Makefile ($(objpfx)ld.so): Likewise.
8253 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8254 Don't list ld.so twice in dependencies.
8256 * posix/bug-regex31.c: Include <stdlib.h>.
8258 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8260 * nis/nss_compat/compat-spwd.c
8261 (getspent_next_nss_netgr): Remove unused variable.
8262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8264 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8265 nonmembers" output to use the right array.
8267 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8269 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8271 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8272 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8273 * catgets/gencat.c (read_input_file): Likewise.
8274 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8276 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8277 variable definition inside #if's controlling its use.
8279 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8281 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8283 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8285 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8288 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8290 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8291 * configure: Regenerated.
8293 * Makerules: Revert last change.
8294 * elf/Makefile: Likewise.
8296 2011-06-09 Roland McGrath <roland@hack.frob.com>
8298 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8299 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8300 (reloc-link): Likewise.
8302 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8304 * elf/Makefile: Add rules to build pldd.
8305 * elf/pldd.c: New file.
8306 * elf/pldd-xx.c: New file.
8308 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8310 * version.h: Update for 2.15 development version.
8312 2011-06-07 David S. Miller <davem@davemloft.net>
8314 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8317 elf_machine_lazy_rel): Likewise.
8318 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8320 elf_machine_lazy_rel): Likewise.
8321 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8322 dl_hwcap via passed in argument.
8323 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8326 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8328 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8330 2011-06-06 Roland McGrath <roland@hack.frob.com>
8333 * manual/fdl-1.1.texi: New file, verbatim from:
8334 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8335 * manual/lgpl-2.1.texi: New file, verbatim from:
8336 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8337 * manual/Makefile (licenses): New variable, list those new file names.
8339 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8341 * manual/fdl.texi: File removed.
8342 * manual/lesser.texi: File removed.
8343 * manual/libc.texinfo (Copying, Documentation License):
8344 Use new @include file names, put @appendix directive before @include.
8346 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8349 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8350 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8351 (mq_open): Add __NTH.
8353 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8356 Assume Intel Core i3/i5/i7 processor if AVX is available.
8358 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8363 2011-05-31 Andreas Schwab <schwab@redhat.com>
8365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8366 memory. Use alloca_account. Fix memory leak when retrying.
8368 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8370 * version.h (RELEASE): Bump for 2.14 release.
8371 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8373 * config.make.in (RANLIB): Remove entry.
8375 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8377 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8378 (libc.pot): Work around missing support for .ksh extension in xgettext.
8381 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8382 if both request failed.
8383 (send_dg): In case of server errors clear resplen or *resplen2.
8386 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8387 when there are multiple maps.
8388 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8389 (_dl_fini): Remove test here.
8391 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8393 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8396 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8397 bit from old_res_options.
8398 (gaih_inet): Likewise.
8401 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8404 * resolv/res_init.c (res_setoptions): Make the code more compact.
8407 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8411 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8413 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8416 * malloc/malloc.h: Declare malloc hook variables as volatile.
8418 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8422 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8423 raise in the comment.
8424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8428 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8431 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8432 grow the buffers more if it already has to be sufficient.
8433 (build_wcs_upper_buffer): Likewise.
8434 * posix/regexec.c (check_matching): Likewise.
8435 (clean_state_log_if_needed): Likewise.
8436 (extend_buffers): Don't enlarge buffers beyond size of the input
8438 Patches mostly by Emil Wojak <emil@wojak.eu>.
8439 * posix/bug-regex32.c: New file.
8440 * posix/Makefile (tests): Add bug-regex32.
8442 * locale/findlocale.c (_nl_find_locale): Return right away if
8443 _nl_explode_name failed.
8444 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8446 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8448 * debug/xtrace.sh: Unify messages.
8449 * malloc/memusage.sh: Likewise.
8452 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8453 time symbol from vDSO. Substitute with vsyscall if not available.
8454 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8458 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8459 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8460 Add sendmmsg and internal_sendmmsg.
8461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8462 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8463 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8465 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8466 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8469 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8473 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8479 * iconvdata/Makefile (tests): Add bug-iconv9.
8480 * iconvdata/bug-iconv9.c: New file.
8482 2011-05-27 Andreas Schwab <schwab@redhat.com>
8485 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8487 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8490 (struct user_regs_struct): Change intcs field back to cs.
8492 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8494 * po/ja.po: Update from translation team.
8496 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8499 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8502 2011-05-20 Andreas Schwab <schwab@redhat.com>
8504 * stdlib/longlong.h: Update from GCC.
8506 2011-05-23 Andreas Schwab <schwab@redhat.com>
8508 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8510 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8512 (__sysconf): Pass it down.
8514 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8517 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8520 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8521 add in in __libc_use_alloca calls. Adjust callers.
8522 (glob): Use malloc in some situations.
8524 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8525 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8528 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8530 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8531 and CLOCK_BOOTTIME_ALARM.
8534 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8537 * string/_strerror.c (__strerror_r): Print negative errors as signed
8541 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8542 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8543 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8545 * configure.in: Fix typo in redirection and correct removal of test
8549 * locale/setlocale.c (new_composite_name): Fix test to check for
8550 identical name of all categories.
8553 * libio/filedoalloc.c (local_isatty): New function.
8554 (_IO_file_doallocate): Use local_isatty.
8555 * stdio-common/perror.c (perror): In case a new stream is used
8556 forward the stream error.
8557 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8560 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8565 * include/alloca.h (extend_alloca_account): Define.
8568 * posix/regex.h: Fix comments with documentation of user-accessible
8569 fields after compilation and describe correct free'ing of pattern
8570 after re_compile_pattern.
8571 Patch by Reuben Thomas <rrt@sc3d.org>.
8573 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8575 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8576 and -mno-altivec to prevent the compiler from using Altivec and/or
8577 VSX instructions when the corresponding registers are not available.
8579 2011-05-19 Andreas Schwab <schwab@redhat.com>
8581 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8583 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8585 * libio/freopen.c (freopen): Use __dup2, not dup2.
8586 * libio/freopen64.c (freopen64): Likewise.
8588 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8591 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8592 * math/Makefile (tests): Add test-powl.
8593 (CFLAGS-test-powl.c): Define.
8594 * math/test-powl.c: New file.
8596 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8598 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8600 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8603 * iconvdata/gb18030.c: Update to GB18020-2005.
8605 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8607 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8608 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8609 Patch by Aharon Robbins <arnold@skeeve.com>.
8612 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8616 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8620 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8621 point to strings before performing equality test for error_one_per_line
8625 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8629 (struct user_fpregs_struct): Avoid __uint*_t types.
8632 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8633 symbol info. Use it instead of calling _dl_addr locally.
8634 (lock_and_info): New function.
8635 (tr_freehook): Call lock_and_info and pass symbol info as additional
8636 parameter to tr_where.
8637 (tr_mallochook): Likewise.
8638 (tr_reallochook): Likewise.
8639 (tr_memalignhook): Likewise.
8641 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8642 used and couldn't be at all thread-safe.
8644 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8646 * libio/freopen.c (freopen): Don't close old file descriptor
8647 before the new one is opened. Instead dup the new file descriptor
8648 to the old one after the new stream is created.
8649 * libio/freopen64.c (freopen64): Likewise.
8650 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8651 * libio/fileops.c (_IO_new_file_close_it): Handle new
8652 _IO_FLAGS2_NOCLOSE flag.
8653 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8654 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8655 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8656 _IO_FLAGS2_NOCLOSE flag.
8657 * include/unistd.h: Add hidden_proto for dup3.
8659 * io/dup3.c: Define hidden symbol.
8660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8663 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8664 when an incomplete long option is used.
8665 * posix/tst-getopt_long1.c: New file.
8666 * posix/Makefile (tests): Add tst-getopt_long1.
8669 * scripts/config.guess: Update from autoconf-2.68.
8670 * scripts/config.sub: Likewise.
8673 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8675 (has_cpuclock): ...this. New function.
8676 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8677 macro here based on has_cpuclock code.
8680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8681 First byte (not low byte) is now always NUL.
8682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8685 Use non-cancelable interfaces.
8688 * locale/iso-639.def: Add entry for Sorani.
8691 * include/stdlib.h: Move include protection to the right place.
8692 Define abort_msg_s. Declare __abort_msg with it.
8693 * stdlib/abort.c (__abort_msg): Adjust type.
8694 * assert/assert.c (__assert_fail_base): New function. Majority
8695 of code from __assert_fail. Allocate memory for __abort_msg with
8697 (__assert_fail): Now call __assert_fail_base.
8698 * assert/assert-perr.c: Remove bulk of implementation. Use
8700 * include/assert.hL Declare __assert_fail_base.
8701 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8703 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8705 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8709 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8710 until all modules are registered in the DTV.
8711 * elf/Makefile: Add rules to build and run tst-tls19.
8712 * elf/tst-tls19.c: New file.
8713 * elf/tst-tls19mod1.c: New file.
8714 * elf/tst-tls19mod2.c: New file.
8715 * elf/tst-tls19mod3.c: New file.
8716 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8719 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8723 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8724 two-byte sequence errors.
8725 * iconvdata/Makefile (tests): Add bug-iconv8.
8726 * iconvdata/bug-iconv8.c: New file.
8729 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8732 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8735 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8736 (dummy_getcfa): New function.
8737 (init): Get _Unwind_GetCFA address, use dummy if not found.
8738 (backtrace_helper): In recursion check, also check whether CFA changes.
8739 (__backtrace): Completely initialize arg.
8741 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8742 storing incomplete byte sequence in state object. Avoid testing for
8743 guaranteed too small input if we know there is enough data available.
8745 2011-05-11 Andreas Schwab <schwab@redhat.com>
8747 * Makeconfig (+link-pie): Indent.
8748 * Rules (binaries-pie): Define if $(have-fpie) and
8750 (binaries-shared): Also filter out $(binaries-pie).
8751 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8752 * nscd/Makefile (others-pie): Add nscd.
8753 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8754 ($(objpfx)nscd): Remove command override.
8755 * login/Makefile (others-pie): Add pt_chown.
8756 ($(objpfx)pt_chown): Remove command override.
8757 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8758 remove command overrides.
8760 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8762 * libio/tst_putwc.c: Fix error messages.
8765 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8766 currently writing and seek to current position when not.
8767 * libio/Makefile (tests): Add bug-fclose1.
8768 * libio/bug-fclose1.c: New file.
8770 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8773 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8774 don't set DF_1_NODELETE here.
8775 (do_lookup_x): When entering new entry test for copy relocation
8776 and if necessary set DF_1_NODELETE flag.
8777 * elf/tst-unique4.cc: New file.
8778 * elf/tst-unique4.h: New file.
8779 * elf/tst-unique4lib.cc: New file.
8780 * elf/Makefile: Add rules to build and run tst-unique4.
8781 Patch by Piotr Bury <pbury@goahead.com>.
8783 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8786 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8789 * misc/mntent_r.c (addmntent): Flush the stream after the output
8792 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8793 (is_trusted_path_normalize): Skip initial colon. Append slash
8794 to empty buffer. Duplicate is_trusted_path code but allow
8795 constructed patch to be prefix.
8796 (is_dst): Allow $ORIGIN followed by /.
8797 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8798 Correct testing of result of is_trusted_path_normalize
8799 (decompose_rpath): Fix warning.
8801 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8804 * grp/initgroups.c (internal_getgrouplist): When we found the service
8805 list through the initgroups entry in nsswitch.conf do not always
8806 continue on a successful lookup. Don't always use the
8807 __nss_group_database value if it is set.
8808 * nss/nsswitch.conf (initgroups): Change action for successful db
8809 lookup to continue for compatibility.
8811 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8814 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8816 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8818 * iconvdata/tst-tables.sh: Likewise.
8819 * iconvdata/cp770.c: New file.
8820 * iconvdata/cp771.c: New file.
8821 * iconvdata/cp772.c: New file.
8822 * iconvdata/cp773.c: New file.
8823 * iconvdata/cp774.c: New file.
8824 * iconvdata/testdata/CP770: New file.
8825 * iconvdata/testdata/CP770..UTF8: New file.
8826 * iconvdata/testdata/CP771: New file.
8827 * iconvdata/testdata/CP771..UTF8: New file.
8828 * iconvdata/testdata/CP772: New file.
8829 * iconvdata/testdata/CP772..UTF8: New file.
8830 * iconvdata/testdata/CP773: New file.
8831 * iconvdata/testdata/CP773..UTF8: New file.
8832 * iconvdata/testdata/CP774: New file.
8833 * iconvdata/testdata/CP774..UTF8: New file.
8835 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8837 * iconvdata/gen-8bit-gap.sh: Likewise.
8838 * iconvdata/gen-8bit.sh: Likewise.
8840 * locale/iso-639.def: Add ary entry.
8843 * locale/C-translit.h.in: Add U20A1 transliteration.
8846 * locale/iso-639.def: Add wae entry.
8847 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8850 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8854 * locale/C-translit.h.in: Add entry for U20B9.
8855 Patch by pravin.d.s@gmail.com.
8857 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8860 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8861 ENAMETOOLONG use generic getcwd.
8862 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8863 in rtld. Use *stat64.
8864 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8865 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8866 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8867 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8868 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8869 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8870 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8872 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8873 * dirent/rewinddir.c: Add libc_hidden_def.
8874 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8875 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8877 * include/dirent.h (__alloc_dir): Add flags parameter.
8878 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8879 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8881 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8882 from fdopendir if O_CLOEXEC is already set.
8884 2011-03-15 Alan Modra <amodra@gmail.com>
8886 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8887 l_tls_firstbyte_offset non-zero. Save padding offset in
8888 l_tls_firstbyte_offset for later use.
8889 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8890 freeing static tls block.
8892 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8894 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8895 where #ifdef was intended. The intent is to prevent ARG_MAX from
8896 being defined by the kernel headers.
8898 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8901 * resolv/resolv.h: Define RES_NOTLDQUERY.
8902 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8903 no-tld-query and set RES_NOTLDQUERY.
8904 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8905 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8906 modern BIND to search name as TLD unless forbidden.
8908 2011-05-07 Petr Baudis <pasky@suse.cz>
8909 Ulrich Drepper <drepper@gmail.com>
8912 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8913 (is_trusted_path): ...to here.
8914 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8915 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8916 using is_trusted_path_normalize() in setuid scripts.
8918 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8921 __BEGIN/__END_DECLS.
8923 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8926 NSS_STATUS_NOTFOUND if no record was found.
8928 2011-05-05 Andreas Schwab <schwab@redhat.com>
8930 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8931 (headers-not-in-tirpc): Remove rpc/netdb.h
8932 * resolv/netdb.h: Revert last change.
8934 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8936 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8937 circular dependency between libgcc.a and libc.a.
8939 2011-05-05 Andreas Schwab <schwab@redhat.com>
8941 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8942 * nis/Makefile: Don't install rpcsvc/*.
8943 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8944 instead of <rpc/types.h>.
8945 (MAXHOSTNAMELEN): Define.
8947 2011-05-03 Andreas Schwab <schwab@redhat.com>
8949 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8951 2011-04-28 Maciej Babinski <mbabinski@google.com>
8954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8955 gethostbyname4_r when IPv6 results are possible.
8957 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8960 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8961 _PC_PIPE_BUF handling.
8963 2011-04-30 Bruno Haible <bruno@clisp.org>
8966 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8967 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8969 * inet/getnameinfo.c (getnameinfo): Likewise.
8971 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8973 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8974 to groups setting in database lookup.
8975 * nss/nsswitch.conf: Add initgroups entry.
8977 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8980 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8982 Patch by Eric Blake <eblake@redhat.com>.
8984 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8986 * sunrpc/Makefile (need-export-routines): Add svc_run.
8987 (routines): Remove svc_run.
8988 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8989 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8990 * sunrpc/svc_run.c (svc_run): Likewise.
8991 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8993 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8996 problem in reallocation in last patch.
8998 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9000 * sunrpc/Makefile: Move inclusion of Rules.
9002 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9004 * nss/nss_files/files-initgroups.c: New file.
9005 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9006 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9007 _nss_files_initgroups_dyn.
9009 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9011 * elf/elf.h (R_ARM_IRELATIVE): Define.
9013 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9015 * po/ru.po: Update from translation team.
9017 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9019 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9022 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9026 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9031 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9039 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9042 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9044 * stdlib/bug-getcontext.c: New file.
9045 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9047 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9049 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9050 instructions into .machine "z9-109".
9051 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9052 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9054 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9056 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9057 between environment variables and auxiliary vector.
9059 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9061 * Makefile: Add rules to build linkobj/libc.so.
9062 * include/libc-symbols.h: Define libc_hidden_nolink.
9063 * include/rpc/auth.h: Mark functions which are to be hidden.
9064 * include/rpc/auth_des.h: Likewise.
9065 * include/rpc/auth_unix.h: Likewise.
9066 * include/rpc/clnt.h: Likewise.
9067 * include/rpc/des_crypt.h: Likewise.
9068 * include/rpc/key_prot.h: Likewise.
9069 * include/rpc/pmap_clnt.h: Likewise.
9070 * include/rpc/pmap_prot.h: Likewise.
9071 * include/rpc/pmap_rmt.h: Likewise.
9072 * include/rpc/rpc_msg.h: Likewise.
9073 * include/rpc/svc.h: Likewise.
9074 * include/rpc/svc_auth.h: Likewise.
9075 * include/rpc/xdr.h: Likewise.
9076 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9077 * nss/Makefile: Likewise.
9078 * sunrpc/Makefile: Don't install headers. Build library with normal
9079 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9080 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9081 for the compat linking library. Remove use of INTDEF/INTUSE.
9082 * sunrpc/auth_none.c: Likewise.
9083 * sunrpc/auth_unix.c: Likewise.
9084 * sunrpc/authdes_prot.c: Likewise.
9085 * sunrpc/authuxprot.c: Likewise.
9086 * sunrpc/clnt_gen.c: Likewise.
9087 * sunrpc/clnt_perr.c: Likewise.
9088 * sunrpc/clnt_raw.c: Likewise.
9089 * sunrpc/clnt_simp.c: Likewise.
9090 * sunrpc/clnt_tcp.c: Likewise.
9091 * sunrpc/clnt_udp.c: Likewise.
9092 * sunrpc/clnt_unix.c: Likewise.
9093 * sunrpc/des_crypt.c: Likewise.
9094 * sunrpc/des_soft.c: Likewise.
9095 * sunrpc/get_myaddr.c: Likewise.
9096 * sunrpc/key_call.c: Likewise.
9097 * sunrpc/key_prot.c: Likewise.
9098 * sunrpc/netname.c: Likewise.
9099 * sunrpc/pm_getmaps.c: Likewise.
9100 * sunrpc/pm_getport.c: Likewise.
9101 * sunrpc/pmap_clnt.c: Likewise.
9102 * sunrpc/pmap_prot.c: Likewise.
9103 * sunrpc/pmap_prot2.c: Likewise.
9104 * sunrpc/pmap_rmt.c: Likewise.
9105 * sunrpc/publickey.c: Likewise.
9106 * sunrpc/rpc_cmsg.c: Likewise.
9107 * sunrpc/rpc_common.c: Likewise.
9108 * sunrpc/rpc_dtable.c: Likewise.
9109 * sunrpc/rpc_prot.c: Likewise.
9110 * sunrpc/rpc_thread.c: Likewise.
9111 * sunrpc/rtime.c: Likewise.
9112 * sunrpc/svc.c: Likewise.
9113 * sunrpc/svc_auth.c: Likewise.
9114 * sunrpc/svc_authux.c: Likewise.
9115 * sunrpc/svc_raw.c: Likewise.
9116 * sunrpc/svc_run.c: Likewise.
9117 * sunrpc/svc_simple.c: Likewise.
9118 * sunrpc/svc_tcp.c: Likewise.
9119 * sunrpc/svc_udp.c: Likewise.
9120 * sunrpc/svc_unix.c: Likewise.
9121 * sunrpc/svcauth_des.c: Likewise.
9122 * sunrpc/xcrypt.c: Likewise.
9123 * sunrpc/xdr.c: Likewise.
9124 * sunrpc/xdr_array.c: Likewise.
9125 * sunrpc/xdr_float.c: Likewise.
9126 * sunrpc/xdr_intXX_t.c: Likewise.
9127 * sunrpc/xdr_mem.c: Likewise.
9128 * sunrpc/xdr_rec.c: Likewise.
9129 * sunrpc/xdr_ref.c: Likewise.
9130 * sunrpc/xdr_sizeof.c: Likewise.
9131 * sunrpc/xdr_stdio.c: Likewise.
9133 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9136 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9137 * sysdeps/ia64/dl-tls.h: Likewise.
9138 * sysdeps/powerpc/dl-tls.h: Likewise.
9139 * sysdeps/s390/dl-tls.h: Likewise.
9140 * sysdeps/sh/dl-tls.h: Likewise.
9141 * sysdeps/sparc/dl-tls.h: Likewise.
9142 * sysdeps/x86_64/dl-tls.h: Likewise.
9143 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9145 2011-03-14 Andreas Schwab <schwab@redhat.com>
9147 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9148 rpath element also skip the following colon.
9149 (expand_dynamic_string_token): Add is_path parameter and pass
9150 down to DL_DST_REQUIRED and _dl_dst_substitute.
9151 (decompose_rpath): Call expand_dynamic_string_token with
9152 non-zero is_path. Ignore empty rpaths.
9153 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9156 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9161 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9164 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9165 Patch by Filipe David Manana <fdmanana@apache.org>.
9167 2011-04-07 Andreas Schwab <schwab@redhat.com>
9169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9170 Maintain aligned stack.
9171 (CHECK_RSP): Remove unused macro.
9173 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9175 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9178 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9180 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9182 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9184 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9187 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9188 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9189 * sysdeps/x86_64/memmove.c: New file.
9190 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9191 (memcpy): Renamed to ...
9192 (__new_memcpy): This.
9193 (memcpy): Provide GLIBC_2_14 memcpy.
9194 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9195 (memcpy): Provide GLIBC_2_2_5 memcpy.
9197 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9200 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9202 2011-03-30 Andreas Schwab <schwab@redhat.com>
9204 * misc/syncfs.c: New file.
9205 * misc/Makefile (routines): Add syncfs.
9206 * posix/unistd.h: Declare syncfs.
9207 * sysdeps/unix/syscalls.list: Add syncfs.
9209 2011-04-01 Andreas Schwab <schwab@redhat.com>
9211 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9218 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9221 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9231 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9232 sync_file_range.c with -fexceptions.
9233 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9234 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9235 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9236 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9240 sync_file_range as cancellation point
9241 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9242 now a wrapper around __call_sync_file_range with cancellation handling.
9243 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9244 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9245 function name to __call_sync_file_range.
9246 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9247 Add call_sync_file_range.
9249 2011-04-01 Andreas Schwab <schwab@redhat.com>
9251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9256 * iconv/iconv.h: Fix typo in comment.
9257 * io/fcntl.h: Likewise.
9258 * libio/stdio.h: Likewise.
9259 * posix/spawn.h: Likewise.
9260 * posix/unistd.h: Likewise.
9261 * stdlib/stdlib.h: Likewise.
9262 * time/time.h: Likewise.
9263 * wcsmbs/wchar.h: Likewise.
9265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9266 open_by_handle): Add.
9267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9268 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9269 Augment a few comments.
9270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9275 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9278 * io/fcntl.h (AT_EMPTY_PATH): Define.
9280 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9282 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9283 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9284 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9286 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9287 * Versions.def: Add GLIBC_2.14.
9288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9291 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9297 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9300 * string/test-strncmp.c (do_page_test): New function.
9302 (test_main): Call check2.
9303 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9305 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9308 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9309 Handle cache information in CPU leaf 4.
9310 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9312 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9315 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9316 character representation.
9317 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9319 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9321 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9322 END(__isnan) to END(__isnanf) to match function entry point/label
9323 EALIGN(__isnanf,...).
9325 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9327 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9329 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9332 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9333 copy from the symbol referenced in the relocation to initialize the
9335 Patch by Piotr Bury <pbury@goahead.com>.
9336 * elf/Makefile: Add rules to build and tst-unique3.
9337 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9338 * elf/tst-unique3.cc: New file.
9339 * elf/tst-unique3.h: New file.
9340 * elf/tst-unique3lib.cc: New file.
9341 * elf/tst-unique3lib2.cc: New file.
9343 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9345 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9347 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9348 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9351 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9353 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9354 to-be-loaded object along a path to loader is ld.so.
9356 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9357 Ulrich Drepper <drepper@gmail.com>
9359 * sysdeps/x86_64/memset.S: After aligning destination, code
9360 branches to different locations depending on the value of
9361 misalignment, when multiarch is enabled. Fix this.
9363 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9365 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9366 Set _x86_64_preferred_memory_instruction for AMD processsors.
9367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9368 Set bit_Prefer_SSE_for_memop for AMD processors.
9370 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9372 * libio/fmemopen.c (fmemopen): Optimize a bit.
9374 2011-03-03 Andreas Schwab <schwab@redhat.com>
9376 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9378 2011-03-03 Roland McGrath <roland@redhat.com>
9380 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9382 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9384 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9385 __bzero_ultra1 instead of __memset_ultra1.
9387 2011-02-23 Andreas Schwab <schwab@redhat.com>
9388 Ulrich Drepper <drepper@gmail.com>
9391 * include/link.h (struct link_map): Add l_orig_initfini.
9392 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9393 returning unsuccessfully.
9394 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9395 close of a file loaded at startup, restore the original l_initfini
9397 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9398 list, store the pointer.
9399 * elf/Makefile ($(objpfx)noload-mem): New rule.
9400 (noload-ENV): Define.
9401 (tests): Add $(objpfx)noload-mem.
9402 * elf/noload.c: Include <memcheck.h>.
9403 (main): Call mtrace. Close all opened handles.
9405 2011-02-17 Andreas Schwab <schwab@redhat.com>
9408 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9409 dependencies are missing.
9411 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9413 Fix __if_freereq crash: Unlike the generic version which uses free,
9415 * sysdeps/mach/hurd/ifreq.h: New file.
9417 2011-01-27 Petr Baudis <pasky@suse.cz>
9418 Ulrich Drepper <drepper@gmail.com>
9421 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9423 * stdio-common/bug23.c: New file.
9424 * stdio-common/Makefile (tests): Add bug23.
9426 2010-09-28 Andreas Schwab <schwab@redhat.com>
9427 Ulrich Drepper <drepper@gmail.com>
9430 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9431 before performing relro protection. At old place add assertion
9432 to make sure nothing changed.
9434 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9435 Glauber de Oliveira Costa <glommer@gmail.com>
9437 * elf/elf.h: Add new ARM TLS relocs.
9439 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9442 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9444 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9446 * sysdeps/wordsize-64/tst-writev.c: New file.
9448 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9450 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9451 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9452 insns in _dl_start to prevent a TOC reference before relocs are
9455 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9458 * Makeconfig: Remove RANLIB definition.
9459 * Makerules: Don't use RANLIB.
9460 * aclocal.m4: Remove ranlib test.
9461 * configure.in: No need to check for ranlib.
9462 * elf/rtld-Rules: Don't use RANLIB.
9464 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9466 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9468 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9469 inclusion protection macro.
9471 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9472 SIGRTMIN and SIGRTMAX and print information in that case only when
9473 SIGRTMIN is defined.
9475 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9477 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9478 arginfo fn returning -1.
9480 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9481 and thousands string is zero terminated.
9483 2011-02-03 Andreas Schwab <schwab@redhat.com>
9485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9486 sysdeps/unix/sysv/linux/bits/socket.h.
9488 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9490 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9491 (__CPU_COUNT): Remove old macros.
9492 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9493 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9494 (__CPU_ALLOC, __CPU_FREE): Add macros.
9495 (__sched_cpualloc, __sched_cpufree): Add declarations.
9497 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9499 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9500 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9501 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9502 (readdhstai): Return value of addhstaiX call.
9503 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9504 (addgrbyX): Return value returned by cache_addgr.
9505 (readdgrbyname): Return value returned by addgrbyX.
9506 (readdgrbygid): Likewise.
9507 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9508 (addpwbyX): Return value returned by cache_addpw.
9509 (readdpwbyname): Return value returned by addhstbyX.
9510 (readdpwbyuid): Likewise.
9511 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9512 (addservbyX): Return value returned by cache_addserv.
9513 (readdservbyname): Return value returned by addservbyX:
9514 (readdservbyport): Likewise.
9515 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9516 (addhstbyX): Return value returned by cache_addhst.
9517 (readdhstbyname): Return value returned by addhstbyX.
9518 (readdhstbyaddr): Likewise.
9519 (readdhstbynamev6): Likewise.
9520 (readdhstbyaddrv6): Likewise.
9521 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9522 (readdinitgroups): Return value returned by addinitgroupsX.
9523 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9524 (prune_cache): Keep track of timeout value of re-added entries.
9525 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9526 * nscd/nscd.h: Adjust prototypes of readd* functions.
9528 2011-02-04 Roland McGrath <roland@redhat.com>
9530 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9531 (nis_stats): Likewise.
9532 * nis/nis_modify.c (nis_modify): Likewise.
9533 * nis/nis_remove.c (nis_remove): Likewise.
9534 * nis/nis_add.c (nis_add): Likewise.
9536 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9538 * posix/fnmatch_loop.c: Add some consts.
9540 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9542 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9545 * config.make.in (config-cflags-novzeroupper): Define.
9546 * configure.in: Substitute libc_cv_cc_novzeroupper.
9547 * elf/Makefile (AVX-CFLAGS): Define.
9548 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9549 (CFLAGS-tst-auditmod4a.c): Likewise.
9550 (CFLAGS-tst-auditmod4b.c): Likewise.
9551 (CFLAGS-tst-auditmod6b.c): Likewise.
9552 (CFLAGS-tst-auditmod6c.c): Likewise.
9553 (CFLAGS-tst-auditmod7b.c): Likewise.
9554 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9556 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9558 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9559 function to the callback.
9560 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9562 2011-02-02 Andreas Schwab <schwab@redhat.com>
9564 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9567 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9570 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9572 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9574 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9577 * elf/Makefile: Add rules to build and run new test.
9578 * elf/tst-initorder.c: New file.
9579 * elf/tst-initorder.exp: New file.
9580 * elf/tst-initordera1.c: New file.
9581 * elf/tst-initordera2.c: New file.
9582 * elf/tst-initordera3.c: New file.
9583 * elf/tst-initordera4.c: New file.
9584 * elf/tst-initorderb1.c: New file.
9585 * elf/tst-initorderb2.c: New file.
9586 * elf/tst-order-a1.c: New file.
9587 * elf/tst-order-a2.c: New file.
9588 * elf/tst-order-a3.c: New file.
9589 * elf/tst-order-a4.c: New file.
9590 * elf/tst-order-b1.c: New file.
9591 * elf/tst-order-b2.c: New file.
9592 * elf/tst-order-main.c: New file.
9593 New test case by George Gensure <werkt0@gmail.com>.
9595 2010-10-01 Andreas Schwab <schwab@redhat.com>
9597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9598 decoding ACE if AI_CANONIDN.
9600 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9602 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9604 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9606 * version.h (RELEASE): Bump for 2.13 release.
9607 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9609 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9611 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9620 * posix/getconf.c: Update copyright year.
9621 * catgets/gencat.c: Likewise.
9622 * csu/version.c: Likewise.
9623 * debug/catchsegv.sh: Likewise.
9624 * debug/xtrace.sh: Likewise.
9625 * elf/ldconfig.c: Likewise.
9626 * elf/ldd.bash.in: Likewise.
9627 * elf/sprof.c (print_version): Likewise.
9628 * iconv/iconv_prog.c: Likewise.
9629 * iconv/iconvconfig.c: Likewise.
9630 * locale/programs/locale.c: Likewise.
9631 * locale/programs/localedef.c: Likewise.
9632 * malloc/memusage.sh: Likewise.
9633 * malloc/mtrace.pl: Likewise.
9634 * nscd/nscd.c (print_version): Likewise.
9635 * nss/getent.c: Likewise.
9637 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9638 PF_CAIF, and PF_ALG.
9639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9641 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9643 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9644 (modules-names): Use them.
9645 (ifunc-test-modules, ifunc-pie-tests): Define.
9646 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9647 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9648 (test-extras): Likewise.
9649 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9650 $(compile-command.c).
9651 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9652 (all-built-dso): Define.
9653 (check-textrel.out, check-execstack.out): Depend on it.
9655 * configure.in: Don't override --enable-multi-arch.
9657 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9660 * nscd/hstcache.c (tryagain): Define.
9661 (cache_addhst): Return tryagain not notfound for temporary errors.
9662 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9665 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9669 to make the syscall.
9670 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9673 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9674 and fall back to matching as normal character if the string ends before
9675 the matching ']' is found. This is what POSIX requires.
9676 * posix/testfnm.c: Adjust test result.
9677 * posix/globtest.sh: Adjust test result. Add new test.
9678 * posix/tst-fnmatch.input: Likewise.
9679 * posix/tst-fnmatch2.c: Add new test.
9681 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9683 * elf/Makefile (check-execstack): Revert last change. Depend on
9685 (check-execstack.h): New target.
9686 (generated): Add check-execstack.h.
9687 * elf/check-execstack.c: Include "check-execstack.h".
9688 (main): Revert last change.
9689 (handle_file): Return zero if GNU_STACK is absent and
9690 DEFAULT_STACK_PERMS doesn't include PF_X.
9692 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9694 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9695 in child fails because the descriptor is already closed.
9696 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9697 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9701 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9705 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9706 temporary buffer used to handle multi lookups locally.
9707 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9709 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9711 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9714 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9716 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9719 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9722 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9723 characters. When rounding increased number of integer digits recompute
9725 * stdio-common/tst-grouping.c: New file.
9726 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9728 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9730 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9731 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9733 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9735 * bits/select.h: Likewise.
9737 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9739 * po/ja.po: Update from translation team.
9741 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9744 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9745 implementation just like for lxstat, fxstatat, et al.
9747 2010-12-27 Jim Meyering <meyering@redhat.com>
9750 * posix/regexec.c (build_trtable): Return failure indication upon
9751 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9753 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9756 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9757 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9758 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9762 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9765 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9766 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9768 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9770 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9771 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9772 script has SORT_BY_INIT_PRIORITY.
9773 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9774 NO_CTORS_DTORS_SECTIONS is defined.
9775 * elf/soinit.c: Likewise.
9776 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9777 NO_CTORS_DTORS_SECTIONS is defined.
9778 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9779 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9780 * sysdeps/sh/init-first.c: Likewise.
9781 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9783 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9785 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9786 always use the slow path.
9788 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9790 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9791 similar rule which adds the sysdep directories to the header search in
9792 order to pick up the correct platform stackinfo.h.
9793 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9794 perform test if it is, otherwise return successfully without testing.
9795 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9796 DEFAULT_STACK_PERMS define in stackinfo.h.
9797 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9798 defined in stackinfo.h.
9799 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9800 DEFAULT_STACK_PERMS defined in stackinfo.h.
9801 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9802 * sysdeps/ia64/stackinfo.h: Likewise.
9803 * sysdeps/s390/stackinfo.h: Likewise.
9804 * sysdeps/sh/stackinfo.h: Likewise.
9805 * sysdeps/sparc/stackinfo.h: Likewise.
9806 * sysdeps/x86_64/stackinfo.h: Likewise.
9807 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9808 PF_X for powerpc64. Retain PF_X for powerpc32.
9810 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9812 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9814 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9815 GETDENTS_64BIT_ALIGNED.
9817 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9819 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9821 2010-12-10 Andreas Schwab <schwab@redhat.com>
9823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9827 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9829 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9830 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9832 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9835 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9838 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9840 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9842 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9844 * po/it.po: Update from translation team.
9846 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9851 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9853 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9855 2010-11-24 Andreas Schwab <schwab@redhat.com>
9857 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9859 (gaih_getanswer_slice): Likewise.
9861 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9865 2010-05-31 Petr Baudis <pasky@suse.cz>
9868 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9869 silently even in the chroot mode.
9871 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9873 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9874 last patch a bit. Pretty printing
9876 2010-05-31 Petr Baudis <pasky@suse.cz>
9879 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9880 initialization of skip_initgroups_dyn.
9882 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9884 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9887 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9889 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9891 2010-11-11 Andreas Schwab <schwab@redhat.com>
9893 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9894 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9895 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9896 ($(objpfx)tst-fnmatch-mem): New rule.
9897 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9898 * posix/tst-fnmatch.c (main): Call mtrace.
9900 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9903 Support Intel processor model 6 and model 0x2c.
9905 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9910 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9913 * string/test-strncasecmp.c (check_result): New function.
9914 (do_one_test): Use it.
9915 (check1): New function.
9916 (test_main): Use it.
9917 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9918 Support strcasecmp and strncasecmp.
9920 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9923 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9926 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9928 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9932 * sysdeps/x86_64/multiarch/bzero.S: New file.
9933 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9934 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9935 * sysdeps/x86_64/multiarch/memset.S: New file.
9936 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9938 Set bit_Prefer_SSE_for_memop for Intel processors.
9939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9941 (index_Prefer_SSE_for_memop): Define.
9942 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9944 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9949 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9952 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9953 (__x86_64_raw_data_cache_size_half): Likewise.
9954 (__x86_64_raw_shared_cache_size): Likewise.
9955 (__x86_64_raw_shared_cache_size_half): Likewise.
9957 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9958 (__x86_64_raw_data_cache_size_half): Likewise.
9959 (__x86_64_raw_shared_cache_size): Likewise.
9960 (__x86_64_raw_shared_cache_size_half): Likewise.
9961 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9962 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9963 and __x86_64_raw_shared_cache_size_half. Round
9964 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9965 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9966 to multiple of 256 bytes.
9968 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9972 of inacessible symlinks. Verify result of symlink before returning it.
9973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9974 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9976 2010-10-28 Erich Ritz <erichritz@gmail.com>
9978 * math/math.h (isinf): Fix typo in comment.
9980 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9982 * po/da.po: Update from translation team.
9984 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9986 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9987 is added to the list.
9989 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9990 Ulrich Drepper <drepper@gmail.com>
9992 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9993 the global list here. Move code to...
9994 (_dl_add_to_namespace_list): ...here. New function.
9995 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9996 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9997 * elf/dl-load.c (lose): Don't remove the element from the list.
9998 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9999 (_dl_map_object): Likewise.
10001 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10004 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10005 into all bytes of SSE register.
10006 Patch by Richard Li <richardpku@gmail.com>.
10008 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10011 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10014 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10016 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10017 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10024 2010-10-22 Andreas Schwab <schwab@redhat.com>
10026 * include/dlfcn.h (__RTLD_SECURE): Define.
10027 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10028 mode & __RTLD_SECURE instead.
10029 (open_path): Rename preloaded parameter to secure.
10030 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10031 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10032 * elf/dl-deps.c (openaux): Likewise.
10033 * elf/rtld.c (struct map_args): Remove is_preloaded.
10034 (map_doit): Don't use it.
10035 (dl_main): Likewise.
10036 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10037 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10039 2010-09-09 Andreas Schwab <schwab@redhat.com>
10041 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10042 (sysd-rules-targets): Remove duplicates.
10043 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10044 rtld-%.$o dependency.
10046 2010-10-18 Andreas Schwab <schwab@redhat.com>
10048 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10049 _dl_map_object do it.
10051 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10053 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10054 fast fma builtins, define the macros in the C99 standard.
10055 (FP_FAST_FMAF): Likewise.
10056 (FP_FAST_FMAL): Likewise.
10057 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10059 * bits/mathdef.h: Update copyright year.
10060 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10062 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10064 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10065 builtins, define the macros in the C99 standard.
10066 (FP_FAST_FMAF): Likewise.
10067 (FP_FAST_FMAL): Likewise.
10068 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10070 (FP_FAST_FMAF): Likewise.
10072 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10075 * math/libm-test.inc (fma_test): Some new testcases.
10076 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10078 y and infinite z. Do multiplication by C already in long double.
10079 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10081 y and infinite z. Do bitwise or of inexact bit into u.d.
10082 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10083 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10084 * sysdeps/i386/fpu/s_fma.S: Removed.
10085 * sysdeps/i386/fpu/s_fmal.S: Removed.
10087 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10090 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10092 computation is not scheduled after fetestexcept. Fix value
10093 of minimum denormal long double.
10095 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10098 * math/libm-test.inc (fma_test): Add some more tests.
10099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10102 2010-10-15 Andreas Schwab <schwab@redhat.com>
10104 * scripts/data/localplt-s390-linux-gnu.data: New file.
10105 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10107 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10110 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10111 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10113 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10115 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10117 if one of x and y is very large and the other is subnormal.
10118 * sysdeps/s390/fpu/s_fmaf.c: New file.
10119 * sysdeps/s390/fpu/s_fma.c: New file.
10120 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10121 * sysdeps/powerpc/fpu/s_fma.S: New file.
10122 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10123 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10124 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10126 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10129 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10132 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10133 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10134 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10135 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10136 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10139 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10142 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10143 * posix/bug-regex31.input: Add test case.
10145 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10147 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10148 * posix/bug-regex31.input: New file.
10151 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10152 (parse_sub_exp): Fix last change, use postorder.
10154 * posix/bug-regex31.c: New file.
10155 * posix/Makefile: Add rules to build and run bug-regex31.
10157 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10160 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10163 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10164 to have entries in sys_siglist.
10167 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10170 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10173 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10174 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10175 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10176 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10178 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10179 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10180 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10181 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10182 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10183 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10184 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10186 * math/ftestexcept.c (fetestexcept): Likewise.
10187 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10188 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10189 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10190 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10191 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10192 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10195 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10198 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10201 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10203 * string/bug-strstr1.c: New file.
10204 * string/Makefile: Add rules to build and run bug-strstr1.
10206 2010-10-05 Eric Blake <eblake@redhat.com>
10209 * string/str-two-way.h (two_way_long_needle): Always clear memory
10210 when skipping input due to the shift table.
10212 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10215 * malloc/mcheck.c: Handle large requests.
10218 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10219 for strncmp and strncasecmp.
10220 * string/stratcliff.c: Add tests for strcmp and strncmp.
10221 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10223 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10225 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10228 2010-09-30 Andreas Jaeger <aj@suse.de>
10230 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10231 (CGROUP_SUPER_MAGIC): Define.
10232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10233 Handle btrfs and cgroup file systems.
10234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10237 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10239 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10240 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10242 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10245 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10246 trying to locate the ELF header.
10248 2010-09-27 Andreas Schwab <schwab@redhat.com>
10251 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10252 Mask out sign-bit copies when constructing f_fsid.
10254 2010-09-24 Petr Baudis <pasky@suse.cz>
10256 * debug/stack_chk_fail_local.c: Add missing licence exception.
10257 * debug/warning-nop.c: Likewise.
10259 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10262 implementing getdents64 using getdents syscall, set d_type if
10263 __ASSUME_GETDENTS32_D_TYPE.
10265 2010-09-16 Andreas Schwab <schwab@redhat.com>
10267 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10268 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10270 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10273 * posix/unistd.h: Undo change of feature selection for ftruncate from
10276 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10278 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10281 2010-09-20 Andreas Schwab <schwab@redhat.com>
10283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10287 2010-09-14 Andreas Schwab <schwab@redhat.com>
10289 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10290 variables after CHECK_SP call.
10291 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10293 2010-09-13 Andreas Schwab <schwab@redhat.com>
10294 Ulrich Drepper <drepper@redhat.com>
10296 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10297 re-relocationg ld.so.
10298 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10299 _dl_init_paths call.
10300 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10303 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10305 * resolv/res_init.c (__res_vinit): Count the default server we added.
10307 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10308 Ulrich Drepper <drepper@redhat.com>
10311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10312 (____longjmp_chk): Use %ebx for saving value across system call.
10315 2010-09-06 Andreas Schwab <schwab@redhat.com>
10317 * manual/Makefile: Don't mix pattern rules with normal rules.
10319 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10321 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10323 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10324 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10325 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10326 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10330 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10333 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10334 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10336 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10338 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10339 * sysdeps/x86_64/addmul_1.S: Likewise.
10340 * sysdeps/x86_64/lshift.S: Likewise.
10341 * sysdeps/x86_64/mul_1.S: Likewise.
10342 * sysdeps/x86_64/rshift.S: Likewise.
10343 * sysdeps/x86_64/sub_n.S: Likewise.
10344 * sysdeps/x86_64/submul_1.S: Likewise.
10346 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10348 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10349 Define __sched_param instead of SCHED_* and sched_param when
10350 <bits/sched.h> is included with __need_schedparam defined.
10351 * bits/sched.h [__need_schedparam]
10352 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10353 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10354 (__defined_schedparam): Define to 1.
10355 (__sched_param): New structure, identical to sched_param.
10356 (__need_schedparam): Undefine.
10358 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10361 (epoll_create1): Declare.
10363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10365 2010-08-31 Andreas Schwab <schwab@redhat.com>
10368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10369 shifting retval into place.
10371 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10373 * nis/rpcsvc/nis.h: Update copyright notice.
10374 * nis/rpcsvc/nis.x: Likewise.
10375 * nis/rpcsvc/nis_callback.h: Likewise.
10376 * nis/rpcsvc/nis_callback.x: Likewise.
10377 * nis/rpcsvc/nis_object.x: Likewise.
10378 * nis/rpcsvc/nis_tags.h: Likewise.
10379 * nis/rpcsvc/yp.h: Likewise.
10380 * nis/rpcsvc/yp.x: Likewise.
10381 * nis/rpcsvc/ypupd.h: Likewise.
10382 * nis/yp_xdr.c: Likewise.
10383 * nis/ypupdate_xdr.c: Likewise.
10385 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10386 mainly the body of pmap_getport. Add parameters to specify timeouts.
10387 (pmap_getport): Use __libc_rpc_getport.
10388 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10389 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10390 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10392 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10397 2010-08-27 Roland McGrath <roland@redhat.com>
10399 * sysdeps/i386/i686/multiarch/Makefile
10400 (CFLAGS-varshift.c): New variable.
10402 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10404 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10405 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10409 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10411 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10413 * sysdeps/x86_64/strlen.S: Unroll the loop.
10414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10415 strlen-sse2 strlen-sse2-bsf.
10416 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10417 __strlen_no_bsf if bit_Slow_BSF is set.
10418 (__strlen_sse42): Removed.
10419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10420 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10422 2010-08-25 Roland McGrath <roland@redhat.com>
10424 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10425 * sysdeps/x86_64/multiarch/varshift.c: New file.
10426 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10427 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10428 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10431 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10434 strlen-sse2 strlen-sse2-bsf.
10435 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10436 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10437 (__strlen_sse2): Removed.
10438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10441 bit_Slow_BSF for Atom.
10442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10443 (index_Slow_BSF): Define.
10444 (HAS_SLOW_BSF): Define.
10446 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10449 * resolv/res_init.c (__res_vinit): When no server address at all
10450 is given default to loopback.
10452 2010-08-24 Roland McGrath <roland@redhat.com>
10454 * configure.in: Remove config-name.h generation.
10455 * configure: Regenerated.
10456 * config-name.in: File removed.
10457 * scripts/config-uname.sh: New file.
10458 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10459 ($(objdir)config-name.h): New target.
10461 * sunrpc/rpc_parse.h: Avoid nested comment.
10463 2010-08-24 Richard Henderson <rth@redhat.com>
10464 Ulrich Drepper <drepper@redhat.com>
10465 H.J. Lu <hongjiu.lu@intel.com>
10467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10469 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10470 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10471 _mm_alignr_epi8 with _mm_loadu_si128.
10472 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10473 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10474 (__m128i_shift_right): Removed.
10475 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10476 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10477 * sysdeps/x86_64/multiarch/varshift.h: New file.
10478 * sysdeps/x86_64/multiarch/varshift.S: New file.
10480 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10482 * configure.in: Move assembler checks to before sysdep dir checking.
10484 2010-08-20 Petr Baudis <pasky@suse.cz>
10486 * LICENSES: Sync the sunrpc license.
10488 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10490 * sunrpc/auth_des.c: Update copyright notice once again.
10491 * sunrpc/auth_none.c: Likewise.
10492 * sunrpc/auth_unix.c: Likewise.
10493 * sunrpc/authdes_prot.c: Likewise.
10494 * sunrpc/authuxprot.c: Likewise.
10495 * sunrpc/bindrsvprt.c: Likewise.
10496 * sunrpc/clnt_gen.c: Likewise.
10497 * sunrpc/clnt_perr.c: Likewise.
10498 * sunrpc/clnt_raw.c: Likewise.
10499 * sunrpc/clnt_simp.c: Likewise.
10500 * sunrpc/clnt_tcp.c: Likewise.
10501 * sunrpc/clnt_udp.c: Likewise.
10502 * sunrpc/clnt_unix.c: Likewise.
10503 * sunrpc/des_crypt.c: Likewise.
10504 * sunrpc/des_soft.c: Likewise.
10505 * sunrpc/get_myaddr.c: Likewise.
10506 * sunrpc/getrpcport.c: Likewise.
10507 * sunrpc/key_call.c: Likewise.
10508 * sunrpc/key_prot.c: Likewise.
10509 * sunrpc/openchild.c: Likewise.
10510 * sunrpc/pm_getmaps.c: Likewise.
10511 * sunrpc/pm_getport.c: Likewise.
10512 * sunrpc/pmap_clnt.c: Likewise.
10513 * sunrpc/pmap_prot.c: Likewise.
10514 * sunrpc/pmap_prot2.c: Likewise.
10515 * sunrpc/pmap_rmt.c: Likewise.
10516 * sunrpc/rpc/auth.h: Likewise.
10517 * sunrpc/rpc/auth_unix.h: Likewise.
10518 * sunrpc/rpc/clnt.h: Likewise.
10519 * sunrpc/rpc/des_crypt.h: Likewise.
10520 * sunrpc/rpc/key_prot.h: Likewise.
10521 * sunrpc/rpc/netdb.h: Likewise.
10522 * sunrpc/rpc/pmap_clnt.h: Likewise.
10523 * sunrpc/rpc/pmap_prot.h: Likewise.
10524 * sunrpc/rpc/pmap_rmt.h: Likewise.
10525 * sunrpc/rpc/rpc.h: Likewise.
10526 * sunrpc/rpc/rpc_des.h: Likewise.
10527 * sunrpc/rpc/rpc_msg.h: Likewise.
10528 * sunrpc/rpc/svc.h: Likewise.
10529 * sunrpc/rpc/svc_auth.h: Likewise.
10530 * sunrpc/rpc/types.h: Likewise.
10531 * sunrpc/rpc/xdr.h: Likewise.
10532 * sunrpc/rpc_clntout.c: Likewise.
10533 * sunrpc/rpc_cmsg.c: Likewise.
10534 * sunrpc/rpc_common.c: Likewise.
10535 * sunrpc/rpc_cout.c: Likewise.
10536 * sunrpc/rpc_dtable.c: Likewise.
10537 * sunrpc/rpc_hout.c: Likewise.
10538 * sunrpc/rpc_main.c: Likewise.
10539 * sunrpc/rpc_parse.c: Likewise.
10540 * sunrpc/rpc_parse.h: Likewise.
10541 * sunrpc/rpc_prot.c: Likewise.
10542 * sunrpc/rpc_sample.c: Likewise.
10543 * sunrpc/rpc_scan.c: Likewise.
10544 * sunrpc/rpc_scan.h: Likewise.
10545 * sunrpc/rpc_svcout.c: Likewise.
10546 * sunrpc/rpc_tblout.c: Likewise.
10547 * sunrpc/rpc_util.c: Likewise.
10548 * sunrpc/rpc_util.h: Likewise.
10549 * sunrpc/rpcinfo.c: Likewise.
10550 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10551 * sunrpc/rpcsvc/key_prot.x: Likewise.
10552 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10553 * sunrpc/rpcsvc/mount.x: Likewise.
10554 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10555 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10556 * sunrpc/rpcsvc/rex.x: Likewise.
10557 * sunrpc/rpcsvc/rstat.x: Likewise.
10558 * sunrpc/rpcsvc/rusers.x: Likewise.
10559 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10560 * sunrpc/rpcsvc/spray.x: Likewise.
10561 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10562 * sunrpc/rtime.c: Likewise.
10563 * sunrpc/svc.c: Likewise.
10564 * sunrpc/svc_auth.c: Likewise.
10565 * sunrpc/svc_authux.c: Likewise.
10566 * sunrpc/svc_raw.c: Likewise.
10567 * sunrpc/svc_run.c: Likewise.
10568 * sunrpc/svc_simple.c: Likewise.
10569 * sunrpc/svc_tcp.c: Likewise.
10570 * sunrpc/svc_udp.c: Likewise.
10571 * sunrpc/svc_unix.c: Likewise.
10572 * sunrpc/svcauth_des.c: Likewise.
10573 * sunrpc/xcrypt.c: Likewise.
10574 * sunrpc/xdr.c: Likewise.
10575 * sunrpc/xdr_array.c: Likewise.
10576 * sunrpc/xdr_float.c: Likewise.
10577 * sunrpc/xdr_mem.c: Likewise.
10578 * sunrpc/xdr_rec.c: Likewise.
10579 * sunrpc/xdr_ref.c: Likewise.
10580 * sunrpc/xdr_sizeof.c: Likewise.
10581 * sunrpc/xdr_stdio.c: Likewise.
10583 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10586 2010-08-19 Andreas Schwab <schwab@redhat.com>
10588 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10590 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10592 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10593 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10595 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10597 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10599 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10601 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10602 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10604 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10605 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10607 2010-07-26 Anton Blanchard <anton@samba.org>
10609 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10610 * malloc/arena.c (heap_trim): Likewise.
10612 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10614 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10617 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10619 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10621 * sysdeps/i386/elf/Makefile: New file.
10623 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10625 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10626 from fanotify_init.
10627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10630 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10632 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10634 * sysdeps/multiarch/strcmp.S: Likewise.
10636 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10638 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10639 strncase_l-nonascii.
10640 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10641 Add strncase_l-ssse3.
10642 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10643 * sysdeps/x86_64/strcmp.S: Likewise.
10644 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10645 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10646 * sysdeps/x86_64/strncase.S: New file.
10647 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10648 * sysdeps/x86_64/strncase_l.S: New file.
10649 * string/Makefile (strop-tests): Add strncasecmp.
10650 * string/test-strncasecmp.c: New file.
10652 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10655 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10658 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10660 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10662 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10664 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10665 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10668 2010-05-01 Alan Modra <amodra@gmail.com>
10670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10671 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10672 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10673 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10674 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10675 tidying. Don't tail-call __sigjmp_save for static lib.
10676 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10678 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10679 (CALL_MCOUNT): Add eh info, and nop after bl.
10680 (TAIL_CALL_SYSCALL_ERROR): New macro.
10681 (PSEUDO_RET): Use it.
10682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10683 Correct save location of integer regs and cr.
10684 (_dl_profile_resolve): Correct cr save location. Delete nops
10685 after bl when SHARED. Reduce cfi size a little by better
10686 placement of cfi directives.
10687 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10688 make a stack frame. Instead use parm save area as a temp.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10690 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10692 Don't make a stack frame for parent, use parm save area.
10693 Increase child stack frame to 112 bytes. Don't save unused reg,
10694 and adjust reg usage. Set up cfi on error recovery and
10695 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10697 (__makecontext): Add dummy nop after jump to exit.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10699 Use correct parm save area and cr save, reduce stack frame.
10700 Correct cfi for possible PSEUDO_RET frame setup.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10702 Branch to local label emitted by PSEUDO_RET rather than
10705 2010-08-12 Andreas Schwab <schwab@redhat.com>
10708 * locale/programs/locale.c (print_assignment): New function.
10709 (show_locale_vars): Use it.
10711 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10713 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10715 (struct statfs64): Likewise.
10716 (_STATFS_F_FLAGS): Define.
10717 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10719 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10720 (ST_VALID): Define locally.
10721 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10722 __statvfs_getflags, use the provided value.
10723 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10724 __ASSUME_STATFS_F_FLAGS.
10726 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10728 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10729 Add sys/fanotify.h.
10730 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10731 fanotify_mask for GLIBC_2.13.
10732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10733 fanotify_init and fanotify_mark.
10734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10735 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10737 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10739 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10740 prlimit64 for GLIBC_2.13.
10741 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10751 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10754 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10755 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10757 * nss/Makefile: Add rules to build and run tst-nss-test1.
10758 * shlib-versions: Add entry for libnss_test1.
10759 * nss/nss_test1.c: New file.
10760 * nss/tst-nss-test1.c: New file.
10762 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10763 (__nss_configure_lookup): Set appropriate entry in
10764 __nss_configure_lookup to true.
10765 * nss/nsswitch.h: Define enum with indeces of databases in
10766 databases and __nss_database_custom arrays. Declare
10767 __nss_database_custom.
10768 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10769 to avoid using nscd when custom rules are installed.
10770 * nss/getXXbyYY_r.c: Likewise.
10771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10773 * nss/nss_files/files-parse.c: Whitespace fixes.
10775 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10778 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10779 * posix/fnmatch_loop.c: Likewise.
10781 2010-07-17 Andi Kleen <ak@linux.intel.com>
10783 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10784 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10785 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10786 * Versions.def [GLIBC_2.13]: Add.
10788 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10791 Also fail if tpwd after pwuid call is NULL.
10793 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10795 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10796 when converting to ms.
10798 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10800 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10801 EOPNOTSUPP errors with ENOTTY.
10802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10803 EOPNOTSUPP errors with ENOTTY.
10805 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10808 Add strcasecmp_l-ssse3.
10809 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10811 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10812 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10815 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10817 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10819 * string/Makefile (strop-tests): Add strcasecmp.
10820 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10821 strcasecmp_l-nonascii.
10822 (gen-as-const-headers): Add locale-defines.sym.
10823 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10824 * sysdeps/x86_64/strcasecmp.S: New file.
10825 * sysdeps/x86_64/strcasecmp_l.S: New file.
10826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10827 * sysdeps/x86_64/locale-defines.sym: New file.
10828 * string/test-strcasecmp.c: New file.
10830 * string/test-strcasestr.c: Test both ends of the range of characters.
10831 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10833 2010-07-29 Roland McGrath <roland@redhat.com>
10836 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10838 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10840 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10843 2010-07-27 Andreas Schwab <schwab@redhat.com>
10845 * manual/memory.texi (Malloc Tunable Parameters): Document
10848 2010-07-26 Roland McGrath <roland@redhat.com>
10851 * configure.in (-fgnu89-inline check): Set and substitute
10852 gnu89_inline, not libc_cv_gnu89_inline.
10853 * configure: Regenerated.
10854 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10856 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10858 * string/test-strnlen.c: New file.
10859 * string/Makefile (strop-tests): Add strnlen.
10860 * string/tester.c (test_strnlen): Add a few more test cases.
10861 * string/tst-strlen.c: Better error reporting.
10863 * sysdeps/x86_64/strnlen.S: New file.
10865 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10868 lower-latency instructions.
10870 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10872 * string/test-strcasestr.c: New file.
10873 * string/test-strstr.c: New file.
10874 * string/Makefile (strop-tests): Add strstr and strcasestr.
10875 * string/str-two-way.h: Don't undefine MAX.
10876 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10878 2010-07-21 Andreas Schwab <schwab@redhat.com>
10880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10881 strcasestr-nonascii.
10882 (CFLAGS-strcasestr-nonascii.c): Define.
10883 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10885 Remove unused attribute.
10887 2010-07-20 Roland McGrath <roland@redhat.com>
10889 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10890 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10891 ld.so.cache was broken. With it, there is no way to disable dsocaps
10892 like LD_HWCAP_MASK can disable hwcaps.
10894 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10896 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10898 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10900 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10901 call in strcasestr.
10902 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10903 __strcasestr_sse42_nonascii.
10904 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10905 strcasestr-nonascii.c.
10906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10908 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10912 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10915 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10920 2010-07-06 Andreas Schwab <schwab@redhat.com>
10923 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10926 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10929 _PC_PIPE_BUF using F_GETPIPE_SZ.
10931 2010-07-05 Roland McGrath <roland@redhat.com>
10933 * manual/arith.texi (Rounding Functions): Fix rint description
10934 implicit in round description.
10936 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10938 * elf/Makefile: Fix linking for a few tests to make recent linker
10941 2010-06-30 Andreas Schwab <schwab@redhat.com>
10943 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10944 $(common-objpfx)libc_nonshared.a.
10946 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10948 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10949 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10950 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10951 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10952 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10953 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10954 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10955 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10970 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10971 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10972 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10973 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10974 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10975 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10976 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10977 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10978 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10979 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10980 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10981 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10997 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10999 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11000 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11001 * string/memmove.c (memmove): Renamed to ...
11002 (MEMMOVE): ...this. Default to memmove.
11003 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11004 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11007 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11008 mempcpy-ssse3-back memmove-ssse3-back.
11009 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11012 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11013 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11014 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11015 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11016 * sysdeps/x86_64/multiarch/memmove.c: New file.
11017 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11018 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11019 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11020 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11024 (index_Fast_Copy_Backward): Define.
11025 (HAS_ARCH_FEATURE): Define.
11026 (HAS_FAST_REP_STRING): Define.
11027 (HAS_FAST_COPY_BACKWARD): Define.
11029 2010-06-21 Andreas Schwab <schwab@redhat.com>
11031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11032 Restore proper fallback handling.
11034 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11037 * posix/group_member.c (__group_member): Correct checking loop.
11039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11040 OOM in getpwuid_r correctly. Return error number when the caller
11041 should return, otherwise -1.
11042 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11043 call returning > 0 value.
11044 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11046 2010-06-07 Andreas Schwab <schwab@redhat.com>
11048 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11049 libc_nonshared.a from targets in modules-names.
11051 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11053 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11056 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11063 2010-06-02 Andreas Schwab <schwab@redhat.com>
11065 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11067 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11078 2010-06-14 Roland McGrath <roland@redhat.com>
11080 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11082 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11084 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11085 __REDIRECT followed by __THROW.
11086 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11087 * posix/getopt.h (getopt): Likewise.
11089 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11091 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11092 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11093 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11095 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11096 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11098 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11102 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11106 Properly check family and model.
11108 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11112 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11114 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11116 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11118 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11121 2010-05-19 Andreas Schwab <schwab@redhat.com>
11123 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11126 2010-05-21 Andreas Schwab <schwab@redhat.com>
11128 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11129 and internal_recvmmsg.
11130 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11131 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11133 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11135 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11136 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11137 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11139 2010-05-20 Andreas Schwab <schwab@redhat.com>
11141 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11143 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11145 POWER7 optimizations.
11146 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11147 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11149 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11151 * version.h: Update for 2.13 development version.
11153 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11155 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11156 exceptions. Return 0.
11158 2010-05-07 Roland McGrath <roland@redhat.com>
11160 * elf/ldconfig.c (main): Add a const.
11162 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11164 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11165 (args_options): Add no-idn option.
11166 (ahosts_keys_int): Add idn_flags to ai_flags.
11167 (parse_option): Handle 'i' option to clear idn_flags.
11169 * malloc/malloc.c (_int_free): Possible race in the most recently
11170 added check. Only act on the data if no current modification
11173 See ChangeLog.17 for earlier changes.